/*
 * pages/service-light.css — Keyser Soze service pages, premium-light rework.
 *
 * Loaded ONLY by the redesigned EN service pages (ai-pm, consultancy,
 * app-website-building). Does NOT load the legacy dark components.css /
 * service.css; it rebuilds the shared chrome (header, footer, consent, buttons)
 * in the light system so each page is self-contained — same architecture as
 * pages/home.css. FR/NL service pages still ride the dark service.css until
 * Phase 4. Shares the homepage design language verbatim: warm paper, floating
 * white cards on soft layered shadows, no hard ink boxes, ember as a sparing
 * accent, sentence-case headings, the same drifting ambient background.
 *
 * JS hooks reused: motion.js (.reveal→.is-visible, .counter, header[data-hidden]),
 * nav.js, i18n.js, consent.js — identical to the homepage.
 */

:root {
  --gut: 6vw; --maxw: 1280px;
  --paper:      #F6F4EE;
  --card:       #FFFFFF;
  --line-soft:  #E7E2D6;
  --radius:     16px;
  --radius-sm:  12px;
  --shadow-sm:  0 1px 2px rgba(28,24,16,.04), 0 3px 10px rgba(28,24,16,.05);
  --shadow-md:  0 6px 18px rgba(28,24,16,.06), 0 18px 44px rgba(28,24,16,.09);
  --shadow-lg:  0 12px 30px rgba(28,24,16,.09), 0 34px 80px rgba(28,24,16,.14);
  --e-out:      cubic-bezier(.2,.8,.2,1);
}

/* ====================================================================
 * Page base + ambient background (verbatim from home.css)
 * ================================================================== */
html { background: var(--paper); }
body { background: transparent; color: var(--ink); font-family: var(--body); line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
body[data-nav-open="true"] { overflow: hidden; }
::selection { background: var(--ember); color: #fff; }

/* Inert dark-system leftovers in the service markup — neutralised in light. */
.bg-grid, .bg-vignette, .cursor-dot, .cursor-ring { display: none !important; }

.bg-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-ambient span { position: absolute; display: block; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.bg-ambient span:nth-child(1) { width: 46vw; height: 46vw; top: 28%; left: -8vw; background: radial-gradient(circle at 30% 30%, rgba(255,107,0,.10), transparent 70%); animation: drift-a 34s ease-in-out infinite; }
.bg-ambient span:nth-child(2) { width: 40vw; height: 40vw; top: 58%; right: -10vw; background: radial-gradient(circle at 70% 40%, rgba(216,182,120,.16), transparent 70%); animation: drift-b 44s ease-in-out infinite; }
.bg-ambient span:nth-child(3) { width: 34vw; height: 34vw; top: 6%; right: 14vw; background: radial-gradient(circle at 50% 50%, rgba(120,140,170,.12), transparent 70%); animation: drift-c 52s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,-4vh) scale(1.12); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw,5vh) scale(1.08); } }
@keyframes drift-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vw,6vh) scale(1.15); } }

.kick, .acc { } /* primitives below */
.acc { color: var(--ember); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.84,.3,1), transform .7s cubic-bezier(.16,.84,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .06s; } .reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .22s; } .reveal-delay-4 { transition-delay: .30s; }

/* Skip link */
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 60; padding: 12px 16px; background: var(--ink); color: var(--paper); border: 2px solid var(--ember); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transform: translateY(calc(-100% - 16px)); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); outline: none; }

