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

/* ---------- tokens (brief 6.1–6.3) ---------- */
:root {
  --graphite-900: #15161a; --graphite-800: #22242a; --slate-600: #4b4d55; --mist-400: #9c9ea6;
  --stone-200: #e6e1d8; --ivory-50: #f7f4ef; --white: #fff; --red: #ce2620; --red-deep: #b01a21; --steel-500: #5e7a92;
  --serif: "Fraunces", Georgia, serif; --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1280px; --gutter: 24px; --pad: clamp(96px, 12vw, 160px); --nav-h: 76px;
  --rule-dark: rgb(156 158 166 / 0.3); --rule-light: var(--stone-200);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--ivory-50); color: var(--graphite-900); font: 400 clamp(17px, 1.25vw, 18px)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--graphite-900); padding: 10px 14px; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.h1 { font: 500 clamp(40px, 5.6vw, 72px)/1.05 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font: 500 clamp(30px, 3.8vw, 48px)/1.1 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -0.005em; text-wrap: balance; }
.h3 { font: 600 clamp(20px, 1.9vw, 24px)/1.25 var(--tight); }
.eyebrow, .tags, .num, .chips { font: 600 13px/1.4 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow { color: var(--red-deep); margin-bottom: 24px; }
.sec--dark .eyebrow, .hero .eyebrow, .eco .eyebrow, .strip .eyebrow { color: var(--mist-400); }
.num { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--red-deep); text-transform: none; }
.sec--dark .num, .cta .num, .nav .num, .menu .num { color: var(--red); }
.lede { font-size: clamp(18px, 1.5vw, 20px); max-width: 62ch; color: var(--slate-600); }
.sec--dark .lede, .hero .lede { color: #c9cad0; }
p { max-width: 68ch; }

/* ---------- sections ---------- */
.sec { padding-block: var(--pad); position: relative; }
.sec--dark { background: var(--graphite-900); color: var(--white); }
.sec--light + .sec--light { padding-top: 0; }
.split { display: grid; gap: 32px 48px; grid-template-columns: repeat(12, 1fr); margin-bottom: 64px; align-items: end; }
.split > :first-child { grid-column: span 6; }
.split > :last-child { grid-column: 8 / -1; }
.split--why { align-items: start; margin-bottom: 0; }
.split--why > :first-child { grid-column: span 4; position: sticky; top: calc(var(--nav-h) + 24px); }
.split--why > :last-child { grid-column: 5 / -1; }
.split--why + .split--why { margin-top: 96px; }
.cards3 { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.grid2 { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
.row-end, .row-between, .actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.row-end { margin-top: 56px; justify-content: space-between; }
.row-between { justify-content: space-between; align-items: end; margin-bottom: 56px; }
.stack > * + * { margin-top: 40px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 2px; background: var(--red); color: var(--white); font: 600 13px/1 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--red-deep); }
.btn--sm { min-height: 42px; padding: 0 18px; }
.arr { display: inline-block; transition: transform 0.24s ease-out; }
a:hover > .arr, .btn:hover > .arr, .pcard:hover .arr { transform: translateX(4px); }
.more { display: inline-flex; gap: 10px; align-items: baseline; font: 600 13px/1.4 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.more > span:first-child { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s; padding-bottom: 3px; }
.more:hover > span:first-child, .pcard:hover .more > span:first-child { background-size: 100% 1px; }
.sec--light .more .arr, .more .arr { color: var(--red); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: var(--white); transition: transform 0.3s, background 0.3s; }
.nav.is-solid { background: rgb(21 22 26 / 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule-dark); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo img, .menu-top img, .foot-brand img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; height: 100%; }
.nav-links a, .lang a { font: 600 13px/1 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: #d9dadf; padding: 8px 0; }
.nav-links a:hover, .nav-links a[aria-current], .lang a[aria-current] { color: var(--white); }
.nav-links > a[aria-current], .has-mega > a[aria-current] { box-shadow: 0 2px 0 var(--red); }
.has-mega { position: relative; height: 100%; display: flex; align-items: center; }
.mega { position: absolute; top: 100%; left: -24px; width: 420px; background: var(--graphite-800); border: 1px solid var(--rule-dark); padding: 12px 24px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 16px; padding: 14px 0; text-transform: none; letter-spacing: 0; font: 600 16px/1.3 var(--tight); border-bottom: 1px solid var(--rule-dark); }
.mega a:last-child { border: 0; }
.nav-end { display: flex; align-items: center; gap: 24px; }
.lang { display: inline-flex; gap: 8px; align-items: center; color: var(--mist-400); }
.lang a { color: var(--mist-400); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 12px 8px; cursor: pointer; }
.burger span:not(.sr) { display: block; height: 2px; background: var(--white); margin: 6px 0; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--graphite-900); color: var(--white); display: flex; flex-direction: column; padding: 18px var(--gutter) 24px; overflow: auto; }
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 40px; margin-bottom: 32px; }
.menu-top button, .drawer-panel > button { background: none; border: 0; color: inherit; font-size: 22px; width: 44px; height: 44px; cursor: pointer; }
.menu nav > a { display: block; font: 500 30px/1.2 var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule-dark); }
.menu-sub a { display: flex; gap: 14px; font: 600 16px/1.3 var(--tight); text-decoration: none; padding: 10px 0 10px 12px; color: #d9dadf; }
.menu-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.menu-foot .btn { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(72px, 10vw, 140px)); padding-bottom: clamp(72px, 9vw, 128px); overflow: hidden; }
.hero--home { min-height: 100svh; display: flex; align-items: center; }
.hero--home > .wrap { width: min(100% - 2 * var(--gutter), var(--max)); }
.hero-in { max-width: 780px; position: relative; z-index: 1; }
.hero--page .hero-in { max-width: 900px; }
.hero .lede { margin-top: 28px; }
.hero .actions { margin-top: 44px; }
.credline { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font: 500 13px/1.5 var(--mono); color: var(--mist-400); max-width: none; }
.hero-art { position: absolute; right: -6%; top: 50%; width: min(62vw, 900px); transform: translateY(-50%); color: rgb(156 158 166 / 0.34); pointer-events: none; }
.hero-art path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hero-art path[pathLength] { animation: draw 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.3s + var(--i) * 45ms); }
.js .hero-art > svg { animation: fade 0.8s 1.3s both; }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes fade { from { opacity: 0; } }

