:root {
  --bg: #0b1310;
  --bg-2: #121b17;
  --bg-3: #19241f;
  --ink: #0b1310;
  --fog: #ddd5c2;
  --fog-dim: rgba(221, 213, 194, 0.64);
  --fog-faint: rgba(221, 213, 194, 0.58);
  --line: rgba(221, 213, 194, 0.12);
  --line-strong: rgba(221, 213, 194, 0.24);
  --brass: #c99a4d;
  --brass-ink: #1c1408;
  --signal: #c05a3c;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: min(100% - 2.5rem, 1180px);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fog);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: var(--container);
  margin-inline: auto;
  position: relative;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin-inline: auto;
  padding: 1.1rem 0;
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 4.75rem;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.72), transparent);
  z-index: -1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(192, 90, 60, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: #f2f4f7;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-right a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fog-dim);
  transition: color 0.2s var(--ease);
}

.nav-right a:hover {
  color: #f2f4f7;
}

.nav-cta {
  color: var(--brass-ink) !important;
  background: var(--brass);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: var(--brass-ink) !important;
}

@media (max-width: 620px) {
  .nav-right a:not(.nav-cta) {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 4.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-media.no-video {
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(201, 154, 77, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 20% 100%, rgba(25, 60, 48, 0.55) 0%, transparent 65%),
    linear-gradient(165deg, #0e1815 0%, #0b1310 60%, #0a100d 100%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.82) 0%, rgba(7, 8, 10, 0.42) 52%, rgba(7, 8, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.28) 0%, rgba(7, 8, 10, 0.08) 38%, rgba(7, 8, 10, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding-top: 7rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 9.5vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #f2f4f7;
  margin: 0 0 1.1rem;
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f2f4f7;
  margin: 0 0 1rem;
}

.hero-sub {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--fog-dim);
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brass);
  color: var(--brass-ink);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(201, 154, 77, 0.18);
}

.btn-ghost {
  background: transparent;
  color: #f2f4f7;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--fog-dim);
  background: rgba(242, 244, 247, 0.05);
}

.hero-meta {
  position: absolute;
  right: max(1.25rem, calc((100% - min(100% - 2.5rem, 1180px)) / 2));
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog-faint);
}

.hero-meta .sep {
  width: 1.25rem;
  height: 1px;
  background: var(--line-strong);
}

/* —— Sections —— */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.section-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  color: #f2f4f7;
  max-width: 16ch;
}

.section-lead {
  margin: 0;
  max-width: 32ch;
  color: var(--fog-dim);
  font-size: 1rem;
}

/* Reveal is progressive enhancement: content is visible by default and only
   hidden when JS is confirmed running (html.js set by the inline head script). */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

html.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* —— Offer / tiers —— */
.offer {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.tier {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.25s var(--ease);
}

.tier:last-child {
  border-right: none;
}

.tier:hover {
  background: var(--bg-3);
}

.tier.featured {
  background: #14180f;
  box-shadow: inset 0 0 0 1px rgba(201, 154, 77, 0.55);
}

.tier-label {
  position: absolute;
  top: 0;
  left: 1.5rem;
  transform: translateY(-50%);
  background: var(--brass);
  color: var(--brass-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
}

.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.tier h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #f2f4f7;
  letter-spacing: -0.02em;
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  margin: 0;
  color: #f2f4f7;
  line-height: 1;
}

.tier-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fog-faint);
}

.tier-note {
  margin: 0;
  color: var(--fog-dim);
  font-size: 0.92rem;
}

.tier ul {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--fog-dim);
}

.tier li::before {
  content: "→ ";
  color: var(--brass);
}

/* —— Process —— */
.process {
  background: var(--bg-2);
}

.process-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 1.75rem 1.35rem 0.25rem 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.process-step:last-child {
  border-right: none;
  padding-right: 0;
}

.process-tc {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: #f2f4f7;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fog-dim);
  max-width: 28ch;
}

/* —— Work / filmstrip ——
   .filmstrip/.film-* are dormant: the Samples section ships .work-empty until
   link-media.sh --set restores the filmstrip block with QA-passed masters. */
.work {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.filmstrip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.filmstrip::-webkit-scrollbar {
  display: none;
}

.film-item {
  flex: 0 0 min(70vw, 248px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.film-frame {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #f2f4f7;
}

.film-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--fog-faint);
  margin-top: 0.15rem;
}

.filmstrip-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.film-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #f2f4f7;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.film-btn:hover {
  background: var(--brass);
  color: var(--brass-ink);
  border-color: var(--brass);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--fog-faint);
  max-width: 60ch;
}

.work-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 2.75rem 1.75rem;
  text-align: center;
  color: var(--fog-dim);
}

.work-empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #f2f4f7;
  margin-bottom: 0.4rem;
}

.work-empty p {
  margin: 0;
  max-width: 40ch;
  margin-inline: auto;
  font-size: 0.92rem;
}

/* —— Who —— */
.who {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.who-block {
  padding: 2rem 2rem 0.25rem 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.who-block:last-child {
  border-right: none;
  padding-left: 2rem;
  padding-right: 0;
}

.who-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.who-block h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  margin: 0;
  color: #f2f4f7;
}

.who-block p {
  margin: 0;
  color: var(--fog-dim);
  max-width: 36ch;
}

/* —— Enquire —— */
.enquire {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.enquire-copy p {
  color: var(--fog-dim);
  max-width: 34ch;
}

.enquire-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--fog-faint);
}

.enquire-box {
  display: grid;
  gap: 1rem;
}

.enquire-box label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog-dim);
}

.enquire-box input,
.enquire-box textarea,
.enquire-box select {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(242, 244, 247, 0.03);
  color: #f2f4f7;
}

.enquire-box input:focus,
.enquire-box textarea:focus,
.enquire-box select:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}

.enquire-box textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.enquire-box .btn-primary {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--fog-faint);
  margin: 0.2rem 0 0;
}

.form-note a {
  color: var(--fog-dim);
}

.form-note a:hover {
  color: var(--brass);
}

/* Honeypot — visually removed, still in the form for bots */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

.form-status.is-ok {
  color: var(--brass);
}

.form-status.is-error {
  color: var(--signal);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* —— Footer —— */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-bottom {
  padding: 1.35rem 0 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--fog-faint);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--brass);
}

/* —— Motion —— */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(192, 90, 60, 0.22);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(192, 90, 60, 0.08);
  }
}

@media (max-width: 980px) {
  .tiers,
  .who-grid,
  .enquire-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .tier,
  .process-step,
  .who-block {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 1.5rem;
    padding-left: 0;
  }

  .tier:last-child,
  .process-step:last-child,
  .who-block:last-child {
    border-bottom: none;
  }

  .who-block:last-child {
    padding-left: 0;
  }

  .hero-meta {
    display: none;
  }
}

@media (max-width: 620px) {
  .section-head {
    align-items: flex-start;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 3.25rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
    letter-spacing: -0.045em;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media video {
    display: none;
  }

  .hero-media {
    background:
      radial-gradient(ellipse at 70% 40%, #1a2a18 0%, transparent 55%),
      var(--bg);
  }
}
