@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --charcoal: #161615;
  --graphite: #1f1f1d;
  --bone: #f2f0eb;
  --bone-2: #e7e3db;
  --ink: #141413;
  --ink-2: #5c5953;
  --concrete: #8e8b85;
  --stone: #cfc8bc;

  /* Light theme (default). Dark sections redefine these. */
  --bg: var(--bone);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --line: #d8d4cb;
  --line-strong: #a09c94;
  --card: #faf9f6;
  --hover-fill: rgb(20 20 19 / 0.06);
  --focus: var(--ink);
  --danger: #a3301f;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2.05rem, 1.55rem + 2vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.25rem);
  --step-5: clamp(2.9rem, 1.5rem + 6vw, 6.5rem);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  --space-8: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --header-h: 4.5rem;

  --shadow-raised: 0 1px 2px rgb(0 0 0 / 0.08), 0 6px 16px rgb(0 0 0 / 0.08);
  --shadow-float: 0 2px 6px rgb(0 0 0 / 0.08), 0 16px 36px rgb(0 0 0 / 0.14), 0 36px 72px rgb(0 0 0 / 0.1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header,
.site-footer,
.hero-logo,
.page-head,
.section--alt,
.section--night {
  --fg: var(--bone);
  --fg-2: #aba79e;
  --line: rgb(242 240 235 / 0.14);
  --line-strong: rgb(242 240 235 / 0.4);
  --card: var(--graphite);
  --hover-fill: rgb(242 240 235 / 0.08);
  --focus: var(--stone);
  --danger: #e58a78;
  color: var(--fg);
}
.site-header, .site-footer, .hero-logo, .page-head, .section--night { --bg: var(--black); }
.section--alt { --bg: var(--charcoal); }

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; background: var(--black); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg);
  background-color: var(--bone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; letter-spacing: 0; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--space-3); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -4rem;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  background: var(--bone);
  color: var(--ink);
}
.skip-link:focus { top: var(--space-3); }

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

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

.lede { font-size: var(--step-1); font-weight: 300; line-height: 1.6; color: var(--fg-2); max-width: 38em; }
.note { font-size: var(--step--1); color: var(--fg-2); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0.94);
  backdrop-filter: saturate(1.2) blur(14px);
  view-transition-name: site-header;
  transition: transform 0.5s var(--ease-out);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(calc(-100% - 2px)); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
  color: var(--fg);
}
.brand__mark { width: 1.6rem; height: auto; flex: none; transition: transform 0.6s var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-10deg) scale(1.08); }
.brand:active .brand__mark { transform: scale(0.9); transition-duration: 0.12s; }
.brand__name { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
}
.brand__name span {
  margin-top: 0.3rem;
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.62em;
  margin-right: -0.62em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.brand img { height: 2.75rem; width: auto; }

.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav__list { display: flex; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.nav__link, .nav__phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--space-2);
  font-weight: 400;
  text-decoration: none;
  color: var(--fg-2);
  transition: transform 0.4s var(--ease-spring);
}
.nav__link::after, .nav__phone::after {
  content: '';
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-soft);
}
.nav__link:hover, .nav__phone:hover, .nav__link[aria-current='page'] { color: var(--fg); }
.nav__link:hover, .nav__phone:hover { transform: translateY(-1px); }
.nav__link:hover::after, .nav__phone:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link:active, .nav__phone:active { transform: scale(0.95); transition-duration: 0.12s; }
.nav__phone { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
@media (min-width: 60.01rem) and (max-width: 80rem) { .nav__phone { display: none; } }

.nav-toggle, .header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring);
}
.nav-toggle { border: 1px solid var(--line-strong); background: transparent; color: var(--fg); }
.header-call { background: var(--bone); color: var(--ink); }
.nav-toggle:hover, .header-call:hover { transform: scale(1.08); }
.nav-toggle:active, .header-call:active { transform: scale(0.9); transition-duration: 0.12s; }
.nav-toggle svg { width: 22px; height: 22px; }
.header-call svg { width: 20px; height: 20px; }
.nav-toggle[aria-expanded='true'] .icon-open,
.nav-toggle[aria-expanded='false'] .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close,
.nav-toggle[aria-expanded='false'] .icon-open { animation: icon-in 0.4s var(--ease-spring); }
@keyframes icon-in { from { opacity: 0; transform: rotate(-90deg) scale(0.6); } }