/* photos (brief section 7) */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--home .hero-photo { -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.1) 0%, rgb(0 0 0 / 0.22) 48%, rgb(0 0 0 / 0.68) 100%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.1) 0%, rgb(0 0 0 / 0.22) 48%, rgb(0 0 0 / 0.68) 100%); }
.hero--page .hero-photo { left: auto; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.7) 65%); mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.7) 65%); }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; background: linear-gradient(180deg, rgb(21 22 26 / 0.85), transparent); pointer-events: none; }
.has-photo .hero-in { max-width: 660px; }
.sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.13; }
.sec > .wrap { position: relative; }
.pcard-img { display: block; margin: -40px -40px 32px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite-800); }
.pcard-img img, .figure-wide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pcard:hover .pcard-img img, .figure-wide:hover img { transform: scale(1.03); }
.figure-wide { aspect-ratio: 21 / 9; max-height: 560px; width: 100%; overflow: hidden; background: var(--graphite-900); }
@media (max-width: 960px) {
  .hero--home .hero-photo { opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / 0.35)); mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / 0.35)); }
  .hero--page .hero-photo { width: 100%; opacity: 0.32; -webkit-mask-image: none; mask-image: none; }
  .pcard-img { margin: -28px -28px 24px; }
  .figure-wide { aspect-ratio: 16 / 9; }
}

