/* ===========================================================
   DINO — public site stylesheet
   Light, airy, luxury. Ivory + champagne gold + charcoal.
   =========================================================== */

/* === TOKENS === */
:root {
  --bg:        #FBF9F6;   /* ivory page */
  --bg-2:      #F3EEE7;   /* warm sand panel */
  --bg-3:      #FFFFFF;   /* card white */
  --ink:       #14120F;   /* near black */
  --ink-2:     #45403A;   /* body text */
  --muted:     #8C8477;   /* captions, meta */
  --line:      #E6DFD4;   /* hairline rules */
  --gold:      #B5934F;   /* champagne gold accent */
  --gold-soft: #DCC79B;   /* light gold */
  --gold-wash: #F7F1E6;   /* gold tint wash */
  --radius:    2px;       /* near-square, luxury = minimal rounding */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --maxw:      1280px;

  /* derived helpers (rgb channels for rgba scrims only) */
  --ink-rgb:   20, 18, 15;
  --bg-rgb:    251, 249, 246;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Jost', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --gut:       16px;      /* side gutter, grows on larger screens */
  --head-h:    72px;
  --sec-y:     clamp(72px, 11vw, 160px);
}

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading #main,
body.is-loading .header,
body.is-loading .footer { opacity: 0; }

#main, .header, .footer { opacity: 1; transition: opacity 600ms var(--ease); }

body.menu-open, body.lb-open { overflow: hidden; }

[hidden] { display: none !important; }

img, video { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
dt, dd { margin: 0; }

.anchor-top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--sec-y); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bg);
  padding: .8rem 1.2rem; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; }

/* === TYPOGRAPHY UTILITIES === */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.lede {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--muted);
  max-width: 46ch;
  letter-spacing: 0.02em;
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--gold);
  line-height: 1;
}

.is-empty:empty { display: none; }

.link-gold {
  position: relative;
  color: var(--ink);
  transition: color 300ms var(--ease);
}
.link-gold::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.link-gold:hover { color: var(--gold); }
.link-gold:hover::after { transform: scaleX(1); }

.sechead { margin-bottom: clamp(32px, 4.5vw, 64px); }
.sechead__title {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  margin-top: .35em;
}
.sechead .lede { margin-top: 1.1em; }
.sechead--center { text-align: center; }
.sechead--center .lede { margin-inline: auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 420ms var(--ease), color 420ms var(--ease),
              border-color 420ms var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-sm { padding: .7rem 1.35rem; font-size: 11px; letter-spacing: 0.16em; }

/* === FOCUS === */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* === REVEAL / MOTION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* === HEADER === */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 450ms var(--ease), border-color 450ms var(--ease),
              backdrop-filter 450ms var(--ease);
}
.header.is-scrolled {
  background: rgba(var(--bg-rgb), .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
  height: var(--head-h);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  transition: transform 500ms var(--ease);
}
.logo:hover .logo__dot { transform: scale(1.6); }
.logo__text {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink);
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 320ms var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.burger {
  width: 40px; height: 40px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.burger span {
  display: block; height: 1px; background: var(--ink);
  transition: width 400ms var(--ease), background-color 400ms var(--ease);
}
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 16px; }
.burger:hover span { background: var(--gold); width: 24px; }

/* === MOBILE MENU === */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu__bar {
  height: var(--head-h);
  padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.menu__brand {
  font-size: 13px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink);
}
.menu__close { font-size: 30px; line-height: 1; color: var(--ink); padding: 4px 8px; }
.menu__close:hover { color: var(--gold); }
.menu__nav { flex: 1; display: flex; align-items: center; padding-inline: var(--gut); }
.menu__list { display: flex; flex-direction: column; gap: clamp(10px, 2.4vh, 22px); width: 100%; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 4rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 320ms var(--ease), transform 500ms var(--ease);
  display: inline-block;
}
.menu__link:hover { color: var(--gold); transform: translateX(10px); }
.menu__foot {
  padding: 24px var(--gut) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.menu__email { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.menu__email:hover { color: var(--gold); }

/* === 1. HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--head-h) + 40px) var(--gut) clamp(72px, 12vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--bg-2); }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04);
  animation: heroDrift 16s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), .82) 0%, rgba(var(--bg-rgb), .34) 34%, rgba(var(--bg-rgb), .62) 72%, rgba(var(--bg-rgb), .96) 100%),
    linear-gradient(90deg, rgba(var(--bg-rgb), .78) 0%, rgba(var(--bg-rgb), .18) 62%, rgba(var(--bg-rgb), 0) 100%);
}
.hero__inner {
  position: relative;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
}
.hero__eyebrow { margin-bottom: 1.6em; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
}
.hero__line { display: block; }
.hero__line--alt { font-style: italic; font-weight: 400; color: var(--gold); padding-left: .06em; }
.hero__subtitle {
  margin-top: clamp(20px, 3vw, 34px);
  font-size: clamp(14px, 1.7vw, 18px);
  letter-spacing: 0.06em;
  color: var(--ink-2);
  max-width: 34ch;
}
.hero__actions { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }

.scrollhint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted);
}
.scrollhint__label { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; }
.scrollhint__line { position: relative; display: block; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.scrollhint__line::after {
  content: ""; position: absolute; inset: 0 auto auto 0;
  width: 1px; height: 26px; background: var(--gold);
  animation: scrollRun 2.4s var(--ease) infinite;
}
@keyframes scrollRun {
  0%   { transform: translateY(-28px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}
.scrollhint:hover { color: var(--gold); }

/* === 2. MARQUEE === */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--gold-wash);
  overflow: hidden;
  padding-block: 14px;
  white-space: nowrap;
}
.marquee[hidden] { display: none; }
.marquee__track {
  display: inline-flex; align-items: center;
  width: max-content;
  animation: marqueeRun 42s linear infinite;
}
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px;
  padding-inline: 14px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-2);
}
.marquee__sep { color: var(--gold); font-size: 9px; }