/* Buttons */
.btn { font-family: var(--mono); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .9ch; background: var(--ink); color: var(--paper); padding: 14px 22px; border: 2px solid var(--ink); transition: .15s ease; cursor: pointer; }
.btn:hover { background: var(--ember); border-color: var(--ember); color: #0A0A0A; }

/* ====================================================================
 * Header (verbatim from home.css)
 * ================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; background: var(--paper); border-bottom: 2px solid var(--ink); transition: transform .3s ease; }
.site-header[data-hidden="true"] { transform: translateY(-100%); }
.site-header[data-nav-open="true"] { transform: none; }
.site-header__inner { height: 100%; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: flex; align-items: center; gap: .9ch; flex: none; }
.site-header__mark { width: 26px; height: 26px; flex: none; color: var(--ink); }
.site-header__mark svg { width: 100%; height: 100%; display: block; }
.site-header__wordmark { font-family: var(--disp); font-weight: 400; font-size: 1.02rem; letter-spacing: .10em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.site-header__wordmark-dot { color: var(--ember); font-weight: 700; margin: 0 .12em; }
.site-header__caption { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: .6ch; }
@media (max-width: 720px) { .site-header__caption { display: none; } }
.site-header__nav { display: flex; align-items: center; gap: 26px; }
.site-header__nav > a { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.site-header__nav > a:hover, .site-header__nav > a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ember); }
.site-header__right { display: flex; align-items: center; gap: 18px; }
.lang-switcher { display: flex; align-items: center; gap: .5ch; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; }
.lang-switcher a { color: var(--muted); text-transform: uppercase; transition: color .2s ease; }
.lang-switcher a:hover, .lang-switcher a[aria-current="page"] { color: var(--ink); }
.lang-switcher a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.lang-switcher__separator { color: var(--line-soft); }
.site-header__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 2px solid var(--ink); background: var(--paper); flex: none; }
.site-header__toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header__nav-footer { display: none; }
@media (max-width: 1023px) {
  .site-header__toggle { display: flex; }
  .site-header__right { display: none; }
  .site-header__nav { position: fixed; inset: 64px 0 0 0; z-index: 49; flex-direction: column; align-items: flex-start; gap: 4px; justify-content: flex-start; background: var(--paper); border-top: 2px solid var(--ink); padding: 28px var(--gut); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .site-header[data-nav-open="true"] .site-header__nav { transform: none; visibility: visible; }
  .site-header__nav > a { font-size: 1.1rem; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .site-header__nav > a:hover, .site-header__nav > a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--ember); }
  .site-header__nav-footer { display: block; margin-top: 28px; }
  .lang-switcher--drawer { gap: 18px; font-size: .85rem; }
  .lang-switcher--drawer a { color: var(--ink-2); }
}

/* ====================================================================
 * Section primitives
 * ================================================================== */
.service-section { padding: clamp(72px,12vh,140px) 0; position: relative; }
.service-section__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.kick { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: .7ch; }
.kick::before { content: ""; width: 30px; height: 2px; background: var(--ember); display: inline-block; }
/* shared eyebrow look across service blocks */
.service-hero__eyebrow, .service-practice__eyebrow, .service-protocol__eyebrow, .service-related__eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); display: inline-flex; align-items: center; gap: .7ch;
}
.service-hero__eyebrow::before, .service-practice__eyebrow::before, .service-protocol__eyebrow::before, .service-related__eyebrow::before {
  content: ""; width: 30px; height: 2px; background: var(--ember); display: inline-block;
}

/* ====================================================================
 * SERVICE HERO (light premium; sits below the fixed 64px header)
 * ================================================================== */
.service-hero { padding-top: clamp(128px,20vh,210px); padding-bottom: clamp(48px,8vh,96px); }
.service-hero__frame { max-width: 60ch; }
.service-hero__title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.8rem,7vw,6rem); line-height: .98; letter-spacing: -.045em; text-transform: none; color: var(--ink); margin: 1.4rem 0 0; }
.service-hero__sub { font-family: var(--body); font-size: clamp(1.1rem,1.7vw,1.35rem); max-width: 56ch; color: var(--ink-2); line-height: 1.6; margin-top: clamp(24px,4vh,40px); }

/* ====================================================================
 * PRACTICE — copy + diagram card
 * ================================================================== */