/* ---------- home blocks ---------- */
.tcard { border-top: 1px solid var(--red); padding-top: 28px; }
.tcard p, .pcard p, .why-list p, .timeline p, .case .story, .bio { color: var(--slate-600); margin-top: 14px; }
.sec--dark .why-list p, .sec--dark .case .story { color: #c9cad0; }
.strip { background: var(--graphite-900); color: var(--white); border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.strip ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.strip li { flex: 1 0 auto; padding: 26px 28px; font: 600 13px/1.4 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; border-left: 1px solid var(--rule-dark); white-space: nowrap; text-align: center; }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip--text { padding-block: 72px; }
.pcard { display: flex; flex-direction: column; background: var(--stone-200); padding: 40px; text-decoration: none; border-top: 1px solid var(--stone-200); min-height: 340px; transition: border-color 0.24s; }
.pcard:hover, .pcard:focus-visible { border-top-color: var(--red); }
.ico { width: 32px; height: 32px; color: var(--graphite-900); margin-bottom: 28px; }
.pcard-more { margin-top: auto; padding-top: 28px; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.24s ease-out, opacity 0.24s; }
.pcard-more > * { overflow: hidden; }
.pcard-more .more { margin-top: 20px; }
.pcard:hover .pcard-more, .pcard:focus-visible .pcard-more, .pcard--open .pcard-more { grid-template-rows: 1fr; opacity: 1; }
.pcard-more { grid-template-rows: 0fr 0fr; }
.pcard:hover .pcard-more, .pcard:focus-visible .pcard-more, .pcard--open .pcard-more { grid-template-rows: 1fr auto; }
@media (hover: none) { .pcard-more { grid-template-rows: 1fr auto; opacity: 1; } }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--rule-light); font-size: 16px; }
.sec--dark .ticks li { border-color: var(--rule-dark); }
.pcard .ticks li { border-color: rgb(21 22 26 / 0.12); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 8px; background: var(--red); clip-path: polygon(0 38%, 55% 38%, 55% 0, 100% 50%, 55% 100%, 55% 62%, 0 62%); }
.ticks--big li { font: 600 clamp(18px, 1.7vw, 22px)/1.35 var(--tight); padding-block: 18px; }
.ticks--big li::before { top: 1.45em; }
.plain li + li { margin-top: 6px; }
.why-list li, .principles li, .career li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 32px 0; border-top: 1px solid var(--rule-dark); }
.why-list--light { margin-top: 56px; }
.why-list--light li, .sec--light .career li { border-color: var(--rule-light); }
.why-list .num, .principles .num { font-size: 14px; padding-top: 5px; }
.principles li { font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--serif); align-items: baseline; }
.career li { grid-template-columns: 130px 1fr; padding: 22px 0; }

/* approach timeline */
.timeline { position: relative; margin: 64px 0 48px; }
.timeline-line { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--stone-200); }
.timeline-line i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--red); transition: width 0.2s linear; }
.timeline ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline li { position: relative; padding-top: 36px; transition: opacity 0.3s; }
.node { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory-50); border: 1px solid var(--mist-400); transition: 0.3s; }
.timeline li.on .node, html:not(.js) .node { background: var(--red); border-color: var(--red); }
.timeline .h3 { margin-top: 10px; }
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .js .approach[data-approach] { height: 240vh; padding-block: 0; }
  .js .approach-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
  .js .approach .timeline li:not(.on) { opacity: 0.35; }
}

/* results */
.note { font-size: 15px; color: var(--mist-400); }
.case { background: var(--graphite-800); padding: 36px; display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--rule-dark); min-height: 420px; }
.tags { display: flex; flex-direction: column; gap: 6px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: none; color: var(--mist-400); }
.tags span + span { color: var(--red); }
.case .story { margin-top: 0; }
.outcome { font: 500 clamp(22px, 2.2vw, 28px)/1.22 var(--serif); font-variation-settings: "opsz" 72; }
.case .outcome { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.sec--light .case { background: var(--stone-200); border-color: var(--stone-200); }
.case-long { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 48px 0; border-top: 1px solid var(--rule-light); }
.case-long dl > div, .facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; }
dt { font: 600 13px/1.6 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-600); }

/* founder */
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder--about .founder-grid { align-items: start; }
.portrait { overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone-200); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.03); transition: transform 0.6s; }
.portrait:hover img { transform: scale(1.03); }
.quote { font: 500 clamp(26px, 3vw, 40px)/1.18 var(--serif); font-variation-settings: "opsz" 144; text-wrap: balance; }
.quote--sm { font-size: clamp(20px, 2vw, 26px); margin: 36px 0; padding-left: 24px; border-left: 2px solid var(--red); }
.name { margin-top: 36px; font: 600 20px/1.3 var(--tight); }
.founder .actions { margin-top: 36px; }
.founder .h2 { margin-bottom: 20px; }
.facts { margin-top: 12px; border-top: 1px solid var(--rule-light); font-size: 16px; }
.facts > div { border-bottom: 1px solid var(--rule-light); padding: 18px 0; }

