/* ==========================================================================
   MIYLAF — Architecture & Design Studio
   Palette taken from the 2026 identity: olive card stock on travertine.
   ========================================================================== */

:root {
  /* Colour — olive is the brand, travertine is the ground it sits on */
  --olive:         #757253;  /* the card stock itself */
  --olive-card:    #6E6B4D;  /* same stock in shade — carries light text at AA */
  --olive-deep:    #4A4835;
  --olive-pale:    #A8A488;

  --bg:            #E9E5D7;
  --bg-alt:        #DCD7C4;
  --bg-card:       #F6F3E9;
  --bg-dark:       #2E2D22;
  --text:          #2A2A20;
  --text-muted:    #4E4C3D;
  --text-light:    #F4F2E9;
  --accent:        var(--olive);
  --accent-dark:   var(--olive-deep);
  --border:        rgba(42, 42, 32, 0.16);
  --hairline:      rgba(42, 42, 32, 0.1);

  /* Type */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --section-y: clamp(5rem, 11vw, 9rem);

  /* Misc */
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
}

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

/* Offscreen until tabbed to — the header and hero sit ahead of the work */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  transform: translateY(-120%);
  background: var(--olive-deep);
  color: var(--text-light);
  padding: 0.8rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform var(--transition);
}

.skip-link:focus { transform: translateY(0); }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container.narrow { max-width: 760px; }

.kicker {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin: 0 0 var(--space-2);
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: var(--space-3);
}

/* A hairline under the section label, so each section opens on a clear edge */
.section-head {
  padding-bottom: var(--space-4);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--hairline);
}

.section-head .section-title { margin-bottom: 0; }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Header ------------------------------------------------------------- */
/* Transparent while it sits over the hero photograph, solid once past it. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--text-light);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(233, 229, 215, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
  color: var(--text);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 38px;
  height: auto;
  fill: currentColor;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
}

/* --- MF monogram -------------------------------------------------------- */
/* The mark is a ligature: the F's stem sits exactly on the M's right stem,
   so the two glyphs are drawn as one shape. Set in the heading serif, which
   carries the same high-contrast bracketed serifs as the printed identity. */
.mf-mark text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 132px;
  /* Both glyphs must paint as a single silhouette — any fill difference
     would expose the seam where the stems overlap */
  fill: inherit;
}

.nav-links {
  display: flex;
  gap: var(--space-4);
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.85;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  padding: var(--space-1);
  color: inherit;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 clamp(1.25rem, 4vw, 3rem) var(--space-3);
  background: rgba(233, 229, 215, 0.98);
  backdrop-filter: blur(12px);
  color: var(--text);
  border-top: 1px solid var(--hairline);
}

.mobile-nav a {
  padding: var(--space-2) 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav a:last-child { border-bottom: none; }

/* --- Intro screen ------------------------------------------------------- */
/* Styled as the identity's business card: olive stock, debossed monogram. */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--olive-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  transition: opacity 1.6s var(--ease), visibility 1.6s var(--ease);
}

/* Paper grain — a fine, tinted wash so the olive reads as card stock
   rather than a flat fill. Two offset gradients, no image request. */
.intro-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(ellipse at 28% 24%, rgba(255, 255, 255, 0.09), transparent 58%),
    radial-gradient(ellipse at 78% 82%, rgba(35, 34, 22, 0.22), transparent 62%);
}

.intro-content { position: relative; }

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-logo { margin-bottom: var(--space-3); }

.monogram {
  width: clamp(150px, 26vw, 230px);
  height: auto;
  opacity: 0;
  animation: logo-appear 2.2s var(--ease) 0.4s forwards;
}

.intro-title {
  font-size: clamp(1.8rem, 5.4vw, 3rem);
  letter-spacing: 0.34em;
  /* Tracking adds space after the final letter too — pull the block back
     so the wordmark stays optically centred under the monogram */
  text-indent: 0.34em;
  margin: 0;
  opacity: 0;
  animation: text-appear 1.6s var(--ease) 1.6s forwards;
}

