/* ==========================================================================
   Aavun — concept marketing page
   Light editorial / institutional. Single typeface, hairline rules,
   three accent colours used only for wayfinding (teal / violet / pink).
   ========================================================================== */

:root {
  --ink:       #0E1526;
  --paper:     #FFFFFF;
  --mist:      #E7F3EE;
  --lav-tint:  #F4F0FB;
  --line:      #E7E5E0;
  --text-dim:  #6B7280;

  --teal:      #3FA98C;
  --violet:    #8B7BD8;
  --pink:      #B5588F;

  /* Accessible variants of the same accents, for text small enough that the
     brand values fall below 4.5:1. Hue preserved, luminance lowered. */
  --teal-ink:   #31846D;   /* 4.51:1 on white  */
  --violet-ink: #6A5AB8;   /* 4.96:1 on lavender, 5.57:1 on white */
  --pink-ink:   #B4568E;   /* 4.50:1 on white  */

  --wrap:      1180px;
  --gutter:    clamp(1.5rem, 4vw, 3rem);

  --tight:     -0.015em;
  --track-sm:  0.14em;
  --track-lg:  0.18em;

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow-teal   { color: var(--teal-ink); }
.eyebrow-violet { color: var(--violet-ink); }
.eyebrow-pink   { color: var(--pink-ink); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: var(--tight);
}

.body {
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }   /* ~96px desktop */

/* visually hidden, still announced to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- focus states ---------- */

:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
}
.skip-link:focus {
  left: 0;
}

/* ---------- header ---------- */

.site-header {
  padding-block: 2rem 1.125rem;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .brand-logo-icon {
  transform: rotate(18deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-mark {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: var(--track-lg);
  color: var(--text-dim);
}

.header-right {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.header-inner > .brand { grid-column: 1 / -1; grid-row: 1; }

.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.875rem);
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  position: relative;
  display: block;
  padding-block: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink);
  transition: color 0.18s ease;
}
.site-nav a:hover { color: var(--teal-ink); }

/* current page carries a teal underline rather than colour alone */
.site-nav a[aria-current="page"] { color: var(--teal-ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.125rem;
  height: 1.5px;
  background: var(--teal-ink);
}

.btn-sm { padding: 0.5625rem 1rem; font-size: 0.875rem; }

/* uppercase, wide-tracked button label — matches the reference's CTA style */
.btn-caps {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  padding-inline: 1.875rem;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(70% 60% at 82% 26%, rgba(63,169,140,0.06), transparent 70%),
    radial-gradient(60% 55% at 72% 82%, rgba(139,123,216,0.07), transparent 70%),
    linear-gradient(168deg, #FAFAF8 0%, #FFFFFF 55%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--tight);
}

.lede {
  margin-top: 1.75rem;
  max-width: 30rem;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.62;
  color: #3C4453;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease;
}

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-solid {
  background: var(--ink);
  color: #fff;
}
.btn-solid:hover { background: #1B2740; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #C9C6C0;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(14,21,38,0.03);
}

/* ---------- hero graphic ---------- */

/* The graphic sits behind the copy and bleeds off the right edge, as in the
   reference. Absolute placement keeps it from squeezing the headline. */
.hero-visual {
  position: absolute;
  z-index: 1;
  top: 44%;
  right: calc(50% - 50vw);          /* bleed to the viewport edge */
  width: min(64%, 46rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.ribbon {
  width: 100%;
  height: auto;
  max-width: none;
}

/* ---------- inner-page hero ---------- */

.page-hero {
  background:
    radial-gradient(70% 70% at 88% 10%, rgba(63,169,140,0.07), transparent 70%),
    radial-gradient(60% 60% at 8% 96%, rgba(139,123,216,0.07), transparent 70%),
    linear-gradient(168deg, #FAFAF8 0%, #FFFFFF 62%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
}

.page-hero h1 {
  max-width: 20ch;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: var(--tight);
}

.page-hero .lede {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: #3C4453;
}

/* ---------- floating coin strip ---------- */

/* Coin faces carry Aavun's own motifs, not third-party asset marks.
   Decorative, so the whole strip is aria-hidden. */
.coin-strip {
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8rem, #000 calc(100% - 8rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8rem, #000 calc(100% - 8rem), transparent);
}

.coin-track {
  display: flex;
  width: max-content;
  animation: coin-marquee 44s linear infinite;
}
.coin-strip:hover .coin-track { animation-play-state: paused; }

@keyframes coin-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.coin-set {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(2.5rem, 5.5vw, 4.5rem);
  padding-right: clamp(2.5rem, 5.5vw, 4.5rem);
}

/* the coin body: a milled rim wrapping a domed face */
.coin {
  position: relative;
  display: block;
  width: clamp(2.875rem, 4.4vw, 3.75rem);
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    var(--c) 0deg 3.2deg, var(--c-light) 3.2deg 6.4deg);
  box-shadow: 0 8px 18px -10px rgba(14,21,38,0.32),
              0 2px 5px -2px rgba(14,21,38,0.10);
  animation: coin-float 4.2s var(--ease-float, ease-in-out) infinite alternate;
}

.coin-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: var(--c-dark);
  background:
    radial-gradient(circle at 34% 28%,
      #FFFFFF 0%, var(--c-pale) 46%, var(--c-light) 86%, var(--c) 100%);
  box-shadow:
    inset 0 -2px 5px rgba(14,21,38,0.13),
    inset 0 2px 4px rgba(255,255,255,0.9);
}

.coin-face svg {
  width: 44%;
  height: 44%;
  /* a hairline light edge under the glyph reads as embossing */
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.75));
}

.coin-teal   { --c: #3FA98C; --c-light: #B9E2D4; --c-pale: #E6F5EF; --c-dark: #2A7862; }
.coin-violet { --c: #8B7BD8; --c-light: #CFC7F2; --c-pale: #EEEBFB; --c-dark: #5E509C; }
.coin-pink   { --c: #B5588F; --c-light: #E8C1D8; --c-pale: #F9EAF2; --c-dark: #883C68; }

@keyframes coin-float {
  from { transform: translateY(4px)  rotate(-2.5deg); }
  to   { transform: translateY(-8px) rotate(2.5deg); }
}

/* stagger the bob so the row drifts instead of pulsing in unison */
.coin-set li:nth-child(8n+1) .coin { animation-duration: 4.2s; animation-delay: -0.2s; }
.coin-set li:nth-child(8n+2) .coin { animation-duration: 3.6s; animation-delay: -1.1s; }
.coin-set li:nth-child(8n+3) .coin { animation-duration: 4.8s; animation-delay: -2.0s; }
.coin-set li:nth-child(8n+4) .coin { animation-duration: 3.9s; animation-delay: -0.7s; }
.coin-set li:nth-child(8n+5) .coin { animation-duration: 4.5s; animation-delay: -1.6s; }
.coin-set li:nth-child(8n+6) .coin { animation-duration: 3.4s; animation-delay: -2.4s; }
.coin-set li:nth-child(8n+7) .coin { animation-duration: 5.1s; animation-delay: -0.4s; }
.coin-set li:nth-child(8n+8) .coin { animation-duration: 4.0s; animation-delay: -1.9s; }

/* ---------- focus grid ---------- */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.6vw, 3.25rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}

.focus-num {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--line);
}
.num-teal   { color: var(--teal); }
.num-violet { color: var(--violet); }
.num-pink   { color: var(--pink); }

.focus-item h3 {
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.focus-item .body { margin-top: 0.75rem; }

/* ---------- why bespoke ---------- */

.approach { border-top: 1px solid var(--line); }

.approach-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.approach .section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.05rem);
  max-width: 20ch;
}

.approach-copy .body {
  margin-top: 1.5rem;
  max-width: 46ch;
}

/* Contrast pairs as a plain definition list — deliberately not a table. */
.compare { margin: 0; }

.compare-pair + .compare-pair { margin-top: 2.25rem; }

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.compare-row dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  padding-top: 0.1875rem;
}

.compare-row dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.is-generic dt { color: var(--text-dim); }
.is-generic dd { color: var(--text-dim); }

.is-aavun dt { color: var(--teal-ink); }
.is-aavun dd { color: var(--ink); }

/* ---------- logo slider ---------- */

/* Files live in assets/logos/ — see the README there. The strip is marked
   aria-hidden because it is decorative; alt text is empty for the same reason. */
.coverage {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FCFCFB;
}

.image-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7rem, #000 calc(100% - 7rem), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7rem, #000 calc(100% - 7rem), transparent);
}

.image-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 46s linear infinite;
}
.image-slider:hover .image-track { animation-play-state: paused; }

