/* ---------- Fonts (self-hosted, from the Forma Projects design system) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/SourceSansPro-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/SourceSansPro-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --surface: #f8f8f8;
  --surface-white: #ffffff;
  --ink: #151515;
  --heading: #717171;
  --heading-light: #f0f0f0;
  --button: #4d4d4d;
  --on-button: #f8f8f8;
  --tint: #b3b3b3;
  --line: rgba(21, 21, 21, .14);
  --line-dark: rgba(240, 240, 240, .16);
  --error: #ce0909;
  --error-soft: #ffb0b0;
  --success: #007c00;
  --focus: #0000ff;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans Pro", "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 100px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 clamp(16px, 1.05vw + 10px, 18px)/1.55 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em, .italic { font-family: var(--font-display); font-style: italic; }
::selection { background: var(--ink); color: var(--surface); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--surface-white); border-radius: 2px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--surface); padding: 8px 16px; border-radius: var(--radius-md); text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small label: a hairline + text, used as section markers */
.marker { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; color: var(--heading); margin-bottom: 28px; }
.marker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.marker b { font-weight: 400; font-family: var(--font-display); font-style: italic; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--button); --fg: var(--on-button); position: relative; display: inline-flex; align-items: center; gap: 12px; font: inherit; font-size: 16px; line-height: 1; padding: 16px 22px; border-radius: var(--radius-md); border: 1px solid var(--bg); background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
@media (hover: hover) { .btn:hover::after { transform: translateY(0); } }
.btn .arrow { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--button); border-color: var(--button); }
.btn-ghost:hover { color: var(--on-button); border-color: var(--ink); }
.btn-light { --bg: var(--heading-light); --fg: var(--ink); }
.btn-light::after { background: var(--surface-white); }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--heading); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease); padding: 22px 0; }
.site-header.scrolled { background: rgba(248, 248, 248, .82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: clamp(210px, 26vw, 340px); transition: width .4s var(--ease); }
.scrolled .logo { width: clamp(180px, 19vw, 260px); }
.nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); }
.nav a.link { position: relative; text-decoration: none; font-size: 16px; color: var(--ink); padding: 8px 2px; }
.nav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--heading); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav a.link:hover::after, .nav a.link.active::after { transform: scaleX(1); }
.nav a.link.active { color: var(--heading); }
.nav .btn { padding: 12px 18px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 var(--gutter); background: var(--surface); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a.link { font-family: var(--font-display); font-size: clamp(36px, 10vw, 56px); padding: 4px 0; }
  .nav a.link::after { bottom: 6px; }
  .nav .btn { margin-top: 24px; }
  .menu-open .site-header { background: var(--surface); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(132px, 16vw, 200px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 960px) { .hero-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; } .hero-side p { margin-bottom: 0; } }
.hero h1 { font-size: clamp(46px, 8.2vw, 132px); line-height: .98; letter-spacing: -.025em; color: var(--ink); }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .12em .24em 0; margin-bottom: -.16em; }
@media (min-width: 700px) { .hero h1 .line { white-space: nowrap; } .hero h1 .line + .line { padding-left: .9em; } }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { color: var(--heading); }
.hero-side p { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; max-width: 34ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; margin-top: clamp(56px, 7vw, 96px); padding-top: 44px; }
.hero-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1440 / 681; background: #e9e9e9; }
.hero-figure img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; will-change: transform; }
.dim { position: absolute; color: var(--heading); pointer-events: none; }
.dim-top { left: 0; right: 0; top: 0; height: 28px; border-inline: 1px solid currentColor; }
.dim-top::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 1.6s var(--ease) .5s; }
.loaded .dim-top::before { transform: scaleX(1); }
.dim-label { position: absolute; z-index: 1; top: 3px; left: 50%; transform: translateX(-50%); background: var(--surface); padding: 0 14px; font-family: var(--font-display); font-style: italic; font-size: 15px; white-space: nowrap; }
.dim-side { position: absolute; top: 44px; bottom: 0; right: -32px; width: 28px; border-block: 1px solid currentColor; }
.dim-side::before { content: ""; position: absolute; top: 0; bottom: 0; left: 14px; width: 1px; background: currentColor; transform: scaleY(0); transform-origin: 50% 0; transition: transform 1.6s var(--ease) .9s; }
.loaded .dim-side::before { transform: scaleY(1); }
@media (max-width: 1360px) { .dim-side { display: none; } }

