/* ==========================================================================
   HAKZ MEDIA — film & photography studio
   Design system + components. Single stylesheet, no build step.
   Palette is derived from the brand mark: cream #FFFFF6 on near-black,
   with a warm gold accent.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* surfaces */
  --ink:        #0a0a0b;
  --ink-2:      #101012;
  --ink-3:      #17171a;
  --ink-4:      #202024;

  /* type */
  --cream:      #fffff6;
  --muted:      #9a9a92;
  --muted-2:    #6d6d67;

  /* accent */
  --gold:       #f3c13a;
  --gold-dim:   #a8831f;
  --gold-wash:  rgba(243, 193, 58, 0.12);

  --line:       rgba(255, 255, 246, 0.10);
  --line-2:     rgba(255, 255, 246, 0.18);

  /* type scale */
  /* one typeface across the whole site */
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.91rem + 0.2vw,  1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem,  1.3rem  + 1vw,   2.1rem);
  --step-3:  clamp(2.1rem,  1.7rem  + 2vw,   3.2rem);
  --step-4:  clamp(2.8rem,  2rem    + 4vw,   5rem);
  --step-5:  clamp(3.6rem,  2rem    + 8vw,   9rem);

  /* layout */
  --container: 1320px;
  --gutter:    clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(3.25rem, 6vw, 6.5rem);
  --radius:    2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 92px;
}

/* ---------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

html { background: var(--ink); }

body {
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--gold); color: var(--ink); }

/* Full-page backdrop: just the dune/contour texture, held well back by a
   scrim. Fixed, so it stays put while the page scrolls. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/bg-dunes.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* whole backdrop at 10% — the page's black shows through the other 90% */
  opacity: 0.1;
}

/* Grain overlay — sits above everything, ignores pointer events.
   Gives flat colour fields the texture of pushed film stock. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------- 3. Type helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h-xl { font-size: var(--step-5); }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }

p + p { margin-top: 1em; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--cream);
  font-weight: 300;
}

.muted { color: var(--muted); }
.gold  { color: var(--gold); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Section eyebrow: mono label preceded by a short gold rule */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

/* An outlined word — used to break up long display headlines */
.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--cream);
}
.outline-gold {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

/* -------------------------------------------------------------- 4. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1660px; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
/* sits flush against whatever follows — used by the Instagram strip so it
   meets the footer with no gap */
.flush-b { padding-bottom: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .section-head.split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 3rem;
  }
}

.divider { height: 1px; background: var(--line); border: 0; }

/* pushes a section-head's trailing link to the right edge of its column,
   but only once the head is two columns wide */
@media (min-width: 900px) {
  .align-end { justify-self: end; text-align: right; }
}

/* ------------------------------------------------------------- 5. Buttons */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.45rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease);
}
/* Wipe fill: a pseudo-element sweeps up from the bottom on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover { color: var(--ink); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border: 1px solid var(--line-2);
}
.btn-ghost::after { background: var(--gold); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }

.btn-arrow svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow svg, .btn-arrow:hover svg { transform: translateX(4px); }

/* Text link with an underline that grows from the left */
.link-u {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 4px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease), color 0.3s var(--ease);
}
.link-u:hover { background-size: 100% 1px; color: var(--gold); }

/* Instagram strip — edge-to-edge square tiles */
/* Horizontal scroller. main.js duplicates the tiles so the -50% drift loops. */
/* Breaks out of the container to run edge to edge across the viewport. */
.ig-scroll {
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}
.ig-strip {
  display: flex;
  gap: clamp(0.4rem, 0.8vw, 0.75rem);
  width: max-content;
}
.ig-scroll.is-marquee .ig-strip { animation: ig-drift 45s linear infinite; }
.ig-scroll.is-marquee:hover .ig-strip { animation-play-state: paused; }
@keyframes ig-drift { to { transform: translateX(-50%); } }

