/* ============================================================
   LTR STUDIOS — design tokens
   Clean & light: warm paper, ink, one bronze accent
   Fraunces (display) · Archivo (body) · Space Mono (labels)
   ============================================================ */
:root {
  --paper:  #fcfbf9;
  --wash:   #f4f1ec;
  --ink:    #1c1917;
  --muted:  #78716c;
  --line:   #e7e2da;
  --accent: #9c6b2f;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Archivo", -apple-system, sans-serif;
  --font-slate:   "Space Mono", monospace;

  --measure: 34em;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- shared text roles ---------- */
.slate {
  font-family: var(--font-slate);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 370;
  color: var(--accent);
}

.section-head {
  padding: 0 var(--pad);
  margin: 0 auto 3rem;
  max-width: 68rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-top: 0.9rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
  text-decoration: none;
}

.wordmark span {
  font-weight: 350;
  font-style: italic;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 200ms var(--ease);
}

.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}

.site-nav .nav-cta:hover { color: var(--paper); background: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); }

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

.text-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 2px;
}

.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- video frames ---------- */
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--wash);
}

.frame iframe,
.screen-mini iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-media iframe { pointer-events: none; } /* ambient — not a player */

.awaiting {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-slate);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

/* ---------- hero ---------- */
.hero {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad) clamp(3rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  margin: 1.2rem 0 1.4rem;
}

.hero-copy .lede {
  max-width: 30em;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.2rem 0 clamp(2.5rem, 6vw, 4.5rem);
}

/* ---------- work scenes ---------- */
.work { padding: clamp(3rem, 8vw, 6rem) 0 1rem; }

.scene {
  display: grid;
  grid-template-columns: minmax(18rem, 28rem) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
}

.scene + .scene { border-top: 1px solid var(--line); }

.scene:nth-of-type(even) { grid-template-columns: 1fr minmax(18rem, 28rem); }
.scene:nth-of-type(even) .scene-meta { order: 2; }
.scene:nth-of-type(even) .scene-film { order: 1; }

.scene h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0.8rem 0 1.1rem; }

.scene p:not(.slate) { color: var(--muted); max-width: var(--measure); }

.screen-mini {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--wash);
}

/* ---------- story ---------- */
.story { background: var(--wash); }

.story-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  text-align: center;
}

.story h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.9rem 0 1.5rem; }

.story p:not(.slate) {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--muted);
}

.story-sign {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink) !important;
}

/* ---------- featured ---------- */
.featured { padding: clamp(4rem, 9vw, 7rem) 0; }

.screen-featured {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 2 * var(--pad));
}

/* ---------- quote ---------- */
.quote {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(4rem, 9vw, 6rem);
  text-align: center;
}

.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  margin: 1.4rem 0 1.2rem;
}

.quote-placeholder { color: var(--muted); }

.quote cite {
  font-family: var(--font-slate);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- inquire ---------- */
.inquire {
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.inquire-inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 6.5rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.inquire .section-head { padding: 0; margin: 0; text-align: left; }

.inquire-note { margin-top: 1.3rem; color: var(--muted); max-width: 24em; }

form { display: flex; flex-direction: column; gap: 1.3rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }

.field label {
  font-family: var(--font-slate);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  transition: border-color 200ms var(--ease);
}

.field select { appearance: none; }

.field input::placeholder, .field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 55%, transparent);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.btn-submit { align-self: flex-start; margin-top: 0.4rem; }

.form-status { font-size: 0.9rem; color: var(--accent); min-height: 1.4em; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad) 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  align-items: baseline;
  justify-content: space-between;
  max-width: 76rem;
  margin: 0 auto;
}

.foot-brand .slate { margin-top: 0.4rem; }

.foot-contact { display: flex; gap: 2rem; }

.foot-contact a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.foot-contact a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.foot-line {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .scene,
  .scene:nth-of-type(even) { grid-template-columns: 1fr; }
  .scene:nth-of-type(even) .scene-meta { order: 1; }
  .scene:nth-of-type(even) .scene-film { order: 2; }
  .inquire-inner { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