@media (max-width: 60rem) {
  .nav-toggle, .header-call { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 0.5rem auto;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4) var(--space-5);
    background: var(--graphite);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-float);
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.98);
    transform-origin: top;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }
  .nav[data-open='true'] {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.25s var(--ease-out), transform 0.5s var(--ease-soft), visibility 0s;
  }
  .nav__list { flex-direction: column; }
  .nav__link { display: flex; font-size: var(--step-1); padding-inline: 0; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__phone { padding-inline: 0; }
  .nav__phone::after { left: 0; right: auto; width: 100%; }
  .nav .btn { width: 100%; }
  .nav[data-open='true'] .nav__list li,
  .nav[data-open='true'] > a { animation: nav-item-in 0.5s var(--ease-out) both; }
  .nav[data-open='true'] .nav__list li:nth-child(2) { animation-delay: 0.04s; }
  .nav[data-open='true'] .nav__list li:nth-child(3) { animation-delay: 0.08s; }
  .nav[data-open='true'] .nav__list li:nth-child(4) { animation-delay: 0.12s; }
  .nav[data-open='true'] .nav__list li:nth-child(5) { animation-delay: 0.16s; }
  .nav[data-open='true'] > a:nth-of-type(1) { animation-delay: 0.2s; }
  .nav[data-open='true'] > a:nth-of-type(2) { animation-delay: 0.24s; }
}
@keyframes nav-item-in { from { opacity: 0; transform: translateY(-0.5rem); } }

/* Buttons. Primary is the theme's text colour as a solid pill: black on
   light sections, bone on dark ones. */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s var(--ease-spring), translate 0.6s var(--ease-soft);
}
.btn::before,
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.btn::after { z-index: -2; opacity: 0; transition: opacity 0.3s var(--ease-out); }
.btn::before {
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.3) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease-out);
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:hover::after { opacity: 1; }
.btn:hover::before { transform: translateX(110%); }
.btn:active { transform: scale(0.95); transition-duration: 0.12s; }
.btn[disabled] { cursor: progress; opacity: 0.7; transform: none; }

.btn--primary, .btn--light { background: var(--fg); color: var(--bg); box-shadow: var(--shadow-raised); }
.btn--primary::after, .btn--light::after { background: var(--stone); }
.btn--primary:hover, .btn--light:hover { color: var(--ink); }
.btn--outline, .btn--ghost-light { border-color: var(--line-strong); color: var(--fg); }
.btn--outline::after, .btn--ghost-light::after { background: var(--hover-fill); }
.btn--outline:hover, .btn--ghost-light:hover { border-color: var(--fg); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease-spring); }
.btn:hover svg { transform: rotate(-12deg) scale(1.1); }

.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.2;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.7s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Sections and waves */

.section { padding-block: var(--space-8); background-color: var(--bg); }
.section--night {
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgb(207 200 188 / 0.08), transparent 70%),
    radial-gradient(40rem 24rem at 0% 110%, rgb(207 200 188 / 0.05), transparent 70%);
}

.wave {
  --period: 720px;
  position: relative;
  height: clamp(28px, 4vw, 60px);
  margin-block: -1px;
  overflow: hidden;
  background: var(--from);
}
.wave::before,
.wave::after {
  content: '';
  position: absolute;
  inset: 0 calc(-2 * var(--period)) -1px 0;
  background: var(--to);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C32.6 19.76 64.85 10 100 10S167.4 19.76 200 30S264.85 50 300 50S367.4 40.24 400 30V61H0Z'/%3E%3C/svg%3E") repeat-x left bottom / var(--period) 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C32.6 19.76 64.85 10 100 10S167.4 19.76 200 30S264.85 50 300 50S367.4 40.24 400 30V61H0Z'/%3E%3C/svg%3E") repeat-x left bottom / var(--period) 100%;
}
.wave::before { opacity: 0.22; translate: calc(var(--period) * -0.35) -7%; }
.wave[data-from='bone'] { --from: var(--bone); }
.wave[data-from='charcoal'] { --from: var(--charcoal); }
.wave[data-from='black'] { --from: var(--black); }
.wave[data-to='bone'] { --to: var(--bone); }
.wave[data-to='charcoal'] { --to: var(--charcoal); }
.wave[data-to='black'] { --to: var(--black); }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head > p { max-width: 36em; }
.section-head--flush { margin-bottom: 0; }
.stack { display: grid; gap: var(--space-4); align-content: start; }
@media (min-width: 60rem) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: var(--space-6); }
}

