@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Public+Sans:wght@300;400;500;600&display=swap');

:root {
  --black: #0C0B09;
  --charcoal: #1A1816;
  --line: #2A2723;
  --paper: #EAE3D5;
  --ash: #8B857A;
  --tungsten: #D8A857;
  --tungsten-dim: rgba(216, 168, 87, 0.18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--paper); text-decoration-color: var(--ash); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--tungsten); }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.4rem; font-variation-settings: "opsz" 48; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--paper); }
.muted { color: var(--ash); }
.serif { font-family: var(--serif); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
section + section { border-top: 1px solid var(--line); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(12, 11, 9, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; display: flex; align-items: baseline; gap: 0.6rem; }
.brand small { font-family: var(--sans); font-weight: 400; font-size: 0.78rem; color: var(--ash); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav li a { text-decoration: none; font-size: 0.95rem; color: var(--ash); }
.nav li a[aria-current="page"], .nav li a:hover { color: var(--paper); }
@media (max-width: 560px) { .brand small { display: none; } .nav ul { gap: 1.1rem; } }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 1rem; padding: 0.85rem 1.4rem; border-radius: 3px; border: 1px solid var(--tungsten); background: var(--tungsten); color: var(--black); text-decoration: none; cursor: pointer; }
.btn:hover { background: #E4B86A; border-color: #E4B86A; }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ash); }

/* Hero: the stage */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 0.4rem; }
.hero .tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--tungsten); margin-bottom: 1.6rem; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }

.stage { position: relative; padding-bottom: 3.5rem; }
.stage .frame { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--charcoal); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9); transform: translateY(-6px); }
.stage .frame video, .stage .frame img { width: 100%; height: 100%; object-fit: cover; }
.stage .ledge { position: absolute; left: 6%; right: 6%; bottom: 2.2rem; height: 10px; background: #221F1B; border-radius: 2px; box-shadow: 0 2px 0 #0a0908 inset; }
.stage .pool { position: absolute; left: -4%; right: -4%; bottom: 0; height: 5rem; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, var(--tungsten-dim), rgba(216,168,87,0) 70%); }
.stage .cue { position: absolute; right: 0; bottom: 0; font-size: 0.8rem; color: var(--ash); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .stage { max-width: 420px; } }

/* Doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.door { display: block; text-decoration: none; padding: 2rem; border: 1px solid var(--line); border-radius: 4px; background: var(--charcoal); position: relative; min-height: 220px; }
.door:hover { border-color: var(--tungsten); }
.door h3 { margin-bottom: 0.6rem; font-size: 1.9rem; }
.door p { color: var(--ash); margin-bottom: 0; }
.door .go { position: absolute; bottom: 1.6rem; right: 2rem; color: var(--tungsten); font-size: 0.95rem; }
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } }

/* Two-column story */
.story .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.story figure { margin: 0; }
.story figure img { border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; }
.story figcaption { font-size: 0.85rem; color: var(--ash); margin-top: 0.6rem; }
@media (max-width: 800px) { .story .wrap { grid-template-columns: 1fr; } .story figure { max-width: 380px; } }

/* Business page */
.question { padding: clamp(5rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem); }
.question h1 { max-width: 14ch; }
.question .lede { margin-top: 1.5rem; }

.form { background: var(--charcoal); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 720px; }
.form label { display: block; font-size: 0.9rem; color: var(--ash); margin-bottom: 0.4rem; }
.form input, .form textarea { width: 100%; font: inherit; color: var(--paper); background: var(--black); border: 1px solid var(--line); border-radius: 3px; padding: 0.8rem 0.9rem; margin-bottom: 1.2rem; }
.form input:focus, .form textarea:focus { border-color: var(--tungsten); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .note { font-size: 0.85rem; color: var(--ash); margin: 0.8rem 0 0; }
.form .status { font-size: 0.95rem; margin-top: 0.8rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.list li:first-child { border-top: 1px solid var(--line); }
.list li strong { font-weight: 500; }
.list li span { color: var(--ash); }
@media (max-width: 640px) { .list li { grid-template-columns: 1fr; gap: 0.2rem; } }

.names { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.5; color: var(--paper); max-width: 34ch; }
.names span { color: var(--ash); }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tungsten); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.8rem; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.quote { border-left: 2px solid var(--tungsten); padding-left: 1.2rem; }
.quote p { font-family: var(--serif); font-size: 1.15rem; color: var(--ash); font-style: italic; }
.quote cite { font-style: normal; font-size: 0.9rem; color: var(--paper); }

/* Faith page */
.photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.8rem; margin-top: 2.5rem; }
.photos img { aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; width: 100%; }
.photos img:first-child { grid-row: span 1; }
@media (max-width: 640px) { .photos { grid-template-columns: 1fr 1fr; } .photos img:first-child { grid-column: span 2; aspect-ratio: 16/10; } }

.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.group { border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; background: var(--charcoal); }
.group h3 { margin-bottom: 0.4rem; }
.group p { color: var(--ash); font-size: 0.98rem; }
.group a { color: var(--tungsten); font-size: 0.95rem; }

.invite { border: 1px solid var(--tungsten); border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--tungsten-dim); }
.invite form { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; }
.invite input { flex: 1 1 220px; font: inherit; color: var(--paper); background: var(--black); border: 1px solid var(--line); border-radius: 3px; padding: 0.8rem 0.9rem; }

/* Long-form placeholder */
.longform { max-width: 68ch; }
.longform p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; }
.placeholder { border: 1px dashed var(--ash); border-radius: 4px; padding: 1.2rem 1.4rem; color: var(--ash); font-size: 0.95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: 0.95rem; color: var(--ash); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer a { color: var(--ash); text-decoration: none; }
footer a:hover { color: var(--paper); }
