/* ============================================================
   ROCKY ROOS — A24 / Editorial Multipage Redesign
   Clean CSS

   Fonts:
   - Text / UI: Adobe Typekit via:
     <link rel="stylesheet" href="https://use.typekit.net/fzo2pup.css">
   - Titles: Sharp Grotesk Medium/Bold 25 from /fonts

   Required font files:
   - fonts/SharpGrotesk-Medium25.woff2
   - fonts/SharpGrotesk-Bold25.woff2
   ============================================================ */

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('fonts/SharpGrotesk-Medium25.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('fonts/SharpGrotesk-Bold25.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #030303;
  --ink-soft: #0b0b0a;
  --paper: #f3f0e8;
  --paper-muted: rgba(243, 240, 232, 0.62);
  --paper-faint: rgba(243, 240, 232, 0.18);
  --rule: rgba(243, 240, 232, 0.16);
  --rule-strong: rgba(243, 240, 232, 0.36);
  --accent: #d8d0be;
  --danger: #ff3f2f;
  --max: 1680px;
  --gutter: clamp(1rem, 2.5vw, 2.8rem);
  --header-h: 5.1rem;

  --f-sans: 'neue-haas-grotesk-text', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'garamond-premier-pro-display', 'garamond-premier-pro', 'adobe-garamond-pro', Georgia, serif;
  --f-title: 'Sharp Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --f-text: var(--f-sans);
  --f-ui: var(--f-sans);

  /* Aliases used by older selectors */
  --f-display: var(--f-title);
  --f-mono: var(--f-ui);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 18%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.05), transparent 19%);
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

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

/* ------------------------------------------------------------
   Shared Header / Navigation
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  color: var(--paper);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.68), rgba(0,0,0,0));
}

.site-logo {
  justify-self: start;
  position: relative;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: clamp(9.8rem, 13vw, 15rem);
  min-height: 2.15rem;
  line-height: 0;
  color: var(--paper);
}

.site-logo img {
  display: block;
  width: clamp(9.8rem, 13vw, 15rem);
  max-width: 36vw;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 1px 18px rgba(0,0,0,0.72));
}

.site-logo-fallback {
  display: none;
  font-family: var(--f-title);
  font-size: clamp(1.05rem, 1.35vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav a,
.menu-toggle,
.header-meta {
  font-family: var(--f-ui);
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.primary-nav a {
  opacity: 0.52;
  transition: opacity 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  opacity: 1;
}

.header-meta {
  justify-self: end;
  opacity: 0.58;
}

.menu-toggle {
  display: none;
  justify-self: end;
}

/* ------------------------------------------------------------
   Page Shell / General Typography
   ------------------------------------------------------------ */
.page-main {
  min-height: 100vh;
  padding-top: var(--header-h);
}

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

.eyebrow {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.page-kicker {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--rule);
}

.page-title {
  margin: 0;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 10rem);
  line-height: 0.88;
  letter-spacing: 0.006em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(1.25rem, 3.2vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.text-muted {
  color: var(--paper-muted);
}

/* ------------------------------------------------------------
   Home
   ------------------------------------------------------------ */
.home-shell {
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: #000;
  isolation: isolate;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.58)),
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.10), transparent 34%);
}

.hero-negative {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(6.25rem, 9.5vh, 8.6rem);
  z-index: 4;
  display: block;
  width: auto;
  max-width: calc(100vw - (var(--gutter) * 2));
  pointer-events: auto;
  user-select: text;
  mix-blend-mode: difference;
  overflow: visible;
}

.hero-negative h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #fff;
  font-family: var(--f-title);
  font-weight: 500;
  font-size: clamp(4.8rem, 14.8vw, 17rem);
  line-height: 0.82;
  letter-spacing: 0.006em;
  text-transform: uppercase;
  opacity: 1;
  user-select: text;
  cursor: text;
  filter: contrast(1.25);
}

.hero-negative h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.22);
  text-stroke: 1px rgba(255,255,255,0.22);
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  inset: var(--header-h) var(--gutter) 1.35rem;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  pointer-events: none;
}

.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
}