/* Logo hero (home) */

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: var(--space-6) var(--gutter) var(--space-7);
  overflow: hidden;
  background: radial-gradient(42rem 26rem at 50% 46%, rgb(207 200 188 / 0.07), transparent 70%), var(--black);
}
.hero-logo__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-5); text-align: center; }
.hero-logo__title { margin: 0; }
.lockup { width: min(88vw, 44rem); height: auto; overflow: visible; }
.lockup__word text { font-family: var(--font-display); font-weight: 600; font-size: 150.4px; fill: #fff; }
.lockup__sub text { font-family: var(--font-body); font-weight: 500; font-size: 51.4px; fill: #fff; }
.lockup__mark path { fill: none; stroke: #fff; stroke-width: 9; }
.lockup__mark circle { fill: #fff; }
.lockup text { transform-box: fill-box; transform-origin: center; }
.hero-logo__actions { justify-content: center; }
.hero-logo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0), var(--black));
}
/* Flower of Life from David's business card: a half-flower cropped by the
   left edge, turning slowly. */

.hero-logo__flower {
  --fs: clamp(34rem, 106vh, 68rem);
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: var(--fs);
  aspect-ratio: 1;
  translate: -56.4% -50%;
  opacity: 0.72;
  pointer-events: none;
}
@media (max-width: 47.99rem) {
  .hero-logo__flower { --fs: 30rem; top: 0; translate: -50% -42%; opacity: 0.4; }
}

/* Shared flower-of-life mark: a single-path SVG used as a mask so its
   color follows currentColor, and so it can be spun with CSS. The hero
   flower turns slowly on its own; the CTA flowers turn half a turn as they
   scroll through the viewport. */
.flower-of-life {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url('/assets/flower-of-life.svg?v=2') center / contain no-repeat;
  mask: url('/assets/flower-of-life.svg?v=2') center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo__flower .flower-of-life { animation: flower-spin 80s linear infinite; }
  @supports (animation-timeline: view()) {
    .cta-band__flower {
      animation: flower-scroll-turn linear both;
      animation-timeline: view();
      animation-range: entry 0% contain 100%;
    }
  }
}
@keyframes flower-spin { to { transform: rotate(360deg); } }
@keyframes flower-scroll-turn { to { rotate: 90deg; } }

.hero-logo__slogan {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 0.9em;
  margin: 0;
  font-size: clamp(0.78rem, 0.7rem + 0.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-logo__slogan span { display: inline-block; margin-right: -0.34em; }

.mba {
  display: block;
  width: 9.5rem;
  max-width: 100%;
  aspect-ratio: 576 / 212;
  background: currentColor;
  -webkit-mask: url('/assets/brand/mba-nsw.png') left center / contain no-repeat;
  mask: url('/assets/brand/mba-nsw.png') left center / contain no-repeat;
}
.credentials .mba { width: 8.5rem; margin-top: 0.15rem; }

.cta-band { position: relative; isolation: isolate; overflow: clip; }
.cta-band__grid { position: relative; z-index: 1; }
.cta-band__flower {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 0;
  width: clamp(26rem, 60vw, 46rem);
  height: auto;
  translate: 56.4% -50%;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 47.99rem) {
  .cta-band__flower { opacity: 0.22; }
}

.footer-slogan { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg); }

/* Entrance: the words, then the chiselled mark (assets/hero-chisel.js), then
   the tagline's buttons and the scroll cue. */
.lockup__word text { animation: letter-in 1s var(--ease-out) both; }
.lockup__word text:nth-child(2) { animation-delay: 0.07s; }
.lockup__word text:nth-child(3) { animation-delay: 0.14s; }
.lockup__word text:nth-child(4) { animation-delay: 0.21s; }
.lockup__word text:nth-child(5) { animation-delay: 0.28s; }
.lockup__word text:nth-child(6) { animation-delay: 0.35s; }
.lockup__word text:nth-child(7) { animation-delay: 0.42s; }
.lockup__sub text { animation: settle-in 1.2s var(--ease-out) 0.55s both; }
.hero-logo__slogan span { animation: rise 0.9s var(--ease-out) both; }
.hero-logo__slogan span:nth-child(1) { animation-delay: 0.55s; }
.hero-logo__slogan span:nth-child(2) { animation-delay: 0.85s; }
.hero-logo__slogan span:nth-child(3) { animation-delay: 1.15s; }
@keyframes letter-in { from { opacity: 0; transform: translateY(22px); } }
@keyframes settle-in { from { opacity: 0; transform: translateX(var(--dx, 0)); } }

.js-chisel .lockup__mark { visibility: hidden; animation: reveal-fallback 0s 5s forwards; }
.js-chisel .lockup__mark.is-carving { visibility: visible; animation: none; }
.js-chisel .hero-logo__actions { opacity: 0; animation: fade-up-fallback 0.6s var(--ease-out) 5.2s forwards; }
.hero-logo.is-done .hero-logo__actions { animation: rise 0.9s var(--ease-out) forwards; }
.mark-shake { animation: mark-shake 0.09s linear; }
@keyframes reveal-fallback { to { visibility: visible; } }
@keyframes fade-up-fallback { to { opacity: 1; } }
@keyframes mark-shake {
  25% { transform: translate(2.4px, -1.8px); }
  50% { transform: translate(-2px, 1.5px); }
  75% { transform: translate(1.2px, 2px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; } }

/* Drawing language: captions and dimension lines */

.title-block {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  overflow: hidden;
  font-size: var(--step--1);
  line-height: 1.35;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.title-block > div { display: contents; }
.title-block dt, .title-block dd {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.title-block > div:last-child dt, .title-block > div:last-child dd { border-bottom: 0; }
.title-block dt { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); border-right: 1px solid var(--line); display: flex; align-items: center; }
.title-block dd { font-weight: 500; }

.figure { position: relative; margin: 0; }
.figure__media { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-lg); background: var(--bone-2); }
.figure__media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 45%); }
.figure img { width: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 1.2s var(--ease-out); }
.figure__caption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  max-width: calc(100% - 2 * var(--space-3));
  min-width: 15rem;
  box-shadow: var(--shadow-float);
}

