@import url("../fonts/fonts.css");

/* ============================================================
   GRAVITYWEBZ — Version 2 · "Studio"
   Light · editorial · typographic · portfolio-forward
   Inspired by forai.design × truus.co × withhoney
   ============================================================ */

:root {
  --paper:      #F4F2EA;
  --paper-2:    #ECE8DC;
  --paper-3:    #E4DFD0;
  --ink:        #14130D;
  --ink-soft:   #44413A;
  --muted:      #8B8678;
  --line:       rgba(20, 19, 13, 0.14);
  --line-soft:  rgba(20, 19, 13, 0.08);
  --nav-bg:     rgba(244, 242, 234, 0.78);
  --orbit:      0.70;

  --green:      #6DD14A;
  --green-deep: #4C9F2E;   /* text-safe green on paper */
  --teal:       #007481;
  --teal-deep:  #00606B;

  --font-sans:  "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 90px);
  --section-y: clamp(90px, 13vh, 200px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  --paper:      #070D0A;
  --paper-2:    #0D1411;
  --paper-3:    #131C18;
  --ink:        #EAF1EA;
  --ink-soft:   #A4AFA6;
  --muted:      #6B756D;
  --line:       rgba(150, 200, 165, 0.15);
  --line-soft:  rgba(150, 200, 165, 0.07);
  --nav-bg:     rgba(7, 13, 10, 0.72);
  --orbit:      0.95;

  --green:      #6DD14A;
  --green-deep: #8BEA63;   /* brighter green for text on dark */
  --teal:       #15AABC;
  --teal-deep:  #4ACBD8;
}

/* Smooth, contained theme cross-fade (only while switching) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), fill .45s var(--ease) !important;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* faint paper grain for warmth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.045; }
body.no-scroll { overflow: hidden; }

/* Orbital system canvas (hero backdrop) */
#orbit-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--orbit);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 92%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--green); color: #0C2A06; }

.shell { position: relative; z-index: 1; }
.wrap { width: min(100% - calc(var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
section { position: relative; }

/* Display type */
.display { font-family: var(--font-serif); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; }
.display em, em.it { font-style: italic; font-weight: 300; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-deep);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.6; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.5em; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:hover .ar { transform: translateX(4px); }
.btn--solid:hover, .btn--green:hover { box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.4); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--teal); color: #fff; }
.btn--green { background: var(--green); color: #0C2A06; }
.btn--green:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--lg { padding: 1.1em 1.8em; font-size: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px var(--gutter);
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line-soft);
}

/* Right-side nav cluster + theme toggle */
.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: border-color .3s, background .3s, transform .5s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(35deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.16rem; letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; }
.brand b { font-weight: 900; }
.brand .web { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a.nlink { position: relative; padding: 9px 15px; font-size: 0.93rem; font-weight: 500; color: var(--ink-soft); transition: color .3s; }
.nav-links a.nlink::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a.nlink:hover { color: var(--ink); }
.nav-links a.nlink:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1){top:16px}.burger span:nth-child(2){top:22px}.burger span:nth-child(3){top:28px}
.burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 4px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); pointer-events: none; }
.mobile-menu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a { font-family: var(--font-serif); font-size: clamp(2.2rem, 10vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; padding: 8px 0; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(18px); }
.mobile-menu a .idx { font-size: 0.9rem; font-family: var(--font-sans); font-weight: 600; color: var(--teal-deep); }
.mobile-menu.open a { animation: mmIn .55s var(--ease) forwards; }
.mobile-menu.open a:nth-child(1){animation-delay:.06s}.mobile-menu.open a:nth-child(2){animation-delay:.12s}.mobile-menu.open a:nth-child(3){animation-delay:.18s}.mobile-menu.open a:nth-child(4){animation-delay:.24s}.mobile-menu.open a:nth-child(5){animation-delay:.30s}.mobile-menu.open a:nth-child(6){animation-delay:.36s}
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(130px, 18vh, 200px) var(--gutter) clamp(60px, 9vh, 110px); }
.hero-inner { width: min(100%, var(--maxw)); margin-inline: auto; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 56px); }
.hero-top .eyebrow::before { display: none; }
.hero-avail { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.hero-avail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(109,209,74,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(109,209,74,.5)} 70%{box-shadow:0 0 0 10px rgba(109,209,74,0)} 100%{box-shadow:0 0 0 0 rgba(109,209,74,0)} }

.hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.9rem, 8vw, 7.6rem); line-height: 0.95; letter-spacing: -0.035em; max-width: 15ch; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.09em; background: var(--green); transform: scaleX(0); transform-origin: left; }
.loaded .hero h1 .u::after { animation: underline 1s var(--ease) .8s forwards; }
@keyframes underline { to { transform: scaleX(1); } }

.hero-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-top: clamp(40px, 7vh, 80px); padding-top: 30px; border-top: 1px solid var(--line); }
.hero-foot .sub { max-width: 46ch; }
.hero-foot .acts { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; align-items: center; }
@media (min-width: 820px) { .hero-foot .acts { justify-content: flex-end; } }
.hero-services { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9rem; color: var(--muted); }
.hero-services span { display: inline-flex; align-items: center; gap: 8px; }
.hero-services span::before { content: "—"; color: var(--green-deep); }

.scroll-cue { margin-top: clamp(40px, 7vh, 80px); display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .ln { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .ln::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--green-deep); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(-100%)} 100%{transform:translateY(350%)} }

/* Reveal */
[data-rise] { opacity: 0; transform: translateY(24px); }
.loaded [data-rise] { animation: rise 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   MARQUEE (clients / capabilities)
   ============================================================ */
.strip { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper-2); }
.strip-track { display: flex; gap: 50px; width: max-content; animation: marq 34s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.7rem); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 50px; white-space: nowrap; }
.strip-track span::after { content: "✶"; font-style: normal; color: var(--green-deep); font-size: 0.7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION INDEX HEADER (numbered, like withhoney)
   ============================================================ */
.sec { padding-top: var(--section-y); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 60px); align-items: baseline; padding-bottom: clamp(36px, 6vh, 70px); }
.sec-num { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.3rem); color: var(--teal-deep); }
.sec-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.025em; max-width: 20ch; }
.sec-head h2 em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.sec-head .h-side { grid-column: 2; max-width: 52ch; margin-top: 18px; }

/* ============================================================
   LEISTUNGEN — capabilities (editorial split list)
   ============================================================ */
.cap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 80px); }
.cap-intro { position: sticky; top: 120px; align-self: start; }
.cap-intro .lead { margin-top: 22px; }
.cap-intro .btn { margin-top: 30px; }
.cap-list { display: grid; }
.cap-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); padding: clamp(26px, 3.5vw, 44px) 0; border-top: 1px solid var(--line); transition: transform .4s var(--ease); }
.cap-row:last-child { border-bottom: 1px solid var(--line); }
.cap-row:hover { transform: translateX(12px); }
.cap-row .ix { font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--green-deep); font-size: 1.1rem; }
.cap-row h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.cap-row p { color: var(--ink-soft); max-width: 50ch; }
.cap-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cap-row .tags span { font-size: 0.78rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; }

/* ============================================================
   ARBEITEN — Sticky Stack
   ============================================================ */
/* ============================================================
   ARBEITEN — Card Grid
   ============================================================ */
.works { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.works-row   { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.works-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }

/* Base card */
.work {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.work:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.10); transform: translateY(-3px); }

.work.t1 { background: radial-gradient(ellipse 90% 80% at 75% 115%, rgba(109,209,74,0.13), var(--paper-2) 62%); }
.work.t2 { background: radial-gradient(ellipse 90% 80% at 75% 115%, rgba(0,116,129,0.14), var(--paper-2) 62%); }
.work.t3 { background: radial-gradient(ellipse 90% 80% at 75% 115%, rgba(76,159,46,0.10), var(--paper-2) 62%); }

