/* Harebell Woodwork — redesign trial (Oct 2026) */

:root {
  /* Colour — drawn from the logo: navy wordmark ground, harebell blue, cream */
  --paper: #f6f4ee;
  --sand: #ece8de;
  --ink: #232838;
  --ink-2: #565c6e;
  --navy: #343b53;
  --night: #1d2130;
  --bell: #8297d8;
  --bell-deep: #4a5ea3;
  --cream: #fcffef;
  --line: rgba(35, 40, 56, 0.14);
  --line-light: rgba(252, 255, 239, 0.18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
::selection { background: var(--bell); color: var(--night); }

:focus-visible { outline: 2px solid var(--bell-deep); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hero :focus-visible, .site-header.on-dark :focus-visible { outline-color: var(--bell); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--bell-deep); }
.dark h1 em, .dark h2 em, .hero h1 em { color: var(--bell); }

p { margin: 0 0 1em; text-wrap: pretty; }

.display { font-size: clamp(44px, 7.4vw, 104px); }
.h1 { font-size: clamp(40px, 5.6vw, 76px); }
.h2 { font-size: clamp(32px, 4vw, 54px); }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.lede { font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 36; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 20px; align-self: start;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.dark .eyebrow, .hero .eyebrow { color: rgba(252, 255, 239, 0.72); }

.muted { color: var(--ink-2); }
.dark .muted { color: rgba(252, 255, 239, 0.7); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--night); color: var(--cream); }
.sand { background: var(--sand); }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { max-width: 16ch; }

/* ---------- Buttons & links ---------- */

.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--bell-deep); }
.btn:active { transform: translateY(1px); }
.btn--light { --bg: var(--cream); --fg: var(--night); }
.btn--light:hover { --bg: var(--bell); --fg: var(--night); }
.btn--ghost { background: transparent; color: var(--bg); }
.btn--ghost:hover { --bg: var(--ink); background: var(--ink); color: var(--cream); }
.dark .btn--ghost, .hero .btn--ghost { --bg: var(--cream); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--cream); color: var(--night); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.arrow-link .arrow, .btn .arrow { transition: transform .3s var(--ease); }
.arrow-link:hover .arrow, .btn:hover .arrow, .tile:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  view-transition-name: site-header;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  background: rgba(246, 244, 238, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Over a dark hero: transparent until the page scrolls */
.site-header.on-dark { background: transparent; box-shadow: none; color: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Logo — inline SVG rebuilt from the original Pixelmator file; wordmark colour follows the background */
:root { --logo-word: #232838; --logo-sub: #778cd4; }
.on-dark, .dark, .site-footer, .menu-open .site-header { --logo-word: var(--cream); --logo-sub: var(--bell); }

.logo { display: block; flex: none; border-radius: 6px; }
.logo-svg { display: block; width: clamp(168px, 15vw, 208px); height: auto; overflow: visible; }
.site-footer .logo-svg { width: 220px; }
.lg-word { fill: var(--logo-word); transition: fill .35s var(--ease); }
.lg-sub { fill: var(--logo-sub); transition: fill .35s var(--ease); }
.lg-disc, .lg-bouquet, .lg-word path, .lg-sub path { transform-box: fill-box; }
.lg-disc { transform-origin: center; }
.lg-bouquet { transform-origin: 42% 97%; }

.is-intro .lg-disc { animation: lg-disc .9s var(--ease) both; }
.is-intro .lg-bouquet { animation: lg-bloom 1.4s cubic-bezier(.34, 1.5, .64, 1) .2s both; }
.is-intro .lg-word path { animation: lg-letter .8s var(--ease) both; animation-delay: calc(.45s + var(--i) * 45ms); }
.is-intro .lg-sub path { animation: lg-letter-x .7s var(--ease) both; animation-delay: calc(.95s + var(--i) * 35ms); }
.is-swaying .lg-bouquet { animation: lg-sway 1.6s ease-in-out; }

@keyframes lg-disc { from { opacity: 0; transform: scale(.55); } }
@keyframes lg-bloom { from { opacity: 0; transform: translateY(10%) rotate(-12deg) scale(.6); } 40% { opacity: 1; } }
@keyframes lg-letter { from { opacity: 0; transform: translateY(45%); } }
@keyframes lg-letter-x { from { opacity: 0; transform: translateX(-60%); } }
@keyframes lg-sway {
  0% { transform: rotate(0); }
  18% { transform: rotate(-6deg); }
  42% { transform: rotate(4deg); }
  66% { transform: rotate(-2deg); }
  84% { transform: rotate(.8deg); }
  100% { transform: rotate(0); }
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.on-dark .nav .btn { --bg: var(--cream); --fg: var(--night); }
.on-dark .nav .btn:hover { --bg: var(--bell); }

.menu-btn {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: var(--header-h) var(--gutter) 48px;
    background: var(--night); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a:not(.btn) {
    font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 96;
    font-size: clamp(40px, 11vw, 56px); font-weight: 400; line-height: 1.15;
    opacity: 0; transform: translateY(12px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; --bg: var(--cream); --fg: var(--night); opacity: 0; transition: opacity .5s var(--ease) .25s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a:not(.btn), .menu-open .nav .btn { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .logo { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
}

/* Pages without a dark hero start below the header */
.page { padding-top: var(--header-h); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream); background: var(--night); overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(18, 21, 31, .72) 0%, rgba(18, 21, 31, .45) 38%, rgba(18, 21, 31, 0) 68%),
    linear-gradient(to top, rgba(18, 21, 31, .8) 0%, rgba(18, 21, 31, .2) 40%, rgba(18, 21, 31, 0) 65%),
    linear-gradient(to bottom, rgba(18, 21, 31, .5), transparent 22%);
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(to top, rgba(18, 21, 31, .88) 0%, rgba(18, 21, 31, .6) 55%, rgba(18, 21, 31, .5) 100%); }
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 7vh, 80px); }
.hero h1 { max-width: 13ch; margin-bottom: 28px; }
.hero .intro { max-width: 46ch; font-size: clamp(17px, 1.4vw, 19px); color: rgba(252, 255, 239, .85); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-foot {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(40px, 8vh, 88px); padding-top: 20px; border-top: 1px solid var(--line-light);
  font-size: 13.5px; color: rgba(252, 255, 239, .75);
}
.hero-caption { min-height: 1.5em; transition: opacity .5s var(--ease); }
.hero-dots { display: flex; gap: 8px; margin-left: auto; }
.hero-dots button {
  position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hero-dots button::before, .hero-dots button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(252, 255, 239, .3);
}
.hero-dots button::after { background: var(--cream); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dot-progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation: none; transform: scaleX(1); }
@keyframes dot-progress { to { transform: scaleX(1); } }

/* ---------- Photos placed beside copy ---------- */

.intro-side, .process-head, .cta-top, .page-head-grid { min-width: 0; }
figure.intro-media, figure.service-media, figure.value-media, figure.head-media,
.process-head figure, .cta-media, .collage figure {
  margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand);
}
:where(.intro-media, .service-media, .value-media, .head-media, .process-head figure, .cta-media, .collage figure) img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease);
}
.service:hover .service-media img, .values > div:hover img { transform: scale(1.04); }

.intro-media { max-width: 340px; margin-top: 8px; }
.intro-media img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .intro-media { max-width: none; } .intro-media img { aspect-ratio: 4 / 3; } }

/* ---------- Intro ---------- */

.intro-copy .lede { margin-bottom: 32px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.25; font-variation-settings: "SOFT" 50, "opsz" 36; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line);
}
.service:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.service-media { margin-bottom: 24px !important; }
.service-media img { height: clamp(190px, 16vw, 250px); }
.service .num { display: block; font-size: 13px; color: var(--bell-deep); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 34ch; }
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(2n) { padding-left: 0; border-left: 0; }
  .service { padding: 24px 0 28px; }
}