.dim {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.dim::before, .dim::after {
  content: '';
  flex: 1;
  height: 9px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat;
  border-inline: 1px solid var(--line-strong);
}
.dim::before { border-right: 0; }
.dim::after { border-left: 0; }

/* Full-bleed photo bands */

.bleed {
  position: relative;
  height: clamp(26rem, 96vh, 64rem);
  overflow: clip;
  background: linear-gradient(to bottom, var(--from) 35%, var(--to) 65%);
}
.bleed[data-from='black'] { --from: var(--black); }
.bleed[data-from='charcoal'] { --from: var(--charcoal); }
.bleed[data-to='bone'] { --to: var(--bone); }
.bleed[data-to='black'] { --to: var(--black); }
.bleed__media, .bleed__media picture { position: absolute; inset: 0; }
.bleed__media {
  -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
  mask: linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%);
}
.bleed__media img { width: 100%; height: 100%; object-fit: cover; }
.bleed__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.25), rgb(0 0 0 / 0) 40%);
}
.bleed__caption-wrap { position: absolute; inset: auto 0 30%; z-index: 1; }
.bleed__caption { max-width: 22rem; box-shadow: var(--shadow-float); }

/* Featured project collage (home) */

.collage { display: grid; gap: var(--space-3); }
.collage .figure img { aspect-ratio: 4 / 3; }
@media (min-width: 60rem) {
  .collage { grid-template-columns: repeat(12, 1fr); gap: var(--space-4); }
  .collage__a { grid-column: 1 / span 8; grid-row: 1 / span 2; }
  .collage__a .figure__media { height: 100%; }
  .collage__a .figure__media picture, .collage__a .figure__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .collage__b, .collage__c { grid-column: 9 / -1; }
  .collage__d { grid-column: 1 / -1; }
  .collage .collage__d img { aspect-ratio: 21 / 9; }
}

/* Project page */

.project-card__link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-lg); }
.project-card__link:focus-visible { outline-offset: 6px; }
.project-card__link .title-block { transition: transform 0.5s var(--ease-spring); }
.project-card__link:hover .title-block { transform: translateY(-4px); }

.project-facts { display: grid; gap: var(--space-6); }
.project-facts__sheet { align-self: start; font-size: 1rem; }
@media (min-width: 60rem) { .project-facts { grid-template-columns: 5fr 7fr; gap: var(--space-7); } }

.gallery-section { padding-top: 0; }
.gallery-title { font-size: var(--step-3); margin-bottom: var(--space-4); }
.gallery { columns: 1; column-gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .gallery { columns: 2; } }
@media (min-width: 64rem) { .gallery { columns: 3; } }
.gallery li { break-inside: avoid; margin-bottom: var(--space-3); }
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bone-2);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease-spring);
}
.gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:active { transform: scale(0.98); transition-duration: 0.12s; }
.gallery__item:focus-visible { outline-offset: 3px; }

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--space-6) var(--space-3);
  border: 0;
  background: rgb(0 0 0 / 0.95);
  color: var(--bone);
  --fg: var(--bone);
  --focus: var(--stone);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in 0.35s var(--ease-out); }
@keyframes lightbox-in { from { opacity: 0; } }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox__figure { display: grid; justify-items: center; gap: var(--space-2); margin: 0; max-width: min(100%, 1600px); }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  border-radius: var(--r-sm);
  animation: lightbox-img 0.5s var(--ease-out);
  transition: opacity 0.18s var(--ease-out), transform 0.4s var(--ease-soft);
}
.lightbox__img.is-switching { opacity: 0; transform: scale(0.985); }
@keyframes lightbox-img { from { opacity: 0; transform: scale(0.96); } }
.lightbox__caption { font-size: var(--step--1); color: #aba79e; text-align: center; }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.5rem; margin: 0; font-size: 0.72rem; letter-spacing: 0.2em; color: #aba79e; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(242 240 235 / 0.35);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  color: var(--bone);
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { transform: scale(1.08); }
.lightbox__btn:active { transform: scale(0.9); transition-duration: 0.12s; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 1rem; }
.lightbox__prev svg { rotate: 180deg; }
.lightbox__next { right: 1rem; }
@media (max-width: 47.99rem) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; margin-top: 0; }
}