.ig-tile {
  position: relative;
  flex: none;
  width: clamp(158px, 18vw, 252px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ig-tile:hover img { transform: scale(1.07); filter: saturate(1.05); }
.ig-tile:hover::after { opacity: 1; }
.ig-tile .ig-ic {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.ig-tile .ig-ic svg { width: 26px; height: 26px; }
.ig-tile:hover .ig-ic { opacity: 1; transform: scale(1); }

/* Circular play button, used over video stills */
.play-btn {
  width: clamp(72px, 9vw, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--cream);
  display: grid;
  place-items: center;
  color: var(--cream);
  backdrop-filter: blur(6px);
  background: rgba(10, 10, 11, 0.25);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.play-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* --------------------------------------------------------------- 6. Topbar */
.topbar {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
}
.topbar a:hover { color: var(--gold); }
.topbar-meta { display: flex; gap: 1.75rem; }
.topbar-social { display: flex; gap: 1.1rem; }
/* On narrow screens drop the tagline and city, keep the phone number —
   it is the only item worth tapping. */
@media (max-width: 860px) {
  .topbar-meta > *:nth-child(-n + 2) { display: none; }
  .topbar .container { min-height: 38px; }
}

/* ------------------------------------------------------------------ 7. Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  /* The band is fully transparent with no rule — only the .nav pill inside it
     is visible, floating over the page. */
  background: transparent;
  border-bottom: 0;
  padding-top: clamp(1rem, 2.2vw, 1.75rem);
}

/* Floating pill: the header band itself stays transparent, and only this
   inner group carries a fill, so the nav reads as an object over the page. */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.4rem);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  background: rgba(18, 18, 21, 0.74);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px) saturate(1.3);
}
/* rule between the logo and the links, as in the reference */
.nav > nav[aria-label="Primary"] { display: none; }
@media (min-width: 1080px) {
  .nav > nav[aria-label="Primary"] {
    display: block;
    border-left: 1px solid var(--line);
    padding-left: clamp(0.9rem, 1.8vw, 1.6rem);
  }
}

/* The lockup already contains the wordmark, so no text sits beside it. The
   monogram half is a detailed photo collage — below ~34px it turns to mud. */
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: clamp(36px, 3.7vw, 46px); }

.nav-list {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
}
@media (min-width: 1080px) { .nav-list { display: flex; } }

