/* Your Nashville Song · Buck Mason × Frank August aesthetic
   Avenir-first type, cream-dominant, charcoal type, restrained accents.
*/

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
  /* Brand palette */
  --cream:        #F3EEE8;  /* warm cream — default background */
  --cream-deep:   #EAE2D1;  /* subtle layered cards */
  --charcoal:     #1E1E1C;  /* deep charcoal — primary type, dark sections */
  --charcoal-deep:#14140F;
  --cognac:       #8A5A3B;  /* cognac leather — primary accent */
  --gold:         #B48A52;  /* antique gold — rule, hover */
  --smoke:        #A5A09A;  /* soft smoke — dividers, secondary type */

  /* Legacy aliases (old inline styles still work) */
  --ink:          var(--charcoal);
  --ink-deep:     var(--charcoal-deep);
  --walnut:       var(--cognac);
  --cocoa:        var(--cognac);
  --gold-bright:  var(--gold);
  --oxblood:      var(--cognac);
}

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

html, body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Avenir Next', 'Avenir', 'Mulish', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { font-feature-settings: "ss01"; }

/* Legacy font-class aliases — pages still reference .serif and .hand */
.serif, .hand { font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: -0.005em; }

.label {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cognac);
}
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

/* NAV — cream-dominant, charcoal text, restrained */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 232, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(165, 160, 154, 0.32);
}
.nav-inner { display: flex; align-items: center; gap: 36px; padding: 22px 0; }
.brand-mark {
  font-family: inherit;
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 700; text-decoration: none;
}
.nav-links { display: flex; gap: 22px; flex: 1; flex-wrap: nowrap; }
.nav-links a {
  color: var(--charcoal); text-decoration: none;
  font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 500; opacity: 0.72;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--cognac); }
.nav-cta {
  padding: 11px 22px; border: 1px solid var(--charcoal);
  color: var(--charcoal); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--charcoal); color: var(--cream); }
@media(max-width:880px){ .nav-links { display: none; } }

/* HEROS — cream by default, charcoal type */
.page-hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  color: var(--charcoal);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.08; filter: grayscale(15%) brightness(0.96); }
.page-hero-grain { display: none; }
.page-hero-inner { position: relative; z-index: 2; max-width: 980px; }

.eyebrow { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.eyebrow .rule { width: 48px; height: 1px; background: var(--cognac); }
.eyebrow .label { color: var(--cognac); }
.eyebrow.dark .rule { background: var(--gold); }
.eyebrow.dark .label { color: var(--gold); }

.h-display {
  font-family: inherit;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--charcoal);
}
.h-display em { font-style: normal; color: var(--cognac); font-weight: 700; }

.h-sub {
  font-family: inherit;
  font-style: normal;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 720px;
  color: var(--charcoal);
  opacity: 0.76;
  margin-bottom: 40px;
  font-weight: 400;
}

/* BUTTONS — Frank August style: minimal outline, fill on hover */
.btn-primary {
  padding: 17px 32px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
}
.btn-primary:hover { background: var(--cognac); border-color: var(--cognac); color: var(--cream); transform: none; }

.btn-secondary {
  padding: 17px 30px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--charcoal); color: var(--cream); }

/* On dark sections, invert the button treatment */
.section-ink .btn-primary, .section-deep .btn-primary,
.waitlist-strip .btn-primary {
  background: var(--cream); color: var(--charcoal); border-color: var(--cream);
}
.section-ink .btn-primary:hover, .section-deep .btn-primary:hover,
.waitlist-strip .btn-primary:hover {
  background: var(--cognac); border-color: var(--cognac); color: var(--cream);
}
.section-ink .btn-secondary, .section-deep .btn-secondary,
.waitlist-strip .btn-secondary {
  border-color: var(--cream); color: var(--cream);
}
.section-ink .btn-secondary:hover, .section-deep .btn-secondary:hover,
.waitlist-strip .btn-secondary:hover {
  background: var(--cream); color: var(--charcoal);
}

/* SECTIONS */
.section { padding: 130px 0; background: var(--cream); color: var(--charcoal); }
.section-cream { background: var(--cream); color: var(--charcoal); }
.section-ink { background: var(--charcoal); color: var(--cream); }
.section-deep { background: var(--charcoal-deep); color: var(--cream); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head h2 {
  font-family: inherit;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 14px;
  color: var(--charcoal);
}
.section-ink .section-head h2, .section-deep .section-head h2 { color: var(--cream); }
.section-head p {
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  margin-top: 22px;
  line-height: 1.55;
  opacity: 0.72;
}
.section-ink .section-head p, .section-deep .section-head p { color: var(--cream); opacity: 0.78; }

/* CARDS / TILES */
.tile {
  padding: 40px 30px;
  border: 1px solid rgba(30, 30, 28, 0.14);
  background: var(--cream);
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--charcoal);
}
.tile:hover { border-color: var(--charcoal); background: var(--cream-deep); transform: translateY(-2px); }
.tile-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cognac);
  margin-bottom: 26px;
  font-weight: 700;
  text-transform: uppercase;
}
.tile-h {
  font-family: inherit;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.tile-desc {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.72;
  margin-bottom: 24px;
  flex: 1;
  font-weight: 400;
}
.tile-price {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cognac);
  font-weight: 700;
  text-transform: uppercase;
}

