/* Culbert Constructions — white / black identity */
:root {
  --bg: #ffffff;
  --surface: #f5f5f3;
  --surface-2: #ececea;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.28);

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --text-hero: clamp(1.875rem, 0.9rem + 2.9vw, 3.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem;
  --space-24: 6rem; --space-32: 8rem;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: var(--space-3) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); top: var(--space-4); }

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

/* Type */
.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: 'wdth' 68; letter-spacing: -0.005em; line-height: 0.92;
}
.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.prose p + p { margin-top: var(--space-4); }
.prose { color: var(--ink-2); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6); border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--header-h); }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav a:not(.btn) { text-decoration: none; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.04em; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav__phone { font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: var(--space-6) var(--gutter) var(--space-12); opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
  .nav a:not(.btn) { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 68; font-size: 2.25rem; line-height: 1.1; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav__phone { font-family: var(--font-body); font-variation-settings: 'wdth' 100; font-size: var(--text-lg); font-weight: 600; text-transform: none; }
  .nav .btn { margin-top: var(--space-8); }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 900px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #2a2a2a; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 7s linear; position: absolute; inset: 0; }
.hero__media img.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 38%, rgba(0,0,0,0.05) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-block: var(--space-24) clamp(2rem, 4vw, 3.5rem); display: grid; gap: var(--space-6); }
.hero h1 { font-size: var(--text-hero); max-width: 22ch; }
.hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-8); }
.hero__row p { max-width: 44ch; font-size: var(--text-base); line-height: 1.45; color: rgba(255,255,255,0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__dots { display: flex; gap: var(--space-2); }
.hero__dots button { width: 34px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.hero__dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,0.4); }
.hero__dots button[aria-current='true']::before { background: #fff; }

/* Page hero (interior) */
.page-hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--text-2xl); margin-top: var(--space-4); max-width: 18ch; }
.page-hero .lede { margin-top: var(--space-6); }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--surface { background: var(--surface); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-6); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--text-xl); margin-top: var(--space-3); max-width: 20ch; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.split h2 { font-size: var(--text-2xl); margin-top: var(--space-4); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: var(--space-12); }
.stat { padding: var(--space-6) var(--space-4) 0 0; }
.stat + .stat { padding-left: var(--space-4); border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 68; font-size: var(--text-xl); line-height: 1; text-transform: uppercase; }
.stat span { display: block; font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-2); letter-spacing: 0.04em; }

/* Image band */
.band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* Services list */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-list li { display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: baseline; gap: var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.svc-list .n { font-size: var(--text-xs); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.svc-list h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 68; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1; }
.svc-list .tag { font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; text-align: right; }

/* Project grid */
.proj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.proj { grid-column: span 12; text-decoration: none; display: block; }
.proj__img { overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.proj:hover .proj__img img { transform: scale(1.04); }
.proj__meta { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); }
.proj__meta h3 { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 68; text-transform: uppercase; font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); line-height: 1; }
.proj__meta span { font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 720px) {
  .proj { grid-column: span 6; }
  .proj-grid--feature .proj:nth-child(1) { grid-column: span 12; }
  .proj-grid--feature .proj:nth-child(1) .proj__img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1080px) {
  .proj-grid--all .proj { grid-column: span 4; }
  .proj-grid--feature .proj:nth-child(1) { grid-column: span 7; }
  .proj-grid--feature .proj:nth-child(1) .proj__img { aspect-ratio: 4 / 3; }
  .proj-grid--feature .proj:nth-child(2) { grid-column: span 5; margin-top: clamp(4rem, 10vw, 9rem); }
  .proj-grid--feature .proj:nth-child(2) .proj__img { aspect-ratio: 4 / 5; }
  .proj-grid--feature .proj:nth-child(3) { grid-column: 2 / span 5; }
  .proj-grid--feature .proj:nth-child(4) { grid-column: span 6; }
  .proj-grid--feature .proj:nth-child(4) .proj__img { aspect-ratio: 3 / 2; }
}
.proj[hidden] { display: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.filters button { min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.04em; transition: all 0.2s var(--ease); }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.count { font-size: var(--text-sm); color: var(--muted); }

/* Principles */
.principles { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.principle { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--space-4); padding: var(--space-8) 0; border-bottom: 1px solid var(--line); }
.principle .n { font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.08em; padding-top: 6px; }
.principle h3 { font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.principle p { color: var(--ink-2); margin-top: var(--space-2); max-width: 48ch; }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
  .principle:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Testimonials */
.quotes { display: grid; gap: var(--space-8); }
.quote-stage { position: relative; min-height: 1px; }
.quote { margin: 0; display: none; }
.quote.is-active { display: block; animation: fadeUp 0.6s var(--ease); }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; max-width: 34ch; }
.quote blockquote::before { content: '\201C'; display: block; font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 0.6; margin-bottom: var(--space-4); }
.quote figcaption { margin-top: var(--space-6); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.quote figcaption span { color: var(--muted); font-weight: 500; }
.quote-ctrl { display: flex; align-items: center; gap: var(--space-4); }
.quote-ctrl button { width: 48px; height: 48px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s var(--ease); }
.quote-ctrl button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.quote-ctrl svg { width: 18px; height: 18px; }
.quote-ctrl .count { font-variant-numeric: tabular-nums; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* CTA band */
.cta { position: relative; color: #fff; overflow: hidden; background: #222; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.cta__in { position: relative; z-index: 2; padding-block: clamp(4.5rem, 11vw, 9rem); display: grid; gap: var(--space-8); justify-items: start; }
.cta h2 { font-size: var(--text-2xl); max-width: 16ch; }
.cta p { max-width: 44ch; color: rgba(255,255,255,0.9); font-size: var(--text-lg); line-height: 1.45; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem) var(--space-8); font-size: var(--text-sm); }
.footer__grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: var(--space-6); color: var(--ink-2); max-width: 34ch; }
.footer h2 { font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--space-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: var(--space-6); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--text-xs); }
.social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s var(--ease); }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.social svg { width: 18px; height: 18px; }

