/* ============================================================
   TROTH — trothclub.com
   Palette (revised 24 Oct 2026, editorial navy/ivory/gold):
   ink navy #14213D · ivory #F7F3EC · stone #EDE7DC · linen #FBF9F4
   text ink #1B1B1F · text secondary #5C5F6B
   accent antique gold #A3874F (sole "live" color)
   form states: success #4E7A5A · error #9B3B3B
   Type: refined serif for headlines, humanist sans for body.
   Rule: max 3 visible colors per screen (background, text, gold).
   No gradients, colored shadows or bright blues.
   ============================================================ */

:root {
  --navy: #14213D;
  --navy-2: #1A2B4D;
  --ivory: #F7F3EC;
  --ivory-2: #FBF9F4; /* linen — lightest editorial surface */
  --stone: #EDE7DC; /* secondary surface: cards, alt sections, tier table */
  --linen: #FBF9F4;
  --ink: #1B1B1F; /* primary text on light surfaces */
  --ink-soft: #5C5F6B; /* secondary text on light surfaces */
  --on-navy: #F7F3EC; /* text on navy */
  --on-navy-soft: #B8BCC8; /* secondary text on navy */
  --gold: #A3874F;
  --gold-hover: #8F7542;
  --success: #4E7A5A;
  --error: #9B3B3B;
  --line: #D9D2C5; /* subtle borders: table dividers, card outlines, idle inputs */
  --line-light: rgba(27, 27, 31, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --max-narrow: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--gold-hover); }

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

/* ---------- typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.7rem, 4.1vw, 2.7rem); }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
h3 { font-size: clamp(1.05rem, 2.1vw, 1.22rem); }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 44em;
}

em, .accent-italic { font-style: italic; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }

.placeholder-note {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* ---------- layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }
.wrap--narrow { max-width: var(--max-narrow); }

.section { padding: 5.5rem 0; }
.section--tight { padding: 3.5rem 0; }

/* section intro (kicker + heading + lead) is centered by default */
.section > .wrap > .kicker,
.section > .wrap > h2,
.section > .wrap > h3,
.section > .wrap > .lead {
  text-align: center;
}
.section > .wrap > .lead {
  margin-left: auto;
  margin-right: auto;
}
.section--feature .wrap > .filetto {
  margin-left: auto;
  margin-right: auto;
}

.section--alt { background: var(--stone); color: var(--ink); }
.section--alt .lead, .section--alt .muted { color: var(--ink-soft); }

.section--light {
  background: var(--linen);
  color: var(--ink);
}
.section--light .lead, .section--light .muted { color: var(--ink-soft); }
.section--light .kicker { color: var(--gold); }
.section--light a { color: var(--gold); }

/* editorial feature sections: linen, with a 40px gold filetto above the title */
.section--feature { background: var(--linen); color: var(--ink); }
.section--feature .lead, .section--feature .muted { color: var(--ink-soft); }
.section--feature .kicker { color: var(--gold); }
.section--feature a { color: var(--gold); }
.filetto {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.6rem;
}

.promise-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.promise-title .gold-accent { color: var(--gold); font-style: inherit; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}
.section--light .rule { border-top-color: var(--line-light); }

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.8rem 0; }
}

/* ---------- editorial illustrations (ink-wash / gold accent) ---------- */

/* full-width banner illustration (e.g. "Curated events") */
.illus-banner {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--ivory);
  margin: 1.8rem 0;
}
.illus-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
@media (max-width: 620px) {
  .illus-banner, .illus-banner img { height: 280px; }
}

/* editorial side illustration: text + image in a two-column row */
.illus-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.illus-row--reverse { grid-template-columns: 1fr 1fr; }
.illus-row--reverse .illus-figure { order: -1; }
.illus-row .illus-figure {
  overflow: hidden;
  background: var(--ivory);
}
.illus-row .illus-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.illus-row .illus-figure--bordered {
  border: 1px solid var(--line);
}
.illus-row--editorial { grid-template-columns: 1fr 45%; }
.illus-row > div:first-child .kicker,
.illus-row > div:first-child h2,
.illus-row > div:first-child h3 {
  text-align: center;
}
@media (max-width: 760px) {
  .illus-row, .illus-row--editorial { grid-template-columns: 1fr; gap: 1.5rem; }
  .illus-row .illus-figure { order: -1; width: 100%; }
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 33, 61, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.05rem 1.4rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: var(--on-navy-soft);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivory); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  letter-spacing: 0.1em;
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-2);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.4rem 1.4rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0; font-size: 1.02rem; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}
.btn:hover { background: var(--gold); color: var(--navy); text-decoration: none; }

.btn--solid { background: var(--gold); color: var(--navy); }
.btn--solid:hover { background: transparent; color: var(--gold); }

.section--light .btn { border-color: var(--gold); color: var(--gold); }
.section--light .btn:hover { background: var(--gold); color: var(--navy); }
.section--light .btn--solid { background: var(--gold); color: var(--navy); }
.section--light .btn--solid:hover { background: transparent; color: var(--gold); }

.section--feature .btn--solid { background: var(--navy); color: var(--gold); }
.section--feature .btn--solid:hover { background: transparent; color: var(--gold); }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- hero ---------- */

.hero {
  padding: 3.6rem 0 6rem;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  color: var(--on-navy);
}

.hero h1 { max-width: 15em; color: var(--on-navy); }

.hero-title {
  font-family: "Playfair Display", var(--serif);
  font-weight: 400;
}