/* WAITLIST CTA STRIP — charcoal contrast block */
.waitlist-strip {
  padding: 140px 0;
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.waitlist-strip::before { display: none; }
.waitlist-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.waitlist-inner h2 {
  font-family: inherit;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 14px 0 24px;
  color: var(--cream);
}
.waitlist-inner p {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.78;
  margin-bottom: 40px;
  font-weight: 400;
}
.waitlist-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.waitlist-input {
  flex: 1;
  padding: 17px 20px;
  background: transparent;
  border: 1px solid rgba(243, 238, 232, 0.32);
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
}
.waitlist-input:focus { outline: none; border-color: var(--gold); }
.waitlist-input::placeholder { color: rgba(243, 238, 232, 0.45); }

/* MOBILE STICKY CTA */
.sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(30, 30, 28, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(180, 138, 82, 0.32);
  padding: 14px 16px;
  display: none;
  align-items: center;
  gap: 12px;
}
.sticky-mobile-cta .lbl {
  font-family: inherit;
  font-size: 13px;
  flex: 1;
  color: var(--cream);
  opacity: 0.88;
}
.sticky-mobile-cta .btn-primary {
  padding: 12px 22px;
  font-size: 11px;
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}
@media(max-width:780px){ .sticky-mobile-cta { display: flex; } body { padding-bottom: 64px; } }

/* MATCHMAKER */
.matchmaker {
  padding: 140px 0;
  background: var(--cream);
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.matchmaker::before { display: none; }
.mm-frame { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
.mm-head { text-align: center; margin-bottom: 56px; }
.mm-eyebrow { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mm-eyebrow .rule { width: 48px; height: 1px; background: var(--cognac); }
.mm-head h2 {
  font-family: inherit;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.mm-head h2 em { font-style: normal; color: var(--cognac); font-weight: 700; }
.mm-head p {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.72;
  margin-top: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mm-card {
  background: var(--cream);
  border: 1px solid rgba(30, 30, 28, 0.16);
  padding: 56px 48px;
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media(max-width:780px){ .mm-card { padding: 36px 24px; min-height: 480px; } }

.mm-progress {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
  font-weight: 700;
}
.mm-progress-bars { display: flex; gap: 6px; flex: 1; }
.mm-progress-bars > div { flex: 1; height: 2px; background: rgba(30, 30, 28, 0.14); transition: background 0.3s; }
.mm-progress-bars > div.done { background: var(--cognac); }
.mm-progress-bars > div.active { background: var(--gold); }

.mm-q { display: none; animation: fadeIn 0.4s ease-out; }
.mm-q.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.mm-q h3 {
  font-family: inherit;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  font-weight: 700;
}
.mm-q h3 em { color: var(--cognac); font-style: normal; font-weight: 700; }

.mm-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media(max-width:600px){ .mm-options { grid-template-columns: 1fr; } }

.mm-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  background: var(--cream);
  border: 1px solid rgba(30, 30, 28, 0.15);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 14px;
  color: var(--charcoal);
  text-align: left;
  text-decoration: none;
  position: relative;
}
.mm-option:hover { border-color: var(--charcoal); background: var(--cream-deep); }
.mm-option.selected { border-color: var(--charcoal); background: var(--cream-deep); }
.mm-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(180, 138, 82, 0.16);
  border: 1px solid rgba(180, 138, 82, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--cognac);
  flex-shrink: 0;
  transition: all 0.2s;
}
.mm-option:hover .mm-icon, .mm-option.selected .mm-icon { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.mm-text { line-height: 1.35; }
.mm-text strong {
  display: block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}
.mm-text span { font-size: 12px; opacity: 0.62; }

/* Result reveal */
.mm-result { display: none; text-align: left; }
.mm-result.show { display: block; animation: fadeIn 0.5s ease-out; }
.mm-result-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}
@media(max-width:600px){ .mm-result-grid { grid-template-columns: 1fr; gap: 18px; text-align: center; } }
.mm-result-portrait {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center top;
  filter: grayscale(10%) contrast(1.02);
  border: 1px solid rgba(30, 30, 28, 0.15);
}
.mm-result .label-tier {
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cognac);
  font-weight: 700;
  margin-bottom: 12px;
}
.mm-result h3 {
  font-family: inherit;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  font-weight: 700;
}
.mm-result h3 em { color: var(--cognac); font-style: normal; font-weight: 700; }
.mm-result .pick-credits {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.78;
}
.mm-result-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(30, 30, 28, 0.14);
}

/* TIER COMPARISON */
.tier-compare { padding: 120px 0; background: var(--cream); color: var(--charcoal); }
.tc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1280px; margin: 56px auto 0; }
@media(max-width:1100px){ .tc-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .tc-grid { grid-template-columns: 1fr; } }
.tc {
  padding: 36px 28px;
  background: var(--cream);
  border: 1px solid rgba(30, 30, 28, 0.15);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--charcoal);
}
.tc:hover { border-color: var(--charcoal); transform: translateY(-2px); background: var(--cream-deep); }
.tc.featured { border-color: var(--cognac); background: var(--cream-deep); }
.tc-num { font-family: inherit; font-size: 11px; color: var(--cognac); margin-bottom: 14px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.tc h3 { font-family: inherit; font-size: 24px; line-height: 1.1; margin-bottom: 10px; letter-spacing: -0.015em; font-weight: 700; }
.tc-price { font-family: inherit; font-size: 30px; color: var(--charcoal); margin: 14px 0 20px; line-height: 1; font-weight: 700; letter-spacing: -0.025em; }
.tc-list { list-style: none; flex: 1; margin-bottom: 20px; }
.tc-list li { padding: 9px 0; font-size: 13px; line-height: 1.45; opacity: 0.82; border-bottom: 1px solid rgba(30, 30, 28, 0.08); }
.tc-list li:last-child { border-bottom: none; }
.tc-cta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cognac); font-weight: 700; padding-top: 18px; border-top: 1px solid rgba(30, 30, 28, 0.14); }

