:root {
  --bg: #F3EBDD;
  --panel: #FAF5EC;
  --line: #E2D8C4;
  --text: #14213D;
  --muted: #474E60;
  --dim: #5E5A42;
  --accent: #D9693A;
  --khaki: #1F4D2E;
  --olive-bg: #E8DFCC;
  --olive-line: #E2D8C4;
  --display: 'Anton', Impact, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--text); }
a:hover { color: var(--khaki); }
input, textarea, select, button { font: inherit; }
img, iframe { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 96px 32px; }
.section { border-top: 1px solid var(--line); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 235, 221, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1240px; margin: 0 auto; padding: 18px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.brand-name { font-family: var(--display); font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: #E57D50; color: var(--text); }
.btn-ghost { border: 1px solid #C9BFA8; color: var(--text); }
.btn-small { min-height: 44px; padding: 10px 20px; }

/* Type */
.eyebrow {
  margin: 0 0 12px; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--khaki);
}
.h-display {
  margin: 0; font-family: var(--display); font-weight: 400;
  text-transform: uppercase; line-height: 1;
  font-size: clamp(40px, 5vw, 64px);
}

/* Hero */
.hero { max-width: 1240px; margin: 0 auto; padding: 72px 32px 96px; }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 9vw, 132px); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.01em; max-width: 1100px;
}
.hero-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-top: 36px; }
.hero-row p { margin: 0; max-width: 560px; font-size: 19px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.reel {
  position: relative; margin-top: 56px; aspect-ratio: 16 / 9;
  background: #14213D; border: 1px solid #14213D; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.corner { position: absolute; width: 40px; height: 40px; border-color: #F3EBDD; border-style: solid; border-width: 0; }
.corner.tl { top: 24px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 24px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }
.rec { position: absolute; top: 34px; left: 84px; color: #F3EBDD; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #E5322D; animation: blink 1.4s steps(2, start) infinite; }
.timecode { position: absolute; top: 34px; right: 84px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: #C9C7C1; }
@keyframes blink { to { visibility: hidden; } }
.reel-center { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.play {
  width: 88px; height: 88px; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.placeholder-label { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #A3A19B; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.card { background: var(--panel); border: 1px solid #E2D8C4; border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--khaki); }
.card h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .price { margin-top: auto; padding-top: 12px; border-top: 1px solid #E2D8C4; font-size: 15px; font-weight: 600; color: var(--text); }

/* Work */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 48px; }
.work-head a { font-weight: 600; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 420px) { .projects { grid-template-columns: 1fr; } }
.project { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.thumb {
  aspect-ratio: 16 / 9; background: #E8DFCC; border: 1px solid #E2D8C4; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #6B675C;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.project-meta .title { font-size: 20px; font-weight: 600; }
.project-meta .tag { font-family: var(--mono); font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.portrait {
  flex: 1 1 320px; max-width: 480px; aspect-ratio: 4 / 5;
  background: #14213D; border: 1px solid #14213D; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #6B675C;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 999 1 460px; min-width: 0; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { margin: 0 0 18px; color: var(--muted); }
.about-text p.lead { font-size: 19px; color: #1F2B45; }

/* Process */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--khaki); padding-top: 20px; }
.steps .n { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--khaki); }
.steps h3 { margin: 14px 0 8px; font-size: 20px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { border-top: 1px solid var(--olive-line); background: var(--olive-bg); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 340px; }
.contact-info h2 { font-size: clamp(48px, 6vw, 84px); line-height: 0.95; margin-bottom: 24px; }
.contact-info > p { margin: 0 0 32px; color: var(--muted); max-width: 440px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-links span { color: var(--dim); }
.form { flex: 999 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  background: #FBF7EF; border: 1px solid #CFC4AC; border-radius: 6px;
  color: var(--text); padding: 14px 16px; min-height: 48px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--khaki); outline-offset: 1px; }
.form .note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--dim); }
.form button { grid-column: 1 / -1; justify-self: start; }
.hidden { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px; color: var(--dim);
}
.footer-inner .brand-name { font-size: 20px; color: var(--text); }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-legal a { color: var(--dim); }

/* Simple pages (privacy, thanks) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 32px 96px; }
.page h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin: 0 0 24px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { color: var(--muted); }

@media (max-width: 640px) {
  .wrap { padding: 72px 20px; }
  .hero { padding: 48px 20px 72px; }
  .nav { padding: 14px 20px; }
  .nav-links { gap: 18px; }
  .rec { left: 72px; top: 32px; }
  .timecode { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot { animation: none; }
}

/* Logo lockup */
.lockup { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.lockup-tag { display: flex; align-items: center; gap: 8px; margin-left: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: #4F5870; }
.lockup-tag::before { content: ""; width: 18px; height: 2px; background: var(--accent); display: block; }
.footer .lockup-tag { margin-left: 0; }

/* Launch panel (until there's a portfolio) */
.launch { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 40px; align-items: flex-start; }
.launch-text { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.launch-text .lead { margin: 0; font-size: 20px; color: var(--text); max-width: 520px; }
.creds { flex: 1 1 380px; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--accent); }
.creds li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cred-k { flex: 0 0 110px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--khaki); padding-top: 3px; }
.cred-v { color: var(--muted); }
.portrait-mark { background: var(--text); border-color: var(--text); }
