/* ==========================================================================
   Growture Finance and Advisory
   Layout: the reference site Mohamed chose on 8 Oct 2026, in Growture's own logo,
   colours and words. An airy white page; thin serif headlines in two sizes with the
   key words in green; picture slots with an offset pale block behind them; numbered
   rows whose thin line runs off the edge of the page; a cream band; a navy footer.
   One light look by choice.
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans.woff2") format("woff2");
}

:root {
  /* colour */
  --navy: #14202D;          /* text and footer */
  --green: #095C34;         /* buttons, small green text */
  --green-deep: #074829;
  --accent: #367D58;        /* key words in headlines */
  --brand-light: #4E9E73;   /* the logo on the navy footer */
  --pale: #E2EEE7;          /* offset blocks, number squares, tabs */
  --cream: #F7F5F0;
  --paper: #FFFFFF;
  --gold: #BFA060;
  --ink-2: #3A444E;
  --ink-3: #5A6570;
  --line: #CDD3D8;
  --panel-b: #E3E8EB;       /* while a photo loads */
  --stone: #ECEAE6;         /* the Who we serve panel, under its photo */
  --wash: rgba(255, 255, 255, 0.55);
  --frame: #ECE8E2;
  --on-navy: #E9EDF0;
  --on-navy-2: #A7B2BC;
  --shade: rgba(20, 32, 45, 0.16);
  /* type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* measure */
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --header-h: 5.75rem;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 300 1rem/1.65 var(--sans);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 50;
  padding: 0.6rem 0.9rem; background: var(--navy); color: var(--paper);
  font: 500 0.875rem/1.2 var(--sans); text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 0.5rem; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- draft notes (never in a release build) ---------- */
.draft-strip {
  background: var(--cream); color: var(--ink-2);
  font-size: 0.8125rem; line-height: 1.4; text-align: center;
  padding: 0.45rem var(--gutter);
}
.pending { margin-top: 1rem; padding: 0.875rem 1rem; border: 1px dashed var(--line); color: var(--ink-3); }
.todo {
  border: 1px dashed currentColor; border-radius: 2px;
  padding: 0.05em 0.4em; white-space: nowrap; color: var(--accent);
}

/* ---------- logo ---------- */
.wordmark { width: 12.5rem; height: auto; aspect-ratio: 6112 / 1260; max-width: 100%; flex: none; }
.brand { display: inline-flex; --wm-name: var(--green); --wm-sub: var(--navy); }
.brand--light { --wm-name: var(--brand-light); --wm-sub: var(--paper); }

/* ---------- type ---------- */
.tiers {
  font-family: var(--serif); font-weight: 250; color: var(--navy);
  font-optical-sizing: auto; letter-spacing: 0.005em;
}
.tiers .t1, .tiers .t2 { display: block; }
.tiers em, .serif-lead em, .statement em, .serve-heading em, .lead-in em { font-style: normal; color: var(--accent); }
h2.tiers .t1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.2; }
h2.tiers .t2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.04; }
.serif-lead {
  font: 300 clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem)/1.45 var(--serif);
  color: var(--navy); text-wrap: pretty;
}
.small { font: 300 0.9375rem/1.75 var(--sans); letter-spacing: 0.03em; color: var(--ink-2); text-wrap: pretty; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 1.125rem 1.625rem;
  background: var(--green); color: var(--paper);
  border-radius: 6px;
  font: 500 0.75rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--green-deep); }
.btn--sm { padding: 0.9375rem 1.25rem; font-size: 0.71875rem; }
.more {
  display: inline-block;
  font: 500 0.71875rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 0.2rem;
  transition: border-color 0.2s ease;
}
.more:hover { border-bottom-color: var(--green); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--paper);
  box-shadow: 0 10px 24px -16px var(--shade);
}
.bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "brand nav cta";
  align-items: center; gap: 0.75rem 2rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
}
.bar .brand { grid-area: brand; justify-self: start; }
.header-cta { grid-area: cta; justify-self: end; }
.site-nav {
  grid-area: nav;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 2rem;
}
.site-nav a {
  font: 500 0.71875rem/1.6 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  padding-block: 0.3rem; border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green); border-bottom-color: var(--green); }

