/* ==========================================================================
   EcomForge Online — Corporate Site
   Palette and type per brief sections 13–15. Brand colours are sampled from
   the supplied logos, so the site and the identity cannot drift apart.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from assets/img/logo.png */
  --ink:            #10151D;  /* wordmark "ECOM", lower bar of the mark */
  --accent:         #056877;  /* wordmark "FORGE" */
  --accent-dark:    #024945;  /* upper bar of the mark */
  --accent-light:   #5EC8D4;  /* for use on the dark ground */
  --accent-bright:  #0E8A9C;  /* headline highlight, large text only */

  /* Neutrals — warm, biased a touch toward the accent rather than pure grey */
  --bg:             #FAFAF8;
  --bg-soft:        #F1F2EF;
  --text-muted:     #5C6470;
  --border:         #E4E5E0;
  --border-strong:  #D3D5CE;
  --white:          #FFFFFF;

  /* Type */
  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero:    clamp(2.625rem, 6.6vw, 4.75rem);
  --fs-h1:      clamp(2.375rem, 5.4vw, 4rem);
  --fs-h2:      clamp(1.875rem, 3.9vw, 3rem);
  --fs-h3:      clamp(1.25rem, 1.9vw, 1.5rem);
  --fs-lead:    clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-body:    clamp(1rem, 1vw, 1.0625rem);
  --fs-small:   0.9375rem;
  --fs-eyebrow: 0.75rem;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(3.75rem, 7.5vw, 6.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;

  /* Depth — two stops, so edges read as lift rather than blur */
  --shadow-sm: 0 1px 2px rgba(16, 21, 29, 0.04), 0 10px 24px -18px rgba(16, 21, 29, 0.22);
  --shadow-lg: 0 2px 4px rgba(16, 21, 29, 0.04), 0 28px 48px -30px rgba(16, 21, 29, 0.30);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A whisper of grain, so large flat areas read as paper rather than as a
   blank div. Kept under 3% — it should be felt, not seen. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.022em; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img, svg, video { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: var(--bg); }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.section--ink .eyebrow { color: rgba(255, 255, 255, 0.6); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 48ch;
}
.section--ink .lead { color: rgba(255, 255, 255, 0.74); }

.section-head { max-width: 44ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head .lead { margin-top: 1.1rem; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #000; box-shadow: var(--shadow-lg); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--ink); background: rgba(16, 21, 29, 0.035); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-lg); }

.btn--sm { padding: 0.58rem 1.1rem; font-size: 0.875rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s var(--ease);
}
.textlink:hover { border-color: currentColor; }
.textlink .arrow { transition: transform 0.3s var(--ease); }
.textlink:hover .arrow { transform: translate(2px, -2px); }
.textlink--static { color: var(--text-muted); cursor: default; }
.textlink--static:hover { border-color: transparent; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(250, 250, 248, 0.94);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.header__inner .nav { margin-left: auto; }

.logo { display: inline-flex; align-items: center; }
.logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.22s var(--ease);
}
.logo:hover img { opacity: 0.78; }
.footer .logo img { height: 48px; }

.nav { display: flex; align-items: center; gap: 1.9rem; }

.nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-block: 0.4rem;
  transition: color 0.22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  /* The nav carries margin-left:auto on desktop, but it is hidden on mobile,
     so the burger has to push itself to the right edge. */
  margin-left: auto;
  margin-right: -10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger__box { display: block; width: 22px; height: 16px; position: relative; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.18s var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__box span:nth-child(3) { bottom: 0; }

/* Open: the outer bars meet in the middle and cross, the middle one fades. */
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-nav__link {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__link[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { margin-top: 1.75rem; align-self: flex-start; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(2.75rem, 5.5vw, 4.5rem);
  overflow: hidden;
}
/* Faint ambient wash, so the top of the page doesn't read as flat white. */
.hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(48% 52% at 16% 8%, rgba(5, 104, 119, 0.07), transparent 72%),
    radial-gradient(34% 46% at 2% 92%, rgba(88, 168, 216, 0.16), transparent 70%),
    radial-gradient(26% 38% at 99% 4%, rgba(88, 168, 216, 0.13), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-hero);
  letter-spacing: -0.042em;
  line-height: 1.03;
}
.hero__lead { margin-top: 1.4rem; max-width: 42ch; }

/* One word of the headline carries the accent. */
.hl { color: var(--accent-bright); }

/* A note in the margin, the way someone would actually write one. */
.script {
  display: inline-block;
  font-family: "Caveat", ui-rounded, "Segoe Print", cursive;
  font-size: clamp(1.375rem, 2.3vw, 1.75rem);
  line-height: 1.2;
  color: var(--accent);
  transform: rotate(-3.5deg);
  transform-origin: left center;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.script svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -2px;
  margin-left: 0.35rem;
}

/* Secondary action: a round button with its label beside it. */
.pill-action {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.pill-action__ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  background: var(--white);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.pill-action__ring svg { width: 15px; height: 15px; }
.pill-action:hover .pill-action__ring {
  border-color: var(--ink);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
/* Hero banner: each brand is a card that links to its own site, on its own
   colour, with its promise and a way in. */
.collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.4vw, 1.125rem);
}

.hero-brand {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  aspect-ratio: 2.45 / 1;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero-brand:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* A soft shape in the brand's own colour, bled off the corner. */
.hero-brand::before {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -60%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand, transparent), transparent);
  opacity: 0.22;
  pointer-events: none;
}

.hero-brand__logo {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  max-height: 100%;
  max-width: min(78%, 320px);
  width: auto;
  transition: transform 0.5s var(--ease);
}
.hero-brand:hover .hero-brand__logo { transform: scale(1.03); }

.hero-brand__tag {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-family: var(--font-head);
  font-size: clamp(0.625rem, 0.95vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.62;
}

.hero-brand__go {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--ink);
  opacity: 0.55;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hero-brand:hover .hero-brand__go { transform: translateX(4px); opacity: 1; }

/* --------------------------------------------------------------------------
   7. Brand tints — each sampled from that brand's own logo
   -------------------------------------------------------------------------- */
.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.art--baby  { background: linear-gradient(150deg, #FFF4F6 0%, #FFE4E9 55%, #FBD3DB 100%); }  /* #F890A0 */
.art--minds { background: linear-gradient(150deg, #F2FBFF 0%, #DCF3FE 55%, #C2E9FC 100%); }  /* #58D8F8 */
.art--soon  { background: linear-gradient(150deg, #F4F4F1 0%, #EAEAE5 100%); }
.art--forge { background: linear-gradient(150deg, #EAF4F5 0%, #D7E9EB 100%); }

.brand-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 7%, 2.75rem);
}
.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}
.brand-card:hover .brand-mark img { transform: scale(1.035); }

/* --------------------------------------------------------------------------
   8. Facts bar
   -------------------------------------------------------------------------- */
.strip {
  border-block: 1px solid var(--border);
  background: var(--white);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.strip__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: clamp(1.15rem, 2.2vw, 1.6rem) clamp(1rem, 2vw, 1.75rem);
}
.strip__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(5, 104, 119, 0.09);
  color: var(--accent);
}
.strip__icon svg { width: 19px; height: 19px; }
.strip__text { display: flex; flex-direction: column; gap: 0.2rem; }
.strip__item:first-child { padding-left: 0; }
.strip__item:last-child { padding-right: 0; }
.strip__item + .strip__item { border-left: 1px solid var(--border); }
.strip__k {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.strip__v {
  font-family: var(--font-head);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   9. Split statement
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.split__body > * + * { margin-top: 1.15rem; }
.split__body p { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.65; }
.split__body p strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Brand cards (reusable component — brief section 21)
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.125rem, 2vw, 1.5rem);
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.brand-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
/* A hairline in the brand's own colour, tying card to brand. */
.brand-card__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--brand, transparent);
  z-index: 2;
}
.brand-card__media > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.brand-card__art { transition: transform 0.6s var(--ease); }
.brand-card:hover .brand-card__media > img,
.brand-card:hover .brand-card__art { transform: scale(1.04); }

.brand-card__logo {
  position: absolute;
  left: 1.25rem; top: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  z-index: 3;
}

.brand-card__body {
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
}
.brand-card__desc { color: var(--text-muted); font-size: 0.9688rem; }
.brand-card__foot {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}
.tag--soon { color: var(--accent); background: rgba(5, 104, 119, 0.10); }

/* Whole-card click target */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand-card--soon { background: var(--bg-soft); border-style: dashed; box-shadow: none; }
.brand-card--soon:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* --------------------------------------------------------------------------
   11. Capability pillars — an editorial 2x2, not four thin columns
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.pillar {
  display: grid;
  /* auto, so the label column fits "01" and "Mission" alike */
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.15rem;
  padding: clamp(1.6rem, 2.6vw, 2.25rem) clamp(1.25rem, 2.6vw, 2.25rem) clamp(1.6rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border);
}
.pillar:nth-child(odd) { border-right: 1px solid var(--border); }
.pillar:nth-child(even) {
  padding-left: clamp(1.25rem, 2.6vw, 2.25rem);
  padding-right: 0;
}
.pillar h3 { grid-column: 2; margin-bottom: 0.4rem; }
.pillar p { grid-column: 2; color: var(--text-muted); font-size: 0.9688rem; }

/* Qualified with the element, so it beats `.pillar p` on both column and colour. */
p.pillar__num {
  grid-column: 1;
  grid-row: span 2;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  padding-top: 0.5rem;
  white-space: nowrap;
}

.section--ink .pillars, .section--ink .pillar { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .pillar p { color: rgba(255, 255, 255, 0.68); }
.section--ink p.pillar__num { color: var(--accent-light); }

/* --------------------------------------------------------------------------
   12. Editorial brand sections (Brands page)
   -------------------------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
}
.editorial--flip .editorial__media { order: 2; }

.editorial + .editorial {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--border);
}

.editorial__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.editorial__media > img { width: 100%; height: 100%; object-fit: cover; }

.editorial__title { font-size: var(--fs-h2); margin-bottom: 0.6rem; }
.editorial__positioning {
  font-size: var(--fs-lead);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.15rem;
}
.editorial__body p { color: var(--text-muted); }
.editorial__body p + p { margin-top: 0.9rem; }
.editorial__meta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   12b. Checklist — "what to send", and lists like it
   -------------------------------------------------------------------------- */
.checklist {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
  max-width: 56ch;
}
.checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 1rem;
}
.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.62em;
}

/* --------------------------------------------------------------------------
   13. Contact facts
   -------------------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border);
}
.fact__label {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.fact__value { font-size: 1.0625rem; line-height: 1.5; }
.fact__value a { border-bottom: 1px solid var(--border-strong); transition: border-color 0.22s var(--ease); }
.fact__value a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; margin-top: 1.15rem; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9688rem;
  max-width: 32ch;
  margin-top: 0.9rem;
}
.footer__email { margin-top: 0.6rem; font-size: 0.9688rem; }
.footer__email a { border-bottom: 1px solid var(--border-strong); transition: border-color 0.22s var(--ease); }
.footer__email a:hover { border-color: var(--ink); }

.footer__title {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.footer__list li + li { margin-top: 0.65rem; }
.footer__list a {
  font-size: 0.9375rem;
  color: var(--ink);
  transition: color 0.22s var(--ease);
}
.footer__list a:hover { color: var(--accent); }

.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer__legal { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.footer__legal a { transition: color 0.22s var(--ease); }
.footer__legal a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   16. Inner page hero
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 5.5vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 1.35rem; max-width: 54ch; }

.crumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.crumbs a { transition: color 0.22s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: var(--border-strong); }

/* --------------------------------------------------------------------------
   17. Legal / prose pages
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h2:first-of-type { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text-muted); font-size: 1rem; }
.prose p + p { margin-top: 0.9rem; }
.prose ul { margin-top: 0.9rem; padding-left: 1.2rem; list-style: disc; }
.prose li { margin-top: 0.45rem; }
.prose a { color: var(--accent); border-bottom: 1px solid transparent; }
.prose a:hover { border-color: currentColor; }
.prose__meta { font-size: var(--fs-small); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.07s; }
[data-reveal-delay="2"] { transition-delay: 0.14s; }
[data-reveal-delay="3"] { transition-delay: 0.21s; }
[data-reveal-delay="4"] { transition-delay: 0.28s; }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .logo img { height: 34px; }
  .footer .logo img { height: 40px; }

  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__lead { max-width: 52ch; }

  .split { grid-template-columns: 1fr; gap: 1.5rem; }

  .editorial { grid-template-columns: 1fr; gap: 1.75rem; }
  .editorial--flip .editorial__media { order: 0; }

  .brand-grid { grid-template-columns: 1fr; }

  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { padding-inline: 0; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .pillar:nth-child(odd),
  .pillar:nth-child(even) {
    padding: 1.5rem 0;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .cta-band .btn-row { flex-direction: column; }
  .mobile-nav__link { font-size: 1.5rem; }
  .hero-brand { aspect-ratio: 2.1 / 1; }
  .hero-brand__logo { max-width: 82%; }
}

/* --------------------------------------------------------------------------
   20. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-nav, .footer, .btn-row { display: none; }
  body { background: #fff; }
  body::after { content: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