@keyframes logo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Every logo is contained in an identical optical box, so a square icon and a
   wide wordmark occupy the same footprint instead of the wordmark dominating. */
.slider-image {
  flex: none;
  height: 40px;
  width: 104px;
  margin-inline: clamp(1.75rem, 3.6vw, 3.25rem);
  object-fit: contain;
  object-position: center;
}

/* apple1.png and teslaa.png are light-on-transparent — they were drawn for a
   dark background and are invisible on this strip. Silhouette them until
   light-background versions are supplied from each brand's asset kit. */
.slider-image[src*="apple1"],
.slider-image[src*="teslaa"] { filter: brightness(0) opacity(0.78); }

/* wordmarks carry far more ink per pixel of height, so they sit slightly shorter */
.slider-image[src*="aramco"] { height: 30px; }
.slider-image[src*="tsmc"]   { height: 34px; }

@media (max-width: 820px) {
  .slider-image { height: 28px; width: 76px; margin-inline: 1rem; }
  .slider-image[src*="aramco"] { height: 21px; }
  .slider-image[src*="tsmc"]   { height: 24px; }
}

/* Alternating grounds so ten sections don't read as one continuous scroll. */
.offer,
.contact { background: #FCFCFB; }
.do { background: var(--lav-tint); }

/* ---------- who we are ---------- */

.who-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.who-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iso {
  width: 100%;
  max-width: 27rem;
  height: auto;
  overflow: visible;
}

/* the whole scene drifts as one, so the isometric geometry stays coherent */
.iso-drift {
  transform-box: fill-box;
  transform-origin: center;
  animation: iso-drift 7s ease-in-out infinite alternate;
}

@keyframes iso-drift {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

.who-intro {
  max-width: 58ch;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.who-list {
  display: grid;
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.who-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

/* hairline badge, in keeping with the rest of the light system */
.who-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s ease;
}
.who-item:hover .who-icon { border-color: currentColor; }
.who-icon svg { width: 1.625rem; height: 1.625rem; }

.icon-teal   { color: var(--teal-ink);   border-color: rgba(63,169,140,0.35); }
.icon-violet { color: var(--violet-ink); border-color: rgba(139,123,216,0.35); }
.icon-pink   { color: var(--pink-ink);   border-color: rgba(181,88,143,0.35); }

.who-item h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.who-item .body { margin-top: 0.75rem; max-width: 70ch; }

/* ---------- trading: hero + service rows ---------- */

.svc-hero {
  background:
    radial-gradient(66% 70% at 14% 16%, rgba(63,169,140,0.08), transparent 70%),
    radial-gradient(60% 62% at 92% 88%, rgba(139,123,216,0.08), transparent 70%),
    linear-gradient(168deg, #FAFAF8 0%, #FFFFFF 62%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
  overflow-x: clip;
}

/* art left, copy right — the reference's arrangement */
.svc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.svc-hero-visual { display: flex; justify-content: center; }

.svc-hero-inner.is-reversed { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.svc-hero-art { width: 100%; max-width: 31rem; height: auto; overflow: visible; }

.svc-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.125rem, 4.2vw, 3.375rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: var(--tight);
}
.svc-hero-copy .lede {
  margin-top: 1.5rem;
  max-width: 60ch;
  color: var(--text-dim);
  font-size: 1.0625rem;
  line-height: 1.8;
}
.svc-hero-copy .btn { margin-top: 2rem; }

/* alternating rows so four services don't read as a stack of identical cards */
.svc-list {
  display: grid;
  gap: clamp(2rem, 3.6vw, 3rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2rem, 3.6vw, 3rem);
  border-top: 1px solid var(--line);
}
.svc-list > .svc-row:first-child { padding-top: 0; border-top: 0; }
.svc-row:nth-child(even) .svc-art-wrap { order: 2; }

.svc-art-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(11.5rem, 18vw, 14.5rem);
  padding: clamp(1.5rem, 3.4vw, 2.75rem);
  border-radius: 2px;
  background:
    linear-gradient(rgba(var(--acc-rgb), 0.07), rgba(var(--acc-rgb), 0.07)),
    var(--paper);
}
.svc-art { width: 100%; max-width: 24rem; height: auto; }

.svc-copy .body { font-size: 1rem; line-height: 1.78; max-width: 46ch; }
.svc-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 2.7vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.svc-copy .body { margin-top: 0.875rem; max-width: 62ch; font-size: 1rem; }
.svc-copy .read-link { padding-top: 1.1rem; color: var(--teal-ink); }

/* ---------- about: editorial hero ---------- */

.about-hero {
  background:
    radial-gradient(70% 70% at 88% 12%, rgba(63,169,140,0.07), transparent 70%),
    radial-gradient(60% 60% at 6% 94%, rgba(139,123,216,0.07), transparent 70%),
    linear-gradient(168deg, #FAFAF8 0%, #FFFFFF 62%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

/* Heading left, the long founding paragraph right at a readable measure —
   a 150-word block centred full-width is very hard to read. */
.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--tight);
}
.about-hero .btn { margin-top: 2rem; }
.about-lede {
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.kicker {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-dim);
  margin-bottom: 0.375rem;
}

/* ---------- about: journey / story ---------- */

.about-story-alt {
  background: #FCFCFB;
  border-block: 1px solid var(--line);
}
.about-subhead {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: var(--tight);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  max-width: 40ch;
}
.about-pull {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: var(--tight);
  color: var(--ink);
  max-width: 36ch !important;
  margin-block: 1.75rem !important;
  padding-left: 1.25rem;
  border-left: 2px solid var(--teal);
}
.about-closing {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: var(--tight);
  color: var(--ink);
  max-width: 28ch !important;
  margin-top: 2.5rem !important;
}
/* About story is long-form. Larger, darker type than the site's 16px grey prose. */
.page-about .about-lede {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #3E4654;
}
.page-about .about-story .prose p {
  max-width: 64ch;
  font-size: 1.1875rem;
  line-height: 1.75;
  color: #3E4654;
}
.page-about .about-story .prose p + p { margin-top: 1.35rem; }
.page-about .about-story .section-title {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
}
.page-about .about-subhead {
  font-size: clamp(1.625rem, 2.8vw, 2.05rem);
}
.page-about .about-story .prose p.about-pull,
.page-about .about-story .prose p.about-closing {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.4;
}
.page-about .about-story .eyebrow { font-size: 0.8125rem; }
.page-about .about-figure figcaption,
.page-about .about-places figcaption {
  font-size: 1rem;
  line-height: 1.55;
  color: #4A5160;
}

.about-story .section-title { margin-bottom: 1.75rem; }
.about-story .prose p + .about-pull,
.about-story .prose .about-pull + p { margin-top: 1.5rem; }
.about-story .prose > .about-subhead:first-child { margin-top: 0; }

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  justify-items: stretch;
}
.about-figure,
.about-places figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.about-split-portrait {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
}
.about-split-portrait .about-figure { order: 2; }
.about-split-portrait .prose { order: 1; }

.about-split + .prose,
.about-figure-wide + .prose,
.prose + .about-figure-wide,
.about-places + .prose,
.prose + .about-split { margin-top: clamp(2.25rem, 4vw, 3.5rem); }

.about-figure img,
.about-places img {
  display: block;
  width: 100%;
  height: auto;
  background: #F4F3EF;
}
.about-figure-wide { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.about-figure-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.about-figure figcaption,
.about-places figcaption {
  margin-top: 0.7rem;
  max-width: 58ch;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.about-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  list-style: none;
}
.about-places img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 800px) {
  .about-split,
  .about-split-portrait { grid-template-columns: 1fr; }
  .about-split-portrait .about-figure,
  .about-split-portrait .prose { order: 0; }
  .about-places { grid-template-columns: 1fr; }
}

/* ---------- about: mission / vision / goal ---------- */

.mvg { background: #FCFCFB; }

.mvg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.mvg-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mvg-card:hover {
  border-color: rgba(var(--acc-rgb), 0.4);
  box-shadow: 0 16px 38px -22px rgba(var(--acc-rgb), 0.7);
}
.mvg-icon, .strength-icon, .industry-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), 0.32);
  color: var(--acc);
}
.mvg-icon svg, .strength-icon svg, .industry-icon svg { width: 1.375rem; height: 1.375rem; }
.mvg-card h3, .strength-cell h3, .industry-card h3 {
  font-family: var(--serif);
  margin-top: 1.375rem;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.mvg-card .body { margin-top: 0.75rem; }

.accent-teal   { --acc: var(--teal-ink);   --acc-rgb: 63,169,140; }
.accent-violet { --acc: var(--violet-ink); --acc-rgb: 139,123,216; }
.accent-pink   { --acc: var(--pink-ink);   --acc-rgb: 181,88,143; }

/* ---------- about: core strengths ---------- */

.strengths-intro { max-width: 88ch; }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
}
.strength-cell {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--paper);
  transition: background-color 0.25s ease;
}
.strength-cell:hover {
  background:
    linear-gradient(rgba(var(--acc-rgb), 0.045), rgba(var(--acc-rgb), 0.045)),
    var(--paper);
}
.strength-cell .body { margin-top: 0.75rem; }
.strength-cell .read-link { margin-top: auto; padding-top: 1.5rem; }