@media (max-width: 64rem) {
  :root { --header-h: 7.5rem; }
  .bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand cta" "nav nav";
    padding-block: 1rem 0.625rem;
  }
  .site-nav { justify-content: flex-start; gap: 0.25rem 1.75rem; }
  .wordmark { width: 10.5rem; }
}
@media (max-width: 30rem) {
  .site-nav { justify-content: space-between; gap: 0.25rem 0.75rem; }
  .site-nav a { letter-spacing: 0.12em; font-size: 0.6875rem; }
  .btn--sm { padding: 0.8rem 0.9rem; letter-spacing: 0.14em; }
}

/* ---------- picture slots: a photo with an offset pale block behind it ---------- */
.media { position: relative; isolation: isolate; width: 100%; max-width: 26rem; justify-self: center; }
.media::before { content: ""; position: absolute; z-index: -1; background: var(--pale); }
.media--offset-right::before { inset: 26% -12% -14% 30%; }
.media--offset-left::before { inset: 26% 30% -14% -12%; }
.photo { display: block; width: 100%; }
img.photo, .photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--panel-b);   /* while the photo loads */
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(3.5rem, 9vw, 6.75rem) clamp(4rem, 10vw, 7.5rem); }
.hero-g {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(38rem, 62vw); height: auto; aspect-ratio: 687 / 736;
  right: -3%; top: -12%;
  fill: none; stroke: var(--pale); stroke-width: 5px; vector-effect: non-scaling-stroke;
}
.hero-g path { vector-effect: non-scaling-stroke; }
.hero-inner { position: relative; z-index: 1; }
h1.tiers .t1 { font-size: clamp(2.5rem, 1.25rem + 5vw, 4.875rem); line-height: 1.04; }
h1.tiers .t2 { font-size: clamp(1.75rem, 1rem + 3.2vw, 3.5rem); line-height: 1.12; margin-top: 0.15em; }
.hero-lead, .hero-cta { margin-left: clamp(0rem, 8vw, 5.5rem); }
.hero-lead {
  margin-top: 2.25rem; max-width: 34rem;
  font: 300 clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem)/1.45 var(--serif); text-wrap: pretty;
}
.hero-cta { margin-top: 2.25rem; }

/* ---------- who we are and the team ---------- */
.about { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 6.5rem); overflow: clip; }
.about-intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem clamp(3rem, 7vw, 6.5rem); align-items: center;
}
.about-copy { min-width: 0; }
.rule-out { height: 1px; background: var(--line); width: calc(100% + 50vw); margin-block: 1.75rem; }
.meta { margin-top: 1rem; font: 300 0.875rem/1.6 var(--sans); letter-spacing: 0.03em; color: var(--ink-3); }
.lead-in {
  margin-top: 2.5rem;
  font: 250 clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem)/1.2 var(--serif); color: var(--navy);
}
.feature {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem clamp(3rem, 7vw, 6.5rem); align-items: center;
  margin-top: clamp(4.5rem, 10vw, 7.5rem);
}
.feature--text-right { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.feature--text-right .feature-copy { order: 2; }
.feature--text-right .media { order: 1; }
.feature-copy { min-width: 0; }
.feature-head { display: flex; align-items: flex-start; gap: 1.5rem; }
.feature-title { min-width: 0; }
.level {
  margin-bottom: 0.75rem;
  font: 500 0.6875rem/1.5 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green);
}
.feature { --t1: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem); }
/* the numbered square (and its line) sits level with the first line of the heading, under the level label:
   label 1.03rem + gap 0.75rem, plus half the first line, minus half the square */
