/* ==========================================================================
   Burj Trades — Page-specific sections
   ========================================================================== */

/* ---- Callout / disclosure box ---------------------------------------- */
.callout,
.wp-block-group.is-style-bt-callout,
.wp-block-group.is-style-bt-callout-warn {
  display: flex;
  gap: 17px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r);
  border: 1px solid rgba(248, 193, 41, .26);
  background: linear-gradient(135deg, rgba(217, 154, 18, .13), rgba(10, 37, 64, .5));
}
.callout__ic { flex: none; color: var(--c-gold); }
.callout__ic svg { width: 22px; height: 22px; }
.callout h3 { font-size: 1.04rem; margin-bottom: .4em; }
.callout p { font-size: .94rem; color: var(--text-2); margin-bottom: 0; }
.callout p + p { margin-top: .8em; }
.callout ul { margin: .7em 0 0; padding-left: 1.15em; font-size: .94rem; color: var(--text-2); }
.callout li { margin-bottom: .35em; }

.callout--warn,
.wp-block-group.is-style-bt-callout-warn {
  /* The brand accent is now gold, so an amber warning no longer reads as a
     warning. Re-tinted to the bear's red - still cautionary, clearly not brand. */
  border-color: rgba(229, 52, 43, .34);
  background: linear-gradient(135deg, rgba(229, 52, 43, .11), rgba(10, 37, 64, .5));
}
.callout--warn .callout__ic { color: #F07A70; }

/* ---- Compact card variant -------------------------------------------
   Used where five or six cards sit on one row (partner commitments, core
   values) and the full .card padding would crowd them.
   ---------------------------------------------------------------------- */
.card--sm,
.wp-block-group.is-style-bt-card-compact { padding: clamp(20px, 2.1vw, 26px); }
.card--sm .card__icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; }
.card--sm .card__icon svg { width: 21px; height: 21px; }
.card--sm h3 { font-size: 1.04rem; }
.card--sm p { font-size: .92rem; color: var(--text-2); margin-bottom: 0; }

/* ---- Tick list --------------------------------------------------------
   Two-column checklist, used for the mission points, the areas of
   experience and the growth strategy.
   ---------------------------------------------------------------------- */
.ticks,
ul.is-style-bt-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px clamp(20px, 3vw, 38px);
  grid-template-columns: repeat(2, 1fr);
}
.ticks--one { grid-template-columns: 1fr; }
@media (max-width: 720px) { .ticks { grid-template-columns: 1fr; } }

.ticks li,
ul.is-style-bt-ticks li {
  position: relative;
  padding-left: 31px;
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* The tick is a masked pseudo-element rather than an inline <svg>, so each
   list item is a plain core/list-item the client can edit as text. */
.ticks li::before,
ul.is-style-bt-ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  height: 19px;
  background-color: var(--c-gold);
  -webkit-mask: var(--tick) center / contain no-repeat;
          mask: var(--tick) center / contain no-repeat;
}

:root {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Forward-looking lists (the growth strategy) use an arrow instead. */
.ticks--arrow li::before { -webkit-mask-image: var(--arrow); mask-image: var(--arrow); }

/* ---- Business ecosystem diagram (Home) --------------------------------
   Five activity nodes clustered around the brand hub. It is a CSS grid
   rather than an SVG so the labels stay real text at every width.
   ---------------------------------------------------------------------- */
.eco {
  display: grid;
  gap: clamp(13px, 1.7vw, 20px);
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "n1  n2  n3"
    "n4  hub n5";
}
.eco__hub { grid-area: hub; }
.eco > :nth-child(2) { grid-area: n1; }
.eco > :nth-child(3) { grid-area: n2; }
.eco > :nth-child(4) { grid-area: n3; }
.eco > :nth-child(5) { grid-area: n4; }
.eco > :nth-child(6) { grid-area: n5; }

@media (max-width: 860px) {
  .eco {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "hub hub"
      "n1  n2"
      "n3  n4"
      "n5  n5";
  }
}
@media (max-width: 520px) {
  .eco {
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "n1" "n2" "n3" "n4" "n5";
  }
}

.eco__hub {
  position: relative;
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(201, 212, 222, .16);
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(248, 193, 41, .26), transparent 70%),
    linear-gradient(135deg, #0B2A47, #11395E 58%, #16507F);
}
.eco__hub b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .95rem + .6vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.15;
}
.eco__hub span {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9FBAD2;
  line-height: 1.7;
}

.eco__node {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--grad-panel);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.eco__node:hover { border-color: rgba(248, 193, 41, .34); transform: translateY(-3px); }
.eco__node svg { width: 22px; height: 22px; color: var(--c-gold); flex: none; }
.eco__node b {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -.01em;
}
.eco__node p { font-size: .9rem; color: var(--text-2); margin: 0; }

/* ---- Values ------------------------------------------------------------ */
.value { text-align: left; }
.value__n {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-3);
  margin-bottom: 14px;
}

/* ---- Spec list (platforms, formats, reach) ----------------------------- */
.spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.spec:last-child { border-bottom: 0; }
.spec dt { color: var(--text-2); }
.spec dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ---- Contact layout ---------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}
@media (max-width: 940px) { .contact { grid-template-columns: 1fr; } }

.formcard {
  padding: clamp(26px, 3vw, 40px);
  background: var(--grad-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.formgrid .field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .formgrid { grid-template-columns: 1fr; } }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .94rem;
  color: var(--text-2);
}
.hours li:last-child { border-bottom: 0; }
.hours b,
.hours strong { color: var(--text); font-weight: 550; }

/* ---- Pill strip, used for the four brand pillars ----------------------- */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.creds span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-hi);
  background: rgba(11, 39, 66, .5);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 550;
  color: var(--text-2);
}
.creds svg { width: 15px; height: 15px; color: var(--c-gold); }

/* ---- Vision statement band --------------------------------------------- */
.vision,
.wp-block-group.is-style-bt-vision {
  position: relative;
  text-align: center;
  padding: clamp(34px, 4.4vw, 58px) clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(248, 193, 41, .22);
  background: linear-gradient(135deg, rgba(217, 154, 18, .14), rgba(10, 37, 64, .55));
}
.vision p {
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.02rem + 1.1vw, 1.92rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.025em;
  color: var(--text);
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}
.vision .eyebrow { margin-bottom: .9em; }
/* .shead--center supplies the right-hand rule itself; .vision needs its own. */
.vision .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--c-gold));
}