.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.hero-meta div { padding: 22px 20px 0 0; }
.hero-meta div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; color: var(--ink); }
.hero-meta span { font-size: 15px; color: var(--heading); }
.hero-meta .fn { font-size: .45em; vertical-align: super; margin-left: 2px; color: var(--heading); }
.smallprint { font-size: 13px; color: var(--heading); margin: 18px 0 0; }
@media (max-width: 640px) { .hero-meta { grid-template-columns: 1fr; } .hero-meta div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 22px; } }

/* ---------- Strap marquee ---------- */
.marquee { margin-top: var(--section); border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); color: var(--heading); white-space: nowrap; padding-right: 56px; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Approach / intro ---------- */
.section { padding: var(--section) 0; }
.intro-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 112px); } }
.intro-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.intro-figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-figure figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(248, 248, 248, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14px; }
h2.display { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; color: var(--heading); letter-spacing: -.02em; }
h2.display em { color: var(--ink); }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; margin-top: 32px; }
.intro-copy p:not(.lede) { color: #3a3a3a; max-width: 56ch; }
.audiences { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; }
.audiences li { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 15px; }

/* ---------- Services (dark) ---------- */
.services { background: var(--ink); color: var(--heading-light); border-radius: clamp(16px, 2.4vw, 28px); margin: 0 clamp(8px, 1.2vw, 16px); }
.services .marker { color: var(--tint); }
.services-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 960px) { .services-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.services-head h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.02em; }
.services-head h2 em { color: var(--tint); }
.services-head p { color: var(--tint); max-width: 46ch; }
.svc-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .svc-layout { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line-dark); }
.svc-btn { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 12px; padding: 26px 0; cursor: pointer; }
.svc-btn:focus-visible { outline: 2px solid var(--heading-light); outline-offset: 4px; box-shadow: none; }
.svc-num { font-size: 14px; color: var(--tint); font-variant-numeric: tabular-nums; }
.svc-title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; color: var(--heading-light); transition: transform .5s var(--ease), color .3s; }
.svc.open .svc-title { transform: translateX(10px); }
@media (hover: hover) { .svc-btn:hover .svc-title { transform: translateX(10px); } .svc:not(.open) .svc-btn:hover .svc-title { color: #ffffff; } }
.svc-price { font-size: 14px; color: var(--tint); text-align: right; white-space: nowrap; }
.svc-icon { display: inline-block; width: 12px; height: 12px; margin-left: 14px; position: relative; vertical-align: middle; }
.svc-icon::before, .svc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--heading-light); transition: transform .4s var(--ease); }
.svc-icon::after { transform: rotate(90deg); }
.svc.open .svc-icon::after { transform: rotate(0); }
.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.open .svc-panel { grid-template-rows: 1fr; }
.svc-panel > div { overflow: hidden; }
.svc-body { padding: 0 0 32px 60px; color: #d6d6d6; }
.svc-body .strap { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); color: var(--heading-light); margin-bottom: 14px; }
.svc-body p { max-width: 58ch; }
.svc-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.svc-body .tags li { border: 1px solid var(--line-dark); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 14px; color: var(--heading-light); }
.svc-body .partner { font-size: 14px; color: var(--tint); }
.svc-body .svc-mobile-img { border-radius: var(--radius-lg); margin-bottom: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; }
@media (min-width: 1024px) { .svc-body .svc-mobile-img { display: none; } }
.svc-stage { position: sticky; top: 110px; display: none; }
@media (min-width: 1024px) { .svc-stage { display: block; } }
.svc-frame { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: #222; }
.svc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.svc-frame img.on { opacity: 1; transform: scale(1); }
.svc-caption { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; color: var(--tint); }
.svc-caption .count { font-variant-numeric: tabular-nums; }

/* ---------- About ---------- */
.about-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1800 / 851; margin-bottom: clamp(56px, 7vw, 104px); }
.about-banner img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; will-change: transform; }
.about-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 7vw, 112px); } }
.about-grid h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; color: var(--heading); letter-spacing: -.02em; }
.about-grid h2 + p { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; margin-top: 24px; color: var(--ink); max-width: 24ch; }
.about-sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.about-sign img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.about-sign strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.about-sign span { color: var(--heading); font-size: 15px; }
.about-copy p { color: #2c2c2c; }
.about-copy .first { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.pillars div { padding: 24px 24px 0 0; }
.pillars h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.pillars p { font-size: 15px; color: var(--heading); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: clamp(340px, 42vw, 520px); display: flex; align-items: flex-end; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,248,248,.96) 0%, rgba(248,248,248,.86) 42%, rgba(248,248,248,0) 78%); z-index: 1; }
.cta-inner { position: relative; z-index: 2; padding: clamp(28px, 5vw, 72px); max-width: 640px; }
.cta-inner h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; color: var(--ink); letter-spacing: -.02em; }
.cta-inner h2 em { color: var(--heading); }
.cta-inner p { margin: 20px 0 28px; max-width: 44ch; }
@media (max-width: 700px) { .cta-band::before { background: linear-gradient(0deg, rgba(248,248,248,.97) 0%, rgba(248,248,248,.9) 55%, rgba(248,248,248,.2) 100%); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: clamp(56px, 7vw, 120px); } }
.contact-grid h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; color: var(--heading); letter-spacing: -.02em; }
.contact-grid h2 + p { margin-top: 24px; max-width: 46ch; }
.details { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.details li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.details .k { font-size: 15px; color: var(--heading); }
.details a { text-decoration: none; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.details a:hover { background-size: 100% 1px; }
@media (max-width: 520px) { .details li { grid-template-columns: 1fr; gap: 4px; } }
.contact-grid > * { min-width: 0; }
.details a { overflow-wrap: anywhere; }
.areas { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); }
.areas span:not(:last-child)::after { content: " ·"; color: var(--tint); }

.include { margin-top: 36px; }
.include h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.include ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.include li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; display: flex; gap: 14px; align-items: baseline; }
.include li::before { content: ""; flex: 0 0 7px; height: 7px; border: 1px solid var(--heading); transform: rotate(45deg) translateY(-2px); }