.service-practice__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,64px); align-items: start; }
.service-practice__title { font-family: var(--disp); font-weight: 500; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.02; letter-spacing: -.03em; text-transform: none; color: var(--ink); margin: 1.1rem 0 0; max-width: 18ch; }
.service-practice__body { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.service-practice__body p { font-family: var(--body); font-size: 1.05rem; color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.service-practice__body strong { color: var(--ink); font-weight: 700; }
.service-practice__card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(22px,2.4vw,32px); position: sticky; top: 96px; }
.service-practice__card-header { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.service-practice__card-header-accent { color: var(--ember); font-weight: 700; }
.diagram { width: 100%; height: auto; display: block; }
.diagram rect { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.diagram text { fill: var(--ink-2); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.diagram line { stroke: var(--muted); stroke-width: 1.2; }
.diagram .accent { stroke: var(--ember); stroke-width: 1.8; }
.diagram .accent-text { fill: var(--ember); font-weight: 700; }
.diagram .accent-fill { fill: var(--ember); stroke: none; }

/* ====================================================================
 * PROTOCOL — floating step cards (mirrors home "how I intervene")
 * ================================================================== */
.service-protocol__title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.3rem,5.4vw,4.4rem); line-height: 1.0; letter-spacing: -.03em; text-transform: none; color: var(--ink); margin-top: 1rem; }
.service-protocol__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,1.6vw,24px); }
.protocol-step { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(28px,2.8vw,42px); transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.protocol-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ember); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--e-out); }
.protocol-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.protocol-step:hover::before { transform: scaleY(1); }
.protocol-step--emphasis { background: linear-gradient(140deg, rgba(255,107,0,.06), var(--card) 60%); }
.protocol-step__index { font-family: var(--mono); font-weight: 700; font-size: clamp(2.2rem,4vw,3rem); color: var(--ember); line-height: 1; display: block; margin-bottom: 1rem; }
.protocol-step__title { font-family: var(--disp); font-weight: 600; font-size: clamp(1.4rem,2.1vw,1.8rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); margin-bottom: .7rem; }
.protocol-step__body { font-family: var(--body); font-size: 1rem; color: var(--ink-2); line-height: 1.6; max-width: 52ch; }

/* ====================================================================
 * PROOF — one integrated floating panel (mirrors home matrix)
 * ================================================================== */