.hero-left {
  gap: 0.38rem;
  max-width: min(28rem, 42vw);
}

.hero-right {
  align-items: flex-end;
  gap: 0.72rem;
  text-align: right;
}

.hero-line {
  font-family: var(--f-ui);
  font-size: clamp(0.62rem, 0.75vw, 0.82rem);
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 18px rgba(0,0,0,0.35);
}

.hero-left .hero-line {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.006em;
  line-height: 1.12;
  font-size: clamp(0.95rem, 1.15vw, 1.55rem);
  color: rgba(255,255,255,0.66);
  max-width: 27rem;
  text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}

.hero-right .hero-line {
  font-family: var(--f-ui);
  font-style: normal;
  font-size: clamp(0.58rem, 0.68vw, 0.76rem);
  line-height: 1.35;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}

.hero-actions {
  pointer-events: all;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 999px;
  color: #fff;
  font-family: var(--f-ui);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.link-pill:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ------------------------------------------------------------
   Work
   ------------------------------------------------------------ */
.work-page {
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(2rem, 5vw, 5rem) 0 1.2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.82rem 0;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.66rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--paper-muted);
  font-family: var(--f-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.work-count {
  font-family: var(--f-ui);
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.work-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 14vw) 1fr minmax(7rem, 11vw) minmax(6rem, 8vw);
  align-items: center;
  gap: 1rem;
  min-height: clamp(7rem, 12vw, 13rem);
  border-bottom: 1px solid var(--rule);
  color: var(--paper);
  overflow: hidden;
}

.work-card[hidden] {
  display: none;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover::before {
  transform: scaleY(1);
}

.work-card > * {
  position: relative;
  z-index: 1;
}

.work-num,
.work-meta,
.work-year {
  font-family: var(--f-ui);
  font-size: clamp(0.62rem, 0.75vw, 0.76rem);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper-muted);
  transition: color 180ms ease;
}

/* Work page project titles: Sharp Grotesk Medium 25 */
.work-title {
  margin: 0;
  font-family: var(--f-title);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 260ms ease;
}

.work-card:hover .work-title,
.work-card:hover .work-num,
.work-card:hover .work-meta,
.work-card:hover .work-year {
  color: var(--ink);
}

.work-card:hover .work-title {
  transform: translateX(0.12em);
}

.work-preview {
  position: fixed;
  right: var(--gutter);
  top: 50%;
  z-index: 80;
  width: min(34vw, 34rem);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule-strong);
  background: var(--ink-soft);
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.work-preview.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.work-preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-title);
  font-size: clamp(5rem, 12vw, 12rem);
  letter-spacing: -0.032em;
  color: transparent;
  -webkit-text-stroke: 1px var(--paper-faint);
}

/* ------------------------------------------------------------
   Reel / Video Frame
   ------------------------------------------------------------ */
.reel-layout {
  display: grid;
  grid-template-columns: minmax(24rem, 0.52fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: center;
  min-height: calc(100svh - var(--header-h) - clamp(8rem, 14vw, 14rem));
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.reel-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.reel-title {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: clamp(5rem, 10.7vw, 13.5rem);
  line-height: 0.88;
  letter-spacing: 0.006em;
  white-space: nowrap;
}

.reel-intro {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.08;
}

.reel-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  background: var(--ink-soft);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.reel-frame iframe,
.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------------------------------------
   Project Pages
   ------------------------------------------------------------ */
.project-page .page-title,
body:has(.site-logo[href="../index.html"]) .page-title {
  font-family: var(--f-title);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.004em;
}

.project-page .reel-frame,
body:has(.site-logo[href="../index.html"]) .reel-frame {
  margin-top: clamp(2rem, 4vw, 4rem);
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.45fr) 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.about-mark {
  min-height: 64vh;
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(243,240,232,0.04), transparent 60%),
    var(--ink-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-photo {
  position: relative;
  min-height: 64vh;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--ink-soft);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 64vh;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%) contrast(1.08);
  user-select: none;
  -webkit-user-drag: none;
}

.about-mark span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper-faint);
  font-family: var(--f-title);
  font-size: clamp(8rem, 20vw, 24rem);
  line-height: 0.76;
  letter-spacing: -0.035em;
}

