/* Doraville Mid-Century | film location site
   Palette pulled from the house itself: olive board and batten siding,
   walnut ceiling planks, the mustard living room sofa, the teal rug, brick. */
:root {
  --sage: #e9eadf;        /* page background, a green-leaning plaster */
  --sage-deep: #dcdecd;
  --olive: #33401f;       /* siding in shade */
  --olive-mid: #4a5a2e;
  --frame: #b9c08f;       /* the light window frames on the facade */
  --walnut: #5a3019;      /* ceiling planks */
  --walnut-deep: #472512;
  --mustard: #e0a526;     /* the sofa */
  --teal: #2c6e7f;        /* the rug */
  --brick: #a24b2e;
  --ink: #1f2616;
  --ink-soft: #465038;
  --paper: #f6f5ee;
  --glass: #1b2012;

  --display: 'Josefin Sans', 'Futura', 'Century Gothic', sans-serif;
  --body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --slug: 'Courier Prime', 'Courier New', monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--olive); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); text-wrap: pretty; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.35em; }
p { margin: 0 0 1em; max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.5em 0.8em;
  border: 2px solid var(--olive);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn-solid { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.btn-solid:hover { background: #eab53f; color: var(--ink); }
.btn-line { background: transparent; color: var(--olive); }
.btn-line:hover { background: var(--olive); color: var(--paper); }
.btn-small { padding: 0.7em 1.1em 0.55em; font-size: 0.9rem; white-space: nowrap; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: var(--olive);
  color: var(--paper);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--paper); }
.brand-mark { width: 30px; height: 24px; color: var(--mustard); flex: none; }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.78rem; opacity: 0.75; letter-spacing: 0.02em; }
.topnav { display: flex; gap: 22px; }
.topnav a { color: var(--paper); text-decoration: none; font-size: 0.95rem; opacity: 0.85; }
.topnav a:hover { opacity: 1; color: var(--mustard); }

/* ---------- screenplay slugline captions ---------- */
.slug {
  font-family: var(--slug);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%;
  height: min(78vh, 760px);
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-photo .slug {
  position: absolute; top: 16px; left: var(--gutter);
  margin: 0; padding: 6px 10px;
  background: rgba(27, 32, 18, 0.72);
  color: var(--paper);
}
.hero-copy {
  position: relative;
  max-width: var(--wrap);
  margin: -110px auto 0;
  padding: clamp(24px, 4vw, 44px);
  background: var(--sage);
  border-top: 6px solid var(--mustard);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.hero-copy .hero-where { grid-column: 1 / -1; }
.hero-copy h1 { margin: 0; }
.hero-copy .lede { margin: 0; }
.hero-copy .hero-actions { grid-column: 2; }
.hero-where { font-family: var(--display); font-weight: 600; color: var(--olive-mid); margin-bottom: 0.6em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ---------- the window run (numbers band) ----------
   Modeled on the front facade at dusk: a row of lit windows, each with its
   inset frame, set into board and batten siding. Each pane is a callout. */
.window-run {
  margin-top: clamp(20px, 3vw, 36px);
  padding: 44px var(--gutter);
  background-color: var(--olive);
  background-image: repeating-linear-gradient(90deg,
    transparent 0 46px, rgba(0,0,0,0.18) 46px 48px, rgba(255,255,255,0.05) 48px 52px, transparent 52px 54px);
  border-bottom: 18px solid var(--brick);
}
.panes {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: var(--wrap);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.pane {
  position: relative;
  padding: 26px 20px 24px;
  background: radial-gradient(ellipse 90% 80% at 50% 30%, #fcebc2 0%, #f3d08a 55%, #e6b453 100%);
  border: 4px solid var(--olive-mid);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25), 0 0 28px rgba(243, 197, 107, 0.18);
  display: flex; flex-direction: column; justify-content: flex-start;
  color: var(--ink);
  transition: filter .6s ease-out, box-shadow .6s ease-out;
}
.pane::before {           /* the inset window frame */
  content: ""; position: absolute; inset: 8px;
  border: 2px solid rgba(51, 64, 31, 0.4);
  pointer-events: none;
}
.pane strong {
  position: relative;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1;
  color: var(--olive);
}
.pane span {
  position: relative;
  font-size: 0.95rem; font-weight: 500; line-height: 1.3;
  margin-top: 10px;
  color: #3d4729;
}

/* lamps come on in sequence the first time the band scrolls into view
   (only when JS is running, so the panes are never stuck dark) */
.js .window-run:not(.lit) .pane { filter: brightness(0.42) saturate(0.7); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
.window-run .pane:nth-child(2) { transition-delay: .12s; }
.window-run .pane:nth-child(3) { transition-delay: .24s; }
.window-run .pane:nth-child(4) { transition-delay: .36s; }
.window-run .pane:nth-child(5) { transition-delay: .48s; }
.window-run .pane:nth-child(6) { transition-delay: .6s; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section-walnut {
  background-color: var(--walnut);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 71px, rgba(0,0,0,0.09) 71px 72px),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.06));
  color: var(--paper);
}
.section-walnut .slug { color: #d9c3ae; }
.section-walnut a { color: var(--mustard); }
.section-walnut .btn-solid, .section-walnut .btn-solid:hover { color: var(--ink); }
.section-olive { background: var(--olive); color: var(--paper); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }
.section-olive .section-head p { color: #d2d6bd; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-rev { grid-template-columns: 0.8fr 1fr; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-photo-tall img { aspect-ratio: 4 / 5; object-position: 50% 24%; }

.detail-list { list-style: none; padding: 0; margin: 1.5em 0 0; border-top: 2px solid var(--olive); }
.detail-list li { padding: 0.55em 0; border-bottom: 1px solid rgba(51, 64, 31, 0.25); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 24px); }
.gallery figure { margin: 0; }
.gallery .g-tall { grid-column: span 4; }
.gallery .g-wide { grid-column: span 8; }
.gallery .g-full { grid-column: span 12; }
.gallery img { width: 100%; height: auto; object-fit: cover; }
.gallery .g-tall img { aspect-ratio: 3 / 4; }
.gallery .g-wide img { aspect-ratio: 3 / 2; }
.gallery .g-full img { aspect-ratio: 16 / 9; object-position: 50% 60%; }
.gallery .zoom { display: block; cursor: zoom-in; }
.gallery-grounds { margin-top: clamp(32px, 4vw, 52px); }
.section-olive .slug { color: #c9ceb0; }

.lightbox { border: 0; padding: 0; max-width: min(94vw, 1400px); max-height: 94vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 24, 13, 0.9); }
.lightbox img { max-width: min(94vw, 1400px); max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.lightbox .slug { color: var(--paper); text-align: center; }
.lightbox form { text-align: right; margin-bottom: 8px; }
.lightbox-close { font: 600 0.95rem var(--display); color: var(--paper); background: transparent; border: 2px solid var(--paper); border-radius: 3px; padding: 0.5em 0.9em 0.4em; cursor: pointer; }

/* ---------- for productions ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--olive); }
.prod-item { padding: 26px 28px 22px 0; border-bottom: 1px solid rgba(51, 64, 31, 0.25); }
.prod-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(51, 64, 31, 0.25); }
.prod-item p { color: var(--ink-soft); margin: 0; }

/* ---------- why book it ---------- */
.ready-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.ready-item { padding: 26px 0 24px; border-top: 2px solid var(--olive); }
.ready-item h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; }
.ready-item p { color: var(--ink-soft); margin: 0; }

/* ---------- scenes: a page of sluglines ---------- */
.scenes { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.scenes-copy p { color: #d2d6bd; }
.script-page {
  list-style: none; margin: 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  background: var(--paper); color: var(--ink);
  font-family: var(--slug); font-size: clamp(0.88rem, 1.3vw, 1rem); line-height: 1.5;
  box-shadow: 8px 8px 0 var(--glass);
}
.script-page li { padding: 0.55em 0; }
.script-page li + li { border-top: 1px dashed rgba(31, 38, 22, 0.18); }

/* ---------- about (long-form search content) ---------- */
.section-rule { border-top: 1px solid rgba(51, 64, 31, 0.25); }
.about h2 { max-width: 22ch; }
.about-cols { columns: 2 300px; column-gap: clamp(32px, 5vw, 64px); margin-top: 1.5em; }
.about-cols p { break-inside: avoid; color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq { border-top: 2px solid var(--olive); }
.faq-item { border-bottom: 1px solid rgba(51, 64, 31, 0.25); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.15rem; }
.faq-item summary::after {
  content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1;
  color: var(--olive-mid); transition: transform .2s;
}
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--ink-soft); }

/* ---------- grounds ---------- */
.grounds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.grounds-grid h3 { color: var(--mustard); }
.grounds-grid p { color: #e3e6d3; margin: 0; }

/* ---------- basics sheet ---------- */
.sheet { margin: 0 auto; border-top: 2px solid var(--olive); }
.sheet div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid rgba(51, 64, 31, 0.25); }
.sheet dt { font-family: var(--display); font-weight: 600; color: var(--olive-mid); }
.sheet dd { margin: 0; }

/* ---------- walkthrough ---------- */
.walk { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.walk-copy p { color: #ecdccb; }
.walk-contact { font-size: 1.1rem; }
.walk-contact a { color: var(--mustard); }
.walk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.walk-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 500; }
.walk-form .full { grid-column: 1 / -1; }
.walk-form input, .walk-form select, .walk-form textarea {
  font: inherit; font-size: 1rem;
  padding: 11px 12px;
  border: 2px solid transparent; border-radius: 3px;
  background: var(--paper); color: var(--ink);
}
.walk-form input:focus, .walk-form select:focus, .walk-form textarea:focus { outline: none; border-color: var(--mustard); }
.walk-form input[aria-invalid="true"] { border-color: #f08a6a; }
.walk-form .btn { justify-self: start; }
.form-note { margin: 0; min-height: 1.4em; color: var(--mustard); font-size: 0.95rem; }
.form-note a { color: var(--mustard); }
.walk-form input[aria-invalid="true"] { border-color: #f08a6a; }
.walk-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.walk-form button[disabled] { opacity: 0.6; cursor: wait; }
.walk-form.is-sent { display: none; }
.walk-sent { display: none; padding: 28px; background: var(--paper); color: var(--ink); border-top: 6px solid var(--mustard); }
.walk-sent.show { display: block; }
.walk-sent h3 { margin-bottom: 0.4em; }
.walk-sent p { margin: 0; color: var(--ink-soft); }

/* ---------- scene idea cards (homepage + scene pages) ---------- */
.scene-ideas { margin-top: clamp(48px, 6vw, 72px); }
.scene-ideas-head { color: var(--mustard); margin-bottom: 1em; }
.scene-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.scene-card { display: block; text-decoration: none; color: inherit; }
.scene-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.scene-card h3, .scene-card h4 { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin: 12px 0 0; }
.scene-card:hover h3, .scene-card:hover h4, .scene-card:focus-visible h3, .scene-card:focus-visible h4 { text-decoration: underline; text-underline-offset: 4px; }
.section-olive .scene-card { color: var(--paper); }
.section-olive .scene-card:hover { color: var(--mustard); }

/* ---------- scene pages ---------- */
.crumbs { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.crumbs a { color: var(--ink-soft); }
.scene-hero-inner > * { max-width: none; }
.scene-hero h1 { max-width: 20ch; }
.scene-hero .lede { max-width: 62ch; }
.scene-hero-inner.is-portrait { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.is-portrait .concepts { margin-top: 0; }
.is-portrait .concept img { max-height: 86vh; }
.concepts { display: grid; gap: clamp(12px, 2vw, 24px); margin-top: clamp(28px, 4vw, 44px); }
.concepts-2 { grid-template-columns: 1fr 1fr; }
.concept { margin: 0; }
.concept img { width: auto; max-width: 100%; max-height: 82vh; height: auto; }
.concept .zoom { display: inline-block; cursor: zoom-in; }
.concept-note { font-size: 0.9rem; font-style: italic; color: var(--ink-soft); margin-top: 16px; max-width: 70ch; }
.works { color: #e3e6d3; }
.works strong { color: var(--mustard); font-weight: 600; }
.sp p { margin: 0; max-width: none; }
.sp .sp-heading { font-weight: 700; margin: 1.4em 0 0.8em; }
.sp .sp-heading:first-child { margin-top: 0; }
.sp .sp-action { margin-bottom: 0.9em; }
.sp .sp-char { margin: 0.9em 0 0 36%; }
.sp .sp-paren { margin-left: 29%; }
.sp .sp-dialogue { margin: 0 14% 0.9em 20%; }
.prod-grid-2 { grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 5vw, 64px); }
.prod-grid-2 .prod-item, .prod-grid-2 .prod-item:not(:nth-child(3n+1)) { padding: 24px 28px 22px 0; border-left: 0; }
.prod-grid-2 .prod-item:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(51, 64, 31, 0.25); }
.walk-cta p { color: #ecdccb; max-width: 60ch; }
.walk-cta .btn { margin-top: 0.6em; }

/* ---------- footer ---------- */
.footer {
  padding: 36px var(--gutter);
  background: var(--walnut-deep); color: #d9c3ae;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.92rem;
}
.footer p { margin: 0; }
.footer a { color: var(--mustard); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .topnav { display: none; }
  .hero-copy { margin: -80px var(--gutter) 0; grid-template-columns: 1fr; row-gap: 20px; }
  .hero-copy .hero-actions { grid-column: 1; margin-top: 0; }
  .panes { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .prod-item, .prod-item:not(:nth-child(3n+1)) { padding: 22px 22px 20px 0; border-left: 0; }
  .prod-item:nth-child(even) { padding-left: 22px; border-left: 1px solid rgba(51, 64, 31, 0.25); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .brand-text small { display: none; }
  .hero-photo img { height: 58vh; min-height: 320px; }
  .hero-copy { margin: -48px 12px 0; }
  .hero-photo .slug { font-size: 0.7rem; right: var(--gutter); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .window-run { padding: 28px 12px; }
  .panes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pane { padding: 16px 12px 14px; border-width: 3px; }
  .pane::before { inset: 5px; }
  .pane strong { font-size: 1.8rem; }
  .pane span { font-size: 0.8rem; margin-top: 6px; }
  .split, .split-rev, .walk, .grounds-grid, .ready-grid, .scenes { grid-template-columns: 1fr; }
  .script-page { box-shadow: 5px 5px 0 var(--glass); }
  .split-rev .split-photo { order: 2; }
  .prod-grid { grid-template-columns: 1fr; }
  .gallery .g-tall, .gallery .g-wide, .gallery .g-full { grid-column: span 12; }
  .gallery .g-full img { aspect-ratio: 4 / 3; }
  .concepts-2 { grid-template-columns: 1fr; }
  .scene-hero-inner.is-portrait { grid-template-columns: 1fr; }
  .prod-grid-2 .prod-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .sp .sp-char { margin-left: 30%; }
  .sp .sp-paren { margin-left: 22%; }
  .sp .sp-dialogue { margin: 0 4% 0.9em 12%; }
  .gallery .g-tall img { aspect-ratio: 4 / 5; }
  .prod-item, .prod-item:nth-child(even), .prod-item:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
  .sheet div { grid-template-columns: 1fr; gap: 2px; }
  .walk-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .topbar { gap: 12px; }
  .topbar .btn-small { padding: 0.6em 0.8em 0.45em; font-size: 0.82rem; }
  .btn-small .long { display: none; }
  .brand-text { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pane { transition: none; }
  .js .window-run:not(.lit) .pane { filter: none; }
}
