/* Curtsy Collective v2 | cinematic editorial design system
   Palette: obsidian, charcoal, warm ivory, antique gold, restrained oxblood.
   Type: Cormorant Garamond (editorial serif) + Inter (sans). */

:root {
  --obsidian: #0a0908;
  --charcoal: #141210;
  --charcoal-2: #1b1815;
  --ivory: #f5efe2;
  --ivory-dim: rgba(245, 239, 226, 0.72);
  --ivory-faint: rgba(245, 239, 226, 0.45);
  --gold: #d4af37;
  --gold-bright: #f0d67c;
  --gold-dim: rgba(212, 175, 55, 0.30);
  --oxblood: #5e1f1f;
  --oxblood-bright: #7d2a2a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --narrow: 780px;
  --gutter: 4vw;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: #141005; }

.container { width: min(var(--max), 100% - (var(--gutter) * 2)); margin: 0 auto; }
.container.narrow { width: min(var(--narrow), 100% - (var(--gutter) * 2)); }
.center { text-align: center; }

/* Accessibility helpers */

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: #141005;
  padding: 0.7rem 1.2rem; border-radius: 2px;
  font-weight: 600; text-decoration: none; z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Typography */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; }

h1 { font-size: clamp(2.9rem, 8.5vw, 6.2rem); margin: 1.1rem 0 1.4rem; }

h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0.7rem 0 1.6rem; }

h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 0.55rem; }

.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.center .eyebrow { justify-content: center; }

.section-no {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; letter-spacing: 0.05em;
  color: var(--ivory-faint);
}

.body-large { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.6; color: var(--ivory); margin-bottom: 1.6rem; }

p + p { margin-top: 1.15rem; }

a { color: var(--gold-bright); }
a:hover { color: var(--ivory); }

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 1rem 2.2rem; border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold { background: var(--gold); color: #161006; border: 1px solid var(--gold); }
.btn-gold:hover {
  background: var(--gold-bright); border-color: var(--gold-bright); color: #161006;
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(195, 154, 43, 0.25);
}

.btn-outline { background: transparent; color: var(--ivory); border: 1px solid rgba(245, 239, 226, 0.38); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.btn-large { font-size: 1rem; padding: 1.15rem 2.8rem; }

/* Header */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.88), rgba(10, 9, 8, 0));
  transition: background 0.3s ease;
}

.site-header.scrolled { background: rgba(10, 9, 8, 0.94); backdrop-filter: blur(10px); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ivory); }

.brand-mark {
  font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--gold);
  border: 1px solid var(--gold-dim);
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.03em; }

.site-nav { display: flex; gap: 2rem; align-items: center; }

.site-nav a {
  color: var(--ivory-dim); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--gold-bright); }

.site-nav .nav-cta {
  color: #161006; background: var(--gold);
  padding: 0.7rem 1.4rem; border-radius: 2px;
}
.site-nav .nav-cta:hover { background: var(--gold-bright); color: #161006; }

/* Hero */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--obsidian) 4%, rgba(10, 9, 8, 0.55) 42%, rgba(10, 9, 8, 0.28) 70%, rgba(10, 9, 8, 0.55) 100%),
    linear-gradient(to right, rgba(10, 9, 8, 0.55), transparent 55%);
}

.hero-content { position: relative; z-index: 2; padding-bottom: 16vh; max-width: 60rem; }

.hero .eyebrow { color: var(--gold-bright); }

.hero h1 { max-width: 14ch; text-wrap: balance; }

.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.65; color: var(--ivory-dim); max-width: 44rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* Sections */

.section { padding: 7.5rem 0; }

.section-alt { background: var(--charcoal); border-top: 1px solid rgba(195, 154, 43, 0.14); border-bottom: 1px solid rgba(195, 154, 43, 0.14); }

.intro .body-large { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.4; font-weight: 500; }

/* Services: editorial numbered list */

.service-list { list-style: none; margin-top: 3rem; border-top: 1px solid rgba(245, 239, 226, 0.12); }

.service {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem;
  padding: 2.4rem 0; border-bottom: 1px solid rgba(245, 239, 226, 0.12);
  transition: background 0.25s ease;
}
.service:hover { background: linear-gradient(to right, rgba(195, 154, 43, 0.06), transparent 65%); }

.service-no {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  color: var(--gold); line-height: 1.2;
}

.service-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.service-body p { color: var(--ivory-dim); max-width: 46rem; }

.magic-note {
  margin: 2.6rem 0; padding: 1.4rem 1.8rem;
  border-left: 2px solid var(--gold);
  background: rgba(195, 154, 43, 0.07);
  color: var(--ivory-dim); font-size: 0.98rem; max-width: 46rem;
}

/* Productions: editorial features */

.feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem;
  align-items: center; margin: 4.5rem 0;
}

.feature-flip .feature-media { order: 2; }
.feature-flip .feature-body { order: 1; }

.feature-media { overflow: hidden; border-radius: 2px; }

.feature-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
  transition: transform 0.8s ease;
}
.feature:hover .feature-media img { transform: scale(1.035); }