/* === 3. WORK === */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.chip {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: .55rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 320ms var(--ease), border-color 320ms var(--ease), background-color 320ms var(--ease);
}
.chip:hover { color: var(--gold); border-color: var(--gold-soft); }
.chip.is-active { color: var(--ink); border-color: var(--gold); background: var(--gold-wash); }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 78vw;
  grid-auto-flow: dense;
  gap: 10px;
}
.grid__empty { color: var(--muted); font-size: 13px; letter-spacing: .08em; }

.tile {
  position: relative; display: block;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: var(--radius);
  text-align: left;
  width: 100%; height: 100%;
  opacity: 1; transform: none;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.tile.is-out { opacity: 0; transform: translateY(10px); pointer-events: none; }
.tile[hidden] { display: none; }
.tile__img {
  display: block;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms var(--ease), filter 900ms var(--ease);
}
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.055); }
.tile__rule {
  position: absolute; inset: 10px;
  border: 1px solid var(--gold-soft);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  pointer-events: none;
}
.tile:hover .tile__rule, .tile:focus-visible .tile__rule { opacity: .85; transform: scale(1); }
.tile__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 44%, rgba(var(--ink-rgb), .55) 100%);
  opacity: 0; transition: opacity 620ms var(--ease);
}
.tile:hover .tile__veil, .tile:focus-visible .tile__veil { opacity: 1; }
.tile__cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  pointer-events: none;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__title {
  display: block;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.1; color: var(--bg-3);
}
.tile__meta {
  display: block; margin-top: 6px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft);
}
.tile__play {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--bg-rgb), .88);
  color: var(--ink);
  font-size: 11px;
  border: 1px solid var(--line);
  transition: background-color 420ms var(--ease), color 420ms var(--ease);
}
.tile:hover .tile__play { background: var(--gold); color: var(--bg-3); border-color: var(--gold); }

