/* Public Media Kexel GmbH — Website Styles */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0c0f0c;
  --ink-2: #131713;
  --ink-3: #1b211b;
  --line-dark: rgba(255, 255, 255, 0.09);
  --on-dark: #f3f5ef;
  --on-dark-muted: #a3ab9f;

  --bg: #f4f5f0;
  --surface: #ffffff;
  --line: #e1e4da;
  --text: #111411;
  --muted: #586056;

  --green: #7ed957;
  --green-soft: #e6f6dc;
  --green-deep: #2c7a12;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.h-display { font-size: clamp(2.6rem, 6.2vw, 5.1rem); letter-spacing: -0.045em; line-height: 0.98; }
.h-page { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -0.04em; }
.h-section { font-size: clamp(1.95rem, 3.6vw, 3rem); }
.h-card { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.dot { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: #93e56f; box-shadow: 0 10px 32px -10px rgba(126, 217, 87, 0.7); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: var(--on-dark); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: rgba(12, 15, 12, 0.3); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(12, 15, 12, 0.06); }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--green-deep); }
.link-arrow svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
a:hover > .link-arrow svg, a.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 14px 0 auto 0; z-index: 100; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 10px 0 22px;
  background: rgba(14, 18, 14, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--on-dark);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.scrolled .nav { background: rgba(12, 15, 12, 0.9); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.55); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 21px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 9px 13px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--on-dark-muted);
  transition: color 0.2s, background-color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.07); }
.nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-links a[aria-current="page"]::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.nav-end { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }
.lang a { padding: 6px 8px; border-radius: 8px; color: var(--on-dark-muted); }
.lang a:hover { color: var(--on-dark); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.m-link { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.m-link[aria-current="page"] { color: var(--green); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.menu-open { overflow: hidden; }

@media (max-width: 1260px) {
  .nav-links, .nav-end .btn { display: none; }
  .nav-end { margin-left: auto; }
  .nav-toggle { display: block; }
}

/* ---------- Dark hero shell ---------- */
.hero, .page-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(126, 217, 87, 0.2), transparent 70%),
    radial-gradient(40% 40% at 8% 100%, rgba(126, 217, 87, 0.09), transparent 70%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 70% at 70% 25%, #000 0%, transparent 78%); mask-image: radial-gradient(75% 70% at 70% 25%, #000 0%, transparent 78%);
  opacity: 0.6;
}
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow { color: var(--on-dark-muted); }
.hero .lead, .page-hero .lead, .dark .lead { color: var(--on-dark-muted); }

.hero { padding: clamp(140px, 17vw, 200px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy > * + * { margin-top: 26px; }
.hero-copy .lead { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px !important; }

.page-hero { padding: clamp(140px, 16vw, 190px) 0 clamp(56px, 7vw, 88px); }
.page-hero .wrap > * + * { margin-top: 22px; }
.page-hero .sub { font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--on-dark); max-width: 30ch; text-wrap: balance; }
.page-hero .body { color: var(--on-dark-muted); max-width: 64ch; }
.page-hero .body + .body { margin-top: 14px; }

/* ---------- Hero mockup ---------- */
.mock { position: relative; }
.mock-window {
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden; transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transform-origin: left center;
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-url { flex: 1; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); font-size: 0.74rem; color: var(--on-dark-muted); letter-spacing: 0.01em; }
.mock-url svg { width: 12px; height: 12px; color: var(--green); }
.mock-body { display: grid; grid-template-columns: 58px 1fr; min-height: 330px; }
.mock-side { border-right: 1px solid var(--line-dark); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.mock-side i.on { background: var(--green); box-shadow: 0 0 20px rgba(126, 217, 87, 0.55); }
.mock-main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.mock-label { display: flex; align-items: center; justify-content: space-between; font-size: 0.66rem; letter-spacing: 0.2em; color: var(--on-dark-muted); }
.mock-label b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.mock-label b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.mock-label span { display: flex; gap: 5px; }
.mock-label span i { width: 18px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, 0.03); display: grid; gap: 14px; }
.mock-stat u { display: block; height: 5px; width: 46%; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.mock-stat strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.mock-stat strong em { font-style: normal; font-size: 0.62rem; letter-spacing: 0; color: var(--green); font-weight: 500; }
.mock-chart { border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px; background: rgba(255, 255, 255, 0.03); display: flex; align-items: flex-end; gap: 7px; height: 108px; }
.mock-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, 0.11); transform-origin: bottom; animation: grow 1.1s var(--ease) both; }
.mock-chart i.hi { background: var(--green); box-shadow: 0 0 24px rgba(126, 217, 87, 0.4); }
@keyframes grow { from { transform: scaleY(0.1); opacity: 0; } }
.mock-rows { display: grid; gap: 9px; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-row b { width: 15px; height: 15px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.22); flex: none; display: grid; place-items: center; }
.mock-row b.ok { background: var(--green); border-color: var(--green); }
.mock-row b.ok svg { width: 10px; height: 10px; color: var(--ink); stroke-width: 3; }
.mock-row u { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.mock-chip {
  position: absolute; top: -16px; right: -6px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--ink); border: 1px solid rgba(126, 217, 87, 0.5); color: var(--on-dark);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em;
  box-shadow: 0 12px 32px -8px rgba(126, 217, 87, 0.45);
  animation: float 7s ease-in-out -2s infinite;
}
.mock-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(126, 217, 87, 0); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-window { transform: none; }
  .mock { margin-top: 24px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section:not(.dark):not(.tint) + .section:not(.dark):not(.tint) { padding-top: 0; }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
.section-head .lead { max-width: 52ch; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
a.card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 26px 50px -28px rgba(17, 20, 17, 0.35); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(20px, 4vw, 52px); }
.num { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); flex: none; }
.icon svg { width: 22px; height: 22px; }
a.card:hover .icon { background: var(--green); color: var(--ink); }
.icon { transition: background-color 0.3s, color 0.3s; }

.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--green-soft); color: var(--green-deep); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.neutral { background: #eceee7; color: var(--muted); }

/* dark feature grid */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.feature { padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background-color 0.3s; }
.feature:hover { background: var(--ink-3); }
.feature svg { width: 24px; height: 24px; color: var(--green); margin-bottom: 14px; }
.feature h3 { font-size: 1.08rem; letter-spacing: -0.015em; line-height: 1.25; }
.feature p { font-size: 0.93rem; color: var(--on-dark-muted); }
.feature:nth-child(4n) { border-right: 0; }
.feature:nth-last-child(-n + 4) { border-bottom: 0; }
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(4n) { border-right: 1px solid var(--line-dark); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line-dark); }
  .feature:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line-dark) !important; }
  .feature:last-child { border-bottom: 0 !important; }
}