.about-copy {
  align-self: end;
}

.about-copy h1 {
  margin: 0 0 clamp(2rem, 4vw, 4rem);
  font-family: var(--f-title);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0.004em;
  text-transform: uppercase;
}

.statement {
  margin: 0;
  max-width: 62rem;
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.45rem, 3.15vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--rule);
  padding-top: 1.2rem;
}

.bio-grid p {
  margin: 0;
  font-family: var(--f-serif);
  font-size: clamp(1.08rem, 1.45vw, 1.45rem);
  line-height: 1.46;
  letter-spacing: 0;
  color: rgba(243, 240, 232, 0.68);
}

.services-list {
  margin-top: clamp(3rem, 7vw, 7rem);
  border-top: 1px solid var(--rule);
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 0.52fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.contact-title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--f-title);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 9.6rem);
  line-height: 0.96;
  letter-spacing: 0.004em;
  text-transform: none;
}

.contact-panel {
  border-top: 1px solid var(--rule);
  padding-top: 1.2rem;
}

.contact-links {
  display: grid;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.contact-links a {
  font-family: var(--f-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
  transition: color 160ms ease;
}

.contact-links a:hover {
  color: var(--paper);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.36rem;
}

.field label {
  font-family: var(--f-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  padding: 0.75rem 0;
  outline: 0;
  resize: vertical;
  font-family: var(--f-text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--paper);
}

.field select option {
  background: var(--ink);
}

.submit-btn {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--paper);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--f-ui);
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-muted);
  font-family: var(--f-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 4.6rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.86), rgba(0,0,0,0));
  }

  .site-logo {
    min-width: 10rem;
  }

  .site-logo img {
    width: 10rem;
    max-width: 48vw;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-meta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 6rem var(--gutter) 2rem;
    background: rgba(3,3,3,0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .primary-nav {
    opacity: 1;
    pointer-events: all;
    transform: none;
  }

  .primary-nav a {
    font-family: var(--f-title);
    font-weight: 500;
    font-size: clamp(3rem, 15vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.018em;
    opacity: 1;
  }

  .page-main {
    padding-top: 4.6rem;
  }

  .reel-layout,
  .about-layout,
  .contact-layout,
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .work-preview {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 1rem;
    --header-h: 4.4rem;
  }

  .site-header {
    height: var(--header-h);
    padding-inline: var(--gutter);
    grid-template-columns: 1fr auto;
  }

  .site-logo {
    min-width: 8.4rem;
  }

  .site-logo img {
    width: 8.4rem;
    max-width: 54vw;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.4rem;
  }

  .primary-nav {
    padding: 6rem var(--gutter) 2rem;
  }

  .primary-nav a {
    font-size: clamp(3.2rem, 17vw, 6.8rem);
  }

  .page-main {
    padding-top: var(--header-h);
  }

  .page-kicker {
    padding-top: 1.35rem;
    margin-bottom: 2.2rem;
    flex-direction: column;
    gap: 0.55rem;
  }

  .eyebrow {
    font-size: 0.58rem;
    line-height: 1.35;
    letter-spacing: 0.15em;
  }

  .page-title {
    font-size: clamp(4rem, 23vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: 0.006em;
  }

  .project-page .page-title,
  body:has(.site-logo[href="../index.html"]) .page-title {
    font-size: clamp(2.6rem, 14vw, 5.2rem);
    line-height: 0.95;
  }

  .page-intro {
    font-size: clamp(1.2rem, 7vw, 2.2rem);
    line-height: 1.08;
  }

  /* Home mobile */
  .home-shell,
  .hero {
    min-height: 100svh;
  }

  .hero-frame {
    inset: var(--header-h) var(--gutter) 1rem;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 1.1rem;
  }

  .hero-right {
    align-items: flex-start;
    text-align: left;
  }

  .hero-negative {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 8.9rem;
    width: calc(100vw - (var(--gutter) * 2));
    max-width: calc(100vw - (var(--gutter) * 2));
  }

  .hero-negative h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    font-size: clamp(2.95rem, 13.6vw, 5.15rem);
    line-height: 0.98;
    letter-spacing: -0.006em;
  }

  .hero-left {
    max-width: 20rem;
    gap: 0.32rem;
  }

  .hero-left .hero-line {
    font-size: clamp(0.98rem, 4.9vw, 1.45rem);
    line-height: 1.12;
    letter-spacing: -0.004em;
    max-width: 20rem;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.35rem;
  }

  .link-pill {
    min-height: 2.55rem;
    padding: 0 0.75rem;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  /* Work mobile */
  .work-page {
    padding-bottom: 4rem;
  }

  .work-toolbar {
    margin-top: 2rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .work-filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .work-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    font-size: 0.55rem;
    padding: 0.62rem 0.75rem;
  }

  .work-count {
    font-size: 0.58rem;
  }

  .work-card {
    grid-template-columns: 3.1rem 1fr;
    grid-template-areas:
      "num title"
      "num meta";
    gap: 0.7rem;
    min-height: auto;
    padding: 1.35rem 0;
  }

  .work-num {
    grid-area: num;
    font-size: 0.58rem;
  }

  .work-title {
    grid-area: title;
    font-size: clamp(1.7rem, 9vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: 0.002em;
    overflow-wrap: anywhere;
  }

  .work-meta {
    grid-area: meta;
    font-size: 0.55rem;
  }

  .work-year {
    display: none;
  }

  .work-card:hover .work-title {
    transform: none;
  }

  /* Reel mobile */
  .reel-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    align-items: start;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .reel-title {
    white-space: normal;
    font-size: clamp(4.2rem, 23vw, 7.4rem);
    line-height: 0.92;
  }

  .reel-intro {
    font-size: clamp(1.2rem, 7vw, 2.1rem);
    max-width: 100%;
  }

  .reel-frame {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* About mobile */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
  }

  .about-mark,
  .about-photo {
    min-height: 52vh;
  }

  .about-photo img {
    min-height: 52vh;
    object-position: center top;
  }

  .about-copy {
    align-self: auto;
  }

  .about-copy h1 {
    font-size: clamp(4rem, 21vw, 7rem);
    line-height: 0.92;
    margin-bottom: 1.6rem;
  }

  .statement {
    font-size: clamp(1.45rem, 8vw, 2.55rem);
    line-height: 1.08;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-top: 2.6rem;
  }

  .bio-grid p {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .services-list {
    margin-top: 2.6rem;
  }

  .service-row {
    font-size: 0.6rem;
    line-height: 1.35;
    padding: 0.85rem 0;
  }

  /* Contact mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    padding-bottom: 4rem;
  }

  .contact-title {
    font-size: clamp(3rem, 15vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: 0.002em;
    max-width: 8ch;
  }

  .contact-panel {
    padding-top: 1rem;
  }

  .contact-links {
    margin-bottom: 2.4rem;
  }

  .contact-links a {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 1rem;
    padding: 0.82rem 0;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.9rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.55rem;
    line-height: 1.4;
  }
}

@media (max-width: 430px) {
  .hero-negative h1 {
    font-size: clamp(2.85rem, 13.1vw, 4.75rem);
    letter-spacing: -0.008em;
  }
}

@media (max-width: 390px) {
  .hero-negative {
    bottom: 8.6rem;
  }

  .hero-negative h1 {
    font-size: clamp(2.72rem, 12.7vw, 4.45rem);
    letter-spacing: -0.01em;
  }

  .hero-left .hero-line {
    font-size: clamp(0.92rem, 4.7vw, 1.25rem);
  }
}

@media (max-width: 360px) {
  .hero-negative h1 {
    font-size: clamp(2.58rem, 12.2vw, 4.1rem);
  }
}


/* ============================================================
   HOME CTA ALIGNMENT — center "Available for projects" above buttons
   Added as the only override to keep mobile unchanged.
   ============================================================ */

@media (min-width: 761px) {
  .hero-right {
    justify-self: end;
    align-items: stretch;
    text-align: center;
  }

  .hero-right .hero-line {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    width: max-content;
    justify-content: center;
  }
}