.intro-subtitle {
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  /* Opaque, not a faded light: at this size anything under full --text-light
     drops below 4.5:1 once it composites onto the olive */
  color: var(--text-light);
  margin: var(--space-2) 0 0;
  opacity: 0;
  animation: text-appear 1.6s var(--ease) 2.6s forwards;
}

/* The card's footer line: consultation | design | execution */
.intro-services {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.7rem, 2.5vw, 1.4rem);
  margin: var(--space-3) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(244, 242, 233, 0.28);
  font-size: clamp(0.55rem, 1.3vw, 0.64rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0;
  animation: text-appear 1.6s var(--ease) 3.4s forwards;
}

.intro-services span:not(:last-child)::after {
  content: '|';
  margin-left: clamp(0.7rem, 2.5vw, 1.4rem);
  color: rgba(244, 242, 233, 0.55);
}

.skip-intro {
  margin-top: var(--space-4);
  background: none;
  /* 0.75 is the lowest alpha that keeps the button outline at 3:1 on olive */
  border: 1px solid rgba(244, 242, 233, 0.75);
  color: var(--text-light);
  padding: 0.8rem 2.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: text-appear 1.2s var(--ease) 4.2s forwards;
  transition: background var(--transition), color var(--transition);
}

.skip-intro:hover {
  background: var(--text-light);
  border-color: var(--text-light);
  color: var(--olive-deep);
}

@keyframes logo-appear {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

@keyframes text-appear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--text-light);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slow drift keeps the still photograph from feeling like a flat backdrop */
  animation: hero-drift 24s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; transform: scale(1.04); }
}

@keyframes hero-drift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Olive-tinted shade, heaviest where the type sits */
.hero-shade {
  position: absolute;
  inset: 0;
  /* Density held through the middle band, where the kicker sits over bright
     sky — thinning it there dropped that line to 2.5:1 */
  background:
    linear-gradient(to top,
      rgba(28, 28, 20, 0.93) 0%,
      rgba(28, 28, 20, 0.88) 30%,
      rgba(28, 28, 20, 0.82) 54%,
      rgba(28, 28, 20, 0.34) 80%,
      rgba(28, 28, 20, 0.38) 100%),
    linear-gradient(to right, rgba(46, 45, 34, 0.6) 0%, rgba(46, 45, 34, 0.12) 62%, transparent 100%);
}

.hero-inner {
  position: relative;
  padding-bottom: clamp(5rem, 12vw, 8rem);
  padding-top: calc(var(--header-h) + var(--space-5));
}

.hero-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 242, 233, 0.92);
  margin: 0 0 var(--space-3);
}

.hero-line {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  max-width: 18ch;
  font-style: italic;
  color: var(--text-light);
  text-wrap: balance;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 1.8rem);
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(244, 242, 233, 0.3);
  max-width: 32rem;
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
}

.hero-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.85;
  transition: opacity var(--transition);
}

.hero-cue:hover { opacity: 1; }

.hero-cue svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue-nudge 2.4s ease-in-out infinite;
}

@keyframes cue-nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* --- Work --------------------------------------------------------------- */
.work { padding: var(--section-y) 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem);
  /* Cards keep their photograph's own height rather than being stretched to
     match their neighbour — the ragged rows are the point */
  align-items: start;
}

.work-card.is-feature { grid-column: 1 / -1; }

.work-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
}

/* aspect-ratio is set per card in app.js from the cover's true proportion;
   4/5 is only the fallback if that ever fails to apply. */
.work-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
}

.work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

.work-trigger:hover .work-frame img,
.work-trigger:focus-visible .work-frame img { transform: scale(1.045); }

/* Photograph count, so the card reads as a set rather than a single image */
.work-count {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  min-width: 2.1rem;
  padding: 0.25rem 0.5rem;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  background: rgba(28, 28, 20, 0.55);
  backdrop-filter: blur(4px);
}