/* 2-col cards: horizontal split */
.works-row .work { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: clamp(300px, 36vh, 460px); }

/* 3-col cards: vertical (image top, info bottom) */
.works-row-3 .work { display: flex; flex-direction: column; }

/* Info panel */
.work-body { padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; flex: 1; }
.works-row-3 .work-body { padding: clamp(18px, 2vw, 28px); gap: 10px; }
.work-meta { display: flex; align-items: center; gap: 14px; }
.work-num { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--muted); }
.work-body .cat { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.work-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.works-row-3 .work-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.8rem); }
.work-body .view { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); margin-top: 4px; transition: color .3s; cursor: pointer; }
.work-body .view .ar { transition: transform .4s var(--ease); }
.work:hover .work-body .view { color: var(--teal-deep); }
.work:hover .work-body .view .ar { transform: translate(3px,-3px); }

/* Image panel */
.work-visual { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.works-row .work-visual { height: 100%; }
.works-row-3 .work-visual { min-height: 200px; }
.work-visual .tint { position: absolute; inset: 0; pointer-events: none; }
.work.t1 .tint { background: radial-gradient(70% 90% at 50% 120%, rgba(109,209,74,0.24), transparent 70%); }
.work.t2 .tint { background: radial-gradient(70% 90% at 50% 120%, rgba(0,116,129,0.22), transparent 70%); }
.work.t3 .tint { background: radial-gradient(70% 90% at 50% 120%, rgba(76,159,46,0.20), transparent 70%); }
.work-visual img { position: relative; width: 82%; max-width: 480px; filter: drop-shadow(0 24px 44px rgba(0,0,0,0.20)); transition: transform .8s var(--ease); }
.works-row-3 .work-visual img { width: 78%; max-width: 280px; }
.work:hover .work-visual img { transform: translateY(-10px) scale(1.03); }

@media (max-width: 900px) {
  .works-row { grid-template-columns: 1fr; }   /* big cards: one per row, roomier split */
  .works-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .works-row, .works-row-3 { grid-template-columns: 1fr; }
  .works-row .work { grid-template-columns: 1fr; }
  .works-row .work-visual { min-height: 220px; }
}


.works-foot { margin-top: clamp(40px, 6vh, 70px); padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; align-items: center; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lb.open { opacity: 1; pointer-events: all; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); cursor: zoom-out; }
.lb-img { position: relative; max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 10px; transform: scale(.95); transition: transform .35s var(--ease); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.lb.open .lb-img { transform: scale(1); }

/* ============================================================
   PROZESS
   ============================================================ */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.proc .cell { background: var(--paper); padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 16px; min-height: 270px; transition: background .4s; }
.proc .cell:hover { background: var(--paper-2); }
.proc .cell .n { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 1.6rem; color: var(--green-deep); }
.proc .cell h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.proc .cell p { color: var(--ink-soft); font-size: 0.95rem; }
.proc .cell .wh { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 14px; }
@media (max-width: 880px) { .proc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc { grid-template-columns: 1fr; } }

/* ============================================================
   KI-AUTOMATISIERUNG — problem / solution grid
   ============================================================ */
.ki-grid { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ki-row { display: grid; grid-template-columns: 1fr 1fr; }
.ki-row + .ki-row { border-top: 1px solid var(--line); }
.ki-prob, .ki-sol { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.ki-prob { background: var(--paper-2); border-right: 1px solid var(--line); }
.ki-sol { background: var(--paper); }
.ki-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.ki-prob .ki-tag { color: var(--muted); }
.ki-sol .ki-tag { color: var(--green-deep); }
.ki-prob p { font-size: 1rem; color: var(--ink-soft); font-style: italic; line-height: 1.55; }
.ki-sol p { font-size: 1rem; color: var(--ink); line-height: 1.55; }
@media (max-width: 640px) { .ki-row { grid-template-columns: 1fr; } .ki-prob { border-right: none; border-bottom: 1px solid var(--line); } }
.ki-foot { margin-top: clamp(40px, 6vh, 70px); padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ki-foot p { color: var(--ink-soft); font-size: 0.95rem; max-width: 44ch; }

/* ============================================================
   STATEMENT — inverted dark panel
   ============================================================ */
.statement { margin-top: var(--section-y); }
.statement-inner { background: linear-gradient(160deg, #0F1A14, #090F0C); color: #EAF1EA; border: 1px solid rgba(150, 200, 165, 0.12); border-radius: clamp(20px, 3vw, 32px); padding: clamp(48px, 9vw, 130px) clamp(28px, 6vw, 100px); position: relative; overflow: hidden; }
.statement-inner::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(109,209,74,0.16), transparent 65%); pointer-events: none; }
.statement .eyebrow { color: var(--green); }
.statement blockquote { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 3.8vw, 3.5rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 20ch; margin-top: 26px; }
.statement blockquote em { font-style: italic; font-weight: 300; color: var(--green); }
.statement .sign { margin-top: 40px; display: flex; align-items: center; gap: 14px; color: rgba(244,242,234,0.7); font-size: 0.95rem; }
.statement .sign svg { width: 34px; height: 34px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px, 5vw, 70px); }
.faq-intro { position: sticky; top: 120px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 30px) 0; text-align: left; font-size: clamp(1.05rem, 1.9vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; transition: color .3s; }
.faq-q:hover { color: var(--teal-deep); }
.faq-q .sign { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.6px; background: currentColor; transform: translate(-50%,-50%); transition: transform .4s var(--ease); }
.faq-q .sign::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-q .sign::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a > div { padding: 0 0 28px; max-width: 60ch; color: var(--ink-soft); }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding-block: var(--section-y); text-align: center; }
.cta .eyebrow { justify-content: center; }
.cta h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 7vw, 6rem); letter-spacing: -0.03em; margin-top: 22px; }
.cta h2 em { font-style: italic; font-weight: 300; color: var(--teal-deep); }
.cta .lead { max-width: 44ch; margin: 26px auto 0; }
.cta .mail { display: inline-block; margin-top: 40px; font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.cta .mail:hover { color: var(--teal-deep); border-color: var(--teal); }
.cta .acts { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: clamp(50px, 7vw, 90px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; }
.footer-brand .web { color: var(--green); }
.footer-brand svg { width: 32px; height: 32px; }
.footer-tag { color: var(--ink-soft); max-width: 32ch; margin-top: 16px; }
.footer-col h4 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-col .footer-links { columns: 2; column-gap: 24px; }
.footer-col a, .footer-col span { display: block; color: var(--ink-soft); padding: 6px 0; transition: color .3s; break-inside: avoid; }
.footer-col a:hover { color: var(--teal-deep); }
.footer-col a:hover { color: var(--teal-deep); }
.footer-bot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer-bot .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bot a:hover { color: var(--teal-deep); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL (shared pages)
   ============================================================ */
main.legal { padding: 150px var(--gutter) 100px; }
.legal-inner { width: min(100%, 800px); margin-inline: auto; }
main.legal h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 10px; }
main.legal .back { display: inline-flex; gap: 8px; color: var(--teal-deep); font-size: 0.9rem; margin-bottom: 36px; }
main.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
main.legal h3 { font-size: 1.05rem; margin: 26px 0 8px; }
main.legal p, main.legal li { color: var(--ink-soft); line-height: 1.7; margin-bottom: 13px; }
main.legal ul { margin: 0 0 13px 22px; }
main.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
main.legal .meta { color: var(--muted); font-size: 0.9rem; }
/* neutralise v1 atmosphere markup if present on legal pages */
.atmosphere, .grain, .blob { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .cap { grid-template-columns: 1fr; }
  .cap-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .hero-foot { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .h-side { grid-column: 1; }
}