/* ---------- about: industries ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.industry-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.875rem, 3.2vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.industry-card:hover {
  border-color: rgba(var(--acc-rgb), 0.4);
  box-shadow: 0 18px 42px -24px rgba(var(--acc-rgb), 0.7);
}
/* one emphasised card per group, as on the reference */
.industry-card.is-emphasis {
  border-color: rgba(var(--acc-rgb), 0.38);
  background:
    linear-gradient(rgba(var(--acc-rgb), 0.06), rgba(var(--acc-rgb), 0.06)),
    var(--paper);
}
.industry-card .body { margin-top: 0.875rem; max-width: 58ch; }
.industry-card .read-link { margin-top: auto; padding-top: 1.75rem; }

/* ---------- compliance row list ---------- */

.row-list {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.row-item {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.row-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--teal-ink);
  padding-top: 0.25rem;
}

.row-item h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.row-item .body { margin-top: 0.625rem; max-width: 68ch; }
.row-item strong { color: var(--ink); font-weight: 600; }

/* ---------- callout ---------- */

.callout {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: #FCFCFB;
}
.callout .body { max-width: 76ch; }
.callout .eyebrow { margin-bottom: 0.875rem; }

.callout-teal {
  border-color: rgba(63,169,140,0.35);
  border-left: 3px solid var(--teal);
  background: var(--mist);
}
.callout-teal .body { color: #33473E; }

/* ---------- closing band ---------- */

.band {
  background: var(--mist);
  padding-block: clamp(2.5rem, 4.5vw, 3.5rem);
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.band-title {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: var(--tight);
}
.band .body { margin-top: 0.5rem; max-width: 60ch; color: #46564D; }
.band .btn { flex: none; }

/* ---------- prose ---------- */

.prose p {
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
}
.prose p + p { margin-top: 1.5rem; }
.prose a {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.prose code,
.lede code {
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #F4F4F1;
  padding: 0.1em 0.35em;
}

/* ---------- hero tagline + centred CTA band ---------- */

.hero-tagline {
  font-family: var(--serif);
  margin-top: 1rem;
  max-width: 24ch;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: var(--tight);
  color: var(--teal-ink);
}

.cta-band {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line);
  background: #FCFCFB;
}
.cta-band .wrap { display: flex; justify-content: center; }

/* ---------- contribute ---------- */

.contribute { background: var(--mist); }

.contribute-inner { max-width: 60rem; }
.contribute-body {
  margin-top: 1.5rem;
  max-width: 64ch;
  color: #3D5148;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.contribute .btn { margin-top: 2rem; }

/* ---------- careers ---------- */

.careers-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.careers-copy .body { margin-top: 1.5rem; max-width: 54ch; }


.careers-art { display: flex; justify-content: center; }
.careers-art svg { width: 100%; max-width: 20rem; height: auto; }

/* the rings hold still; only the nodes travel around them */
.careers-orbit,
.careers-orbit-rev {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.careers-orbit     { animation: do-spin 34s linear infinite; }
.careers-orbit-rev { animation: do-spin 24s linear infinite reverse; }

/* two role buttons sit side by side, wrapping on narrow screens */
.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- contact ---------- */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy .body { margin-top: 1.5rem; max-width: 48ch; }
.contact-copy a {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form {
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.field + .field { margin-top: 1.125rem; }
.field label {
  display: block;
  margin-bottom: 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230E1526' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: #D6D3CC; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 3px rgba(63,169,140,0.14);
}

.contact-form .btn { margin-top: 1.75rem; }
.form-success-banner {
  display: none;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  background: var(--mist);
  border: 1px solid var(--teal);
  color: var(--teal-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-error-banner {
  display: none;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  background: #FBEFF5;
  border: 1px solid var(--pink);
  color: var(--pink-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Spam trap: kept off-screen so only bots fill it in */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 0.875rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.65;
}

/* ---------- Q&A ---------- */

.qa-groups { margin-top: clamp(2rem, 4vw, 3rem); }
.qa-group + .qa-group { margin-top: clamp(2.25rem, 4vw, 3rem); }

.qa-cat {
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--teal-ink);
}

/* native <details>, so the accordion works with no JavaScript at all */
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal-ink); }

/* a plus that becomes a minus when open */
.qa summary::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: var(--teal-ink);
  transition: transform 0.25s ease;
}
.qa[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat;
}

.qa-answer { padding: 0 0 1.5rem; max-width: 76ch; }
.qa-answer p {
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.qa-answer p + p { margin-top: 0.85rem; }
.qa-answer ul {
  margin: 0.7rem 0 0.15rem;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.qa-answer li + li { margin-top: 0.28rem; }
.qa-answer li::marker { color: var(--teal-ink); }

/* ---------- who we serve ---------- */

.serve-intro {
  max-width: 60ch;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

/* A hairline matrix rather than separate cards: the 1px grid gap sits on the
   line colour and each cell paints over it, so every divider is shared. */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.serve-cell {
  position: relative;
  background: var(--paper);
  padding: clamp(1.5rem, 2.6vw, 2.125rem);
  transition: background-color 0.25s ease;
}

.serve-cell.accent-teal   { --acc: var(--teal-ink);   --acc-rgb: 63,169,140; }
.serve-cell.accent-violet { --acc: var(--violet-ink); --acc-rgb: 139,123,216; }
.serve-cell.accent-pink   { --acc: var(--pink-ink);   --acc-rgb: 181,88,143; }

/* corner bracket in the cell's accent — a quiet marker rather than a border */
.serve-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--acc);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.serve-cell:hover {
  background:
    linear-gradient(rgba(var(--acc-rgb), 0.05), rgba(var(--acc-rgb), 0.05)),
    var(--paper);
}
.serve-cell:hover::before { opacity: 1; }

/* rotating emphasis: one cell per group carries a tint by default */
.serve-cell.is-emphasis {
  background:
    linear-gradient(rgba(var(--acc-rgb), 0.08), rgba(var(--acc-rgb), 0.08)),
    var(--paper);
}
.serve-cell.is-emphasis .body { color: #616874; }   /* 5.14:1 on the tint */
.serve-cell.is-emphasis::before { opacity: 1; }

.serve-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 15rem;
}

.serve-icon {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--acc);
}
.serve-icon svg { width: 100%; height: 100%; }

.serve-cell h3 {
  margin-top: 1.75rem;
  max-width: 22ch;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.serve-note {
  margin-top: 1.5rem;
  max-width: 70ch;
  color: var(--text-dim);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.serve-note a {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ---------- what we do ---------- */

.do-intro {
  max-width: 58ch;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}

.do-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.3s var(--do-ease, ease),
              box-shadow 0.3s var(--do-ease, ease),
              transform 0.3s var(--do-ease, ease);
}

/* accent is set per card and drives emblem, rule and hover glow */
.do-card.accent-teal   { --acc: var(--teal);       --acc-rgb: 63,169,140; }
.do-card.accent-violet { --acc: var(--violet);     --acc-rgb: 139,123,216; }
.do-card.accent-pink   { --acc: var(--pink);       --acc-rgb: 181,88,143; }

.do-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 18px 44px -22px rgba(var(--acc-rgb), 0.75);
}

/* ---- the emblem: a slow orbit around a static glyph ---- */

.do-emblem {
  display: block;
  width: 5.25rem;
  height: 5.25rem;
  color: var(--acc);
}
.do-emblem svg { width: 100%; height: 100%; overflow: visible; }

/* rotate about the viewBox centre, not each shape's own box */
.do-emblem .orbit,
.do-emblem .orbit-rev {
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.do-emblem .orbit     { animation: do-spin 26s linear infinite; }
.do-emblem .orbit-rev { animation: do-spin 16s linear infinite reverse; }

@keyframes do-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* the glyph breathes rather than spins, so the card stays readable */
.do-glyph {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: do-breathe 6s ease-in-out infinite alternate;
}
@keyframes do-breathe {
  from { opacity: 0.72; transform: scale(0.97); }
  to   { opacity: 1;    transform: scale(1.03); }
}

/* hover brightens the orbit without changing its speed (no jump) */
.do-card:hover .orbit circle { opacity: 0.95; }

.do-card h3 {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.do-card .body { margin-top: 0.75rem; }
.do-card .btn { align-self: flex-start; margin-top: auto; }
.do-card .body { margin-bottom: 1.75rem; }

/* ---------- what we offer ---------- */

.offer-intro {
  max-width: 58ch;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}

.offer-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Last leftover card sits in the middle two columns. */
.offer-card.offer-card--center {
  grid-column: 2 / span 2;
}
.offer-card:hover {
  border-color: #D6D3CC;
  box-shadow: 0 14px 34px rgba(14,21,38,0.07);
}

/* Every supplied logo is a light-on-transparent asset built for a dark
   background, so the panel is dark — the marks render as their brands intend
   rather than being filtered into silhouettes. */
.offer-logo {
  display: grid;
  place-items: center;
  height: 7rem;
  padding-inline: 2rem;
  background: var(--ink);
}
/* Uniform optical box: the wide wordmarks (OKX, Binance) fill it on width,
   the stacked marks (DexScreener, Alpaca) on height, so all four read at a
   comparable size instead of the tall ones shrinking to a third. */
.offer-logo img {
  height: 48px;
  width: 210px;
  max-width: 100%;
  object-fit: contain;
}

/* Stacked IBKR mark + wordmark: give the panel room so the name stays readable. */
.offer-logo--stacked {
  height: 9rem;
}
.offer-logo--stacked img {
  height: 96px;
  width: auto;
  max-width: 200px;
}

.offer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 2.6vw, 2rem);
}

.offer-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.offer-card .body { margin-top: 0.75rem; }
.offer-card .read-link { margin-top: auto; padding-top: 1.5rem; }

/* ---------- insights ---------- */

.insights { background: var(--lav-tint); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.4vw, 1.875rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14,21,38,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14,21,38,0.07);
}

/* Card art uses the same layered-gradient SVG construction as the hero,
   one accent per card. Decorative, so the SVG itself is aria-hidden. */
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 280px;   /* keeps the art from dominating once cards go full-width */
  overflow: hidden;
  background: var(--lav-tint);
}

.card-art {
  width: 100%;
  height: 100%;
  display: block;
}

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
}
.tag-teal   { color: var(--teal-ink); }
.tag-violet { color: var(--violet-ink); }
.tag-pink   { color: var(--pink-ink); }

.card h3 {
  margin-top: 0.875rem;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.008em;
}

.card .body { margin-top: 0.6875rem; }

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.read-link .arrow { transition: transform 0.18s ease; }
.read-link:hover .arrow { transform: translateX(3px); }
.link-teal   { color: var(--teal-ink); }
.link-violet { color: var(--violet-ink); }
.link-pink   { color: var(--pink-ink); }

/* ---------- compliance strip ---------- */

.compliance { padding-block: clamp(3rem, 5vw, 4.5rem); }

.compliance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding: clamp(1.75rem, 3.4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.compliance h2 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: var(--tight);
}

.compliance .body {
  margin-top: 0.625rem;
  max-width: 58ch;
}

/* ---------- sharia compliant loan custom components ---------- */

.loan-highlight-box {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 90% 20%, rgba(63,169,140,0.06), transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(139,123,216,0.06), transparent 60%),
    #FCFCFB;
  border-left: 3px solid var(--teal);
}
.loan-highlight-box .lead-text {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink);
  font-family: var(--serif);
  max-width: 78ch;
}
.loan-highlight-box .highlight-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.highlight-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.highlight-stat-val {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal-ink);
  letter-spacing: -0.01em;
}
.highlight-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--track-sm);
}