/* ---------- Work tiles (home) ---------- */

.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.tile { position: relative; display: block; text-decoration: none; overflow: hidden; border-radius: var(--radius); background: var(--sand); color: var(--cream); }
.tile:nth-child(1) { grid-column: span 7; aspect-ratio: 4 / 3.4; }
.tile:nth-child(2) { grid-column: span 5; aspect-ratio: 4 / 4.76; }
.tile:nth-child(3) { grid-column: span 5; aspect-ratio: 4 / 4.76; }
.tile:nth-child(4) { grid-column: span 7; aspect-ratio: 4 / 3.4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 31, .7), transparent 50%); }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  padding: clamp(18px, 2.2vw, 32px);
}
.tile-label h3 { font-size: clamp(22px, 2.2vw, 32px); }
.tile-label span { font-size: 14px; opacity: .85; white-space: nowrap; }
@media (max-width: 700px) {
  .tile:nth-child(n) { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* ---------- Process ---------- */

.process-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.process-head img { aspect-ratio: 16 / 9; }
@media (max-width: 800px) { .process-head { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); counter-reset: step; }
.steps li { padding-top: 28px; border-top: 1px solid var(--line-light); }
.steps .num { display: block; font-family: var(--serif); font-size: 15px; color: var(--bell); margin-bottom: 20px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: rgba(252, 255, 239, .72); margin: 0; }
.process-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Team teaser / feature ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.feature figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature .h2 { margin-bottom: 24px; }
.feature p { color: var(--ink-2); margin-bottom: 32px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band { padding: clamp(80px, 10vw, 140px) 0; background: var(--navy); color: var(--cream); }
.cta-band .h1 { max-width: 14ch; }
.cta-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.cta-media img { aspect-ratio: 4 / 5; max-height: 460px; }
@media (max-width: 760px) { .cta-top { grid-template-columns: 1fr; } .cta-media img { aspect-ratio: 4 / 3; } }
.cta-band h2 em { color: var(--bell); }
.cta-band .eyebrow { color: rgba(252, 255, 239, .72); }
.cta-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); border-top: 1px solid var(--line-light); }
.cta-rows strong { overflow-wrap: anywhere; }
.cta-rows a {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 0; text-decoration: none;
  border-bottom: 1px solid var(--line-light);
  transition: color .25s var(--ease);
}
.cta-rows a + a { padding-left: 24px; border-left: 1px solid var(--line-light); }
.cta-rows small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.cta-rows strong { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 26px); font-variation-settings: "SOFT" 50, "opsz" 36; }
.cta-rows a:hover { color: var(--bell); }
@media (max-width: 760px) {
  .cta-rows { grid-template-columns: 1fr; }
  .cta-rows a + a { padding-left: 0; border-left: 0; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: rgba(252, 255, 239, .75); font-size: 14.5px; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { display: inline-block; margin-bottom: 24px; }
.site-footer h2 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(252, 255, 239, .5); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(252, 255, 239, .5); }
.footer-grid > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Page header ---------- */

.page-head { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 64px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.head-media img { aspect-ratio: 4 / 4.6; object-position: 50% 35%; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.collage figure:first-child { grid-row: span 2; }
.collage figure:first-child img { aspect-ratio: auto; height: 100%; }
.collage figure:not(:first-child) img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .head-media img { aspect-ratio: 4 / 3; }
}
.page-head .h1 { max-width: 15ch; margin-bottom: 24px; }
.page-head .lede { max-width: 34ch; color: var(--ink-2); }

/* ---------- Work page ---------- */

.filters {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(246, 244, 238, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filters .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.filters .wrap::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip .count { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }

.gallery { columns: 3 340px; column-gap: clamp(12px, 1.6vw, 24px); padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(80px, 10vw, 140px); }
.shot { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.shot img { width: 100%; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.shot button:hover img { transform: scale(1.03); }
.shot figcaption { padding: 10px 2px 0; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(18, 21, 31, .97); color: var(--cream);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); font-size: 14px; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(16px, 7vw, 96px); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lb-stage img.is-loading { opacity: 0; transform: scale(.985); }
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--cream); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lb-btn:hover { background: var(--cream); color: var(--night); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
.lb-caption { color: rgba(252, 255, 239, .8); }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } }

/* ---------- About ---------- */

.about-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; }
.about-hero figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.about-hero img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; }
.about-hero .h1 { margin-bottom: 28px; }

/* Crew slideshow (About) */
.crew-slides { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: var(--sand); touch-action: pan-y; }
.crew-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.crew-slide.is-active { opacity: 1; }
.crew-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.crew-slide.is-active img { transform: scale(1); }
.crew-slides::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(18, 21, 31, .62), transparent 34%); }
.crew-slides-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: end; justify-content: flex-end; gap: 16px;
  padding: 18px 20px; color: var(--cream); font-size: 14px;
}
.crew-slides-caption { transition: opacity .4s var(--ease); }
.crew-slides-dots { display: flex; gap: 6px; flex: none; }
.crew-slides-dots button { position: relative; width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.crew-slides-dots button::before, .crew-slides-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(252, 255, 239, .35); }
.crew-slides-dots button::after { background: var(--cream); transform: scaleX(0); transform-origin: left; }
.crew-slides-dots button.is-active::after { animation: dot-progress var(--slide-ms, 5000ms) linear forwards; }
.crew-slides.is-paused .crew-slides-dots button.is-active::after { animation: none; transform: scaleX(1); }
@media (max-width: 860px) { .crew-slides { aspect-ratio: 4 / 4.2; } }
.about-hero p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.values > div { min-width: 0; }
.value-media { margin-bottom: 24px !important; }
.value-media img { aspect-ratio: 4 / 3; }
.values h3 { margin-bottom: 12px; }
.values p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

.quote { max-width: 30ch; }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; background: var(--sand); }
.member h3 { font-size: 22px; margin-bottom: 4px; }
.member .role { font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bell-deep); margin-bottom: 14px; }
.member p { font-size: 15px; color: var(--ink-2); }
.member a { font-size: 14.5px; font-weight: 500; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

.crew { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.crew ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.crew li strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; font-variation-settings: "SOFT" 50, "opsz" 36; }
.crew li span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 800px) { .crew ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact-list small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.contact-list strong { min-width: 0; overflow-wrap: anywhere; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.7vw, 23px); font-variation-settings: "SOFT" 50, "opsz" 36; line-height: 1.3; }
.contact-list .arrow { color: var(--ink-2); transition: transform .3s var(--ease), color .3s; }
.contact-list a:hover .arrow { transform: translateX(4px); color: var(--ink); }
.contact-list a:hover strong { color: var(--bell-deep); }
.note { padding: 24px; background: var(--sand); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.note p:last-child { margin: 0; }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.booking-card iframe { display: block; width: 100%; height: 1000px; border: 0; }
.booking-fallback { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list a, .contact-list div { grid-template-columns: 1fr auto; } .contact-list small { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-slide img { transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
