/* ID'EAU × Gorilla Commerce & Solutions — Landing */

:root {
  /* palette tokens — driven by JS Tweaks */
  --bg:        #f4f7fb;
  --bg-soft:   #e9eff7;
  --ink:       #0a1f3d;
  --ink-soft:  #3a4d6b;
  --line:      #d6e0ec;
  --primary:   #1456b8;
  --primary-d: #0d3f8a;
  --accent:    #6fb6e6;
  --accent-2:  #b5d7f0;

  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);
  --radius: 4px;
}

html.density-compact { --section-y: clamp(48px, 6vw, 88px); }
html.density-comfy   { --section-y: clamp(96px, 12vw, 180px); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display:block; max-width:100%; height:auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: default; }

.serif { font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif; font-style: italic; font-weight: 400; }
.mono  { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--ink  { background: var(--ink); color: #e9eff7; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}
.section--ink .eyebrow { color: var(--accent); }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.018em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.45; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }
.section--ink .lead { color: #b9c6d8; }

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--primary) 70%, var(--primary-d));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.brand__name { font-size: 14px; letter-spacing: -0.01em; }
.brand__sub  { font-size: 12px; color: var(--ink-soft); }
.nav__links  { display: flex; gap: 30px; font-size: 13.5px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: 13.5px; padding: 9px 16px; border-radius: var(--radius);
  background: var(--ink); color: #fff; letter-spacing: -0.005em;
}
.nav__cta:hover { background: var(--primary-d); }

@media (max-width: 760px) { .nav__links { display: none; } }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: stretch;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 12px; }
.hero__headline { margin-top: 18px; }
.hero__headline em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--primary); letter-spacing: -0.02em; }
.hero__sub { margin-top: 22px; max-width: 50ch; }
.hero__meta {
  display: flex; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px;
}
.hero__meta-item { font-size: 12.5px; color: var(--ink-soft); }
.hero__meta-item b { display: block; color: var(--ink); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 2px; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display:inline-flex; align-items:center; gap:8px; padding: 14px 22px; border-radius: var(--radius); font-size: 14.5px; letter-spacing: -0.005em; transition: background .18s, color .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-d); }
.btn--ghost   { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,0.5); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 28px; font-size: 16px; }

.hero__image {
  position: relative; min-height: 540px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__image-tag {
  position: absolute; left: 20px; bottom: 20px; color: #fff;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; background: rgba(10,31,61,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 2px;
}

/* Hero variants */
.hero--full { padding-top: 0; padding-bottom: 0; }
.hero--full .hero__bleed {
  position: relative; height: clamp(620px, 88vh, 880px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero--full .hero__bleed > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero--full .hero__bleed::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,31,61,0.05) 0%, rgba(10,31,61,0.85) 100%);
}
.hero--full .hero__overlay {
  position: relative; z-index: 1; color:#f4f7fb; padding-bottom: clamp(48px, 6vw, 80px);
  width: 100%;
}
.hero--full h1 { color: #fff; max-width: 18ch; }
.hero--full h1 em { color: var(--accent); }
.hero--full .lead { color: rgba(244,247,251,0.85); margin-top: 22px; max-width: 56ch; }
.hero--full .eyebrow { color: var(--accent); }
.hero--full .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.hero--full .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.hero--manifesto { padding-top: clamp(64px, 8vw, 120px); padding-bottom: var(--section-y); }
.hero--manifesto .manifesto-head { font-size: clamp(56px, 9.5vw, 168px); line-height: 0.94; letter-spacing: -0.045em; }
.hero--manifesto .manifesto-head em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--primary); }
.hero--manifesto .manifesto-foot {
  display:grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line); padding-top: 28px;
}
@media (max-width: 820px) { .hero--manifesto .manifesto-foot { grid-template-columns: 1fr; } }
.hero--manifesto .manifesto-cta { display:flex; gap:12px; align-self: end; justify-self: end; flex-wrap:wrap; }
@media (max-width: 820px) { .hero--manifesto .manifesto-cta { justify-self: start; } }

/* ── PROBLEM strip ────────────────────────────────────────────────────── */
.problem { position: relative; overflow: hidden; }
.problem__head { max-width: 78ch; margin-bottom: clamp(40px, 6vw, 80px); }
.problem__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px);
}
@media (max-width: 1000px) { .problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .problem__grid { grid-template-columns: 1fr; } }
.fact {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 22px;
  min-height: 200px;
}
.section--ink .fact { border-color: rgba(255,255,255,0.18); }
.fact__num {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(56px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.02em;
  color: var(--primary);
}
.section--ink .fact__num { color: var(--accent); }
.fact__lbl { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); max-width: 28ch; }
.section--ink .fact__lbl { color: #b9c6d8; }
.fact__tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-top: 4px; }
.section--ink .fact__tag { color: var(--accent); }

/* ── BREAKER imagery ──────────────────────────────────────────────────── */
.breaker { position: relative; }
.breaker__img {
  position: relative; height: clamp(360px, 56vh, 560px);
  overflow: hidden;
}
.breaker__img img { width: 100%; height: 100%; object-fit: cover; }
.breaker__quote {
  position: absolute; left: 50%; bottom: clamp(40px, 6vw, 80px); transform: translateX(-50%);
  max-width: 880px; width: calc(100% - 2*var(--pad-x));
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15;
  text-wrap: balance; letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(10,31,61,0.5);
}
.breaker__cite {
  display: block; margin-top: 18px; font-family: "Geist", sans-serif; font-style: normal;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ── CASE STUDY ID'EAU ────────────────────────────────────────────────── */
.case__head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(40px, 6vw, 72px); align-items: end;
}
@media (max-width: 900px) { .case__head { grid-template-columns: 1fr; } }
.case__brand {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(64px, 8vw, 124px); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--primary);
}
.case__meta { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; display: block; }