.loan-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.loan-card {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.2vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.loan-card:hover {
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 20px 44px -22px rgba(var(--acc-rgb), 0.65);
  transform: translateY(-3px);
}
.loan-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.loan-card-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), 0.35);
  color: var(--acc);
  background: rgba(var(--acc-rgb), 0.05);
}
.loan-card-icon svg { width: 1.5rem; height: 1.5rem; }
.loan-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: rgba(var(--acc-rgb), 0.1);
  color: var(--acc);
  border: 1px solid rgba(var(--acc-rgb), 0.25);
}
.loan-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 0;
}
.loan-card .loan-desc {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.loan-features {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.loan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.5;
}
.loan-feature-item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  color: var(--acc);
  margin-top: 0.125rem;
}
.loan-card .btn {
  margin-top: 2rem;
  align-self: flex-start;
}

/* Advantage grid */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.advantage-card {
  padding: clamp(1.875rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.advantage-card:hover {
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 16px 36px -20px rgba(var(--acc-rgb), 0.6);
}
.advantage-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(var(--acc-rgb), 0.08);
  color: var(--acc);
  margin-bottom: 1.25rem;
}
.advantage-icon svg { width: 1.375rem; height: 1.375rem; }
.advantage-card h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-top: 0;
}
.advantage-card .body {
  margin-top: 0.75rem;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.process-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: border-color 0.25s ease;
}
.process-card:hover {
  border-color: var(--teal-ink);
}
.process-num {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--teal-ink);
  margin-bottom: 1rem;
  opacity: 0.85;
}
.process-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
}
.process-card .body {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Trust / Metric stats banner */
.trust-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-ink);
  margin-top: 0.75rem;
}