/* Intro (the first section under the logo hero) */

.intro__grid { display: grid; gap: var(--space-5); }
.intro__title { font-size: var(--step-4); max-width: 15ch; }
.intro__body { display: grid; gap: var(--space-4); align-content: start; }
.intro__media { display: grid; gap: var(--space-2); }
.intro__media .figure img { aspect-ratio: 16 / 11; }
.intro__credentials { margin-top: var(--space-6); }

@media (min-width: 60rem) {
  .intro__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--space-5); row-gap: var(--space-4); }
  .intro__title { grid-column: 1 / span 5; grid-row: 1; }
  .intro__body { grid-column: 1 / span 5; grid-row: 2; }
  .intro__media { grid-column: 6 / -1; grid-row: 1 / span 2; align-self: center; }
}

/* Credentials */

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--space-2);
  margin: 0;
}
.credentials > div {
  padding: var(--space-3) var(--space-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.credentials dt { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.credentials dd { margin: 0.35rem 0 0; font-weight: 500; line-height: 1.35; }

/* Process */

.process {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process__step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
}
.process__step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1;
  color: var(--stone);
}
.process__step h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.process__step p { color: var(--fg-2); font-size: 1rem; line-height: 1.6; }

@media (min-width: 68rem) {
  .process { grid-template-columns: repeat(7, 1fr); column-gap: var(--space-4); }
  .process__step { grid-template-columns: 1fr; align-content: start; gap: var(--space-3); padding-top: var(--space-4); }
  .process__step::before { font-size: var(--step-4); }
}

/* 3D build sequence (home). Without the .is-3d enhancement this is the
   plain process list above. */

.build__canvas, .build__rail { display: none; }

.build.is-3d { padding-bottom: 0; }
.build.is-3d .section-head { margin-bottom: var(--space-4); }
.build.is-3d .build__track { position: relative; height: 520vh; height: 520svh; }
.build.is-3d .build__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.build.is-3d .build__canvas { display: block; position: absolute; inset: 0; }
.build.is-3d .build__canvas canvas { display: block; width: 100%; height: 100%; }
.build.is-3d .build__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  height: 100%;
  pointer-events: none;
}
.build.is-3d .build__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.7) 28%, rgb(0 0 0 / 0) 52%);
}

.build.is-3d .build__steps { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 22rem; }
.build.is-3d .process__step {
  grid-template-columns: 2.25rem 1fr;
  gap: var(--space-2);
  padding-block: 0.65rem;
  animation: none;
  opacity: 0.4;
  transition: opacity 0.4s var(--ease-out);
}
.build.is-3d .process__step::before { font-size: var(--step-1); }
.build.is-3d .process__step h3 { font-size: var(--step-0); margin-bottom: 0; }
.build.is-3d .process__step p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.build.is-3d .process__step.is-active { opacity: 1; }
.build.is-3d .process__step.is-active h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.build.is-3d .process__step.is-active p { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; animation: rise 0.6s var(--ease-out); }

.build.is-3d .build__rail { display: flex; gap: 5px; max-width: 22rem; }
.build__rail span { position: relative; flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(242 240 235 / 0.16); }
.build__rail span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--stone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.build__rail span.is-done::after { transform: scaleX(1); }
.build__phase { display: none; }
.build.is-3d .build__phase:not([hidden]) {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  animation: rise 0.4s var(--ease-out);
}

@media (max-width: 59.99rem) {
  .build.is-3d .build__stage::before {
    background: linear-gradient(to top, rgb(0 0 0 / 0.96) 0%, rgb(0 0 0 / 0.85) 30%, rgb(0 0 0 / 0) 50%);
  }
  .build.is-3d .build__panel { justify-content: flex-end; padding-bottom: var(--space-5); }
  .build.is-3d .process__step:not(.is-active) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .build.is-3d .process__step { border-top: 0; padding-block: 0; }
  .build.is-3d .process__step.is-active { animation: rise 0.5s var(--ease-out); }
  .build.is-3d .process__step::before { font-size: var(--step-3); }
  .build.is-3d .build__steps, .build.is-3d .build__rail { max-width: none; }
}

/* Services */