.contact-card { align-self: start; background: var(--surface-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.6vw, 52px); }
.card-label { font-size: 15px; color: var(--heading); margin-bottom: 8px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.email-big { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); line-height: 1.15; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.email-big:hover { background-size: 100% 1px; }
.copy { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 12px; cursor: pointer; transition: background-color .25s, border-color .25s; }
.copy svg { width: 14px; height: 14px; }
.copy:hover { border-color: var(--ink); }
.copy.done { color: var(--success); border-color: var(--success); }
.card-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.card-hint { font-size: 14px; color: var(--heading); margin: 0; }
.contact-card .details { margin-top: 28px; }
/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--tint); margin: 0 clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px); border-radius: clamp(16px, 2.4vw, 28px); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-top { display: grid; gap: 40px; padding-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-top .big { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.06; color: var(--heading-light); }
.footer-top .big em { color: var(--tint); }
.footer-top h3 { font-family: var(--font-body); font-size: 14px; color: var(--tint); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { padding: 4px 0; }
.footer-top li a { display: inline-block; padding: 8px 0; }
.footer-top a { color: var(--heading-light); text-decoration: none; }
.footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line-dark); padding-top: 28px; font-size: 14px; }
.footer-bottom img { width: 200px; height: auto; }
.to-top { color: var(--heading-light); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.loaded .hero h1 .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .js .reveal, .js .hero h1 .line > span { opacity: 1; transform: none; }
  .hero-figure img, .about-banner img { transform: none !important; }
}
@media print { .site-header, .progress, .marquee { display: none; } .services, .site-footer { background: none; color: var(--ink); } }

/* utility classes replacing inline styles (keeps CSP strict) */
.d1 { --d: .05s; } .d2 { --d: .18s; } .d3 { --d: .35s; }
figure.flush { margin: 0; }