/* process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: var(--p, 20%); background: var(--green); }
.step .num { margin-bottom: 30px; }
.step .num b { color: var(--text); font-weight: 600; }
.step h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* check lists */
.checks { display: grid; gap: 12px; }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c7a12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.dark .checks li::before { background-color: rgba(126, 217, 87, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ed957' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
@media (max-width: 720px) { .checks.two { grid-template-columns: 1fr; } }

.rows { border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.3; transition: padding-left 0.3s var(--ease); }
.rows li:hover { padding-left: 10px; }
.rows li span { font-size: 0.78rem; letter-spacing: 0.14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.dark .rows, .dark .rows li { border-color: var(--line-dark); }
.dark .rows li span { color: var(--green); }

/* two-column prose block */
.duo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.duo > :first-child { display: grid; gap: 18px; position: sticky; top: 120px; }
.duo .prose { display: grid; gap: 18px; font-size: 1.1rem; color: var(--muted); }
.dark .duo .prose { color: var(--on-dark-muted); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo > :first-child { position: static; } }

/* tags (modules) */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.96rem; font-weight: 500; transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease); }
.tags li:hover { border-color: var(--green); background: var(--green-soft); transform: translateY(-2px); }
.note { margin-top: 28px; color: var(--muted); max-width: 60ch; }

/* platform detail card */
.platform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 3.4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 110px; }
.platform > div { display: grid; gap: 16px; align-content: start; }
.platform p { color: var(--muted); }
.platform .btn { justify-self: start; margin-top: 8px; }
.platform .badge { justify-self: start; }
.platform + .platform { margin-top: 16px; }
@media (max-width: 800px) { .platform { grid-template-columns: 1fr; } }

/* consulting */
.pillar { display: grid; grid-template-columns: 90px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 3vw, 48px); padding: clamp(28px, 4vw, 52px) 0; border-top: 1px solid var(--line); align-items: start; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar .big { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--green-deep); }
@media (max-width: 860px) { .pillar { grid-template-columns: 1fr; } }