.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.5rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { color: var(--cream); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* Pages dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link svg { width: 9px; height: 9px; transition: transform 0.3s var(--ease); }
.has-dropdown:hover > .nav-link svg,
.has-dropdown:focus-within > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  min-width: 216px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-wide {
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.25rem;
}
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.dropdown a::after { content: "↗"; opacity: 0; transition: opacity 0.25s var(--ease); }
.dropdown a:hover { background: var(--ink-3); color: var(--cream); padding-left: 1.2rem; }
.dropdown a:hover::after { opacity: 1; color: var(--gold); }

.nav-cta {
  display: none;
  flex: none;
  padding: 0.62rem 1.1rem;
  /* sentence case, matching the nav links beside it */
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  gap: 0.5rem;
  border-radius: 9px;
}
.nav-cta .btn-arrow svg { width: 13px; height: 13px; }
@media (min-width: 1080px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  flex: none;
}
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
/* Sits below .site-header (z-index 900) so the close button stays reachable. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: var(--ink);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}
.mobile-nav.is-open { clip-path: inset(0 0 0 0); }
.mobile-nav ul { display: grid; gap: 0.25rem; }
.mobile-nav > ul > li > a,
.mobile-nav .m-group > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  line-height: 1.1;
  text-align: left;
}
.mobile-nav .m-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.mobile-nav .m-sub {
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.mobile-nav .m-group.is-open .m-sub { max-height: 400px; }
.mobile-nav .m-sub a {
  padding: 0.6rem 0 0.6rem 1.1rem;
  border-left: 1px solid var(--line);
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.mobile-nav .m-sub a:hover { color: var(--gold); }
.mobile-nav-foot {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ----------------------------------------------------------------- 8. Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(2.5rem, 5vw, 4.5rem); /* breathing room under the nav pill */
  text-align: center;
  /* Fill the first screen and pin the collage to its lower edge, so the cards
     are always visible without scrolling. */
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
}
/* Soft gold bloom behind the headline, like a key light off-frame */
.hero::before {
  content: "";
  position: absolute;
  top: -34%;
  left: 50%;
  width: min(1500px, 135vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(243, 193, 58, 0.17), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-inline: auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.15rem;
}
.hero-eyebrow b {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(2.05rem, 0.9rem + 3.85vw, 4.15rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: initial; /* explicit .line breaks decide the rag, not the browser */
}
/* Forces the headline onto exactly two lines from tablet up. Below that it
   wraps naturally, since two lines would be unreadably small. */
@media (min-width: 700px) {
  .hero h1 .line { display: block; }
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  max-width: 50ch;
  margin: 1.15rem auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.2rem);
  font-weight: 300;
  line-height: 1.5;
}
.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---- Staggered card collage --------------------------------------------
   A single row of frames at alternating heights that bleeds off both edges
   on desktop and becomes a snap-scroller on small screens. Each card sets
   its own vertical offset and tilt through --o / --r. */
.hero-collage {
  position: relative;
  z-index: 1;
  margin-top: auto; /* pins the row to the bottom of the full-height hero */
  padding-bottom: clamp(0.6rem, 1.2vw, 1rem);
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-collage::-webkit-scrollbar { display: none; }

/* width:100% + min-width:max-content centres the row when it fits and lets it
   overflow scrollably when it does not. An auto margin here would make the
   left-hand overflow unreachable. */
/* --u is a proportional unit: every card width, offset and overlap is authored
   as a unitless number multiplied by it, so the whole composition scales as
   one piece instead of each card clamping independently. */
.hc-track {
  --u: clamp(0.5px, 0.066vw, 0.95px);
  display: flex;
  align-items: flex-end;
  gap: calc(14 * var(--u));
  width: max-content;
  padding-top: calc(105 * var(--u) + 8px); /* headroom — must cover the max --o */
}
/* Continuous right-to-left drift. main.js duplicates the cards, so translating
   the track by exactly -50% loops seamlessly. */
.hero-collage.is-marquee .hc-track { animation: hc-drift 60s linear infinite; }
.hero-collage.is-marquee:hover .hc-track { animation-play-state: paused; }
@keyframes hc-drift { to { transform: translateX(-50%); } }

.hc-card {
  position: relative;
  flex: none;
  width: calc(var(--w, 180) * var(--u));
  aspect-ratio: var(--ar, 4 / 5);
  margin-left: calc(var(--ml, 0) * var(--u)); /* negative values overlap cards */
  z-index: var(--z, 1);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  /* Offsets lift cards upward, never down, so no card extends past the bottom
     of the hero and out of the first screen. */
  transform: translateY(calc(var(--o, 0) * var(--u) * -1));
  transition: transform 0.55s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.hc-card:hover {
  transform: translateY(calc(var(--o, 0) * var(--u) * -1 - 14px)) scale(1.03);
  border-color: var(--line-2);
  z-index: 9;
}
.hc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
/* Flat panels break up the photo rhythm, as in the reference layout */
.hc-card.flat { background: var(--ink-4); }
.hc-card.tint { background: linear-gradient(150deg, rgba(243,193,58,0.26), rgba(243,193,58,0.05)); }
.hc-card.cream { background: var(--cream); border-color: transparent; }
.hc-card.cream .hc-label { color: rgba(10,10,11,0.66); text-shadow: none; }

.hc-label {
  position: absolute;
  top: 0.7rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
  max-width: 80%;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Chevron device over the photo cards, echoing the reference layout. Sits on
   the lower-left so it never covers the label. */
.hc-card.photo::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: 8%;
  width: 36%;
  aspect-ratio: 1 / 1.05;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 105' fill='%23fffff6'%3E%3Cpath d='M0 0h44l30 24-30 24H0l30-24z'/%3E%3Cpath d='M0 55h44l30 24-30 24H0l30-24z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  opacity: 0.88;
  pointer-events: none;
}
/* Photo cards get a soft scrim so the top-left label stays readable */
.hc-card.photo > img { position: relative; }
.hc-card.photo::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.55), transparent);
  pointer-events: none;
}

