/* =========================================================
   PORTIERS — Design System
   Creative Agency · kurumsal web sitesi
   ========================================================= */

/* ---------- Self-hosted fonts (OFL, via Fontsource; no request to Google) ----------
   Only the weights the site uses: Fredoka 400–600 and Manrope 400/700 (variable files),
   IBM Plex Mono 400/500/600. latin covers ı; latin-ext covers ğ ş İ and other Turkish letters. */
@font-face{ font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url('/fonts/fredoka-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; }
@font-face{ font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url('/fonts/fredoka-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: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/manrope-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; }
@font-face{ font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/fonts/manrope-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: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  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; }
@font-face{ font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url('/fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');
  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: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  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; }
@font-face{ font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500;
  src: url('/fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');
  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: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600;
  src: url('/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  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; }
@font-face{ font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 600;
  src: url('/fonts/ibm-plex-mono-latin-ext-600-normal.woff2') format('woff2');
  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; }

/* ---------- Tokens ---------- */
:root{
  --forest: #0C2E20;
  --forest-light: #143C2C;
  --cream: #F4EFE1;
  --paper: #FFFDF8;
  --ink: #121210;
  --gold: #F2B705;
  --gold-dim: #C99A04;

  --line-on-cream: rgba(18,18,16,0.12);
  --line-on-forest: rgba(244,239,225,0.16);

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1220px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,p,figure{ margin: 0; }

/* Focus ring: forest on light surfaces, gold on dark ones (non-text contrast ≥ 3:1). */
:focus-visible{
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
.hero :focus-visible,
.page-hero :focus-visible,
.bg-forest :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible{
  outline-color: var(--gold);
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link{
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--forest);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus{ transform: translateY(0); }

.draft-banner{
  padding: 10px var(--gutter);
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}

section{ position: relative; }

/* ---------- Utility ---------- */
.section-pad{ padding-block: clamp(64px, 10vw, 128px); }
.section-pad-sm{ padding-block: clamp(40px, 6vw, 72px); }
.text-center{ text-align: center; }
.bg-forest{ background: var(--forest); color: var(--cream); }
.bg-cream{ background: var(--cream); color: var(--ink); }
.bg-paper{ background: var(--paper); color: var(--ink); }

.mono{
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Eyebrow label with pulsing "Po." dot */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}
.bg-forest .eyebrow, .hero .eyebrow, .page-hero .eyebrow{ color: var(--gold); }

.pulse-dot{
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after{
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: pulse-ring 2.2s var(--ease) infinite;
}
@keyframes pulse-ring{
  0%{ transform: scale(0.6); opacity: 0.9; }
  80%{ transform: scale(1.9); opacity: 0; }
  100%{ transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .pulse-dot::after{ animation: none; opacity: 0; }
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-gold{
  background: var(--gold);
  color: var(--forest);
}
.btn-gold:hover{ background: #ffcb1f; }

.btn-outline{
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.bg-forest .btn-outline{ border-color: var(--line-on-forest); }
.bg-forest .btn-outline:hover{ border-color: var(--cream); background: rgba(244,239,225,0.06); }
.bg-cream .btn-outline:hover, .bg-paper .btn-outline:hover{ border-color: var(--ink); background: rgba(18,18,16,0.04); }

.btn-dark{
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover{ background: var(--forest); }

.btn-sm{ padding: 10px 20px; font-size: 13px; }

/* ---------- Navbar ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-on-cream);
}
/* blur lives on a pseudo-element, not on .nav itself — backdrop-filter on .nav
   would make it the containing block for its position:fixed mobile menu child,
   collapsing that menu's box to the header's own height */
.nav::before{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244,239,225,0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.nav-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.nav-logo{
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo img{ height: 26px; width: auto; }
.nav-links{
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after{ right: 0; }
.nav-links a.active{ color: var(--forest); }

.nav-cta{ display: flex; align-items: center; gap: 16px; }
.lang-switch{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-on-cream);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-switch a{
  padding: 6px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}
.lang-switch a[aria-current="true"]{ background: var(--forest); color: var(--cream); }
.nav-links-cta{ display: none; }
.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span{
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px){
  /* --menu-top is set by script.js to the header's bottom edge when the menu opens. */
  .nav-links{
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    padding: calc(var(--menu-top, 88px) + 16px) var(--gutter) 32px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    border-bottom: 1px solid var(--line-on-cream);
  }
  .nav-links.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-logo, .nav-cta{ position: relative; z-index: 2; }
  .nav-links a{ padding-block: 12px; font-size: 20px; width: 100%; }
  .nav-links .nav-links-cta{ display: inline-flex; width: auto; margin-top: 14px; }
  .nav-toggle{ display: flex; }
  .nav-cta .btn-outline{ display: none; }
  body.menu-open{ overflow: hidden; }
}

/* ---------- Marquee ---------- */
.marquee{
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-block: 1px solid var(--line-on-forest);
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  padding-block: 16px;
  padding-inline: 18px;
  white-space: nowrap;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ---------- Client logo bar ---------- */
.logo-bar{
  background: var(--paper);
  padding-block: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line-on-cream);
}
.logo-bar-title{
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
}
.logo-bar-viewport{ overflow: hidden; }
.logo-bar-track{ display: flex; justify-content: center; background: var(--paper); /* backdrop for multiply */ }
.logo-bar-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px clamp(40px, 6vw, 72px);
  padding-inline: clamp(20px, 3vw, 36px);
}
/* Original brand colours. multiply drops white boxes on the paper bar without recolouring the logo;
   white-only logos are flipped to dark (is-inverted); square/emblem logos sit taller to balance weight. */
.logo-bar-list img{ width: auto; height: 32px; max-width: 160px; object-fit: contain; mix-blend-mode: multiply; }
.logo-bar-list img.is-compact{ height: 48px; }
.logo-bar-list img.is-inverted{ filter: brightness(0); mix-blend-mode: normal; }
.logo-bar-viewport.is-moving{
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-bar-viewport.is-moving .logo-bar-track{
  width: max-content;
  justify-content: flex-start;
  animation: marquee 40s linear infinite;
}
.logo-bar-viewport.is-moving .logo-bar-list{ flex-wrap: nowrap; }
.logo-bar-viewport.is-moving:hover .logo-bar-track,
.logo-bar-viewport.is-moving:focus-within .logo-bar-track{ animation-play-state: paused; }
.logo-bar-pending{
  padding: 10px var(--gutter);
  background: var(--paper);
  border-bottom: 1px dashed var(--line-on-cream);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
}
@media (max-width: 560px){
  .logo-bar-list img{ height: 24px; }
  .logo-bar-list img.is-compact{ height: 36px; }
}
@media (prefers-reduced-motion: reduce){
  .logo-bar-viewport.is-moving .logo-bar-track{ width: auto; justify-content: center; animation: none; }
  .logo-bar-viewport.is-moving .logo-bar-list{ flex-wrap: wrap; }
  .logo-bar-viewport.is-moving .logo-bar-list[aria-hidden="true"]{ display: none; }
  .logo-bar-viewport.is-moving{ -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--forest);
  color: var(--cream);
  padding-top: clamp(56px, 10vw, 96px);
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
  position: relative;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.hero-eyebrow{ margin-bottom: 20px; }
.hero h1{
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero h1 em{
  font-style: normal;
  color: var(--gold);
}
.hero p.lead{
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(244,239,225,0.78);
}
.hero-actions{
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta{
  margin-top: 48px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta div{ display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num{ font-family: var(--font-mono); font-size: 26px; color: var(--gold); }
.hero-meta .lbl{ font-size: 13px; color: rgba(244,239,225,0.6); }

/* Story-ring visual cluster */
.hero-visual{
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-ring{
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-ring.r1{
  width: 82%; height: 82%;
  border: 2px dashed rgba(242,183,5,0.35);
  animation: spin 60s linear infinite;
}
.story-ring.r2{
  width: 60%; height: 60%;
  background: conic-gradient(from 90deg, var(--gold), #ff7a45, #F2B705, var(--gold));
  padding: 5px;
}
.story-ring.r2 .inner{
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--forest-light);
  border: 4px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-ring.r2 img{ width: 58%; height: auto; }
/* Floating tags: tilted labels in brand colours (rotation lives in --rot so the float keeps it). */
.story-chip{
  --rot: 0deg;
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
  transform: rotate(var(--rot));
  animation: float 5s ease-in-out infinite;
}
.story-chip.c1{ --rot: -8deg; top: 6%; left: -6%; animation-delay: .2s; background: var(--gold); color: var(--forest); }
.story-chip.c2{ --rot: 6deg; bottom: 12%; right: -8%; animation-delay: 1s; }
.story-chip.c3{ --rot: -3deg; bottom: -2%; left: 10%; animation-delay: 1.8s; background: var(--forest-light); color: var(--cream); border: 1.5px solid var(--gold); }

@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes float{
  0%,100%{ transform: translateY(0) rotate(var(--rot)); }
  50%{ transform: translateY(-10px) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce){
  .story-ring.r1{ animation: none; }
  .story-chip{ animation: none; }
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  /* Headline first on small screens; the visual follows at a smaller size. */
  .hero-visual{ width: 100%; max-width: 320px; margin-inline: auto; }
  .story-chip{ font-size: 13px; padding: 8px 12px; }
  .story-chip.c1{ left: -2%; }
  .story-chip.c2{ right: -2%; }
}

/* ---------- Editorial hero (Brave + Mariq references) ---------- */
.hero-editorial{ padding-top: clamp(40px, 6vw, 72px); }
.hero-editorial .hero-stage{ position: relative; margin-top: 8px; }
.hero-editorial .hero-title{
  position: relative;
  z-index: 2;
  max-width: 13ch;
  font-size: clamp(48px, 7.6vw, 108px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(12,46,32,0.55);
}
.hero-editorial .hero-visual{
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  width: clamp(240px, 28vw, 380px);
  transform: translateY(-50%);
}
.hero-editorial .story-chip{ font-size: clamp(14px, 1.3vw, 18px); padding: 12px 18px; }
/* c4 sits top-right of the ring so no tag ever covers headline words. */
.hero-editorial .story-chip.c4{ --rot: 7deg; top: -4%; right: -6%; background: var(--cream); color: var(--forest); animation-delay: 2.4s; }
.hero-bottom{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(32px, 4vw, 56px);
}
.hero-editorial p.lead{ margin-top: 0; }
.hero-index-label{
  margin-bottom: 12px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-index ol{ border-top: 1px solid var(--line-on-forest); }
.hero-index li a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-on-forest);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--paper);
  transition: color .25s ease, padding .3s var(--ease);
}
.hero-index li a:hover{ color: var(--gold); padding-inline: 8px; }
.hero-index li .mono{ font-size: 13px; color: rgba(244,239,225,0.75); }
.hero-index-more{ display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--gold); }
@media (max-width: 900px){
  .hero-editorial .hero-visual{ position: relative; top: auto; right: auto; width: min(300px, 78%); margin: 36px auto 0; transform: none; }
  .hero-editorial .story-chip.c4{ right: -4%; }
  .hero-bottom{ grid-template-columns: 1fr; }
}

/* ---------- Section heading ---------- */
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}
.section-head h2{
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 14px;
  max-width: 20ch;
}
.section-head p{
  max-width: 40ch;
  color: rgba(18,18,16,0.62);
  font-size: 16px;
}
.bg-forest .section-head p{ color: rgba(244,239,225,0.66); }

/* ---------- Services (4:5 cards) ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card{
  aspect-ratio: 4/5;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-on-cream);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before{
  content: '';
  position: absolute;
  inset: 0;
  background: var(--forest);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.service-card:hover::before{ transform: translateY(0); }
.service-card:hover{
  box-shadow: 0 24px 48px rgba(12,46,32,0.18);
  transform: translateY(-6px);
}
.service-card > *{ position: relative; z-index: 1; }
.service-card .num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--forest);
  transition: color .4s ease;
}
.service-card:hover .num{ color: var(--gold); }
.service-card .icon{
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-block: 18px 20px;
  transition: background .4s ease;
}
.service-card:hover .icon{ background: rgba(244,239,225,0.1); }
.service-card .icon svg{ width: 22px; height: 22px; stroke: var(--forest); transition: stroke .4s ease; }
.service-card:hover .icon svg{ stroke: var(--gold); }
.service-card h3{
  font-size: 21px;
  transition: color .4s ease;
}
.service-card:hover h3{ color: var(--paper); }
.service-card p{
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(18,18,16,0.6);
  transition: color .4s ease;
}
.service-card:hover p{ color: rgba(244,239,225,0.72); }
.service-card .tag-list{
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
}
.service-card .tag-list span{
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-cream);
  color: rgba(18,18,16,0.55);
  transition: border-color .4s ease, color .4s ease;
}
.service-card:hover .tag-list span{
  border-color: var(--line-on-forest);
  color: rgba(244,239,225,0.75);
}

@media (max-width: 980px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .service-grid{ grid-template-columns: 1fr; }
  .service-card{ aspect-ratio: auto; min-height: 300px; }
}

/* ---------- Stat strip ---------- */
.stat-strip{
  background: var(--ink);
  color: var(--cream);
}
.stat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item{
  padding: 40px 24px;
  text-align: center;
  border-left: 1px solid var(--line-on-forest);
}
.stat-item:first-child{ border-left: none; }
.stat-item .num{
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--gold);
}
.stat-item .lbl{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(244,239,225,0.62);
}
@media (max-width: 760px){
  .stat-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3){ border-left: none; }
}

/* ---------- Work grid (1:1 instagram-style) ---------- */
.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.work-item{
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.work-item .grad{
  position: absolute; inset: 0;
  transition: transform .6s var(--ease);
}
.work-item:hover .grad{ transform: scale(1.08); }
.work-item .overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,46,32,0) 40%, rgba(12,46,32,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .4s ease;
}
.work-item:hover .overlay{ opacity: 1; }
.work-item .overlay .cat{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.work-item .overlay .work-title{
  color: var(--paper);
  font-size: 17px;
  margin-top: 4px;
}
.work-item .badge{
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(244,239,225,0.16);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.work-item .badge svg{ width: 14px; height: 14px; stroke: var(--paper); }

.grad-1{ background: linear-gradient(135deg,#0C2E20,#1d5c40 60%,#F2B705); }
.grad-2{ background: linear-gradient(135deg,#F2B705,#e88a2c 60%,#0C2E20); }
.grad-3{ background: linear-gradient(135deg,#143C2C,#2f7a54 60%,#F4EFE1); }
.grad-4{ background: linear-gradient(135deg,#121210,#0C2E20 50%,#F2B705); }
.grad-5{ background: linear-gradient(135deg,#e88a2c,#F2B705 55%,#121210); }
.grad-6{ background: linear-gradient(135deg,#2f7a54,#0C2E20 60%,#F4EFE1); }

@media (max-width: 760px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
  .work-item .overlay{ opacity: 1; padding: 14px; }
  .work-item .overlay .work-title{ font-size: 15px; }
  .work-item .badge{ width: 28px; height: 28px; top: 10px; right: 10px; }
}
/* Touch screens have no hover: keep titles visible at every width (tablets included). */
@media (hover: none){
  .work-item .overlay{ opacity: 1; }
}

/* ---------- Portfolio placeholders (until approved projects exist) ---------- */
/* Work page: one tile per category in an asymmetric grid (Alture reference). */
.work-grid.is-placeholder{ gap: 12px; grid-auto-rows: clamp(200px, 24vw, 300px); }
.work-grid.is-placeholder .work-item{ aspect-ratio: auto; cursor: default; border-radius: var(--radius-md); }
.work-grid.is-placeholder .work-item:first-child{ grid-row: span 2; }
.work-grid.is-placeholder .work-item:last-child{ grid-column: span 2; }
.work-grid.is-placeholder .overlay{ opacity: 1; }
.work-grid.is-placeholder .work-item:hover .grad{ transform: none; }

/* Homepage: fanned card stack (Creativity reference) beside the section text. */
.work-teaser{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.work-stack{
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  margin-inline: auto;
}
.ph-card{
  position: absolute;
  inset: 10% 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--paper);
  box-shadow: inset 0 -140px 90px -60px rgba(12,46,32,0.85), 0 24px 48px rgba(12,46,32,0.22);
}
.ph-card .cat{
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(12,46,32,0.6);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ph-card .ph-soon{
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
}
/* Project video previews: muted loop over the cover, with a visible pause/play control. */
.work-video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-toggle{
  position: absolute; z-index: 2; left: 12px; top: 12px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(12,46,32,0.75);
}
.video-toggle svg{ width: 18px; height: 18px; fill: var(--paper); }
.video-toggle .icon-play{ display: none; }
.video-toggle[aria-pressed="true"] .icon-pause{ display: none; }
.video-toggle[aria-pressed="true"] .icon-play{ display: inline; }
.legal-text{ max-width: 72ch; }
.legal-text > * + *{ margin-top: 1em; }
.legal-text h2{ font-size: 1.25rem; margin-top: 2em; }
.legal-text ul{ padding-left: 1.25em; list-style: disc; }
.legal-text li + li{ margin-top: .35em; }
.legal-text address{ font-style: normal; }

/* Real project covers (when approved projects exist) fill tiles and stack cards. */
.work-cover{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-item:hover .work-cover{ transform: scale(1.04); transition: transform .6s var(--ease); }
.ph-card.has-cover{ overflow: hidden; background: var(--forest-light); }
.ph-card.has-cover > span{ position: relative; z-index: 1; }
.work-item .overlay .work-client{ margin-top: 2px; font-size: 13px; color: rgba(255,253,248,0.8); }
.ph-1{ transform: translateX(-30%) rotate(-14deg); }
.ph-2{ transform: translateX(-10%) rotate(-5deg); }
.ph-3{ transform: translateX(14%) rotate(6deg); }
.ph-4{ transform: translateX(30%) rotate(13deg); }
.work-teaser-text h2{ margin-top: 14px; font-size: clamp(30px, 4vw, 46px); }
.work-teaser-text p{ margin-top: 16px; max-width: 44ch; color: rgba(18,18,16,0.7); }
.tag-row{ display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.tag-row li{
  padding: 6px 12px;
  border: 1px solid var(--line-on-cream);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
}

@media (max-width: 860px){
  .work-teaser{ grid-template-columns: 1fr; }
  .work-stack{ max-width: 340px; }
}
@media (max-width: 760px){
  .work-grid.is-placeholder{ grid-auto-rows: 170px; }
  .work-grid.is-placeholder .work-item:first-child,
  .work-grid.is-placeholder .work-item:last-child{ grid-row: auto; grid-column: span 2; }
}

/* ---------- Homepage about teaser ---------- */
.about-teaser{ overflow: hidden; }
.about-teaser-mark{
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(560px, 70vw);
  height: auto;
  opacity: .3;
  pointer-events: none;
}
.about-teaser-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.about-teaser h2{
  margin-top: 16px;
  max-width: 16ch;
  font-size: clamp(32px, 4.6vw, 60px);
  color: var(--paper);
}
.about-teaser-text p{ max-width: 40ch; font-size: 17px; color: rgba(244,239,225,0.8); }
.about-teaser-text .btn{ margin-top: 28px; }
@media (max-width: 860px){
  .about-teaser-grid{ grid-template-columns: 1fr; }
}

/* ---------- Process row ---------- */
.process-list{ border-top: 1px solid var(--line-on-cream); }
.process-row{
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr 60px;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line-on-cream);
  transition: background .35s ease, padding-inline .35s var(--ease);
}
.process-row:hover{
  background: var(--paper);
  padding-inline: 20px;
}
.process-row .idx{
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--forest);
}
.process-row h3{ font-size: clamp(22px, 3vw, 30px); }
.process-row p{
  color: rgba(18,18,16,0.6);
  font-size: 15px;
  max-width: 48ch;
}
.process-row .arrow{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-on-cream);
  display: flex; align-items: center; justify-content: center;
  justify-self: end;
  transform: rotate(0deg);
  transition: transform .4s var(--ease), background .4s ease, border-color .4s ease;
}
.process-row:hover .arrow{
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.process-row .arrow svg{ width: 16px; height: 16px; stroke: var(--ink); }

@media (max-width: 760px){
  .process-row{ grid-template-columns: 50px 1fr; grid-template-areas: "idx title" "empty desc" "empty arrow"; row-gap: 10px; }
  .process-row .idx{ grid-area: idx; }
  .process-row h3{ grid-area: title; }
  .process-row p{ grid-area: desc; }
  .process-row .arrow{ grid-area: arrow; justify-self: start; margin-top: 8px; }
}

/* ---------- DM-style testimonial cards ---------- */
.dm-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dm-card{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-on-cream);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dm-head{
  display: flex;
  align-items: center;
  gap: 12px;
}
.dm-card figure, .dm-card blockquote{ margin: 0; }
.dm-card figure{ display: flex; flex-direction: column; gap: 18px; }
.dm-avatar{
  background: var(--forest);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: 15px;
}
.dm-head .who{ display: flex; flex-direction: column; }
.dm-head .name{ font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.dm-head .handle{ font-family: var(--font-mono); font-size: 12px; color: rgba(18,18,16,0.7); }
.dm-bubble{
  background: var(--cream);
  border-radius: 4px 18px 18px 18px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
}
.dm-bubble p{ margin: 0; }
.dm-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(18,18,16,0.7);
}
.dm-meta .stars{ color: var(--gold-dim); letter-spacing: 2px; }

@media (max-width: 900px){
  .dm-grid{ grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-band{
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
/* Velos-style two-tone headlines: second tone on light (ink, muted) and dark (gold) surfaces. */
.tone-2{ color: rgba(18,18,16,0.55); }
.cta-band .tone-2{ color: var(--gold); }
.cta-band .cta-side{ align-items: center; }
.cta-band .actions, .cta-band .cta-contact{ justify-content: center; }
.cta-band::after{
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,183,5,0.28), transparent 70%);
  top: -120px; right: -80px;
}
.cta-band h2{
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  position: relative;
  z-index: 1;
}
.cta-side{ position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.cta-band .actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.cta-contact{ display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-mono); font-size: 13px; }
.cta-contact a{
  color: rgba(244,239,225,0.85);
  border-bottom: 1px solid var(--line-on-forest);
  transition: color .25s ease, border-color .25s ease;
}
.cta-contact a:hover{ color: var(--gold); border-color: var(--gold); }

/* ---------- Footer ---------- */
.footer{
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(56px, 8vw, 96px);
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-forest);
}
.footer-brand img{ width: auto; height: 24px; margin-bottom: 18px; }
.footer-brand p{
  color: rgba(244,239,225,0.6);
  max-width: 34ch;
  font-size: 14.5px;
}
.footer-social{ display: flex; gap: 10px; margin-top: 22px; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-on-forest);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease;
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); }
.footer-social a:hover svg{ stroke: var(--ink); }
.footer-social svg{ width: 16px; height: 16px; stroke: var(--cream); }

.footer-col .footer-title{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,239,225,0.62);
  margin-bottom: 18px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col li,
.footer-col a{ font-size: 14.5px; color: rgba(244,239,225,0.82); }
.footer-col a{ transition: color .25s ease; }
.footer-col a:hover{ color: var(--gold); }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(244,239,225,0.62);
}
.footer-legal{ display: flex; flex-wrap: wrap; gap: 12px; }
.footer-consent{ background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Cookie consent: floating card; reject and accept carry equal weight. */
.consent{
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 520px; padding: 24px;
  background: var(--forest); color: var(--cream);
  border: 1px solid rgba(244,239,225,0.28);
  border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(0,0,0,0.28);
}
.consent[hidden]{ display: none; }
.consent-title{ font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 8px; outline: none; }
.consent-text{ font-size: 14px; line-height: 1.55; margin: 0; }
.consent a{ color: var(--gold); text-decoration: underline; }
.consent-prefs{ display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.consent-prefs[hidden]{ display: none; }
.consent-prefs label{ display: flex; align-items: center; gap: 10px; }
.consent-prefs input{ width: 18px; height: 18px; accent-color: var(--gold); }
.consent-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.consent-btn{ background: var(--cream); color: var(--forest); padding: 10px 18px; font-size: 14px; }
.consent-btn[hidden]{ display: none; }
.consent-link{ background: none; border: 0; padding: 4px 0; color: var(--cream); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

@media (max-width: 880px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: var(--forest);
  color: var(--cream);
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
.page-hero .crumb{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(244,239,225,0.5);
  margin-bottom: 22px;
}
.page-hero h1{
  margin-top: 16px;
  font-size: clamp(36px, 5.5vw, 64px);
  max-width: 18ch;
  color: var(--paper);
}
.page-hero p.lead{
  margin-top: 18px;
  max-width: 56ch;
  color: rgba(244,239,225,0.72);
  font-size: 17px;
}

/* ---------- 404 ---------- */
.not-found-mark{ width: 120px; height: auto; margin-bottom: 28px; opacity: .6; }
.not-found .hero-actions{ margin-top: 32px; }

/* ---------- Reveal on scroll ---------- */
/* Hidden only when JS runs (html.js is set in <head>); without JS all content stays visible. */
.js [data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .js [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ---------- Services page detail rows ---------- */
.service-detail{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line-on-cream);
}
.service-detail:nth-child(even) .visual{ order: 2; }
.service-detail .visual{
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.service-detail .visual .tag{
  background: rgba(255,253,248,0.92);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.service-detail .num{
  font-family: var(--font-mono);
  color: var(--forest);
  font-size: 14px;
}
.service-detail h2{
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 38px);
}
.service-detail p.desc{
  margin-top: 16px;
  color: rgba(18,18,16,0.64);
  max-width: 52ch;
}
.service-detail .points{
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail .points li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}
.service-detail .points li .pulse-dot{ margin-top: 7px; }

@media (max-width: 860px){
  .service-detail{ grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .visual{ order: 0; }
}

/* ---------- Value cards ---------- */
.value-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card{
  border: 1px solid var(--line-on-cream);
  border-radius: var(--radius-md);
  padding: 30px;
  background: var(--paper);
}
.value-card .idx{ font-family: var(--font-mono); font-size: 13px; color: var(--forest); }
.value-card h3{ margin-top: 14px; font-size: 19px; }
.value-card p{ margin-top: 10px; color: rgba(18,18,16,0.6); font-size: 14.5px; }
@media (max-width: 860px){ .value-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .value-grid{ grid-template-columns: 1fr; } }

/* ---------- Work filter + grid page ---------- */
.filter-bar{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-chip{
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-cream);
  font-family: var(--font-mono);
  font-size: 13px;
  background: transparent;
  color: var(--ink);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.filter-chip.active, .filter-chip:hover{
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ---------- Homepage services split (Velos reference) ---------- */
.services-split{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.services-split-head{ position: sticky; top: 120px; }
.services-split-head h2{ margin-top: 14px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.02em; max-width: 12ch; }
.services-split-head p{ margin-top: 16px; max-width: 38ch; color: rgba(18,18,16,0.7); }
.services-split-head .btn{ margin-top: 28px; }
@media (max-width: 860px){
  .services-split{ grid-template-columns: 1fr; }
  .services-split-head{ position: static; }
}

/* ---------- Foundation components ---------- */
.service-index{
  border-top: 1px solid var(--line-on-cream);
}
.service-index li{ border-bottom: 1px solid var(--line-on-cream); }
.service-index a{
  display: grid;
  grid-template-columns: 70px 1fr 44px;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  transition: padding .3s var(--ease), background .3s ease;
}
.service-index a:hover{ padding-inline: 20px; background: var(--paper); }
.service-index .idx{ color: var(--forest); font-size: 13px; }
.service-index .name{ font-family: var(--font-display); font-size: clamp(20px, 2.8vw, 30px); line-height: 1.15; }
.service-index .arrow{
  width: 36px; height: 36px; justify-self: end;
  display: grid; place-items: center;
  border: 1px solid var(--line-on-cream); border-radius: 50%;
  transition: transform .3s var(--ease), background .3s ease;
}
.service-index a:hover .arrow{ transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.service-index .arrow svg{ width: 16px; height: 16px; stroke: var(--ink); }
.pending-note{
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: rgba(242,183,5,.12);
  color: var(--forest);
  font-size: 14px;
}
.btn-block{ width: 100%; }

/* ---------- About page ---------- */
.about-story{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.about-story .lead-text{
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--forest);
}
.about-story .body-text{
  margin-top: 24px;
  color: rgba(18,18,16,0.68);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle-list{
  display: flex;
  flex-direction: column;
}
.principle-row{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--line-on-cream);
}
.principle-row:last-child{ border-bottom: 1px solid var(--line-on-cream); }
.principle-row .idx{ font-family: var(--font-mono); color: var(--forest); font-size: 14px; }
.principle-row h3{ font-size: 20px; }
.principle-row p{ margin-top: 8px; color: rgba(18,18,16,0.6); font-size: 14.5px; max-width: 60ch; }

@media (max-width: 860px){
  .about-story{ grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
}
.contact-form{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-on-cream);
  padding: clamp(28px, 4vw, 44px);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
fieldset.field{
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.field label,
.field legend{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18,18,16,0.7);
}
.field input, .field textarea, .field select{
  border: 1.5px solid var(--line-on-cream);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .3s ease, background .3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  border-color: var(--forest);
  background: var(--paper);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field select{
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230C2E20' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}

.careers-wrap{ max-width: 820px; }
.form-row > .field{ min-width: 0; }
.field select{ width: 100%; min-width: 0; text-overflow: ellipsis; }
.field.field-consent{ flex-direction: row; align-items: flex-start; gap: 12px; }
.field.field-consent input{ flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 0; accent-color: var(--forest); }
.field.field-consent label{ font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.5; }
.field.field-consent a{ color: var(--forest); text-decoration: underline; }

.service-pills{
  display: flex; flex-wrap: wrap; gap: 8px;
}
.field legend{ margin-bottom: 8px; padding: 0; }
.service-pills label{
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.service-pills input{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}
.service-pills span{
  display: inline-flex;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-on-cream);
  font-size: 13px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.service-pills input:checked + span{
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.service-pills input:focus-visible + span{
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

.form-note{
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(18,18,16,0.7);
}
.form-success{
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(12,46,32,0.08);
  color: var(--forest);
  font-size: 14px;
}
.form-success.is-visible{ display: flex; }
/* Palette has no red token: the error uses ink on cream with a strong border so it reads as an alert. */
.form-error{ margin-top: 14px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font-size: 14px; font-weight: 600; }
.form-error[hidden]{ display: none; }
.form-trap{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-panel{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card{
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 36px);
}
.contact-info-card .row{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-block: 16px;
  border-top: 1px solid var(--line-on-forest);
}
.contact-info-card .row:first-of-type{ border-top: none; }
.contact-info-card .row .ic{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(244,239,225,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .row .ic svg{ width: 16px; height: 16px; stroke: var(--gold); }
.contact-info-card .row .lbl{ font-family: var(--font-mono); font-size: 11.5px; color: rgba(244,239,225,0.55); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-card .row .val{ margin-top: 3px; font-size: 15px; }

.map-card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #143C2C, #0C2E20 60%, #F2B705);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244,239,225,0.7);
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line-on-cream);
}

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .nav-inner{ padding-block: 12px; }
  .nav-logo img{ height: 22px; }
  .lang-switch a{ padding: 5px 7px; }
  .hero{ padding-block: 44px 52px; }
  .hero-actions, .cta-band .actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-band .btn{ width: 100%; }
  .service-index a{ grid-template-columns: 44px 1fr 36px; gap: 10px; padding-block: 18px; }
  .service-index a:hover{ padding-inline: 8px; }
  .footer-legal{ gap: 8px 12px; }
}