.work-caption {
  display: block;
  padding-top: var(--space-3);
}

.work-title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.is-feature .work-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }

.work-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.work-excerpt {
  display: block;
  margin-top: var(--space-2);
  max-width: 52ch;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- Studio ------------------------------------------------------------- */
.studio {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.studio-body {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  margin: 0;
}

.studio-body strong { color: var(--text); font-weight: 500; }

/* The identity's service line, carried through from the card */
.studio-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.2rem);
  margin: var(--space-4) 0 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

/* --- Contact ------------------------------------------------------------ */
.contact {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.contact-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.contact-list .icon { margin-top: 4px; color: var(--olive-deep); }

.contact-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list a { border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.contact-list a:hover { border-bottom-color: var(--olive); }

/* Form */
.contact-form { display: grid; gap: var(--space-3); }

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

.field label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 0;
  width: 100%;
  transition: border-color var(--transition);
}

.field textarea { resize: vertical; }

/* Colour the border on any focus, but only drop the outline for pointer
   focus — keyboard users keep the global :focus-visible ring */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--olive);
}

.field input:focus:not(:focus-visible),
.field select:focus:not(:focus-visible),
.field textarea:focus:not(:focus-visible) {
  outline: none;
}

.submit-btn {
  justify-self: start;
  background: var(--olive-deep);
  color: var(--text-light);
  border: 1px solid var(--olive-deep);
  padding: 0.9rem 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.submit-btn:hover:not(:disabled) {
  background: transparent;
  color: var(--olive-deep);
}

.submit-btn:disabled { opacity: 0.55; cursor: default; }

.form-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.form-status.error { color: #A33222; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-5) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-mark {
  width: 46px;
  height: auto;
  fill: rgba(244, 242, 233, 0.9);
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  margin: 0;
}

.footer-sub {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 242, 233, 0.6);
  margin: 0.3rem 0 0;
}

.footer-social { display: flex; gap: var(--space-2); }

/* Padding + matching negative margin buys a 44px touch target without
   changing where the icons actually sit */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: rgba(244, 242, 233, 0.7);
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--olive-pale); }

.footer-copy {
  font-size: 0.7rem;
  color: rgba(244, 242, 233, 0.6);
  margin: 0;
}

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(22, 22, 16, 0.96);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: var(--space-5) var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-close {
  position: fixed;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--text-light);
  padding: var(--space-1);
}

.lightbox-close svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.lightbox-panel {
  width: 100%;
  max-width: 1000px;
  color: var(--text-light);
}

.lb-stage {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
}

.lb-stage img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 22, 16, 0.5);
  border: 1px solid rgba(244, 242, 233, 0.25);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lb-arrow:hover { background: rgba(22, 22, 16, 0.85); }
.lb-arrow.prev { left: var(--space-2); }
.lb-arrow.next { right: var(--space-2); }

.lb-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-counter {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  background: rgba(22, 22, 16, 0.6);
  padding: 0.3rem 0.8rem;
}

.lb-info { padding: var(--space-3) 0 0; }

.lb-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.lb-meta {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-pale);
  margin: 0 0 var(--space-2);
}

.lb-desc {
  font-size: 0.95rem;
  color: rgba(244, 242, 233, 0.82);
  margin: 0;
  max-width: 70ch;
}

.lb-materials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-3) 0 0;
  padding: 0;
}

.lb-materials li {
  border: 1px solid rgba(244, 242, 233, 0.28);
  padding: 0.35rem 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 242, 233, 0.78);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* Drawer only ever opens at mobile widths */
  .mobile-nav.open { display: flex; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 700px) {
  /* One column already gives every card full width, so the feature span
     stops meaning anything here — every card is a feature */
  .work-grid { grid-template-columns: 1fr; }

  .hero { min-height: min(88vh, 720px); }
  .hero-line { max-width: 14ch; }
  .hero-cue { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .lightbox { padding: var(--space-4) var(--space-2); }
  .lb-arrow { width: 38px; height: 38px; }
}