/* Line art on the flat panels: a diagonal with a node, or a crossed pair */
.hc-card.art-diag::after,
.hc-card.art-x::after {
  content: "";
  position: absolute;
  inset: 16%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.hc-card.art-diag::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100L100 0' stroke='%23000' stroke-opacity='.35' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='3.5' fill='%23000' fill-opacity='.45'/%3E%3C/svg%3E");
}
.hc-card.art-x::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0l100 100M100 0L0 100' stroke='%23fffff6' stroke-opacity='.28' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='3' fill='%23fffff6' fill-opacity='.5'/%3E%3Ccircle cx='100' cy='100' r='3' fill='%23fffff6' fill-opacity='.5'/%3E%3C/svg%3E");
}
/* the diagonal art is dark, so it needs a light panel behind it */
.hc-card.tint.art-diag::after { filter: invert(1) opacity(0.7); }

/* Corner metadata blocks, like a camera viewfinder HUD */
.hero-hud {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-hud.tr { top: clamp(3rem, 7vh, 5rem); right: var(--gutter); text-align: right; }
.hero-hud .rec { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); }
.hero-hud .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e5484d;
  animation: blink 1.6s infinite steps(1);
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }
@media (max-width: 780px) { .hero-hud.tr { display: none; } }

.scroll-cue {
  position: absolute;
  bottom: clamp(2.6rem, 6vh, 4rem);
  right: var(--gutter);
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------- 9. Marquee */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 0.85rem;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.75rem;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  white-space: nowrap;
  color: var(--cream);
}
.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.marquee-track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------- 10. Service index rows */
.svc-index { border-top: 1px solid var(--line); }

/* Three-part row: copy | perspective still | deliverables */
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .svc-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.6fr);
    gap: clamp(1.75rem, 4vw, 4rem);
  }
}

.svc-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}
.svc-row:hover .svc-num { color: var(--gold); }

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
  transition: color 0.4s var(--ease);
}
.svc-row:hover .svc-title { color: var(--gold); }

.svc-desc {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 1rem;
  max-width: 34ch;
}
.svc-lead .link-u { margin-top: 1.5rem; }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
/* pill treatment for the primary link, so the pair has a clear hierarchy */
.link-pill {
  background-image: none;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.link-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.link-pill:hover .btn-arrow svg { transform: translateX(3px); }
.svc-links .link-u { margin-top: 0; }

/* Slight perspective tilt so the still reads as a screen, not a flat crop */
.svc-shot {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transform: perspective(1100px) rotateX(7deg);
  transform-origin: center top;
  transition: transform 0.6s var(--ease);
}
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:hover .svc-shot { transform: perspective(1100px) rotateX(0deg) scale(1.015); }

.svc-list { display: grid; gap: 0.85rem; align-content: center; }
.svc-list li {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.svc-row:hover .svc-list li { color: var(--cream); }
.svc-list li:hover { color: var(--gold); padding-left: 5px; }

.svc-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: none;
}
@media (min-width: 760px) { .svc-tag { display: block; } }

.svc-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  flex: none;
  transition: all 0.4s var(--ease);
}
.svc-arrow svg { width: 13px; height: 13px; }
.svc-row:hover .svc-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

/* Image that follows the cursor across the service list (desktop only) */
.svc-peek {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  aspect-ratio: 4 / 5;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  overflow: hidden;
  border-radius: var(--radius);
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.svc-peek.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px), (pointer: coarse) { .svc-peek { display: none; } }