/* === 4. ABOUT === */
.about { background: var(--bg-2); }
.about__inner { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__frame {
  position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.about__img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-top: .3em; }
.about__statement {
  margin-top: 1.1em;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}
.about__body .signature { margin-top: 1.1em; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.stat { padding: 22px 14px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat__value {
  display: block;
  font-family: var(--font-display); font-weight: 300; color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1;
}
.stat__label {
  display: block; margin-top: 8px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* === 5. SERVICES === */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  position: relative; overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  transition: transform 520ms var(--ease), border-color 520ms var(--ease), box-shadow 520ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card__index {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  color: var(--gold-wash);
  transition: color 520ms var(--ease);
  pointer-events: none;
}
.card:hover .card__index { color: var(--gold-soft); }
.card__title {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1;
  position: relative;
}
.card__desc { margin-top: .9em; color: var(--ink-2); font-size: 14px; max-width: 32ch; }
.card__meta {
  margin-top: 1.6em; padding-top: 1.1em; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* === 6. QUOTE === */
.quoteband {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(64px, 9vw, 128px);
}
.quoteband[hidden] { display: none; }
.quoteband__inner { text-align: center; position: relative; }
.quoteband__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: .6; color: var(--gold-soft);
  margin-bottom: .18em;
}
.quoteband__text {
  font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.16; letter-spacing: -0.015em;
  max-width: 20ch; margin-inline: auto;
}
.quoteband__author { margin-top: 1.9em; color: var(--muted); }

/* === 7. TESTIMONIALS === */
.slider { position: relative; max-width: 860px; margin-inline: auto; text-align: center; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease), visibility 620ms var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--ink);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.26; letter-spacing: -0.01em;
  max-width: 26ch; margin-inline: auto;
}
.slide__author {
  margin-top: 1.7em;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
}
.slide__role {
  margin-top: .5em;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.slider__controls {
  margin-top: clamp(28px, 4vw, 46px);
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.slider__controls[hidden] { display: none; }
.slider__arrow {
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--ink-2); font-size: 14px;
  transition: border-color 380ms var(--ease), color 380ms var(--ease);
}
.slider__arrow:hover { border-color: var(--gold); color: var(--gold); }
.slider__dots { display: flex; align-items: center; gap: 10px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: transparent; border: 1px solid var(--gold-soft);
  transition: background-color 380ms var(--ease), transform 380ms var(--ease);
}
.dot.is-active { background: var(--gold); transform: scale(1.25); }

/* === 8. CONTACT === */
.contact__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.infolist { display: grid; gap: 22px; }
.infolist__row {
  display: grid; gap: 4px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.infolist__row[hidden] { display: none; }
.infolist__k { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.infolist__v {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.3;
}
.infolist__v a { display: inline-block; }

.socials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.socials a {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.socials a:hover { color: var(--gold); }

.form { display: grid; gap: 30px; }
.contact__form-col[hidden] { display: none; }
.field { position: relative; }
.field__input {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0 10px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: border-color 380ms var(--ease);
  appearance: none;
}
.field__input--area { resize: vertical; min-height: 108px; line-height: 1.6; }
.field__input:focus { outline: none; border-bottom-color: var(--gold); }
.field__input:focus-visible { outline: none; }
.field:focus-within .field__label { color: var(--gold); }
.field__label {
  position: absolute; left: 0; top: 18px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
  transition: transform 340ms var(--ease), font-size 340ms var(--ease), color 340ms var(--ease);
  transform-origin: left top;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-18px);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.form__submit { justify-self: start; }
.form__status {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); min-height: 1.2em;
}
.form__status.is-ok { color: var(--gold); }
.form__status.is-err { color: var(--ink); }
.form.is-sending { opacity: .6; pointer-events: none; }

/* === 9. FOOTER === */
.footer { border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 76px); background: var(--bg); }
.footer__inner { display: grid; gap: 28px; }
.footer__brand { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.footer__note { margin-top: .5em; color: var(--muted); font-size: 13px; max-width: 34ch; }
.socials--footer { margin-top: 0; }
.footer__credit {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.footer__sep { color: var(--gold); }

/* === LIGHTBOX === */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 360ms var(--ease), visibility 360ms var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(14, 12, 10, .94); }
.lightbox__shell {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 64px 16px 84px;
}
.lightbox__btn {
  position: absolute; z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--bg); font-size: 18px;
  border: 1px solid rgba(220, 199, 155, .35);
  border-radius: var(--radius);
  background: rgba(14, 12, 10, .4);
  transition: border-color 360ms var(--ease), color 360ms var(--ease), background-color 360ms var(--ease);
}
.lightbox__btn:hover { color: var(--gold-soft); border-color: var(--gold); background: rgba(14, 12, 10, .8); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }
.lightbox__stage {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: min(1180px, 100%); max-height: 100%;
}
.lightbox__media {
  display: flex; align-items: center; justify-content: center;
  max-height: calc(100vh - 210px);
  width: 100%;
}
.lightbox__media img, .lightbox__media video {
  max-width: 100%; max-height: calc(100vh - 210px);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__media iframe {
  width: min(1100px, 92vw); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius);
}
.lightbox__caption { text-align: center; }
.lightbox__title {
  display: block; color: var(--bg);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.1;
}
.lightbox__meta {
  display: block; margin-top: 8px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft);
}
.lightbox__counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.24em; color: var(--muted);
}

/* === RESPONSIVE === */
@media (min-width: 560px) {
  :root { --gut: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 30vw, 300px); }
  .tile-wide { grid-column: span 2; }
  .tile-tall { grid-row: span 2; }
  .form__submit { justify-self: start; }
}

@media (min-width: 768px) {
  :root { --gut: 32px; --head-h: 84px; }
  body { font-size: 16px; }
  .grid { gap: 14px; }
  .about__inner { grid-template-columns: 0.92fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr 1.1fr; }
  .footer__inner {
    grid-template-columns: 1.2fr auto;
    align-items: end;
    row-gap: 40px;
  }
  .footer__credit { grid-column: 1 / -1; justify-content: space-between; }
  .header__cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  :root { --gut: 44px; }
  .nav { display: block; }
  .burger { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(230px, 20vw, 320px); gap: 16px; }
  .hero__subtitle { max-width: 38ch; }
  .about__frame { inset: 24px -24px -24px 24px; }
}

@media (min-width: 1440px) {
  :root { --gut: 56px; }
  .grid { gap: 18px; grid-auto-rows: 300px; }
}

@media (min-width: 1800px) {
  :root { --maxw: 1440px; }
}

/* === TOUCH: no hover, so work captions must stay readable === */
@media (hover: none) {
  .tile__veil { opacity: 1; }
  .tile__cap { opacity: 1; transform: none; }
}

/* === REDUCED MOTION === */
@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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .hero__img { animation: none !important; transform: none !important; }
  .scrollhint__line::after { animation: none !important; }
  .tile:hover .tile__img { transform: none !important; }
  .card:hover { transform: none !important; }
  .menu__link:hover { transform: none !important; }
  .slide { transform: none !important; }
  .tile.is-out { transform: none !important; }
}
