/* GreatArkMedia — dark studio restyle. Copy still grant-safe. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0b0c0f;
  --bg-raised: #14161c;
  --fg: #f3efe6;
  --muted: #b4aea2;
  --line: #2a2d36;
  --accent: #d4b45a;
  --accent-ink: #14120c;
  --max: 1100px;
  --header-h: 4.25rem;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
.nav-toggle-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header — full width */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-lockup {
  display: block;
  height: 2.4rem;
  width: auto;
  max-width: min(15.5rem, 62vw);
  object-fit: contain;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--bg-raised);
  cursor: pointer;
  padding: 0.55rem;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  position: relative;
}

.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.nav-toggle-btn span::before {
  top: -7px;
}

.nav-toggle-btn span::after {
  top: 7px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

@media (max-width: 760px) {
  .nav-toggle-btn {
    display: grid;
    place-items: center;
  }

  .site-header .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 0.85rem;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .site-header .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(212, 180, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(80, 100, 140, 0.12), transparent 50%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 36rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  border-radius: 0.3rem;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Page mains */
main.page {
  padding: 2.5rem 0 3.5rem;
}

main.page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

main h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  font-weight: 650;
}

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

.teasers {
  padding: 3rem 0 4rem;
}

.teasers h2 {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.status {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 650;
}

.legal-list {
  padding-left: 1.2rem;
}

.legal-list li {
  margin: 0.35rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #08090c;
}

.site-footer .nav {
  margin-bottom: 1rem;
}

.site-footer address {
  font-style: normal;
  line-height: 1.5;
}


/* Social + still helpers (Build dark studio preserved) */
.socials {
  margin: 0.85rem 0 0;
}

.socials a {
  color: var(--accent);
}

.card .still {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid var(--line);
}

.still-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq details p {
  margin: 0.6rem 0 0.2rem;
  color: var(--muted);
}

/* Filmstrip: small frames, sprocket edges, snap + next-frame peek */
.filmstrip-wrap {
  position: relative;
  margin-top: 1.25rem;
}

.filmstrip-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.75rem;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--bg) 88%);
}

.filmstrip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.85rem 2.5rem 0.85rem 0.75rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  -webkit-overflow-scrolling: touch;
  background: #0a0b0e;
  border: 1px solid #3a3d48;
  border-radius: 0.25rem;
  box-shadow: inset 0 0 0 2px #12141a;
}

.filmstrip::-webkit-scrollbar {
  height: 0.45rem;
}

.filmstrip::-webkit-scrollbar-thumb {
  background: #3a3d48;
  border-radius: 0.2rem;
}

.frame {
  flex: 0 0 8.5rem;
  width: 8.5rem;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
}

.frame:hover {
  text-decoration: none;
}

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

.frame-media {
  position: relative;
  width: 8.5rem;
  height: 5.4rem;
  min-width: 0;
  overflow: hidden;
  background: #15171e;
  border: 5px solid #050608;
  box-shadow: 0 0 0 1px #4a4e5a;
}

/* Stronger sprocket perforations along top and bottom film edges */
.frame-media::before,
.frame-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.55rem;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, #0b0c0f 38%, transparent 42%);
  background-size: 0.72rem 0.55rem;
  background-repeat: repeat-x;
  background-position: center;
}

.frame-media::before {
  top: 0;
  border-bottom: 1px solid #2e3140;
}

.frame-media::after {
  bottom: 0;
  border-top: 1px solid #2e3140;
}

.frame-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.frame-caption {
  display: block;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
}

@media (min-width: 720px) {
  .contact-layout {
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 36rem);
    gap: 2rem;
  }
}

.contact-primary {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.contact-primary-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-primary p {
  margin: 0;
}

.contact-note {
  margin-top: 0.35rem !important;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
  margin-top: 0;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  color: var(--fg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.6rem 0.7rem;
}

.contact-form select {
  cursor: pointer;
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

/* Copy pass 2026-09-30 helpers */
.lead-text {
  max-width: 46rem;
  font-size: 1.05rem;
  color: var(--muted);
}

main.page p,
main.page .legal-list {
  max-width: 46rem;
}

.contact-next h2 {
  margin-top: 0;
}

.contact-primary .contact-primary-label:not(:first-child) {
  margin-top: 0.6rem;
}

.portrait {
  float: right;
  margin: 0 0 1rem 1.5rem;
  width: min(100%, 10rem);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
}

.portrait figcaption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 560px) {
  .portrait {
    float: none;
    margin: 0 auto 1rem;
  }
}

.cap-list {
  padding-left: 1.2rem;
  max-width: 46rem;
}

.cap-list li {
  margin: 0.5rem 0;
}

/* Work page posters (final set 2026-10-01) */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 860px) {
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .poster-grid { grid-template-columns: 1fr; }
}

.poster { margin: 0; }

.poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.poster figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
}

.poster figcaption { overflow-wrap: anywhere; line-height: 1.3; }