.service-feature {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
}
.service-feature:first-child { padding-top: 0; }
.service-feature .figure img { aspect-ratio: 4 / 3; }
.service-feature__body { display: grid; gap: var(--space-4); align-content: start; }
.service-feature__body h2, .service-feature__body h3 { font-size: var(--step-3); }

@media (min-width: 60rem) {
  .service-feature { grid-template-columns: 7fr 5fr; gap: var(--space-7); }
  .service-feature:nth-child(even) .figure { order: 2; }
}

.checklist { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--fg);
}

.service-index { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.service-index a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-3);
  margin-inline: calc(-1 * min(var(--space-4), var(--gutter)));
  padding: var(--space-4) min(var(--space-4), var(--gutter));
  border-radius: var(--r-md);
  text-decoration: none;
}
.service-index a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-raised);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-spring);
}
.service-index a > div { transition: transform 0.5s var(--ease-spring); }
.service-index h3 { font-size: var(--step-2); }
.service-index p { color: var(--fg-2); margin-top: 0.25rem; max-width: 34em; }
.service-index svg { width: 1.5rem; height: 1.5rem; color: var(--stone); transition: transform 0.5s var(--ease-spring); }
.service-index a:hover::before { opacity: 1; transform: none; }
.service-index a:hover > div { transform: translateX(6px); }
.service-index a:hover svg { transform: translateX(8px); }
.service-index a:active::before { transform: scale(0.98); transition-duration: 0.12s; }

.compact-services { display: grid; gap: var(--space-5); }
@media (min-width: 48rem) { .compact-services { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.compact-services article {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-5);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.compact-services h2 { font-size: var(--step-3); }

/* Quote */

.quote { display: grid; gap: var(--space-4); margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.2;
  max-width: 28ch;
}
.quote figcaption { font-weight: 500; }
.quote figcaption span { display: block; font-weight: 400; color: var(--fg-2); }
@media (min-width: 60rem) {
  .quote { grid-template-columns: 1fr 2fr; align-items: start; gap: var(--space-6); }
  .quote figcaption { order: -1; padding-top: 0.75rem; }
}

/* Projects */

.project-grid { display: grid; gap: var(--space-6) var(--space-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) {
  .project-grid--feature > li:first-child { grid-column: 1 / -1; }
  .project-grid--feature > li:first-child img { aspect-ratio: 16 / 8; }
}
.project-grid .figure img { aspect-ratio: 4 / 3; }
.project-card .title-block { margin-top: calc(-1 * var(--space-6)); margin-left: var(--space-3); margin-right: var(--space-5); position: relative; z-index: 2; box-shadow: var(--shadow-float); max-width: 24rem; }
.project-card:hover .figure img { transform: scale(1.06); }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-5); padding: 0; list-style: none; }
.filter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring);
}
.filter::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  opacity: 0;
  transform: scale(0.6);
  border-radius: inherit;
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-spring);
}
.filter:hover { border-color: var(--fg); transform: translateY(-2px); }
.filter:active { transform: scale(0.93); transition-duration: 0.12s; }
.filter[aria-pressed='true'] { border-color: var(--fg); color: var(--bg); }
.filter[aria-pressed='true']::after { opacity: 1; transform: none; }

/* Page header (inner pages) */

.page-head {
  padding-block: var(--space-7) var(--space-6);
  background: radial-gradient(44rem 24rem at 96% 0%, rgb(207 200 188 / 0.08), transparent 70%), var(--black);
}
.page-head__grid { display: grid; gap: var(--space-4); }
.page-head h1 { font-size: var(--step-5); max-width: 16ch; animation: rise 0.9s var(--ease-out) both; }
.page-head__grid > :not(h1) { animation: rise 0.9s var(--ease-out) 0.12s both; }
@media (min-width: 60rem) {
  .page-head__grid { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--space-6); }
}

.page-head h1.page-title { display: flex; align-items: center; gap: 0.32em; max-width: none; }
@media (min-width: 60rem) {
  .page-head__grid:has(> .page-title) { grid-template-columns: auto minmax(18rem, 1fr); }
  .page-head h1.page-title { white-space: nowrap; }
}
.page-title__mark { flex: none; width: 0.62em; height: auto; margin-top: 0.06em; }

/* About */

.about-grid { display: grid; gap: var(--space-6); }
.about-grid .figure img { aspect-ratio: 4 / 5; }
.prose { display: grid; gap: var(--space-3); max-width: 36em; }
.prose h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }
.prose p + p { margin-top: 0; }
.prose h2:not(:first-child) { margin-top: var(--space-5); }
@media (min-width: 60rem) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; }
  .about-grid .figure { position: sticky; top: 6.5rem; }
}

.wide-figure img { aspect-ratio: 16 / 9; }

/* CTA band */