/* About */
.portrait { background: var(--surface-2); overflow: hidden; aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.caption { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-3); letter-spacing: 0.04em; }
.pull { font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; }

/* Services page */
.svc-page { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .svc-page { grid-template-columns: 5fr 7fr; } }
.svc-page .sticky { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
.checks { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.card { background: var(--surface); padding: clamp(1.5rem, 3vw, 2.5rem); }
.card h3 { font-size: var(--text-lg); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-list > a, .contact-list > div { display: block; padding: var(--space-6) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list small { display: block; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2); }
.contact-list strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 68; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.05; word-break: break-word; }
.contact-list .email strong { font-size: clamp(1.125rem, 0.9rem + 1vw, 1.75rem); text-transform: none; font-variation-settings: 'wdth' 80; }
.contact-list a:hover strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.form { display: grid; gap: var(--space-6); background: var(--surface); padding: clamp(1.5rem, 4vw, 3rem); }
.form h2 { font-size: var(--text-xl); }
.form__row { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label, .field legend { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); background: #fff; border-radius: 0;
  font: inherit; color: var(--ink); transition: border-color 0.2s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field .err { font-size: var(--text-xs); color: #b3261e; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: var(--space-2); }
.chips label { position: relative; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: var(--text-sm); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; transition: all 0.2s var(--ease); }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.form__foot small { color: var(--muted); font-size: var(--text-xs); }
.form-status { padding: var(--space-6); background: #fff; border: 1px solid var(--ink); display: none; }
.form-status.is-shown { display: block; animation: fadeUp 0.5s var(--ease); }
.form-status h3 { font-size: var(--text-lg); font-weight: 700; }
.form-status p { margin-top: var(--space-2); color: var(--ink-2); }

/* Project detail */
.pd-head { display: grid; gap: var(--space-6); grid-template-columns: 1fr; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .pd-head { grid-template-columns: 1fr auto; align-items: end; } }
.pd-head h1 { font-size: var(--text-2xl); margin-top: var(--space-4); }
.pd-meta { display: flex; gap: clamp(1.5rem, 4vw, 3rem); }
.pd-meta div small { display: block; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pd-meta div b { display: block; font-weight: 600; margin-top: 2px; }
.back { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.gallery { --g: clamp(0.5rem, 1.2vw, 1rem); }
.gallery button { padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.gallery button img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery > button:first-child { aspect-ratio: 16 / 9; margin-bottom: var(--g); }
.gallery > button:first-child img { height: 100%; object-fit: cover; }
.masonry { columns: 2; column-gap: var(--g); }
.masonry button { break-inside: avoid; margin-bottom: var(--g); }
@media (min-width: 900px) { .masonry { columns: 3; } }
.pd-next { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-12); border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
.pd-next a { text-decoration: none; }
.pd-next small { display: block; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pd-next strong { font-family: var(--font-display); font-weight: 800; font-variation-settings: 'wdth' 68; text-transform: uppercase; font-size: var(--text-xl); line-height: 1; }
.pd-next a:last-child { text-align: right; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: #fff; display: none; grid-template-rows: auto 1fr auto; }
.lb.is-open { display: grid; }
.lb__top, .lb__bot { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--gutter); font-size: var(--text-sm); }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb button { width: 48px; height: 48px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb button:hover { background: var(--ink); color: #fff; }
.lb svg { width: 20px; height: 20px; }
.lb__nav { display: flex; gap: var(--space-2); }

/* Reveal */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Accreditations */
.badges { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3rem); }
.badges__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-8); }
.badges__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.badges__list img { height: clamp(52px, 6vw, 72px); width: auto; filter: grayscale(1); opacity: 0.85; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.badges__list li:hover img { filter: none; opacity: 1; }

.form-error { color: #b3261e; font-size: var(--text-sm); }
.form-error a { color: inherit; }
button[disabled] { opacity: 0.6; cursor: wait; }
