/* CBC Communication — one-page site styles */

/* Self-hosted fonts (SIL OFL 1.1, from @fontsource 5.3.0, latin subset) */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/geist-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/geist-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/geist-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/geist-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/geist-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations"), url(fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations"), url(fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); }

:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --sand: #f4f2ec;
  --line: #e3e0d8;
  --line-strong: #cfcabe;
  --ink: #141b2e;
  --ink-hover: #253052;
  --ink-deep: #0f1526;
  --text: #2a2c33;
  --muted: #4a4a4f;
  --muted-2: #66666b;
  --gold: #b8925a;
  --gold-dark: #85652f;
  --gold-light: #d9bf8f;
  --navy-line: #2c3550;
  --navy-soft: #1a2238;
  --error: #a3342b;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --pad-x: clamp(20px, 4vw, 40px);
  --pad-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-dark); }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- Shared ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-dark); margin: 0;
}
.section-title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.03em;
  color: var(--ink); text-wrap: balance;
}
.lead { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 460px; text-wrap: pretty; }
.section-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px 64px; align-items: end; margin-bottom: 48px;
}
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head--flush { margin-bottom: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 10px; border-radius: 50px; background: var(--sand); font-size: 13px; color: var(--text); }
.pill-dark {
  display: inline-block; padding: 6px 10px; border-radius: 50px; background: var(--ink);
  color: var(--bg); font-size: 12px; font-weight: 500;
}
.pill-light {
  display: inline-block; padding: 6px 10px; border-radius: 50px; background: rgba(251, 250, 246, .94);
  color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 500;
  letter-spacing: -.01em; cursor: pointer; border: 1px solid var(--ink);
  transition: background 200ms, color 200ms, transform 240ms var(--ease), box-shadow 240ms;
}
.btn-primary { background: var(--ink); color: var(--bg); padding-right: 10px; }
.btn-primary:hover { background: var(--ink-hover); color: var(--bg); transform: translateY(-2px); box-shadow: rgba(20, 27, 46, .22) 0 12px 24px -8px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* Reveal on scroll (only when JS is active) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.site-nav {
  pointer-events: auto; width: 100%; max-width: 1200px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 8px 8px 8px 16px;
  background: rgba(251, 250, 246, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 50px; box-shadow: rgba(20, 27, 46, .08) 0 2px 10px 0;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--text);
  padding: 10px 14px; border-radius: 50px; transition: background 200ms var(--ease), color 200ms;
}
.nav-links a:hover { background: #efece4; color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: border-color 200ms, transform 200ms var(--ease);
}
.icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.call-btn {
  height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; border-radius: 50px;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500;
  transition: background 200ms, transform 200ms var(--ease);
}
.call-btn:hover { background: var(--ink-hover); color: var(--bg); transform: translateY(-1px); }
.call-btn .call-label { display: none; }
@media (min-width: 1100px) { .call-btn .call-label { display: inline; } }
.menu-btn { flex-direction: column; gap: 5px; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); display: block; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(251, 250, 246, .97); backdrop-filter: blur(12px);
  padding: 100px 24px 120px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--serif); font-size: 40px; letter-spacing: -.02em; color: var(--ink); padding: 10px 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline;
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav-actions > a.icon-btn { display: none; }
  .call-btn { width: 44px; padding: 0; justify-content: center; }
}
@media (min-width: 900px) { .menu-btn, .mobile-menu, .mobile-bar { display: none !important; } }

/* ---------- Hero ---------- */
.hero { max-width: 1280px; margin: 0 auto; padding: clamp(120px, 14vw, 160px) var(--pad-x) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  margin: 0; font-family: var(--mono); font-weight: 400; font-size: 12px; line-height: 1.5; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-dark); display: flex; align-items: center; gap: 10px;
}
.hero h1::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.hero-tagline {
  margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.02; letter-spacing: -.035em; color: var(--ink); text-wrap: balance;
}
.hero-tagline em { font-style: italic; color: var(--gold-dark); }
.hero-text { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 50px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; color: var(--text);
}
.badges .mark {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sand); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: var(--gold-dark);
}
.hero-media { position: relative; }
.hero-media .bg-illu {
  position: absolute; inset: -6% -10% -10% 12%; border-radius: 24px;
  background: url(illu-geometrique.jpg) center / cover; opacity: .55;
}
.hero-figure {
  position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3;
  box-shadow: rgba(20, 27, 46, .05) -40px 50px 60px 0, rgba(20, 27, 46, .10) -10px 16px 30px 0;
  border: 1px solid rgba(255, 255, 255, .6);
}
.hero-figure video { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 27, 46, 0) 55%, rgba(20, 27, 46, .55) 100%);
}
.video-toggle {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(20, 27, 46, .55); backdrop-filter: blur(10px);
  color: var(--bg); font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 200ms var(--ease), background 200ms;
}
.video-toggle:hover { transform: scale(1.06); background: rgba(20, 27, 46, .8); }