.feature .num { margin-top: calc(1.78125rem + var(--t1) * 0.575 - 1.5625rem); }
.tiers--feature { min-width: 0; }
.tiers--feature .t1 { font-size: var(--t1); line-height: 1.15; }
.tiers--feature .t2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.08; color: var(--accent); }
.num {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 2.75rem; height: 3.125rem; margin-top: 0.35rem;
  background: var(--pale);
  font: 300 1.25rem/1 var(--serif); color: var(--accent);
}
.num--from-left::before, .num--to-right::after {
  content: ""; position: absolute; top: 50%; width: 100vw; height: 1px; background: var(--line);
}
.num--from-left::before { right: calc(100% + 0.5rem); }
.num--to-right::after { left: calc(100% + 0.5rem); }
.feature-copy .small { max-width: 27rem; margin-top: 1.75rem; }
.feature-copy .more { margin-top: 1.25rem; }
.feature:not(.feature--text-right) .feature-copy .small,
.feature:not(.feature--text-right) .feature-copy .more { margin-left: 4.25rem; }
.statement {
  margin: clamp(4.5rem, 10vw, 7rem) auto 0; max-width: 46rem; text-align: center;
  font: 250 clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem)/1.35 var(--serif); color: var(--navy); text-wrap: balance;
}
.statement::before { content: ""; display: block; width: 3rem; height: 1px; margin: 0 auto 1.75rem; background: var(--gold); }

@media (max-width: 56rem) {
  .about-intro, .feature, .feature--text-right { grid-template-columns: minmax(0, 1fr); }
  .about-intro .media { order: 2; max-width: 22rem; }
  .feature--text-right .feature-copy { order: 1; }
  .feature--text-right .media { order: 2; }
  .feature .media { max-width: 22rem; }
  .rule-out { width: 100%; }
}

/* ---------- cream bands, cards and tabs ---------- */
.band { padding-block: clamp(4.5rem, 9vw, 6.5rem); }
.band--cream { background: var(--cream); }
.card {
  position: relative; background: var(--paper);
  padding: clamp(3.5rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 5vw, 4.5rem);
}
.tab {
  position: absolute; top: -2.5rem;
  display: grid; place-items: center;
  min-width: clamp(11rem, 20vw, 13.5rem); min-height: 5.25rem; padding: 1rem 1.75rem;
  background: var(--pale);
  font: 300 clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem)/1.2 var(--serif); color: var(--navy);
}
.tab--right { right: 8%; }
.tab--left { left: 8%; }
.tiers--card .t1 { font-size: clamp(1.875rem, 1.35rem + 2vw, 2.875rem); line-height: 1.12; }
.tiers--card .t2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem); line-height: 1.2; }
.card-text { margin-top: 1.25rem; max-width: 38rem; }
.svc {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem;
}
.svc li { min-width: 0; border-top: 1px solid var(--line); padding-top: 1.125rem; }
.svc h3 { font: 400 1.1875rem/1.3 var(--serif); color: var(--navy); }
.svc p { margin-top: 0.4rem; font: 300 0.875rem/1.65 var(--sans); letter-spacing: 0.03em; color: var(--ink-3); }
.edge-cta { position: absolute; right: -1.75rem; bottom: 2.75rem; }
@media (min-width: 60.0625rem) { .card, .texture { padding-bottom: 8rem; } }
@media (max-width: 60rem) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edge-cta { position: static; margin-top: 2.5rem; }
}
@media (max-width: 36rem) { .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .tab { position: relative; top: auto; left: auto; right: auto; margin-bottom: 2rem; justify-self: start; display: inline-grid; } }

/* ---------- who we serve ---------- */
.serve { padding-block: clamp(5rem, 10vw, 7.5rem) clamp(4rem, 9vw, 6.5rem); }
.texture {
  position: relative; isolation: isolate;
  padding: clamp(4rem, 7vw, 5.75rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5rem);
  background: var(--stone);
}
/* The palm-shadow photo behind the panel, washed light so every line of text on it stays easy
   to read. On narrow screens the panel is tall, so the photo fills a band at the top and fades
   into the stone colour instead of being blown up. */
.backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.backdrop picture, .backdrop img { display: block; width: 100%; height: 100%; }
.backdrop img { object-fit: cover; object-position: 30% 50%; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: var(--wash); }
@media (max-width: 60rem) {
  .backdrop {
    bottom: auto; height: min(100%, 95vw);
    -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
  }
}
.serve-heading {
  max-width: 40rem; margin-inline: auto; text-align: center;
  font: 250 clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem)/1.15 var(--serif); color: var(--navy); text-wrap: balance;
}
.groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.75rem 3rem; margin-top: 3rem; }
.groups li { flex: 0 1 18rem; min-width: 0; text-align: center; }
.groups h3 { font: 400 1.3125rem/1.3 var(--serif); color: var(--navy); }
.groups p { margin-top: 0.5rem; font: 300 0.9rem/1.65 var(--sans); letter-spacing: 0.03em; color: var(--ink-2); }
.groups .points {
  margin-top: 0.75rem;
  font: 500 0.6875rem/1.85 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
}
@media (max-width: 40rem) { .texture { padding-top: 3rem; } }

/* ---------- reports ---------- */
.reports { padding-block: clamp(4rem, 9vw, 6.5rem); overflow: clip; }
.reports-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3.5rem clamp(3rem, 6vw, 5.5rem); align-items: center;
}
.reports-inner { min-width: 0; }
.reports .rule-out { width: 100%; }
/* a small pile of report pages: a new one lands on top every few seconds (site.js), and its
   name shows under the pile. The pages under the top one show only their edges. */
.pile-wrap { margin: 0; min-width: 0; width: 100%; max-width: 29rem; justify-self: center; }
.pile { position: relative; isolation: isolate; aspect-ratio: 1000 / 707; }
.pile::before { content: ""; position: absolute; z-index: -1; inset: 30% -9% -15% 34%; background: var(--pale); }
.pile-sheet {
  --x: 0rem; --y: 0rem; --r: -1deg;
  position: absolute; inset: 0;
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1);
}
.pile-sheet picture, .pile-sheet img { display: block; width: 100%; height: 100%; }
.pile-sheet img {
  background: var(--paper); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(20, 32, 45, 0.10), 0 -1px 0 rgba(20, 32, 45, 0.04), 0 18px 28px -18px rgba(20, 32, 45, 0.38);
}
.pile-under:nth-child(1) { --x: 0.125rem; --y: 1.375rem; --r: 4deg; }
.pile-under:nth-child(2) { --x: -0.125rem; --y: 1.25rem; --r: -4.5deg; }
.pile-under:nth-child(3) { --y: 1.875rem; --r: 1.4deg; }
.pile-page { visibility: hidden; }
.pile-page.is-top { visibility: visible; }
.pile-cap { display: block; margin-top: 4.25rem; text-align: center; }
.pile-count { display: block; font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.18em; color: var(--ink-3); }
.pile-name {
  display: block; margin-top: 0.625rem;
  font: 300 clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem)/1.25 var(--serif); color: var(--navy);
  transition: opacity 0.25s ease;
}
.pile-name.is-changing { opacity: 0; }
.pile-bar { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.875rem; }
.pile-dots { display: flex; gap: 0.4375rem; }
.pile-dots i { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--line); transition: background-color 0.3s ease; }
.pile-dots i.on { background: var(--green); }
.pile-pause {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer;
}
.pile-pause[hidden] { display: none; }
.pile-pause:hover { border-color: var(--green); color: var(--green); }
.pile-pause svg { width: 0.75rem; height: 0.75rem; fill: currentColor; }
.pile-pause .i-play, .pile-pause[aria-pressed="true"] .i-pause { display: none; }
.pile-pause[aria-pressed="true"] .i-play { display: inline; }
.pile-note { display: block; margin-top: 1.25rem; font: 300 0.8125rem/1.5 var(--sans); letter-spacing: 0.03em; color: var(--ink-3); }
.pile-wrap:not(.is-live) .pile-count, .pile-wrap:not(.is-live) .pile-bar { display: none; }  /* nothing turns */
@media (max-width: 56rem) {
  .reports-grid { grid-template-columns: minmax(0, 1fr); }
  .pile-wrap { max-width: 26rem; }
}