/* TRUST BAR */
.trust-bar {
  padding: 30px 0;
  background: var(--cream-deep);
  border-bottom: 1px solid rgba(30, 30, 28, 0.1);
  color: var(--charcoal);
}
.trust-row {
  display: flex; gap: 36px; align-items: center; justify-content: center; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.78; font-weight: 700;
}
.trust-row .dot { color: var(--cognac); }

/* RUN OF SHOW */
.ros { padding: 130px 0; background: var(--cream); color: var(--charcoal); }
.ros.on-cream { background: var(--cream); color: var(--charcoal); }
.ros.on-ink { background: var(--charcoal); color: var(--cream); }
.ros.on-deep { background: var(--charcoal-deep); color: var(--cream); }
.ros-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.ros-head h2 { font-family: inherit; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin-top: 14px; }
.ros-head p { font-family: inherit; font-size: 17px; margin-top: 20px; line-height: 1.55; opacity: 0.72; font-weight: 400; }
.ros-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; max-width: 1200px; margin: 0 auto; }
@media(max-width:880px){ .ros-grid { grid-template-columns: 1fr; } }
.ros-step { padding: 30px 28px; border-left: 2px solid var(--cognac); transition: all 0.2s; background: var(--cream); }
.ros.on-cream .ros-step { background: var(--cream-deep); }
.ros.on-ink .ros-step, .ros.on-deep .ros-step { background: rgba(243, 238, 232, 0.05); border-color: var(--gold); }
.ros-step:hover { transform: translateX(2px); }
.ros-time { font-family: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cognac); font-weight: 700; margin-bottom: 12px; }
.ros.on-ink .ros-time, .ros.on-deep .ros-time { color: var(--gold); }
.ros-step h4 { font-family: inherit; font-size: 20px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.01em; font-weight: 700; }
.ros-step p { font-family: inherit; font-size: 15px; line-height: 1.55; opacity: 0.78; font-weight: 400; }
.ros-foot { text-align: center; margin-top: 44px; font-family: inherit; font-size: 14px; opacity: 0.62; }

/* FOOTER — charcoal */
footer.site-footer { background: var(--charcoal); color: var(--cream); padding: 80px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
@media(max-width:780px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-h { font-family: inherit; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 700; }
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 12px; }
.foot-list a { color: var(--cream); opacity: 0.7; text-decoration: none; font-size: 13px; }
.foot-list a:hover { opacity: 1; color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid rgba(243, 238, 232, 0.1); font-size: 11px; opacity: 0.55; letter-spacing: 0.08em; flex-wrap: wrap; gap: 12px; }

/* Italic text in old inline styles — Frank August doesn't lean on italic display.
   Soften any inline italic display text to upright with subtle weight.
*/
em { font-style: italic; }

/* Honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* Brand mark — logo + wordmark lockup */
.brand-mark { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark img.logo { height: 36px; width: auto; display: block; flex-shrink: 0; }
.brand-mark .wordmark { font-family: inherit; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--charcoal); font-weight: 700; white-space: nowrap; }
footer.site-footer .brand-mark { gap: 16px; margin-bottom: 18px; }
footer.site-footer .brand-mark img.logo { height: 56px; }
footer.site-footer .brand-mark .wordmark { color: var(--cream); font-size: 14px; }
@media(max-width:600px){
  .brand-mark img.logo { height: 32px; }
  .brand-mark .wordmark { font-size: 11px; letter-spacing: 0.28em; }
  /* Hide wordmark text on very narrow nav — seal alone */
  nav.site-nav .brand-mark .wordmark, nav:not(.site-nav) .brand-mark .wordmark { display: none; }
}