.feature-media figcaption {
  margin-top: 0.7rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory-faint);
}

.feature-kicker {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}

.feature-body h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.9rem; }
.feature-body p { color: var(--ivory-dim); }

.feature-credit {
  margin-top: 1.3rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(195, 154, 43, 0.25);
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-bright);
}

.perf-index { margin-top: 5rem; }

.perf-index h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 1.4rem; }

.perf-index ul { list-style: none; border-top: 1px solid rgba(245, 239, 226, 0.12); }

.perf-index li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.15rem 0; border-bottom: 1px solid rgba(245, 239, 226, 0.12);
}

.perf-index li span { font-family: var(--serif); font-size: 1.25rem; }
.perf-index li em { font-style: normal; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-faint); text-align: right; }

/* Founders */

.section-lede { max-width: 46rem; color: var(--ivory-dim); font-size: 1.08rem; margin: 0 0 3rem; }

.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.founder-card img {
  border-radius: 2px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
  border: 1px solid rgba(245, 239, 226, 0.1);
}

.founder-card h3 { font-size: 1.6rem; margin: 1.4rem 0 0.3rem; }

.founder-role {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}

.founder-card p:not(.founder-role) { color: var(--ivory-dim); }
.founder-card p:not(.founder-role) + p:not(.founder-role) { margin-top: 1rem; }

/* Events */

.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }

.event {
  padding: 2.2rem 2rem;
  border: 1px solid rgba(245, 239, 226, 0.12); border-radius: 2px;
  background: rgba(245, 239, 226, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.event:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

.event-date {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--oxblood);
}

.event h3 { margin-bottom: 0.6rem; }
.event p:last-child { color: var(--ivory-dim); font-size: 0.96rem; }

/* Process */

.process-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }

.process-list li {
  padding-top: 1.8rem; border-top: 1px solid var(--gold-dim);
}

.process-no {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold);
  display: block; margin-bottom: 0.9rem;
}

.process-list h3 { margin-bottom: 0.6rem; }
.process-list p { color: var(--ivory-dim); font-size: 0.96rem; }

/* Inquiry */

.inquiry { background: linear-gradient(to bottom, var(--charcoal), var(--obsidian)); }

.inquiry-form { margin-top: 3rem; text-align: left; }

.honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory-dim);
}

.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300;
  color: var(--ivory); background: rgba(245, 239, 226, 0.05);
  border: 1px solid rgba(245, 239, 226, 0.22); border-radius: 2px;
  padding: 0.9rem 1.1rem; width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; min-height: 7rem; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c39a2b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
  padding-right: 2.8rem;
}
.field select option { background: var(--charcoal); color: var(--ivory); }

.field input::placeholder, .field textarea::placeholder { color: var(--ivory-faint); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(245, 239, 226, 0.08);
}

.inquiry-form .btn-large { margin-top: 2rem; width: 100%; }

.form-note { margin-top: 1.2rem; font-size: 0.86rem; color: var(--ivory-faint); text-align: center; }

/* Thank-you page */

.thank-you { padding: 12rem 0 9rem; }
.thank-you h1 { margin-bottom: 1.4rem; }
.thank-you .btn { margin-top: 2.2rem; }

/* Footer */

.site-footer { background: #070605; border-top: 1px solid rgba(195, 154, 43, 0.18); padding: 4.5rem 0 0; }

.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }

.footer-name { font-family: var(--serif); font-size: 1.4rem; }
.footer-tag { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }

.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-nav a {
  color: var(--ivory-dim); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold-bright); }

.footer-contact > a { font-family: var(--serif); font-size: 1.2rem; text-decoration: none; }

.footer-social { display: flex; gap: 1.6rem; margin: 1.1rem 0; }
.footer-social a { color: var(--ivory-dim); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-social a:hover { color: var(--gold-bright); }

.footer-locale { font-size: 0.85rem; color: var(--ivory-faint); }

.footer-base { border-top: 1px solid rgba(245, 239, 226, 0.08); padding: 1.6rem 0; }

.copyright { font-size: 0.8rem; color: var(--ivory-faint); }

/* Reveal on scroll (restrained) */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; margin: 3.5rem 0; }
  .feature-flip .feature-media { order: 0; }
  .feature-flip .feature-body { order: 0; }
  .founder-cards { grid-template-columns: 1fr; gap: 2.5rem; }
  .events { grid-template-columns: 1fr; max-width: 34rem; }
  .process-list { grid-template-columns: 1fr; max-width: 34rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 5rem 0; }
  .site-nav a:not(.nav-cta) { display: none; }
  .site-nav { gap: 0; }
  .hero-content { padding-bottom: 12vh; }
  .hero-actions .btn { width: 100%; }
  .service { grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.8rem 0; }
  .form-grid { grid-template-columns: 1fr; }
  .perf-index li { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  .perf-index li em { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .inquiry-form .btn-large { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service, .event, .feature-media img { transition: none; }
  .btn:hover, .event:hover { transform: none; }
  .feature:hover .feature-media img { transform: none; }
}