/* ---------- Savoir-faire ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 200ms;
}
.service:hover { transform: translateY(-6px); box-shadow: rgba(20, 27, 46, .04) 0 2px 2px 0, rgba(20, 27, 46, .10) 0 24px 40px -16px; border-color: var(--line-strong); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--sand); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.service:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 50px; background: rgba(251, 250, 246, .92);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink);
}
.service-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
.service p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.service details { margin-top: auto; }
.service summary {
  list-style: none; cursor: pointer; display: inline-flex; padding: 10px 0; font-weight: 500; font-size: 15px;
  color: var(--ink); border-bottom: 1px solid var(--ink);
}
.service summary::-webkit-details-marker { display: none; }
.service summary:hover { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }
.service summary .less { display: none; }
.service details[open] summary .more { display: none; }
.service details[open] summary .less { display: inline; }
.service details ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.service details li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--text); }
.service details li::before { content: "—"; color: var(--gold-dark); font-family: var(--mono); font-size: 12px; padding-top: 2px; }
.service-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service-foot a { font-size: 14px; color: var(--muted-2); padding: 10px 0; }
.service-foot a:hover { color: var(--ink); }

/* ---------- Réalisations (case studies) ---------- */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cases { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); }
.case { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .case:nth-of-type(even) { flex-direction: row-reverse; } }
.case-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.case-visual { flex: 1.45 1 440px; min-width: 0; }
.case-num { display: flex; align-items: center; gap: 14px; }
.case-num b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--gold); }
.case h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.case-copy > p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.case-client { font-size: 14px; color: var(--ink); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-client span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-right: 10px; }
.case-note { font-size: 13px !important; color: var(--muted-2) !important; }
.case-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px;
  border-radius: 8px; border: 1px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background 200ms, color 200ms;
}
.case-cta:hover { background: var(--ink); color: var(--bg); }
.case-cta .btn-dot { width: 30px; height: 30px; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: pointer; background: var(--sand); text-align: left;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot .label {
  position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 8px 10px; border-radius: 10px;
  background: rgba(251, 250, 246, .94); font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; pointer-events: none;
}
.shot .pill-light { position: absolute; top: 10px; left: 10px; pointer-events: none; }
.duo { position: relative; padding-bottom: clamp(40px, 8%, 72px); }
.duo .shot.main { width: 88%; aspect-ratio: 4 / 3; border-radius: 18px; }
.duo .shot.inset {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 3; border: 6px solid #fff; border-radius: 16px;
  box-shadow: rgba(20, 27, 46, .18) 0 20px 40px -12px;
}
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quad .shot { aspect-ratio: 4 / 5; }
.quad .shot img { object-position: center 72%; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.pair .shot { aspect-ratio: 4 / 3; }
.extras { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); padding-top: 40px; }
.extras-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.extras-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; color: var(--ink); }
.extras-head span { font-size: 14px; color: var(--muted-2); }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.extra {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--bg); cursor: pointer; text-align: left; transition: border-color 200ms, transform 240ms var(--ease);
}
.extra:hover { border-color: var(--ink); transform: translateY(-2px); }
.extra img { width: 120px; height: 100px; object-fit: cover; border-radius: 10px; }
.extra-text { display: flex; flex-direction: column; gap: 4px; }
.extra-text b { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.extra-text span { font-size: 13px; color: var(--muted-2); }
.extra-text em { font-style: normal; font-size: 13px; color: var(--gold-dark); }

/* ---------- Agence ---------- */
.agency { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.agency .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }
.agency-copy { display: flex; flex-direction: column; gap: 24px; }
.agency .kicker { color: var(--gold-light); }
.agency .section-title { color: var(--bg); }
.agency-copy > p { margin: 0; font-size: 16px; line-height: 1.6; color: #c9ccd6; max-width: 520px; text-wrap: pretty; }
.team { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; list-style: none; padding: 0; }
.team li { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 50px; border: 1px solid var(--navy-line); background: var(--navy-soft); }
.team img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.team b { display: block; font-size: 15px; font-weight: 500; color: var(--bg); }
.team span { display: block; font-size: 13px; color: #a9aebb; }
.agency-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; margin-top: 16px; border: 1px solid var(--navy-line); }
.agency-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--navy-line);
  border: 1px solid var(--navy-line); border-radius: 16px; overflow: hidden; list-style: none; margin: 0; padding: 0;
}
.pillars li { background: var(--ink); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background 300ms; }
.pillars li:hover { background: var(--navy-soft); }
.pillars span { font-family: var(--mono); font-size: 12px; color: var(--gold-light); }
.pillars h3 { margin: auto 0 0; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; color: var(--bg); }
.pillars p { margin: 0; font-size: 15px; line-height: 1.5; color: #c9ccd6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 440px; }
.coords { display: flex; flex-direction: column; border-top: 1px solid var(--line); font-style: normal; }
.coords a { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.coords a:hover { color: var(--gold-dark); }
.coords .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.coords .v { font-size: 17px; line-height: 1.4; word-break: break-word; }
.coords .v.big { font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px);
  box-shadow: rgba(20, 27, 46, .04) 0 1px 1px 0, rgba(20, 27, 46, .06) 0 8px 24px -8px;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label, .contact-form legend { font-size: 13px; font-weight: 500; color: var(--text); }
.req { color: var(--gold-dark); }
.field input, .field textarea {
  padding: 12px; border: none; border-bottom: 1px solid #8f8c84; background: var(--sand); border-radius: 4px 4px 0 0;
  font: 400 16px/1.5 var(--sans); color: var(--ink); outline: none; transition: border-color 200ms, box-shadow 200ms;
}
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); box-shadow: 0 2px 0 0 var(--gold); }
.field input[aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); }
.contact-form fieldset { border: none; margin: 0; padding: 0; }
.contact-form legend { padding: 0; margin-bottom: 10px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types label span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 50px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 200ms, color 200ms, border-color 200ms;
}
.types label:hover span { border-color: var(--ink); }
.types input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.types input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-hint { margin: 0; padding: 14px; border: 1px dashed #b9b5aa; border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-hint a { text-decoration: underline; text-underline-offset: 2px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-fields > .field { grid-column: span 2; }
@media (min-width: 560px) { .form-fields > .field:not(.field--wide) { grid-column: span 1; } }
.form-loading { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted-2); }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fbeeec; color: var(--error); font-size: 14px; line-height: 1.5; }
.field-desc { margin: 0; font-size: 13px; color: var(--muted-2); }
.field select {
  height: 48px; padding: 0 12px; border: none; border-bottom: 1px solid #8f8c84; background: var(--sand);
  border-radius: 4px 4px 0 0; font: 400 16px var(--sans); color: var(--ink);
}
.field input[type="file"] { height: auto; padding: 12px; background: #fff; border: 1px dashed #b9b5aa; border-radius: 12px; }
.field-check label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; }
.field-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-bottom-color: var(--error); }
.submit:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-hint b { color: var(--ink); font-weight: 600; }
.submit {
  height: 54px; border-radius: 8px; border: none; background: var(--ink); color: var(--bg); font: 500 16px var(--sans);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 200ms, transform 240ms var(--ease), box-shadow 240ms;
}
.submit:hover { background: var(--ink-hover); transform: translateY(-1px); box-shadow: rgba(20, 27, 46, .22) 0 12px 24px -8px; }
.form-done { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; min-height: 420px; justify-content: center; }
.form-done[hidden] { display: none; }
.form-done .check { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.form-done h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; color: var(--ink); }
.form-done p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.form-done .btn { align-self: flex-start; height: 44px; font-size: 15px; }