/* Hedge fund strategy cards */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.strategy-card {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.strategy-card:hover {
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 18px 42px -22px rgba(var(--acc-rgb), 0.65);
  transform: translateY(-2px);
}
.strategy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.strategy-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: rgba(var(--acc-rgb), 0.08);
  color: var(--acc);
  border: 1px solid rgba(var(--acc-rgb), 0.25);
}
.strategy-icon svg { width: 1.4rem; height: 1.4rem; }
.strategy-card h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 0;
}
.strategy-card .body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.strategy-bullets {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.strategy-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink);
  line-height: 1.5;
}
.strategy-bullet-item svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--acc);
  margin-top: 0.125rem;
}

/* Tokenomics Grid */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}
.tokenomics-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.tokenomics-card:hover {
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 16px 36px -20px rgba(var(--acc-rgb), 0.6);
  transform: translateY(-2px);
}
.tokenomics-val {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--acc);
  line-height: 1.1;
}
.tokenomics-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
}
.tokenomics-card .body {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Blog Filter Bar & Editorial Components */
.blog-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.blog-filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal-ink);
}
.blog-filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 3.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-featured-card:hover {
  border-color: rgba(63,169,140,0.5);
  box-shadow: 0 16px 40px -20px rgba(14,21,38,0.15);
}
.blog-featured-media {
  position: relative;
  background: var(--ink);
  min-height: 320px;
  overflow: hidden;
}
.blog-featured-body {
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.blog-meta-inline span + span::before {
  content: "•";
  margin-right: 0.75rem;
  opacity: 0.5;
}
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 900px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-card-grid { grid-template-columns: 1fr; }
}