.cta-band__grid { display: grid; gap: var(--space-5); }
.cta-band h2 { max-width: 14ch; }
.cta-band__contact { display: grid; gap: var(--space-4); align-content: end; }
.cta-band__phone {
  justify-self: start;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.5s var(--ease-spring);
}
.cta-band__phone:hover { color: var(--stone); transform: translateX(4px); }
.cta-band__phone:active { transform: scale(0.97); transition-duration: 0.12s; }
@media (min-width: 60rem) { .cta-band__grid { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* Contact */

.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 64rem) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; } }

.contact-details { display: grid; gap: var(--space-5); }
.contact-details .title-block { font-size: 1rem; }
.contact-details h2 { font-size: var(--step-2); margin-bottom: var(--space-1); }
.contact-details .title-block dd a { text-decoration: none; }
.contact-details .title-block dd a:hover { text-decoration: underline; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.area-list li { padding: 0.25rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; background: var(--card); }

.form-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.form-panel::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--ink);
  border-radius: calc(var(--r-lg) + 6px);
  opacity: 0;
  pointer-events: none;
}
.form-panel.is-pulse { animation: panel-pulse 0.7s var(--ease-spring); }
.form-panel.is-pulse::after { animation: ring 0.9s var(--ease-out); }
@keyframes panel-pulse { 40% { transform: scale(1.012); } }
@keyframes ring { 0% { opacity: 0.8; transform: scale(0.99); } 100% { opacity: 0; transform: scale(1.03); } }
.form-panel h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }

.form { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: 0.9375rem; transition: transform 0.4s var(--ease-spring); transform-origin: left; }
.field:focus-within > label { transform: translateX(3px); }
.field .optional { font-weight: 400; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23141413' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 1rem;
  cursor: pointer;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid='true'] { border-color: var(--danger); animation: nudge 0.4s var(--ease-out); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field__error { color: var(--danger); font-size: 0.9375rem; font-weight: 500; }
.field__error:not(:empty) { animation: rise 0.35s var(--ease-out); }
.field__error:empty { display: none; }
.field__hint { font-size: 0.9375rem; color: var(--fg-2); }

.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { margin-bottom: 0.4rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.choice span {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.45s var(--ease-spring);
}
.choice span::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  opacity: 0;
  transform: scale(0.6);
  border-radius: inherit;
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-spring);
}
.choice input:hover + span { border-color: var(--ink); transform: translateY(-2px); }
.choice input:active + span { transform: scale(0.93); transition-duration: 0.12s; }
.choice input:checked + span { border-color: var(--ink); color: var(--bone); }
.choice input:checked + span::after { opacity: 1; transform: none; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.form__footer { display: grid; gap: var(--space-3); }
.form__status { padding: var(--space-3); border-radius: var(--r-sm); border-left: 3px solid var(--danger); background: rgb(163 48 31 / 0.06); font-weight: 500; animation: rise 0.35s var(--ease-out); }
.turnstile-slot { min-height: 65px; }

.form-success { display: grid; gap: var(--space-3); justify-items: start; padding-block: var(--space-4); animation: rise 0.6s var(--ease-out); }
.form-success h3 { font-size: var(--step-3); }
.form-success:focus { outline: none; }
.tick { width: 3.5rem; height: 3.5rem; color: var(--ink); }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: tick-draw 0.7s var(--ease-out) forwards; }
.tick path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: tick-draw 0.45s var(--ease-out) 0.5s forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }

/* Legal / simple pages */

.legal { display: grid; gap: var(--space-4); max-width: 42em; }
.legal h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.legal ul { margin: 0; padding-left: 1.25rem; }

/* Footer */

.site-footer {
  padding-block: var(--space-7) var(--space-5);
  background: var(--black);
  font-size: 0.9375rem;
}
.site-footer a { text-decoration: none; }
.footer-grid { display: grid; gap: var(--space-5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; padding: 0; list-style: none; }
.footer-nav a, .footer-base a, .sheet a { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: transform 0.45s var(--ease-spring); }
.sheet a { min-height: 0; }
.footer-nav a::after, .footer-base a::after, .sheet a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-soft);
}
.sheet a::after { bottom: -2px; }
.footer-nav a:hover, .footer-base a:hover, .sheet a:hover { color: var(--stone); transform: translateY(-1px); }
.footer-nav a:hover::after, .footer-base a:hover::after, .sheet a:hover::after { transform: scaleX(1); }

.sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--line);
  border: 1px solid var(--line);
}
.sheet > div { padding: 0.85rem 1.1rem; background: var(--black); }
@media (min-width: 40rem) { .sheet { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .sheet { grid-template-columns: repeat(4, 1fr); } }
.sheet dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.sheet dd { margin: 0.25rem 0 0; font-weight: 500; line-height: 1.4; }
.footer-base p { margin: 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); color: var(--fg-2); font-size: var(--step--1); }