/* privacy notice */
.privacy { padding: 0 0 var(--section); }
.privacy details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); color: var(--heading); }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: "+"; font-family: var(--font-body); font-size: 24px; color: var(--ink); transition: transform .4s var(--ease); }
.privacy details[open] summary::after { transform: rotate(45deg); }
.privacy .policy { padding: 0 0 32px; max-width: 72ch; font-size: 16px; color: #2c2c2c; }
.privacy .policy h3 { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--ink); margin: 20px 0 6px; }

/* ---------- Mobile refinements ---------- */
.email-big wbr { display: inline; }
.to-top { padding: 10px 0; }
.nav a.link { -webkit-tap-highlight-color: transparent; }

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .site-header { padding: 14px 0; }
  .site-header.scrolled { padding: 10px 0; }
  .logo, .scrolled .logo { width: clamp(100px, 52vw, 220px); }
  .site-header .wrap { gap: 12px; }
  .nav { overflow-y: auto; justify-content: safe center; padding-top: 88px; padding-bottom: 32px; }
  .nav a.link { font-size: clamp(32px, min(10vw, 9vh), 56px); }
}

@media (max-width: 700px) {
  .hero { padding-top: 112px; }
  .hero-media { margin-top: 44px; }
  /* taller crop of the hero photo on phones so it isn't a thin strip */
  .hero-figure { aspect-ratio: 4 / 3; }
  .dim-label { font-size: 14px; padding: 0 10px; }
  .marquee { padding: 18px 0; }
  .about-banner { aspect-ratio: 4 / 3; }
  .cta-band { min-height: 0; }
  .cta-inner { padding: 120px 24px 28px; }

  /* services list: price drops under the title, panel uses full width */
  .svc-btn { grid-template-columns: 32px 1fr; grid-template-areas: "num title" ". price"; row-gap: 6px; padding: 22px 32px 22px 0; position: relative; }
  .svc-num { grid-area: num; }
  .svc-title { grid-area: title; }
  .svc-price { grid-area: price; text-align: left; white-space: normal; }
  .svc-icon { position: absolute; right: 6px; top: 36px; margin: 0; }
  .svc.open .svc-title { transform: none; }
  .svc-body { padding: 0 0 28px 44px; }
  .svc-body .svc-mobile-img { max-width: 100%; }

  .email-big { font-size: clamp(22px, 7vw, 30px); }
  .card-ctas .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .marker::before { display: none; }
  .svc-body { padding-left: 0; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .contact-card { padding: 20px; }
}

/* phones/tablets: skip scroll parallax for smoother scrolling and battery */
@media (max-width: 768px), (hover: none) {
  #hero-img, #about-img { transform: none !important; }
}

/* ---------- Large text / zoom resilience ----------
   With phone text-size or page zoom turned up, long words (e.g. "Management")
   and images must never force a column wider than the screen. */
.hero-grid > *, .intro-grid > *, .services-head > *, .svc-layout > *, .about-grid > *,
.contact-grid > *, .footer-top > *, .svc, .svc-panel > div, .svc-body { min-width: 0; }
.svc-btn { grid-template-columns: 48px minmax(0, 1fr) auto; }
h1, h2, h3, .svc-title, .email-big, .hero-meta strong { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.btn { max-width: 100%; white-space: normal; text-align: center; }
.svc-body img, .svc-body .tags, .svc-body p { max-width: 100%; }
@media (max-width: 700px) {
  .svc-btn { grid-template-columns: 32px minmax(0, 1fr); }
  .hero h1 { font-size: clamp(34px, 11.5vw, 56px); }
}
.cta-inner { min-width: 0; flex: 1 1 auto; }
.email-big, .details a, .footer-top a, .hero h1 em, .hero h1 span { overflow-wrap: anywhere; }
.hero h1 .line > span { max-width: 100%; }
@media (max-width: 300px) {
  .svc-btn { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
  .svc-title { font-size: 21px; }
  .services-head h2, h2.display, .about-grid h2, .contact-grid h2, .cta-inner h2 { font-size: 30px; }
  .hero h1 { font-size: 32px; }
}