.hero h1.hero-title--oneline,
.sub--oneline {
  white-space: nowrap;
  max-width: none;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .hero h1.hero-title--oneline,
  .sub--oneline {
    white-space: normal;
    width: auto;
    max-width: 100%;
  }
  .hero .hero-copy .sub.sub--oneline {
    white-space: normal;
    width: 100%;
    max-width: 100%;
  }
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero .sub {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  color: var(--on-navy-soft);
  max-width: 38em;
}

.hero .sub.sub--oneline {
  max-width: none;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.hero .cities {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* inner-page heroes (How it works, Membership, Matchmaking, Events, etc.):
   kicker/h1/sub centered to match the homepage hero */
.hero > .wrap > .kicker,
.hero > .wrap > h1,
.hero > .wrap > .sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* homepage hero: copy centered, ink-wash illustration below the text */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero-copy .sub {
  max-width: 42em;
}

.hero-copy .btn-row {
  justify-content: center;
}

.hero-figure {
  margin-top: 3.5rem;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  max-width: none;
  background: #14213D;
  overflow: hidden;
  isolation: isolate;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 860px) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero-figure { margin-top: 2.8rem; }
  .hero-figure img { height: auto; max-height: 360px; }
}

/* ---------- trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.trust-strip span {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
@media (max-width: 760px) {
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
}

/* ---------- cards ---------- */

.card {
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  background: var(--stone);
  color: var(--ink);
}
.card h3 { margin-bottom: 0.9rem; }
.card .price { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.06em; margin-bottom: 1rem; }
.card .muted, .card p { color: var(--ink-soft); }

.section--light .card { background: #ffffff; border-color: var(--line-light); }
.hero .card, .section--alt.hero .card { background: var(--navy-2); color: var(--on-navy); }
.hero .card .muted, .hero .card p { color: var(--on-navy-soft); }
.card--navy { background: var(--navy); color: var(--on-navy); }
.card--navy h3 { color: var(--on-navy); }
.card--navy .price { color: var(--gold); }
.card--navy p, .card--navy .muted { color: var(--on-navy-soft); }
.card--navy .btn { border-color: var(--gold); color: var(--gold); }
.card--navy .btn:hover { background: var(--gold); color: var(--navy); }

/* ---------- timeline ---------- */

.timeline { list-style: none; max-width: var(--max-narrow); }
.timeline li {
  position: relative;
  padding: 0 0 2.6rem 4.4rem;
  border-left: 1px solid var(--line);
  margin-left: 1.5rem;
}
.timeline li:last-child { padding-bottom: 0.5rem; }
.timeline .num {
  position: absolute;
  left: -1.55rem;
  top: -0.25rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline h3 { margin-bottom: 0.35rem; }
.timeline .note { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.4rem; }

/* ---------- tier table ---------- */

.table-scroll { overflow-x: auto; }

.tiers {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 680px;
}
.tiers th, .tiers td {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}
.tiers thead th {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--stone);
  color: var(--ink);
}
.tiers thead th .tier-price { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--gold); letter-spacing: 0.04em; text-transform: none; margin-top: 0.3rem; }
.tiers td { color: var(--ink); }
.tiers td:first-child { color: var(--ink-soft); }
.tiers .yes { color: var(--ink); }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.faq-item h3 { margin-bottom: 0.6rem; }
details.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.3rem;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; float: right; color: var(--gold); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin-top: 0.8rem; color: var(--ink-soft); max-width: 46em; }

/* ---------- forms ---------- */

.form-shell {
  max-width: var(--max-narrow);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--stone);
  padding: 2.6rem 2.4rem;
}
@media (max-width: 620px) { .form-shell { padding: 1.8rem 1.2rem; } }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.35rem; letter-spacing: 0; text-transform: none; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="url"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  background: var(--ivory-2);
  margin-bottom: 0;
}
.choice-row input { accent-color: var(--gold); }
.choice-row label:has(input:checked) { border-color: var(--gold); color: var(--gold); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
@media (max-width: 620px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* multi-step */

.progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.progress .bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  position: relative;
}
.progress .bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  transition: width 0.3s;
}
.progress .label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

.step { display: none; }
.step.active { display: block; }
.step h2 { margin-bottom: 0.4rem; }
.step .step-intro { color: var(--ink-soft); margin-bottom: 1.8rem; }

.step-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; }
.step-nav .spacer { flex: 1; }

.save-note {
  margin-top: 1.4rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-error { color: var(--error); font-size: 0.88rem; margin-top: 0.4rem; display: none; }
.form-error.visible { display: block; }
.form-success { color: var(--success); font-size: 0.88rem; margin-top: 0.4rem; }

.payment-box {
  border: 1px solid var(--gold);
  background: var(--ivory-2);
  padding: 1.6rem;
  margin: 1rem 0 1.6rem;
  color: var(--ink);
}
.payment-box .amount { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--on-navy-soft);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-navy);
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal-line {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ---------- misc ---------- */

.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-style: italic;
  max-width: 26em;
  line-height: 1.35;
}
.quote-source {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.stat { text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--line); }
.stat .n { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1.1; }
.stat .d { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; max-width: 22em; margin-left: auto; margin-right: auto; }

.draft-banner {
  background: var(--error);
  color: var(--ivory);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

.legal-body h2 { margin: 2.4rem 0 0.8rem; font-size: 1.5rem; }
.legal-body h3 { margin: 1.6rem 0 0.5rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 0.8rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }

.event-card { border: 1px solid var(--line); padding: 1.8rem; background: var(--stone); color: var(--ink); }
.event-card .city { font-family: var(--serif); font-size: 1.5rem; }
.event-card .meta { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.5rem; }
.event-card .badge { display: inline-block; margin-top: 1rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.2rem 0.6rem; }

.two-doors .card { display: flex; flex-direction: column; }
.two-doors .card .btn { margin-top: auto; align-self: flex-start; }
.two-doors .card p { margin-bottom: 1.6rem; }