/* person */
.person { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.person-card { border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(26px, 3vw, 40px); display: grid; gap: 22px; }
.monogram { width: 76px; height: 76px; border-radius: 22px; background: var(--green); color: var(--ink); display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.04em; }
.person-card p { color: var(--on-dark-muted); }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding: 0 0 var(--section); }
.section.dark + .cta, .section.tint + .cta { padding-top: var(--section); }
.cta-box { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); background: var(--green); color: var(--ink); padding: clamp(36px, 6vw, 84px); display: grid; gap: 22px; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 65%); }
.cta-box .eyebrow { color: rgba(12, 15, 12, 0.7); }
.cta-box .eyebrow::before { background: var(--ink); box-shadow: none; }
.cta-box h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); max-width: 22ch; }
.cta-box p { font-size: 1.1rem; max-width: 52ch; color: rgba(12, 15, 12, 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.info { display: grid; gap: 26px; }
.info-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.info-item small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-item a { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 2px; word-break: break-word; }
.callout { border-radius: var(--radius); background: var(--ink); color: var(--on-dark); padding: 26px; display: grid; gap: 10px; }
.callout p { color: var(--on-dark-muted); font-size: 0.97rem; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field label i { font-style: normal; color: var(--green-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586056' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c5cabb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); background: var(--surface); box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.25); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-deep); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { justify-self: start; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: var(--green-soft); color: #1d5709; }
.form-status.err { display: block; background: #fdecea; color: #8a1c13; }
.form-status a { text-decoration: underline; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; display: grid; gap: 34px; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal p + p { margin-top: 12px; }
.legal p, .legal address { color: #333a31; font-style: normal; }
.legal a { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.dl { display: grid; border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.dl dd { margin: 0; }
@media (max-width: 640px) { .dl > div { grid-template-columns: 1fr; gap: 6px; } }

.toggle-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toggle-card h2 { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toggle-card p { grid-column: 1; color: var(--muted); }
.switch { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd4c6; transition: background-color 0.25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease); }
.switch input:checked + span { background: var(--green-deep); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 2px solid var(--green-deep); outline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.5fr 0.8fr; gap: clamp(28px, 4vw, 56px); }
.footer-grid img { height: 24px; width: auto; margin-bottom: 20px; }
.footer-grid p, .footer-grid address { color: var(--on-dark-muted); font-size: 0.94rem; font-style: normal; max-width: 36ch; }
.footer-grid h2 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; font-size: 0.95rem; }
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: var(--green); }
.footer-grid address a { color: var(--on-dark); display: inline-block; margin-top: 10px; overflow-wrap: anywhere; font-size: 0.9rem; }
.footer-bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--on-dark-muted); }
.footer-bottom span:last-child { color: var(--on-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal], .js .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

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

/* ---------- Projects ---------- */
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 36px 70px -36px rgba(17, 20, 17, 0.45); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #eef0e8; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cdd2c4; }
.shot-bar em { margin-left: 10px; font-style: normal; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.01em; }
.shot img { display: block; width: 100%; height: auto; }

.project { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.project:nth-of-type(even) .shot { order: 2; }
.project > div { display: grid; gap: 16px; justify-items: start; }
.project p { color: var(--muted); }
.project .tagline { color: var(--text); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.project .checks { margin: 4px 0 8px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } .project:nth-of-type(even) .shot { order: 0; } }

.pgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pcard { grid-column: span 2; padding: 0; overflow: hidden; gap: 0; }
.pcard:nth-child(-n + 2) { grid-column: span 3; }
.pcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); transition: transform 0.6s var(--ease); }
.pcard:hover img { transform: scale(1.03); }
.pcard > div { display: grid; gap: 10px; justify-items: start; padding: 22px 24px 26px; background: var(--surface); position: relative; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } .pcard, .pcard:nth-child(-n + 2) { grid-column: span 1; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- Link page (business card QR) ---------- */
.links-page { min-height: 100vh; min-height: 100dvh; background: var(--ink); color: var(--on-dark); padding: 44px 20px 36px; display: grid; justify-items: center; position: relative; isolation: isolate; overflow: hidden; }
.links-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 40% at 50% 0%, rgba(126, 217, 87, 0.22), transparent 70%); }
.links { width: 100%; max-width: 440px; display: grid; gap: 12px; align-content: start; }
.links-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin-bottom: 14px; }
.links-head img { height: 22px; width: auto; margin-bottom: 30px; }
.links-head .monogram { width: 88px; height: 88px; border-radius: 28px; font-size: 2rem; margin-bottom: 14px; box-shadow: 0 18px 50px -12px rgba(126, 217, 87, 0.6); }
.links-head h1 { font-size: 1.9rem; letter-spacing: -0.035em; }
.links-head p { color: var(--on-dark); font-size: 0.98rem; }
.links-head p.muted { color: var(--on-dark-muted); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; }
.links .btn { width: 100%; padding-block: 17px; }
.links .btn:hover svg { transform: none; }
.links-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.links h2 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin: 18px 4px 2px; }
.link-item { display: grid; grid-template-columns: 48px 1fr 18px; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease); }
.link-item:hover { border-color: var(--green); background: var(--ink-3); transform: translateY(-2px); }
.link-item i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; color: #fff; }
.link-item span { display: grid; gap: 2px; min-width: 0; }
.link-item strong { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.link-item small { color: var(--on-dark-muted); font-size: 0.84rem; line-height: 1.35; }
.link-item svg { width: 18px; height: 18px; color: var(--on-dark-muted); }
.links-foot { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; font-size: 0.84rem; color: var(--on-dark-muted); }
.links-foot a:hover { color: var(--on-dark); }