.how-to-update-box {
  background: #FAFAF8;
  border: 1px solid var(--line);
  padding: clamp(2rem, 3vw, 2.75rem);
  margin-top: 4rem;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ---------- research article ---------- */

.research-hero .lede { max-width: 58ch; }

.research-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.research-kpi {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.15rem 1.1rem 1.2rem;
}
.research-kpi-val {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--teal-ink);
  line-height: 1.15;
}
.research-kpi-val.muted { color: var(--ink); }
.research-kpi-lbl {
  margin-top: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--text-dim);
}
.research-kpi-sub {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.research-figure {
  margin: 2.25rem 0 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.research-figure img {
  width: 100%;
  height: auto;
  background: #fff;
}
.research-caption {
  padding: 0.8rem 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}

.research-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0 0;
  border: 1px solid var(--line);
}
.research-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.research-table th,
.research-table td {
  padding: 0.7rem 0.95rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.research-table th:first-child,
.research-table td:first-child {
  text-align: left;
  white-space: normal;
}
.research-table thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--text-dim);
  background: #FAFAF8;
}
.research-table tbody tr:last-child td { border-bottom: 0; }
.research-table .pos { color: var(--teal-ink); font-weight: 600; }
.research-table .neg { color: var(--pink-ink); font-weight: 600; }
.research-table .warn { color: var(--pink-ink); }
.research-table td[colspan] { text-align: left; }