/* ---------- Legal pages ---------- */
.page-header {
  max-width: 820px; margin: 0 auto; padding: 24px var(--pad-x); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line);
}
.back-link { font-size: 15px; font-weight: 500; color: var(--ink); padding: 10px 0; }
.legal-page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad-x) clamp(56px, 7vw, 88px); }
.legal-page h1 {
  margin: 12px 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -.03em; color: var(--ink);
}
.legal-page h2 { margin: 36px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal-page p { margin: 0 0 12px; }
.legal-page ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page code { font-family: var(--mono); font-size: 13px; background: var(--sand); padding: 1px 6px; border-radius: 4px; }
.legal-page a { text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { margin-top: 36px !important; font-size: 13px !important; color: var(--muted-2) !important; }
.page-footer {
  max-width: 820px; margin: 0 auto; padding: 24px var(--pad-x) 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-2);
}
.page-footer nav { display: flex; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) var(--pad-x) 40px; }
@media (max-width: 899px) { .site-footer { padding-bottom: 120px; } }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.footer-quote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); max-width: 900px; }
.footer-quote em { color: var(--gold-dark); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.footer-cols > div { display: flex; flex-direction: column; gap: 4px; }
.footer-cols h2 { margin: 0 0 8px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.footer-cols address { font-style: normal; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 48; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 6px; border-radius: 16px; background: rgba(251, 250, 246, .9); backdrop-filter: blur(14px); border: 1px solid var(--line);
  box-shadow: rgba(20, 27, 46, .14) 0 10px 30px -6px;
}
.mobile-bar a { height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 500; }
.mobile-bar .call { background: var(--ink); color: var(--bg); }
.mobile-bar .quote { border: 1px solid var(--ink); color: var(--ink); background: #fff; }

/* ---------- Project dialog ---------- */
.project-dialog {
  width: calc(100% - 32px); max-width: 1040px; max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line);
  border-radius: 24px; background: var(--bg); color: var(--text); overflow: auto;
}
.project-dialog::backdrop { background: rgba(15, 21, 38, .6); backdrop-filter: blur(6px); }
.dialog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.dialog-media { background: var(--ink-deep); display: flex; flex-direction: column; gap: 12px; padding: 12px; min-height: 300px; }
.dialog-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; overflow: hidden; min-height: 260px; }
.dialog-stage img { max-width: 100%; max-height: min(68vh, 600px); object-fit: contain; border-radius: 10px; }
.dialog-stage .pill-light { position: absolute; left: 12px; bottom: 12px; }
.dialog-thumbs { display: flex; gap: 8px; justify-content: center; }
.dialog-thumbs button {
  width: 72px; height: 54px; padding: 0; border-radius: 8px; border: 2px solid transparent; opacity: .6; overflow: hidden;
  background: var(--navy-soft); cursor: pointer; transition: opacity 200ms;
}
.dialog-thumbs button:hover, .dialog-thumbs button[aria-pressed="true"] { opacity: 1; }
.dialog-thumbs button[aria-pressed="true"] { border-color: var(--gold-light); }
.dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog-body { padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.dialog-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 18px; color: var(--ink);
}
.dialog-close:hover { border-color: var(--ink); }
.dialog-body .pill-dark { align-self: flex-start; }
.dialog-body h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); padding-right: 40px; }
.dialog-body > p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.dialog-body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.dialog-body dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); padding-top: 3px; }
.dialog-body dd { margin: 0; color: var(--ink); }
.dialog-body .dialog-cta {
  margin-top: auto; height: 50px; border-radius: 8px; background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500;
}
.dialog-body .dialog-cta:hover { background: var(--ink-hover); color: var(--bg); }