.metrics {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr; } }
.metric {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.metric:nth-child(3n) { border-right: 0; }
@media (max-width: 900px) {
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
}
.metric__label { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em; max-width: 32ch; }
.metric__compare { display: flex; align-items: baseline; gap: 14px; margin-top: auto; }
.metric__before {
  font-size: 28px; letter-spacing: -0.015em; color: var(--ink-soft); text-decoration: line-through;
  text-decoration-color: rgba(58,77,107,0.5); text-decoration-thickness: 1px;
}
.metric__arrow { color: var(--ink-soft); font-size: 14px; }
.metric__after {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em;
  color: var(--primary);
}
.metric__delta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #137a4b; background: rgba(19,122,75,0.08); padding: 4px 8px; border-radius: 2px;
  align-self: flex-start;
}
.metric__delta.down { color: #b32b2b; background: rgba(179,43,43,0.08); }

/* ── OFFERING ─────────────────────────────────────────────────────────── */
.offer__head { max-width: 64ch; margin-bottom: clamp(40px, 6vw, 80px); }
.offer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .offer__grid { grid-template-columns: 1fr; } }
.offer__card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 22px;
  min-height: 380px;
}
.offer__num {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-size: 22px; color: var(--primary);
}
.offer__title { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.018em; }
.offer__body { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.offer__list { list-style: none; padding: 0; margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.offer__list li {
  font-size: 13px; color: var(--ink); padding-left: 18px; position: relative; line-height: 1.4;
}
.offer__list li::before {
  content: "→"; position: absolute; left: 0; color: var(--primary); font-size: 13px;
}

/* ── PROCESS timeline ─────────────────────────────────────────────────── */
.process { background: var(--ink); color: #e9eff7; }
.process h2 { color: #fff; }
.process .lead { color: #b9c6d8; }
.process__steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 24px 32px; background: var(--ink);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.step__no {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  color: var(--accent); font-size: 28px;
}
.step__title { color: #fff; font-size: 18px; letter-spacing: -0.012em; line-height: 1.2; }
.step__body { color: #b9c6d8; font-size: 13px; line-height: 1.5; }
.step__dur { margin-top: auto; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ── WHY GORILLA ──────────────────────────────────────────────────────── */
.why__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }
.why__pic { position: relative; min-height: 540px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.why__pic img { position: absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.why__pic-overlay {
  position: absolute; left: 24px; top: 24px; right: 24px;
  color: #fff; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  display:flex; justify-content: space-between;
}

.why__list { display: flex; flex-direction: column; gap: 28px; }
.why__item { border-top: 1px solid var(--line); padding-top: 22px; }
.why__item-h { display:flex; align-items: baseline; gap: 18px; }
.why__item-n {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--primary);
  font-size: 22px;
}
.why__item-t { font-size: 22px; letter-spacing: -0.015em; }
.why__item-b { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-top: 10px; max-width: 56ch; }

.why__creds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line); padding-top: 32px;
}
@media (max-width: 760px) { .why__creds { grid-template-columns: 1fr 1fr; } }
.why__cred { display:flex; flex-direction: column; gap: 4px; }
.why__cred b { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--primary); font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.why__cred span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 22px 0; cursor: default; }
.faq__q {
  display:flex; justify-content: space-between; gap: 24px; align-items: baseline;
  font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.012em; font-weight: 500;
}
.faq__q::after { content: "+"; font-family: "Geist", sans-serif; font-weight: 300; color: var(--primary); font-size: 24px; transition: transform .2s; }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 64ch; overflow: hidden; max-height: 0; transition: max-height .3s, margin-top .3s; }
.faq__item.open .faq__a { max-height: 400px; margin-top: 14px; }

/* ── CTA & FOOTER ─────────────────────────────────────────────────────── */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(111,182,230,0.22), transparent 60%),
              radial-gradient(ellipse at 70% 100%, rgba(20,86,184,0.25), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent); }
.cta__lead { color: rgba(255,255,255,0.8); margin-top: 24px; max-width: 56ch; }
.cta__row { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.cta__row .btn--primary { background: #fff; color: var(--ink); }
.cta__row .btn--primary:hover { background: var(--accent); color: var(--ink); }
.cta__row .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta__meta { display: flex; gap: 24px; margin-top: 56px; color: rgba(255,255,255,0.7); font-size: 13px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 24px; }

footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 40px 0 32px;
}
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; font-size: 12.5px; }
.footer__row .brand__name, .footer__row .brand__sub { color: #fff; }
.footer__row a:hover { color: #fff; }
.footer__legal { color: rgba(255,255,255,0.5); font-size: 11.5px; letter-spacing: 0.04em; }

/* dim outline marker on the meta strip used in hero copy variant */
.dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--primary); margin-right: 8px; vertical-align: middle; }

/* Selection */
::selection { background: var(--primary); color: #fff; }