.flow { display: flex; flex-wrap: wrap; gap: 0.875rem 2.25rem; margin-top: 2.25rem; }
.flow li {
  position: relative; padding-left: 1.125rem;
  font: 300 clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem)/1.4 var(--serif); color: var(--navy);
}
.flow li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--gold);
}
.more-note { margin-top: 2rem; max-width: 36rem; }

/* ---------- how we work: a real sequence, so numbered ---------- */
.tiers--center { text-align: center; }
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 3.5rem;
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 1.9rem; height: 1px; background: var(--line); }
.timeline li { position: relative; min-width: 0; }
.timeline .num { margin-top: 0.35rem; }
.timeline h3 { margin-top: 1.5rem; font: 400 1.25rem/1.3 var(--serif); color: var(--navy); }
.timeline .small { margin-top: 0.5rem; }
@media (max-width: 56rem) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}
@media (max-width: 34rem) { .timeline { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact { padding-block: clamp(4rem, 9vw, 6.5rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem clamp(3rem, 7vw, 6.5rem); align-items: center;
}
.phone-wrap { display: grid; justify-items: center; min-width: 0; }
.phone {
  position: relative; width: min(15rem, 64vw); aspect-ratio: 390 / 760;
  border: 9px solid var(--frame); border-radius: 2.25rem; overflow: hidden; background: var(--paper);
  box-shadow: 0 34px 40px -30px var(--shade), 0 0 0 1px var(--line);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.contact-copy { min-width: 0; }
.contact-copy .small { margin-top: 1.25rem; max-width: 30rem; }
.contact-copy .btn { margin-top: 2rem; }
/* the details in three short columns (Mohamed's choice, 9 Oct) */
.contact-cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 1.5rem 2.75rem; margin-top: 2.75rem; justify-content: start; }
.contact-cols > div { min-width: 0; }
.cc-label { font: 500 0.6875rem/1.5 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.contact-cols p:not(.cc-label) { font: 300 1rem/1.7 var(--sans); letter-spacing: 0.02em; color: var(--navy); overflow-wrap: anywhere; }
.contact-cols a { color: var(--navy); text-decoration: none; }
.contact-cols a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 0.25em; }
@media (max-width: 56rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .phone-wrap { order: 2; }
}
@media (max-width: 40rem) {
  .contact-cols { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy); color: var(--on-navy-2);
  padding-block: clamp(3.5rem, 7vw, 4.75rem) 3rem;
  font: 300 0.875rem/1.75 var(--sans); letter-spacing: 0.03em;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 3rem; align-items: start; text-align: center; }
.f-col { display: grid; gap: 0.25rem; justify-items: center; min-width: 0; }
.f-label { margin-bottom: 0.5rem; font: 300 1.0625rem/1.4 var(--serif); color: var(--on-navy); }
.f-brand .wordmark { width: 13rem; }
.f-brand .btn { margin-top: 1.75rem; }
.f-legal { margin-top: 1.75rem; font-size: 0.8125rem; }
.f-legal .sep { margin-inline: 0.6rem; opacity: 0.6; }
.f-legal a { white-space: nowrap; }
.f-nav { display: grid; gap: 0.25rem; }
.f-fine {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(233, 237, 240, 0.14);
  text-align: center; font-size: 0.8125rem; line-height: 1.6;
}
.site-footer a:not(.btn) { color: var(--on-navy); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer .todo { color: var(--on-navy); }
@media (max-width: 56rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .f-brand { order: -1; }
}

/* ---------- document pages (Privacy Policy, Terms of Service, page not found) ---------- */
.doc { padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 5.5rem); }
.prose { max-width: 44rem; }
.kicker { font: 500 0.71875rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }
.doc h1 {
  margin-top: 1rem;
  font: 250 clamp(2.5rem, 1.6rem + 3.4vw, 4rem)/1.06 var(--serif); color: var(--navy);
}
.doc .updated { margin-top: 0.875rem; font-size: 0.875rem; color: var(--ink-3); }
.doc .intro { margin-top: 2rem; font: 300 clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem)/1.5 var(--serif); color: var(--navy); }
.doc h2 { margin-top: 2.5rem; font: 300 1.625rem/1.25 var(--serif); color: var(--navy); }
.doc .prose p:not(.kicker):not(.updated):not(.intro) { margin-top: 0.75rem; color: var(--ink-2); line-height: 1.75; }
.doc .prose ul { margin-top: 0.875rem; display: grid; gap: 0.6rem; }
.doc .prose li { position: relative; padding-left: 1.25rem; color: var(--ink-2); line-height: 1.75; }
.doc .prose li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.5rem; height: 1px; background: var(--accent); }
.doc .prose li strong { color: var(--navy); font-weight: 500; }
.doc .prose a { color: var(--green); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.doc .btn { margin-top: 2rem; }

/* ---------- motion ----------
   As on the reference site: each block rises into place (a third of its own height, 0.6 s)
   as it comes into view, and blocks that appear together follow one another by a beat. A
   photo rises while its pale block slides in from its side to sit behind it; a line that
   runs to the page edge draws itself out; a background photo fades in; report pages land on
   their pile one at a time. Only when the page script runs and the visitor has not asked for
   less motion (the head sets reveal-on). */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(30%);
  transition: opacity 0.6s ease var(--rd, 0s), transform 0.6s ease var(--rd, 0s),
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

.reveal-on [data-reveal="media"] { opacity: 1; transform: none; }
.reveal-on [data-reveal="media"] .photo {
  opacity: 0; transform: translateY(14%);
  transition: opacity 0.7s ease var(--rd, 0s), transform 0.7s ease var(--rd, 0s);
}
.reveal-on [data-reveal="media"]::before {
  opacity: 0; transform: translateX(var(--block-from, 14%));
  transition: opacity 0.8s ease calc(var(--rd, 0s) + 0.2s), transform 0.9s ease calc(var(--rd, 0s) + 0.2s);
}
.media--offset-left { --block-from: -14%; }
.reveal-on [data-reveal="media"].is-in .photo,
.reveal-on [data-reveal="media"].is-in::before { opacity: 1; transform: none; }

/* a report page is lowered onto the pile from a little above, a little turned, and settles;
   the page it covers then fades, so the shadows under the pile never build up */
.reveal-on .pile-sheet { opacity: 0; transform: translate(var(--x), calc(var(--y) - 2.5rem)) rotate(calc(var(--r) + 3deg)) scale(1.05); }
.reveal-on .pile-sheet.is-in {
  opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1);
  transition: opacity 0.18s ease var(--rd, 0s), transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) var(--rd, 0s);
}
.reveal-on .pile-sheet.is-in.is-out { opacity: 0; transition: opacity 0.3s ease; }
/* the pile itself appears as one piece, so its pages never show through one another */
.reveal-on .pile { opacity: 0; transition: opacity 0.5s ease; }
.reveal-on .pile.is-in { opacity: 1; }
.reveal-on .pile-under { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }

.reveal-on [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.1s ease var(--rd, 0s); }
.reveal-on [data-reveal="line"].is-in { transform: none; }

.reveal-on [data-reveal="num"]::before,
.reveal-on [data-reveal="num"]::after { transform: scaleX(0); transition: transform 1.1s ease calc(var(--rd, 0s) + 0.15s); }
.reveal-on .num--from-left[data-reveal="num"]::before { transform-origin: right; }
.reveal-on .num--to-right[data-reveal="num"]::after { transform-origin: left; }
.reveal-on [data-reveal="num"].is-in::before,
.reveal-on [data-reveal="num"].is-in::after { transform: none; }

.reveal-on [data-reveal="fade"] { transform: none; transition: opacity 1.4s ease var(--rd, 0s); }

@media print {
  .reveal-on [data-reveal], .reveal-on [data-reveal] .photo,
  .reveal-on [data-reveal]::before, .reveal-on [data-reveal]::after { opacity: 1 !important; transform: none !important; }
  .reveal-on .pile-sheet { opacity: 1 !important; transform: translate(var(--x), var(--y)) rotate(var(--r)) !important; }
}