/* ---------- Cookie consent banner (assets/cookie-consent.js) ---------- */
.cc-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  max-height: calc(100vh - 24px); overflow-y: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: rgba(20, 27, 46, .18) 0 18px 40px -12px; padding: 20px 20px 16px; font-size: 14px; line-height: 1.55;
}
@media (min-width: 640px) { .cc-banner { left: 24px; right: auto; bottom: 24px; width: 440px; } }
.cc-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.cc-text { margin: 0 0 14px; color: var(--muted); }
.cc-text a { text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-btn { border: 0; cursor: pointer; border-radius: 8px; font-size: 14px; font-weight: 500; min-height: 44px; padding: 0 14px; }
.cc-btn--solid { background: var(--ink); color: var(--bg); }
.cc-btn--solid:hover { background: var(--ink-hover); }
.cc-btn--link { grid-column: 1 / -1; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-btn--link:hover { color: var(--gold-dark); }
.cc-details { margin: 10px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cc-details legend { padding: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.cc-essential { margin: 0; color: var(--muted); }
.cc-option { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; }
.cc-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.cc-option label { font-weight: 500; color: var(--ink); cursor: pointer; }
.cc-help { grid-column: 2; font-size: 13px; color: var(--muted-2); }
.cc-status { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.cc-status:empty { display: none; }
.cookie-settings-link { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ink); font-size: inherit; }
.cookie-settings-link:hover { color: var(--gold-dark); }