/* ecosystem band, insights, faq */
.eco { background: var(--graphite-900); color: var(--white); padding: 44px 0; }
.eco .eyebrow { margin-bottom: 16px; }
.eco ul { display: flex; flex-wrap: wrap; gap: 10px 40px; font: 600 16px/1.4 var(--tight); }
.acard { border-top: 1px solid var(--rule-light); }
.art { width: 100%; aspect-ratio: 16 / 10; background: var(--graphite-900); color: rgb(156 158 166 / 0.5); margin-bottom: 20px; }
.art-red { stroke: var(--red); }
.acard .tags { flex-direction: row; gap: 16px; margin-bottom: 12px; color: var(--slate-600); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chips li { border: 1px solid var(--mist-400); border-radius: 2px; padding: 8px 14px; font-size: 12px; }
.faq details { border-top: 1px solid var(--rule-light); }
.faq details:last-child { border-bottom: 1px solid var(--rule-light); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(18px, 1.7vw, 22px)/1.3 var(--tight); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.24s; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 40px 28px 0; color: var(--slate-600); }

/* final CTA band */
.cta { overflow: hidden; background: var(--graphite-800); }
.cta-in { max-width: 720px; position: relative; z-index: 1; }
.cta .lede { margin: 24px 0 40px; }
.motif { position: absolute; right: -9%; top: 50%; height: 118%; width: auto; transform: translateY(-50%); pointer-events: none; }
.motif path { fill: var(--red); }
.steps { margin-top: 48px; display: grid; gap: 12px; font-size: 16px; color: #c9cad0; }
.steps li, .flow li { display: flex; gap: 16px; align-items: baseline; }
.alt { margin-top: 32px; font-size: 16px; color: var(--mist-400); }
.alt a { color: var(--white); }

/* service pages */
.flow li { padding: 20px 0; border-top: 1px solid var(--rule-light); font: 600 clamp(18px, 1.7vw, 22px)/1.35 var(--tight); }
.sec--dark .flow li { border-color: var(--rule-dark); font-size: 17px; font-weight: 500; padding: 12px 0; }
.switch { display: flex; gap: 12px; margin-bottom: 64px; }
.switch a { border: 1px solid var(--graphite-900); border-radius: 2px; padding: 12px 18px; font: 600 13px/1 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.switch a:hover { background: var(--graphite-900); color: var(--white); }

/* consultation */
.book-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.cal { width: 100%; min-height: 720px; border: 1px solid var(--rule-light); background: var(--white); }
.cal-soon { background: var(--stone-200); padding: 40px; display: grid; gap: 20px; justify-items: start; }
.contact { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: var(--slate-600); }
.cal--drawer { min-height: 100%; border: 0; overflow: visible; }
.cal { overflow: auto; }
.cal-alt { margin-top: 12px; font-size: 14px; color: var(--slate-600); }
.mailbox { background: var(--stone-200); padding: 36px; display: grid; gap: 18px; justify-items: start; max-width: 640px; }
.mailbox .contact { margin-top: 12px; flex-direction: column; }
.mail-addr a { font: 600 18px/1.3 var(--tight); }
.prose { max-width: 820px; }
.prose section + section { margin-top: 56px; }
.prose .h3 { margin-bottom: 16px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose dl + p { margin-top: 14px; }
.prose a { color: var(--red-deep); }
.prose > .note { margin-top: 56px; color: var(--slate-600); }

/* footer */
.foot { background: var(--graphite-900); color: #c9cad0; border-top: 1px solid var(--rule-dark); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 4fr 3fr 2fr 2fr; gap: 48px; padding-block: 80px 56px; }
.foot-brand p { margin-top: 20px; max-width: 30ch; }
.foot h2 { font: 600 13px/1.4 var(--tight); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-400); margin-bottom: 16px; }
.foot a { display: block; text-decoration: none; padding: 5px 0; }
.foot a:hover { color: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 24px; border-top: 1px solid var(--rule-dark); font-size: 13px; color: var(--mist-400); }
.foot-base span { margin-right: auto; }

/* sticky mobile CTA, booking drawer */
.sticky-cta { display: none; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(21 22 26 / 0.6); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(100%, 1080px); background: var(--white); display: flex; flex-direction: column; }
.drawer-panel > button { align-self: flex-end; }
[data-drawer-body] { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }

/* ---------- motion (brief 6.5) ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.js .rise.in { opacity: 1; transform: none; }
.js .reveal-lines .w { display: inline-block; opacity: 0; transform: translateY(0.35em); animation: word 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--l, 0) * 80ms); }
@keyframes word { to { opacity: 1; transform: none; } }
.js .reveal-lines.done .w { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal-lines .w { opacity: 1; transform: none; animation: none; transition: none; }
  .js .hero-art path[pathLength], .js .hero-art > svg { animation: none; }
  .nav { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-end { display: none; }
  .burger { display: block; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .split, .split--why { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .split--why { margin-bottom: 0; }
  .split > *, .split--why > * { grid-column: 1 / -1 !important; position: static !important; }
  .cards3, .grid2, .founder-grid, .book-grid { grid-template-columns: 1fr; }
  .timeline ol { grid-template-columns: 1fr; gap: 28px; }
  .timeline-line { right: auto; left: 5px; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline-line i { width: 100%; height: 100%; }
  .timeline li { padding: 0 0 0 36px; }
  .node { background: var(--red); border-color: var(--red); }
  .case { min-height: 0; }
  .hero-art { width: 120vw; right: -50%; opacity: 0.6; }
  .motif { opacity: 0.22; right: -40%; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding-block: 56px 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .case-long { grid-template-columns: 1fr; }
  .case-long dl > div, .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .why-list li, .principles li { grid-template-columns: 48px 1fr; }
  .career li { grid-template-columns: 1fr; gap: 4px; }
  .pcard { padding: 28px; min-height: 0; }
  .sticky-cta { display: block; position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(21 22 26 / 0.92); backdrop-filter: blur(12px); transform: translateY(100%); transition: transform 0.3s; }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  .foot { padding-bottom: 72px; }
}


/* Booking layout fix — preserve all calendar and time-slot columns. */
.book { --pad: clamp(48px, 7vw, 96px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.book-grid > *, .booking-column { min-width: 0; max-width: 100%; }
.booking-column { width: 100%; }
.cal {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 720px;
  overflow: visible;
  background: var(--white);
}
.cal iframe {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 720px;
  border: 0 !important;
}
.cal--drawer { min-height: 720px; border: 0; }
.cal-alt { margin-top: 14px; font-size: 14px; }
.cal-alt a { text-underline-offset: 3px; }
.cal-error { padding: 14px 18px; margin-top: 16px; border-left: 3px solid var(--red); background: #fff6f2; color: var(--graphite-900); font-size: 14px; }
.cal-error[hidden] { display: none; }
@media (max-width: 700px) {
  .cal, .cal iframe { min-height: 800px; }
  .cal { border: 0; }
  .mailbox { padding: 26px 22px; }
}

/* Linked knowledge-base cards */
.acard--link { display: block; text-decoration: none; color: inherit; transition: transform 0.2s ease, border-color 0.2s ease; }
.acard--link:hover, .acard--link:focus-visible { color: inherit; border-color: var(--red); transform: translateY(-3px); }
.acard--link:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.acard-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font: 600 13px/1.4 var(--tight); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.acard--link:hover .acard-more .arr { transform: translateX(5px); }
.acard-more .arr { transition: transform 0.2s ease; }


/* Service-page explanatory copy */
.services-intro {
  max-width: 900px;
  margin: 24px 0 clamp(36px, 5vw, 64px);
  color: var(--slate-600);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.7;
}
.services-intro .service-prose p + p { margin-top: 16px; }
.service-card-context { margin-top: 10px; }
.pcard .service-card-context .service-prose p {
  margin-top: 0;
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.65;
}
.service-detail { min-width: 0; max-width: 100%; }
.service-detail .service-prose { max-width: 780px; }
.service-detail .service-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate-600);
}
.service-detail .service-prose p + p { margin-top: 16px; }
.service-detail .ticks { margin-top: 30px; }
.sec--dark .service-detail .service-prose p { color: #d2d3d8; }
@media (max-width: 960px) {
  .services-intro { margin: 24px 0 36px; }
  .service-detail .service-prose p { font-size: 16px; }
  .service-detail .ticks { margin-top: 24px; }
}