/* Service detail cards (services.html grid) */
.svc-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: var(--ink);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 290px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 100% at 0% 0%, var(--gold-wash), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover { background: var(--ink-2); }
.svc-card .n {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.svc-card h3 { font-size: var(--step-2); }
.svc-card p { color: var(--muted); font-size: 0.94rem; }
.svc-card .link-u { margin-top: auto; }

/* -------------------------------------------------------- 11. Work / grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--cream); border-color: var(--line-2); }
.filter[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.filter .c { opacity: 0.55; margin-left: 0.45rem; font-size: 0.62rem; }

.work-grid {
  display: grid;
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.work-card[hidden] { display: none; }

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: var(--radius);
  isolation: isolate;
}
.work-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card.tall .thumb { aspect-ratio: 4 / 5; }
@media (min-width: 1080px) {
  .work-card.wide { grid-column: span 2; }
  .work-card.wide .thumb { aspect-ratio: 16 / 9; }
}
.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.85);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.work-card:hover .thumb img { transform: scale(1.09); filter: saturate(1.1); }

.work-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10,10,11,0.9) 100%);
  opacity: 0.85;
  transition: opacity 0.5s var(--ease);
}
.work-card:hover .thumb::after { opacity: 1; }

.work-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.work-meta h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.05;
}
.work-meta .cat {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.work-meta .yr {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  flex: none;
}

/* Play chip that fades in on hover */
.work-card .chip {
  position: absolute;
  top: clamp(0.9rem, 1.8vw, 1.4rem);
  right: clamp(0.9rem, 1.8vw, 1.4rem);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-card .chip svg { width: 14px; height: 14px; margin-left: 2px; }
.work-card:hover .chip { opacity: 1; transform: scale(1); }

.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- 12. Stats */
/* Statement line with images set inline in the running text */
.stats-head {
  position: relative;
  display: grid;
  justify-content: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.stats-tag,
.stats-star {
  position: absolute;
  top: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stats-tag { left: 0; }
.stats-star { right: 0; top: 0; line-height: 0; }
.ornament { width: clamp(56px, 6.5vw, 104px); height: auto; overflow: visible; }
/* slow rotation on the arc, a gentle twinkle on the star */
.orn-arc {
  transform-box: view-box;
  transform-origin: 52px 76px;
  animation: orn-spin 22s linear infinite;
}
.orn-star {
  transform-box: view-box;
  transform-origin: 82px 30px;
  animation: orn-twinkle 4.5s ease-in-out infinite;
}
@keyframes orn-spin { to { transform: rotate(360deg); } }
@keyframes orn-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50%      { transform: scale(1.18) rotate(24deg); opacity: 1; }
}
@media (max-width: 860px) { .stats-tag, .stats-star { display: none; } }

.stats-line {
  max-width: 27ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.9vw, 3.3rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.028em;
  color: var(--muted);
  text-align: center;
  text-wrap: initial;
}
/* the inline stills sit on the text baseline, sized to the cap height */
.inline-shot {
  display: inline-block;
  width: clamp(64px, 8.5vw, 148px);
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  vertical-align: -0.22em;
  margin-inline: 0.12em;
}
.inline-shot img { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .v {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--cream);
  display: flex;
  align-items: baseline;
}
.stat .l {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* ------------------------------------------------------------ 13. Process */
.process { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 760px)  { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--ink);
  padding: clamp(1.9rem, 3vw, 2.6rem) clamp(1.4rem, 2.4vw, 2rem);
  position: relative;
  min-height: 260px;
}
.step .n {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  transition: -webkit-text-stroke 0.4s var(--ease);
}
.step:hover .n { -webkit-text-stroke: 1px var(--gold); }
.step h3 { font-size: var(--step-2); margin: 1.1rem 0 0.8rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* -------------------------------------------------------- 14. Testimonials */
.quote-slider { position: relative; overflow: hidden; }
.quote-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.quote-slide {
  flex: 0 0 100%;
  padding-right: 1px;
}
.quote-body {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
  max-width: 22ch;
}
.quote-body::before { content: "“"; color: var(--gold); }
.quote-body::after  { content: "”"; color: var(--gold); }
.quote-by {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-by .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-4);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  flex: none;
}
.slider-nav { display: flex; gap: 0.6rem; margin-top: 2.5rem; }
.slider-nav button {
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.slider-nav button svg { width: 14px; height: 14px; }
.slider-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Static testimonial cards (testimonials.html) */
.tcard {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tcard .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; }
.tcard blockquote { color: var(--cream); font-size: 1.02rem; line-height: 1.6; }

/* --------------------------------------------------------- 15. Client logos */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.client {
  background: var(--ink);
  min-height: 116px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.client:hover { color: var(--cream); background: var(--ink-2); }

/* -------------------------------------------------------------- 16. Journal */
.post-card { display: block; }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.07); filter: saturate(1.05); }
.post-card .meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.4rem 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.post-card .meta .k { color: var(--gold); }
.post-card h3 {
  font-size: var(--step-2);
  line-height: 1.05;
  transition: color 0.35s var(--ease);
}
.post-card:hover h3 { color: var(--gold); }
.post-card p { color: var(--muted); font-size: 0.94rem; margin-top: 0.8rem; }

.grid-3 { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 700px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 780px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (min-width: 600px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Article body (blog-post.html) */
.article { max-width: 74ch; margin-inline: auto; }
.article > * + * { margin-top: 1.5rem; }
.article h2 { font-size: var(--step-2); margin-top: 3rem; }
.article h3 { font-size: var(--step-1); margin-top: 2.25rem; font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; }
.article p { color: #d8d8d0; font-size: 1.06rem; line-height: 1.78; }
.article ul { display: grid; gap: 0.7rem; }
.article ul li { color: #d8d8d0; position: relative; padding-left: 1.4rem; }
.article ul li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.article blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: none;
  line-height: 1.25;
  letter-spacing: 0;
}
.article figure figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------------------------------------------------------- 17. Team */
.member .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
}
.member .ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.member:hover .ph img { filter: grayscale(0); transform: scale(1.05); }
.member .ph .socials {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  background: linear-gradient(transparent, rgba(10,10,11,0.9));
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}
.member:hover .ph .socials { transform: translateY(0); }
.member .ph .socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--cream);
  transition: all 0.3s var(--ease);
}
.member .ph .socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.member h3 { font-size: var(--step-1); margin-top: 1.2rem; }
.member .role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------- 18. Pricing */
.price-card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(1.9rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.price-card:hover { border-color: var(--line-2); transform: translateY(-5px); }
.price-card.featured { border-color: var(--gold); background: var(--ink-3); }
.price-card .badge {
  position: absolute;
  top: -1px; right: 1.6rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
}
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.price-card .amt {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.price-card .amt small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.price-card ul { display: grid; gap: 0.75rem; }
.price-card li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.price-card li::before { content: "✓"; color: var(--gold); flex: none; }
.price-card li.off { opacity: 0.4; }
.price-card li.off::before { content: "×"; color: var(--muted-2); }
.price-card .btn { margin-top: auto; justify-content: center; }

/* Sticky intro beside the question list */
.faq-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 940px) {
  .faq-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); }
  .faq-aside { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
}

/* ----------------------------------------------------------- 19. Accordion */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, 2.4vw, 1.75rem) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.acc-q:hover { color: var(--gold); }
.acc-q .ic {
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: all 0.35s var(--ease);
}
.acc-q .ic::before, .acc-q .ic::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.acc-q .ic::before { width: 11px; height: 1px; }
.acc-q .ic::after  { width: 1px; height: 11px; }
.acc-q[aria-expanded="true"] .ic { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.acc-q[aria-expanded="true"] .ic::after { transform: rotate(90deg); opacity: 0; }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.acc-a > div { padding-bottom: 1.75rem; color: var(--muted); max-width: 68ch; }

/* --------------------------------------------------------------- 20. Forms */
.form-grid { display: grid; gap: 1.4rem; }
@media (min-width: 680px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 0.55rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 0.85rem 0;
  color: var(--cream);
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; }
.field.select-wrap { position: relative; }
.field.select-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 2.1rem;
  width: 7px; height: 7px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.field select option { background: var(--ink-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field .err {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #ff6b6b;
  min-height: 1em;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff6b6b; }

.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
}
.consent input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; margin-top: 3px; }

.form-note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-height: 1.2em;
}

/* ------------------------------------------------------------ 21. CTA band */
/* (the closing CTA band was removed from every page) */

/* ------------------------------------------------------------ 22. Page hero */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120vw;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, var(--gold-wash), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero p { color: var(--muted); max-width: 58ch; margin-top: 1.4rem; font-size: var(--step-1); font-weight: 300; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.6rem;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--gold); }

/* ------------------------------------------------------------- 23. Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1100px, 92vw); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; }
.lightbox figcaption {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lightbox figcaption strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.lightbox-close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox-nav.prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox-nav.next { right: clamp(0.5rem, 2vw, 2rem); }
.lightbox-nav svg, .lightbox-close svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------- 24. Footer */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.footer-top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-brand img { height: clamp(64px, 7vw, 80px); width: auto; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--muted); max-width: 40ch; font-size: 0.94rem; }