.will-reveal {
  opacity: 0;
  translate: 0 2.25rem;
  transition: opacity 0.8s var(--ease-out), translate 1s var(--ease-out);
}
.will-reveal.is-revealed { opacity: 1; translate: 0 0; }

@media (max-width: 39.99rem) {
  .dim { justify-content: center; text-align: center; }
  .dim::before, .dim::after { display: none; }
}

/* Motion that runs on its own: waves, page transitions, scroll effects.
   Everything here is transform/opacity only and switches off for anyone
   who prefers reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .wave::after { animation: wave-drift 26s linear infinite; }
  .wave::before { animation: wave-drift 38s linear infinite reverse; }
  @keyframes wave-drift { to { transform: translateX(calc(-1 * var(--period))); } }



  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: page-out 0.25s var(--ease-out) both; }
  ::view-transition-new(root) { animation: page-in 0.5s var(--ease-out) both; }
  @keyframes page-out { to { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

  @supports (animation-timeline: view()) {
    :root { --plx-shift: 11%; --plx-scale: 1.28; --plx-float: 3rem; }
    @media (max-width: 47.99rem) {
      :root { --plx-shift: 6%; --plx-scale: 1.16; --plx-float: 1.5rem; }
    }

    .figure__media img {
      scale: var(--plx-scale);
      animation: plx-photo linear both;
      animation-timeline: view();
    }

    .figure__caption,
    .project-card .title-block {
      animation: plx-float linear both;
      animation-timeline: view();
    }

    .bleed__media img {
      animation: bleed-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .collage__b { animation: plx-float linear both; animation-timeline: view(); }
    .collage__c { animation: plx-float-deep linear both; animation-timeline: view(); }
    @keyframes bleed-zoom { from { scale: 1.35; translate: 0 -14%; } to { scale: 1.12; translate: 0 14%; } }

    /* Warrawee Drive, Lennox Head collage (home): no scroll parallax. */
    .collage--static .figure__media img { scale: 1; animation: none; }
    .collage--static .collage__b,
    .collage--static .collage__c { animation: none; }
    .gallery__item img { scale: 1.2; animation: plx-photo linear both; animation-timeline: view(); }
    @keyframes plx-float-deep { from { translate: 0 calc(var(--plx-float) * 2); } to { translate: 0 calc(var(--plx-float) * -2); } }

    .hero-logo__flower {
      animation: flower-scroll linear both;
      animation-timeline: scroll();
      animation-range: 0 100vh;
    }
    @keyframes flower-scroll { to { opacity: 0.15; } }

    .hero-logo__inner {
      animation: plx-linger linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    .section--night { position: relative; isolation: isolate; overflow: clip; background-image: none; }
    .section--night::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image:
        radial-gradient(60rem 30rem at 85% 10%, rgb(207 200 188 / 0.08), transparent 70%),
        radial-gradient(40rem 24rem at 0% 90%, rgb(207 200 188 / 0.05), transparent 70%);
      animation: plx-glow linear both;
      animation-timeline: view();
      -webkit-mask: linear-gradient(to bottom, transparent, #000 30%, #000 65%, transparent 92%);
      mask: linear-gradient(to bottom, transparent, #000 30%, #000 65%, transparent 92%);
    }

    .process__step {
      animation: plx-step linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
    @media (min-width: 68rem) {
      .process { view-timeline: --process; }
      .process__step { animation-timeline: --process; }
      .process__step:nth-child(1) { animation-range: entry 0% cover 30%; }
      .process__step:nth-child(2) { animation-range: entry 5% cover 33%; }
      .process__step:nth-child(3) { animation-range: entry 10% cover 36%; }
      .process__step:nth-child(4) { animation-range: entry 15% cover 39%; }
      .process__step:nth-child(5) { animation-range: entry 20% cover 42%; }
      .process__step:nth-child(6) { animation-range: entry 25% cover 45%; }
      .process__step:nth-child(7) { animation-range: entry 30% cover 48%; }
    }

    @keyframes plx-photo {
      from { translate: 0 calc(-1 * var(--plx-shift)); }
      to { translate: 0 var(--plx-shift); }
    }
    @keyframes plx-float {
      from { translate: 0 var(--plx-float); }
      to { translate: 0 calc(-1 * var(--plx-float)); }
    }
    @keyframes plx-linger {
      to { translate: 0 30%; opacity: 0.2; }
    }
    @keyframes plx-glow {
      from { translate: 0 -12%; }
      to { translate: 0 12%; }
    }
    @keyframes plx-step {
      from { opacity: 0; translate: 0 2rem; }
    }
  }
}

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