.hero-actions .btn { margin-top: 0; }

.heatmap td {
  font-size: 0.8125rem;
  text-align: center;
}
.heatmap th:first-child,
.heatmap td:first-child { font-weight: 600; }

.research-note {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: #FAFAF8;
}
.research-note p { max-width: none; }

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.research-split {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

@media (max-width: 820px) {
  .research-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .research-kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.footer-brand .brand-logo-icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
}
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.55); }

.footer-links { flex: 1 1 30rem; }
.footer-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem clamp(1.5rem, 3vw, 2.5rem);
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

.footer-disclaimer {
  max-width: 78ch;
  padding-bottom: 1.75rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  line-height: 1.75;
}

.legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-block: 1.5rem 1.75rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
}

/* ---------- move to top ---------- */

/* Always available rather than scroll-triggered — this site ships no JS. */
.to-top {
  position: fixed;
  left: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 8px 24px -12px rgba(14,21,38,0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.to-top:hover {
  border-color: var(--teal-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(14,21,38,0.4);
}
.to-top svg { width: 1.125rem; height: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top:hover { transition: none; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* hero stacks */
@media (max-width: 1040px) {
  .serve-grid,
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    padding-block: 2.5rem 2.5rem;
  }
  .hero-copy { order: 1; max-width: none; }
  .hero-visual {
    order: 2;
    position: static;
    width: auto;
    height: clamp(190px, 42vw, 300px);
    transform: none;
    margin: 2.5rem calc(var(--gutter) * -1) 0;
  }
  .ribbon { height: 100%; }
  .lede { max-width: 46ch; }

  /* Who-we-are drops to one column with the art beneath the copy */
  .who-inner { grid-template-columns: 1fr; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .svc-hero-inner,
  .svc-hero-inner.is-reversed { grid-template-columns: 1fr; }
  .svc-hero-visual { order: 2; }
  .svc-hero-art { max-width: 20rem; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-art-wrap { order: 0; }
  .careers-inner { grid-template-columns: 1fr; }
  .careers-art { order: 2; }
  .careers-art svg { max-width: 15rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .who-art { order: 2; margin-top: 0.5rem; }
  .iso { max-width: 20rem; }

  .site-header { padding-top: 1.75rem; }
  .header-inner { gap: 1.25rem; }
  .header-right { padding-top: 0.875rem; }
  .site-nav ul { gap: 1rem 1.25rem; }

  .approach-inner { grid-template-columns: 1fr; }
  .approach .section-title { max-width: 24ch; }

  .footer-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-copy {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}

/* three-column grids stack */
@media (max-width: 820px) {
  .focus-grid,
  .card-grid,
  .offer-grid,
  .do-grid,
  .serve-grid,
  .mvg-grid,
  .strength-grid,
  .industry-grid,
  .loan-card-grid,
  .advantage-grid,
  .process-grid,
  .strategy-grid,
  .tokenomics-grid,
  .why-grid { grid-template-columns: 1fr; }

  .offer-card,
  .offer-card.offer-card--center {
    grid-column: auto;
  }


  .compliance-card { align-items: flex-start; }
  .row-item { grid-template-columns: 1fr; }
  .band-inner { align-items: flex-start; }
}

@media (max-width: 560px) {
  .who-item { grid-template-columns: 1fr; gap: 1rem; }

  .compare-row { grid-template-columns: 1fr; gap: 0.375rem; }

  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .brand-tag { font-size: 0.5rem; letter-spacing: 0.14em; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }

  /* freeze the strip in place rather than letting it snap to its end state */
  .coin-track { animation: none !important; transform: none !important; }
  .coin { animation: none !important; transform: none !important; }
  .iso-drift { animation: none !important; transform: none !important; }
  .careers-orbit,
  .careers-orbit-rev,
  .do-emblem .orbit,
  .do-emblem .orbit-rev,
  .do-glyph { animation: none !important; transform: none !important; }
  .do-card:hover { transform: none; }
  .image-track { animation: none !important; transform: none !important; }
  .btn:hover .arrow,
  .read-link:hover .arrow { transform: none; }
}

/* ---------- Tools dropdown ---------- */

.site-nav .has-sub {
  position: relative;
}

.site-nav .has-sub > a {
  padding-right: 1.05rem;
}

.site-nav .has-sub > a::before {
  content: "";
  position: absolute;
  right: 0.05rem;
  top: 50%;
  width: 0.32rem;
  height: 0.32rem;
  margin-top: -0.28rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.site-nav ul.nav-sub {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  min-width: 12.5rem;
  padding: 0.4rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(14, 21, 38, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 40;
}

.site-nav .has-sub:hover > .nav-sub,
.site-nav .has-sub:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.site-nav .nav-sub a {
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.site-nav .nav-sub a[aria-current="page"]::after {
  display: none;
}

/* ---------- Tools landing ---------- */

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 36rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14, 21, 38, 0.08);
  padding: 1.75rem 1.75rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 21, 38, 0.07);
}

.tool-card h2 {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: var(--tight);
}

.tool-card .body {
  margin-top: 0.75rem;
  color: #3C4453;
}

.tool-card .read-link { margin-top: 1.5rem; }

/* ---------- Reverse DCF ---------- */

.rdcf {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.rdcf + .rdcf { padding-top: 0; }

.rdcf-lbl {
  margin-bottom: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--text-dim);
}

.rdcf-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.rdcf-capm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.rdcf-sld-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.rdcf-sld-lbl {
  font-size: 0.8125rem;
  font-weight: 600;
}

.rdcf-sld-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}

.rdcf input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.rdcf-hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.rdcf-derived {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.rdcf-formula {
  font-size: 0.875rem;
  color: #3C4453;
}

.rdcf-answer {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}

.rdcf-rule {
  height: 1px;
  margin: 1.25rem 0 1rem;
  background: var(--line);
  border: 0;
}

.rdcf-yrs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rdcf-yr {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.rdcf-yr.is-on {
  border-color: var(--teal);
  background: var(--mist);
  color: var(--teal-ink);
}

.rdcf-cmp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.rdcf-co {
  border: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.35rem;
}

.rdcf-co.is-a { border-top: 3px solid var(--teal); }
.rdcf-co.is-b { border-top: 3px solid var(--violet); }

.rdcf-badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
}

.rdcf-co.is-a .rdcf-badge { color: var(--teal-ink); }
.rdcf-co.is-b .rdcf-badge { color: var(--violet-ink); }

.rdcf-field { margin-bottom: 0.95rem; }
.rdcf-field:last-child { margin-bottom: 0; }

.rdcf-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

.rdcf-field input[type="text"],
.rdcf-field input[type="number"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #FAFAF8;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.6rem 0.75rem;
}

.rdcf-field input:focus {
  outline: 2px solid rgba(63, 169, 140, 0.35);
  outline-offset: 1px;
}

.rdcf-res {
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.4rem;
  background: #FAFAF8;
}

.rdcf-res.is-a { border-top: 3px solid var(--teal); }
.rdcf-res.is-b { border-top: 3px solid var(--violet); }

.rdcf-res-eye {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  text-transform: uppercase;
  color: var(--text-dim);
}

.rdcf-res-name {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.rdcf-res-big {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: var(--tight);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rdcf-res.is-a .rdcf-res-big { color: var(--teal-ink); }
.rdcf-res.is-b .rdcf-res-big { color: var(--violet-ink); }

.rdcf-res-unit {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.rdcf-res-ctx {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: #3C4453;
  line-height: 1.5;
}

.rdcf-verdict {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--lav-tint);
}

.rdcf-verdict h2 {
  font-size: 1.05rem;
  font-weight: 600;
}

.rdcf-verdict p {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  color: #3C4453;
}

.rdcf-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--paper);
  border: 1px solid var(--line);
}

.rdcf-pill.is-a { color: var(--teal-ink); }
.rdcf-pill.is-b { color: var(--violet-ink); }

.rdcf-chart-wrap {
  height: 280px;
  margin-top: 0.75rem;
}

.rdcf-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.rdcf-leg {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rdcf-leg i {
  display: block;
  width: 1.25rem;
  height: 2.5px;
}

.rdcf-leg.is-a i { background: var(--teal); }
.rdcf-leg.is-b i { background: var(--violet); }
.rdcf-leg.is-zero i { background: var(--line); }

.rdcf-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-block: 0.25rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.rdcf-toggle:hover { color: var(--teal-ink); }

.rdcf-extra { margin-top: 1.75rem; }

.rdcf-how {
  display: grid;
  gap: 1rem;
}

.rdcf-how-item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.rdcf-how-n {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--track-sm);
  color: var(--teal-ink);
}

.rdcf-how-item p { font-size: 0.9375rem; color: #3C4453; }

.rdcf-note {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  max-width: 78ch;
}

.rdcf-dl {
  margin-top: 1.25rem;
}

@media (max-width: 820px) {
  .rdcf-capm,
  .rdcf-cmp { grid-template-columns: 1fr; }
  .rdcf-chart-wrap { height: 220px; }
}