.service-proof { padding: clamp(20px,4vh,48px) var(--gut) clamp(48px,8vh,96px); }
.service-proof__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.service-proof__tile { position: relative; padding: clamp(28px,2.6vw,42px); display: flex; flex-direction: column; gap: 1.3rem; min-height: 220px; justify-content: space-between; transition: background .4s var(--e-out); }
.service-proof__tile + .service-proof__tile { box-shadow: inset 1px 0 0 var(--line-soft); }
.service-proof__tile:not(.service-proof__tile--accent):hover { background: #FBFAF5; }
.service-proof__caption { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.service-proof__value { font-family: var(--disp); font-weight: 600; font-size: clamp(3rem,5vw,4.6rem); line-height: .92; letter-spacing: -.03em; color: var(--ink); }
.service-proof__value--text { font-size: clamp(1.9rem,3vw,2.5rem); line-height: 1.02; color: var(--ember); }
.service-proof__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); display: block; margin-top: .5rem; }
.service-proof__tile--accent { background: linear-gradient(140deg, rgba(255,107,0,.11), rgba(255,107,0,.025)); }
.service-proof__tile--accent .service-proof__caption { color: #B06A2E; }
.service-proof__tile--accent .service-proof__value { color: var(--ember); }
.service-proof__tile--accent .service-proof__label { color: var(--ink-2); }

/* ====================================================================
 * RELATED — two teaser cards
 * ================================================================== */
.service-related__title { font-family: var(--disp); font-weight: 500; font-size: clamp(2rem,4.4vw,3.4rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); margin-top: 1rem; }
.service-related__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,1.6vw,26px); }
.related-card { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(30px,2.8vw,44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.related-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ember); transition: width .5s var(--e-out); }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.related-card:hover::after { width: 100%; }
.related-card__vertical { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.related-card__title { font-family: var(--disp); font-weight: 600; font-size: clamp(1.5rem,2.3vw,1.95rem); line-height: 1.08; letter-spacing: -.015em; color: var(--ink); margin: .6rem 0 1rem; }
.related-card__body { font-family: var(--body); font-size: 1rem; color: var(--ink-2); line-height: 1.6; max-width: 44ch; }
.related-card__arrow { font-family: var(--disp); font-size: 1.6rem; color: var(--ember); flex: none; transition: transform .4s var(--e-out); }
.related-card:hover .related-card__arrow { transform: translateX(6px); }

/* ====================================================================
 * CTA — dark rounded band (echoes the home final CTA)
 * ================================================================== */
.service-cta { padding: clamp(40px,7vh,90px) var(--gut) clamp(72px,12vh,140px); }
.service-cta__grid { max-width: var(--maxw); margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: clamp(20px,2.5vw,30px); padding: clamp(40px,6vw,84px); overflow: hidden; position: relative; }
.service-cta__grid ::selection { background: var(--ember); color: #fff; }
.service-cta__title { font-family: var(--disp); font-weight: 500; font-size: clamp(2.4rem,6vw,4.6rem); line-height: .98; letter-spacing: -.035em; text-transform: none; color: var(--paper); }
.service-cta__body { font-family: var(--body); font-size: clamp(1.05rem,1.5vw,1.25rem); color: rgba(255,255,255,.78); line-height: 1.6; max-width: 50ch; margin: 1.4rem 0 2.2rem; }
.service-cta .btn { background: var(--ember); border-color: var(--ember); color: #fff; }
.service-cta .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ====================================================================
 * FOOTER (verbatim from home.css)
 * ================================================================== */
.site-footer { background: var(--ink); color: #9A9A9A; padding: 44px var(--gut) 30px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: .85ch; color: var(--paper); }
.site-footer__mark { width: 24px; height: 24px; flex: none; color: var(--paper); }
.site-footer__mark svg { width: 100%; height: 100%; }
.site-footer__wordmark { font-family: var(--disp); font-weight: 400; letter-spacing: .10em; text-transform: uppercase; font-size: .95rem; color: var(--paper); }
.site-footer__wordmark-dot { color: var(--ember); font-weight: 700; margin: 0 .12em; }
.site-footer__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__nav a { color: var(--paper); border-bottom: 2px solid var(--ember); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.site-footer__nav a:hover { color: var(--ember); }
.site-footer__utility { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__utility-links a { color: var(--paper); border-bottom: 2px solid var(--ember); padding-bottom: 1px; transition: color .2s; }
.site-footer__utility-links a:hover { color: var(--ember); }

/* ====================================================================
 * CONSENT (verbatim from home.css)
 * ================================================================== */
.consent-banner { position: fixed; inset: auto 0 0 0; z-index: 55; background: var(--paper); border-top: 2px solid var(--ink); }
.consent-banner[hidden] { display: none; }
.consent-banner__inner { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gut); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-banner__kicker { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.consent-banner__heading { font-family: var(--disp); font-weight: 600; font-size: 1.1rem; text-transform: none; letter-spacing: -.01em; color: var(--ink); margin: .4rem 0; }
.consent-banner__body { font-family: var(--body); font-size: .85rem; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.consent-banner__body a { border-bottom: 2px solid var(--ember); }
.consent-banner__toggles { display: flex; gap: 20px; margin-top: 14px; }
.consent-banner__toggle { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: .6ch; }
.consent-banner__actions { display: flex; gap: 12px; flex: none; }
.consent-banner__btn { font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: .15s ease; }
.consent-banner__btn:hover { background: var(--ink); color: var(--paper); }
.consent-banner__btn[data-consent-action="accept-all"] { background: var(--ink); color: var(--paper); }
.consent-banner__btn[data-consent-action="accept-all"]:hover { background: var(--ember); border-color: var(--ember); color: #0A0A0A; }

/* ====================================================================
 * Responsive
 * ================================================================== */
@media (max-width: 980px) {
  .service-practice__grid { grid-template-columns: 1fr; }
  .service-practice__card { position: static; }
  .service-protocol__grid { grid-template-columns: 1fr; }
  .service-proof__grid { grid-template-columns: repeat(2,1fr); }
  .service-proof__tile + .service-proof__tile { box-shadow: none; }
  .service-proof__tile { box-shadow: inset 0 -1px 0 var(--line-soft); }
  .service-proof__tile:nth-child(2n) { box-shadow: none; }
  .service-proof__tile:nth-last-child(-n+2) { box-shadow: none; }
  .service-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service-proof__grid { grid-template-columns: 1fr; }
  .service-proof__tile { min-height: 0; box-shadow: inset 0 -1px 0 var(--line-soft); }
  .service-proof__tile:last-child { box-shadow: none; }
  .related-card { flex-direction: column; align-items: flex-start; }
}

/* ====================================================================
 * PORTFOLIO — full 10-project showcase (mirrors home.css; same tokens).
 * The homepage shows a selection and deep-links here via #portfolio.
 * ================================================================== */
.service-portfolio { scroll-margin-top: 84px; }
.proj__head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.proj__head .service-related__title, .proj__head h2 { margin-top: 1rem; }
.proj__intro { font-family: var(--mono); font-size: .82rem; color: var(--muted); max-width: 38ch; line-height: 1.6; margin-top: 18px; }
.proj__count { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.proj__count b { color: var(--ember); font-size: 2rem; display: block; line-height: 1; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 40px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__txt { padding: clamp(32px,3.5vw,52px); display: flex; flex-direction: column; }
.feature__ix { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.feature__ix .n { font-family: var(--mono); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ember); }
.feature__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); padding: 5px 9px; }
.feature h3 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.7rem,3.2vw,2.5rem); line-height: 1.05; letter-spacing: -.02em; text-transform: none; margin: 0 0 1rem; color: var(--ink); }
.feature p { font-family: var(--body); font-size: 1.02rem; color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.feature p em { font-style: italic; color: var(--ember); }
.feature__meta { display: flex; gap: 0; margin-top: auto; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.feature__meta > div { flex: 1; border-left: 1px solid var(--line-soft); padding-left: 16px; }
.feature__meta > div:first-child { border-left: none; padding-left: 0; }
.feature__meta b { font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: var(--ink); display: block; line-height: 1; }
.feature__meta span { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.feature__shot { position: relative; background: var(--ink); overflow: hidden; min-height: 320px; filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.feature:hover .feature__shot { filter: grayscale(0) contrast(1); }
.feature__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature__shot img { transform: scale(1.04); }
.cards { margin-top: clamp(16px,1.6vw,26px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.6vw,26px); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ember); transition: width .5s var(--e-out); z-index: 4; }
.card:hover::after { width: 100%; }
.card__art { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--ink); filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.card:hover .card__art { filter: grayscale(0) contrast(1); }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__art img { transform: scale(1.06); }
.card__b { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__ix { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.card__ix .n { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; color: var(--ember); line-height: 1; }
.card__tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h4 { font-family: var(--disp); font-weight: 600; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-bottom: .7rem; }
.card p { font-family: var(--body); font-size: .92rem; color: var(--ink-2); flex: 1; line-height: 1.5; }
.card__pin { margin-top: 1.1rem; font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: color .25s ease; }
.card:hover .card__pin { color: var(--ember); }
.card__pin::after { content: ""; display: block; height: 2px; background: var(--ember); width: 34px; margin-top: 8px; transition: width .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__pin::after { width: 64px; }
@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; }
  .feature__shot { min-height: 240px; order: 2; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .proj__head { grid-template-columns: 1fr; }
  .proj__count { text-align: left; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .feature__meta { flex-wrap: wrap; }
  .feature__meta > div { flex: 1 1 50%; border-left: none; padding-left: 0; padding-top: 14px; }
}

/* ====================================================================
 * Reduced motion + print
 * ================================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .consent-banner, .bg-ambient { display: none !important; }
  body { background: #fff; color: #000; }
  .protocol-step, .related-card, .service-practice__card, .service-proof__tile { break-inside: avoid; }
  .service-section { padding: 36px 0; }
}