.footer-sub {
  display: flex;
  border: 1px solid var(--line-2);
  margin-top: 1.75rem;
  max-width: 380px;
}
.footer-sub input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-size: 0.9rem;
}
.footer-sub input:focus { outline: none; }
.footer-sub input::placeholder { color: var(--muted-2); }
.footer-sub button {
  padding: 0 1.2rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease);
}
.footer-sub button:hover { background: var(--cream); }

/* Oversized wordmark that bleeds off the bottom of the page */
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 12.2vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap; /* must stay on one line or it clips mid-letter */
  line-height: 1.05;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 246, 0.12);
  user-select: none;
  padding-top: 1rem;
  overflow: hidden;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --------------------------------------------------------- 25. Misc / utils */
.social-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-row a {
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-43 { aspect-ratio: 4 / 3; }
.media-frame.ratio-11 { aspect-ratio: 1; }
.media-frame.ratio-169 { aspect-ratio: 16 / 9; }
.media-frame.ratio-34 { aspect-ratio: 3 / 4; }

.info-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.info-row .ic {
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}
.info-row .ic svg { width: 16px; height: 16px; }
.info-row h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.info-row p, .info-row a { font-size: 1rem; }
.info-row a:hover { color: var(--gold); }

.map-frame {
  aspect-ratio: 21 / 9;
  background: var(--ink-3);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.6;
}
.map-frame .pin {
  position: relative;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-frame .pin b { display: block; color: var(--gold); margin-bottom: 0.4rem; }

/* 404 */
.err-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 26vw, 20rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

/* Back-to-top */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 800;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 15px; height: 15px; }

/* ------------------------------------------------- 26. Scroll-reveal + a11y */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 1100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* ------------------------------------------------- 27. Decorative marks */
.orn-arrow { display: block; margin-bottom: 0.5rem; }
.orn-arrow svg {
  width: clamp(58px, 6vw, 88px);
  height: auto;
  animation: orn-bob 3.6s ease-in-out infinite;
}
@keyframes orn-bob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(4px, 8px) rotate(4deg); }
}

