/* ===== Tokens ===== */
:root {
  --cream: #f6efe3;
  --cream-soft: #fbf7ef;
  --sand: #e9dfc9;
  --sand-line: #ddcfae;
  --ink: #33261c;
  --ink-soft: #6b5c4e;
  --terracotta: #c1613d;
  --terracotta-dark: #8f4126;
  --gold: #b9863d;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--terracotta);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--terracotta);
  color: var(--cream-soft);
}
.btn--primary:hover { background: var(--terracotta-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--sand-line);
}
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }

.btn--light {
  background: var(--cream-soft);
  color: var(--ink);
}
.btn--light:hover { background: #fff; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand em {
  font-style: italic;
  color: var(--terracotta);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--terracotta-dark); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  padding: 72px 0 100px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero-copy .lede {
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(51, 38, 28, 0.45);
  aspect-ratio: 4 / 5;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,38,28,0) 45%, rgba(51,38,28,0.55) 100%);
}
.play-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.play-circle svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.play-label { font-size: 0.85rem; font-weight: 700; }
.play-label small { display: block; font-weight: 400; opacity: 0.85; font-size: 0.75rem; }

.timecode-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(51, 38, 28, 0.55);
  color: #fbf7ef;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(3px);
}

/* ===== Trust strip ===== */
.trust {
  border-top: 1px solid var(--sand-line);
  border-bottom: 1px solid var(--sand-line);
  background: var(--cream-soft);
}
.trust .wrap {
  padding: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: center;
  text-align: center;
}
.trust span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.trust span strong { color: var(--terracotta-dark); }

.hidden-field { display: none; }

/* ===== Pricing ===== */
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  background: var(--cream-soft);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--sand-line);
  white-space: nowrap;
}
.pricing-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr.featured { background: var(--cream); }
.pricing-table td:first-child { font-weight: 700; white-space: normal; }
.pricing-table .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta-dark);
}
.pricing-table .unit {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.pricing-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: var(--terracotta);
  color: var(--cream-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  vertical-align: middle;
}

/* ===== Process ===== */
.process {
  background: var(--ink);
  color: var(--cream);
}
.process .section-head p { color: #cbb9a8; }
.process .eyebrow { color: var(--gold); }
.process .eyebrow::before { background: var(--gold); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(251, 247, 239, 0.15);
}
.process-step {
  padding: 34px 26px 0;
  border-left: 1px solid rgba(251, 247, 239, 0.15);
}
.process-step:last-child { border-right: 1px solid rgba(251, 247, 239, 0.15); }
.process-time {
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--gold);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { color: var(--cream-soft); font-size: 1.1rem; }
.process-step p { color: #cbb9a8; font-size: 0.92rem; }

/* ===== Portfolio ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-soft);
  border: 1px solid var(--sand-line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.work-card[data-video-url] { cursor: pointer; }
.work-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
}
.work-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .play-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: rgba(51, 38, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.75);
}
.work-thumb .play-circle svg { width: 14px; height: 14px; }
.work-caption {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.work-caption strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta-dark);
}
.work-caption span { font-size: 0.82rem; color: var(--ink-soft); }

/* ===== About ===== */
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 1.02rem; }
.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-line);
}
.about-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--terracotta-dark);
}
.about-stats div span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ===== Contact ===== */
.contact { background: var(--cream-soft); }
.contact .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-methods {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-method .icon {
  width: 22px; height: 22px;
  color: var(--terracotta);
  flex: none;
  margin-top: 2px;
}
.contact-method strong { display: block; font-size: 0.95rem; }
.contact-method span { font-size: 0.88rem; color: var(--ink-soft); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1.5px solid var(--sand-line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.form-success {
  display: none;
  background: var(--cream);
  border: 1.5px dashed var(--terracotta);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ===== Video modal ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-modal.is-open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 9, 0.85);
}
.video-modal-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
}
.video-modal-inner video {
  display: block;
  width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #cbb9a8;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 247, 239, 0.15);
}
.footer-brand .brand { color: var(--cream-soft); }
.footer-brand p { max-width: 32ch; margin-top: 10px; font-size: 0.88rem; }
.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 0.9rem; color: #cbb9a8; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--cream-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 1px solid rgba(251, 247, 239, 0.15); }
  .about .wrap { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .contact .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .wrap { padding: 0 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:last-child, .process-step:nth-child(2) { border-right: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

/* Mobile nav open state */
.nav.is-open .nav-links {
  display: flex;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--cream-soft);
  flex-direction: column;
  padding: 24px 32px;
  gap: 20px;
  border-bottom: 1px solid var(--sand-line);
}
.nav.is-open .nav-cta .btn--ghost { display: none; }