.orn-lens { display: block; margin-bottom: 0.75rem; }
.orn-lens svg { width: clamp(104px, 12vw, 168px); height: auto; }
/* the iris breathes open and closed; the barrel creeps the other way */
.orn-iris {
  transform-box: view-box;
  transform-origin: 120px 120px;
  animation: orn-iris 9s ease-in-out infinite;
}
.orn-barrel {
  transform-box: view-box;
  transform-origin: 120px 120px;
  animation: orn-roll 40s linear infinite reverse;
}
.orn-flare {
  transform-box: view-box;
  transform-origin: 120px 120px;
  animation: orn-roll 18s linear infinite;
}
@keyframes orn-iris {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(22deg) scale(0.82); }
}

@keyframes orn-roll { to { transform: rotate(360deg); } }

/* ---------------------------------------- 28. Service page banner + list */
.svc-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* pulled up behind the transparent header so the image starts at the very
     top of the page and the nav floats over it */
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  /* same height on every inner page */
  min-height: calc(var(--nav-h) + clamp(230px, 30vh, 330px));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.svc-banner > .container { width: 100%; }
.svc-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.84) 45%, rgba(10,10,11,0.76) 100%);
}
.svc-banner h1 {
  font-size: clamp(1.3rem, 3.75vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  max-width: 14ch;
}
/* title on the left, supporting copy on the right */
.banner-grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 900px) {
  .banner-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); gap: clamp(2rem, 5vw, 5rem); }
}
.banner-copy {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  max-width: 40ch;
}
.svc-others { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 700px)  { .svc-others { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-others { grid-template-columns: repeat(3, 1fr); } }
.svc-other {
  background: var(--ink);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.98rem;
  color: var(--muted);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.svc-other:hover { background: var(--ink-2); color: var(--cream); padding-left: 1.9rem; }
.svc-other-ic { flex: none; width: 15px; height: 15px; color: var(--gold); opacity: 0; transition: opacity 0.3s var(--ease); }
.svc-other-ic svg { width: 15px; height: 15px; }
.svc-other:hover .svc-other-ic { opacity: 1; }

/* ------------------------------------------- 29. Project detail pages */
.proj-meta {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .proj-meta { grid-template-columns: repeat(4, 1fr); } }
.proj-meta > div { background: var(--ink); padding: 1.5rem clamp(1rem, 2vw, 1.6rem); }
.proj-meta h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.proj-meta p { font-size: 0.98rem; }

/* Click-to-play YouTube facade — no third-party script until the user asks */
.yt-embed {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0;
  isolation: isolate;
}
.yt-embed img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.7); transition: transform 0.8s var(--ease), filter 0.5s var(--ease); }
.yt-embed:hover img { transform: scale(1.04); filter: saturate(1) brightness(0.8); }
.yt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.yt-play svg {
  width: 26px; height: 26px;
  margin-left: 4px;
  padding: 22px;
  box-sizing: content-box;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.4s var(--ease);
}
.yt-embed:hover .yt-play svg { transform: scale(1.08); }
.yt-label {
  position: absolute;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* hidden until a real id is pasted in */
.yt-embed[data-yt="VIDEO_ID"] { display: none; }

.gal-grid { display: grid; gap: clamp(0.6rem, 1.2vw, 1rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
.gal-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.gal-item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform 0.8s var(--ease), filter 0.5s var(--ease); }
.gal-item:hover img { transform: scale(1.05); filter: saturate(1.05); }

/* --------------------------------------- 30. Mobile quick-contact bar */
/* Extra breathing room between the logo and the hamburger inside the pill */
@media (max-width: 1079px) {
  .nav { gap: clamp(1.25rem, 6vw, 3rem); }
}

.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 860;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .mobile-cta a {
    background: rgba(16, 16, 18, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream);
  }
  .mobile-cta a:last-child { background: var(--gold); color: var(--ink); }
  .mobile-cta svg { width: 18px; height: 18px; flex: none; }
  /* keep the bar from covering the end of the footer, and lift the to-top button */
  body { padding-bottom: 56px; }
  .to-top { bottom: calc(56px + 1rem); }
}
