/* ===== Base ===== */
:root {
  --navy: #0f2a47;
  --navy-2: #1b3d63;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --accent: #e8912d;      /* warm orange for CTAs */
  --accent-dark: #c4741a;
  --accent-soft: #fff4e6;
  --ok: #2f855a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 42, 71, .12);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container-card { width: min(960px, 100% - 40px); }
.container-narrow { width: min(780px, 100% - 40px); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.dim { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin-bottom: .75rem; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; font: inherit; font-weight: 650; text-decoration: none; border-radius: 999px; padding: .8em 1.4em; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c9d3df; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-small { padding: .45em 1.05em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: -.01em; font-size: 1.08rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; flex: none; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--accent-dark); }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #f3f6fa 0%, #fff 100%); padding: 72px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.02em; font-weight: 800; }
.hero h1 .hl { color: var(--accent-dark); }
.lead { font-size: 1.15rem; color: #3b4757; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--navy); font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .9rem; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.panel-label { text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: .3rem; }
.panel-count { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: .8rem; }
.panel-note { color: var(--muted); font-size: .95rem; margin: .9rem 0 1.2rem; }
.panel-note strong { color: var(--ink); }

.progress { height: 12px; background: #e7edf4; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #f3b562); border-radius: inherit; transition: width .6s ease; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.015em; font-weight: 800; }
.section-sub { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; position: relative; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { color: #435063; margin: 0; }

/* ===== Card section ===== */
.section-card { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-card:focus { outline: none; }
.card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.card-progress { min-width: 280px; flex: 0 1 360px; }
.card-progress-text { margin: 0 0 .45rem; color: var(--muted); }
.card-progress-text strong { color: var(--navy); font-size: 1.1rem; }

.exclusive { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: center; background: var(--accent-soft); border: 1px solid #f6d3a6; color: #6b3f0b; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px; }
.exclusive p { margin: 0; }
.exclusive strong { color: #5a3308; display: block; }
.exclusive-icon { color: var(--accent-dark); flex: none; display: grid; }

/* Front above back, stacked at every width (people scroll up/down). */
.card-sides { display: grid; gap: 44px; }
.card-side { margin: 0; }
.card-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.card-caption h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.card-caption .dim { font-weight: 500; font-size: .9rem; text-align: right; }

/* ---- The postcard itself (12" x 9" landscape) ---- */
.postcard-wrap { container-type: inline-size; container-name: card; }
.postcard {
  aspect-ratio: 12 / 9;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  grid-template-rows: repeat(var(--rows, 9), 1fr);
  gap: clamp(3px, .9cqw, 6px);
  padding: clamp(4px, 1.1cqw, 8px);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 42, 71, .22), 0 2px 6px rgba(15, 42, 71, .15);
  font-size: clamp(9px, 2.3cqw, 22px);
}

.slot { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 5px; font: inherit; text-align: center; }

/* Open slots: inviting dashed boxes */
.slot--open {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18em;
  padding: .4em .5em;
  background: #f7fafd;
  border: 2px dashed #9fb3c8;
  color: var(--navy);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.slot--open:hover, .slot--open:focus-visible { background: var(--accent-soft); border-color: var(--accent); transform: scale(1.015); z-index: 2; }
.slot--open:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.slot-wanted { text-transform: uppercase; letter-spacing: .14em; font-size: .66em; font-weight: 800; color: var(--accent-dark); }
.slot-cat { font-weight: 800; font-size: 1.05em; line-height: 1.15; }
.slot-cta { display: inline-flex; align-items: center; gap: .25em; font-size: .76em; font-weight: 700; color: #fff; background: var(--accent); padding: .22em .7em .22em .45em; border-radius: 999px; margin-top: .15em; }
.slot-cta svg { width: 1.1em; height: 1.1em; }
.slot-meta { font-size: .7em; color: var(--muted); }

.slot--wide .slot-cat, .slot--tall .slot-cat { font-size: 1.3em; }
.slot--wide .slot-cta, .slot--tall .slot-cta { font-size: .8em; }
/* Small (4" x 1") slots: one compact row */
.slot--small { flex-direction: row; flex-wrap: wrap; gap: .1em .5em; padding: .2em .5em; }
.slot--small .slot-wanted { font-size: .62em; }
.slot--small .slot-cat { font-size: .9em; }
.slot--small .slot-cta { display: none; }
.slot--small .slot-meta { flex-basis: 100%; font-size: .64em; line-height: 1.1; }

/* Taken slots: look like real ads */
.slot--taken { background: #fff; border: 1px solid #fff; display: flex; }
.taken-tag { position: absolute; top: .45em; right: -2.1em; transform: rotate(35deg); background: var(--ok); color: #fff; font-size: .56em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .2em 2.6em; z-index: 1; }
.ad { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5em .55em; gap: .12em; }
.ad p { margin: 0; }
.ad-church { --ad-primary: #579fde; --ad-dark: #001632; border-top: .35em solid var(--ad-primary); }
.ad-logo { width: 86%; max-width: 15em; height: auto; margin-bottom: .2em; }
.ad-icon svg { width: 2.2em; height: 2.2em; color: var(--ad-primary, var(--navy)); }
.ad-name { font-weight: 800; font-size: 1.1em; color: var(--ad-dark, var(--navy)); }
.ad-tagline { font-style: italic; font-size: .74em; color: var(--ad-dark, var(--ink)); line-height: 1.25; max-width: 14em; }
.ad-times { background: var(--ad-primary, var(--navy)); color: #fff; border-radius: .35em; padding: .3em .7em; margin: .35em 0 .25em; line-height: 1.2; }
.ad-times .ad-line:first-child { font-size: .62em; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .95; }
.ad-times .ad-line:last-child { font-size: .95em; font-weight: 800; }
.ad-address { font-size: .64em; color: var(--ad-dark, var(--muted)); line-height: 1.25; }
.ad-footer { font-size: .7em; font-weight: 800; color: var(--ad-primary, var(--navy)); }

/* Fixed (not for sale) areas */
.fixed { min-width: 0; min-height: 0; overflow: hidden; border-radius: 5px; }
.fixed--band {
  background: #fff; display: flex; align-items: center; justify-content: center; gap: .8em;
  color: var(--navy); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 1.35em; white-space: nowrap;
}
.fixed--band::before, .fixed--band::after { content: ""; height: 2px; width: 12%; background: linear-gradient(90deg, transparent, var(--accent)); }
.fixed--band::after { transform: scaleX(-1); }
.fixed--mailing { background: #fff; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; padding: .45em; gap: .3em; color: #333; }
.indicia { grid-column: 2; grid-row: 1; border: 1.5px solid #333; font-size: .46em; line-height: 1.25; font-weight: 700; text-align: center; padding: .4em .6em; letter-spacing: .03em; }
.addr { grid-column: 1 / -1; grid-row: 2; align-self: end; font-size: .72em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: flex; flex-direction: column; text-align: left; }
.addr-label { font-size: .7em; color: #8a96a3; font-weight: 600; letter-spacing: .08em; }

/* Narrow cards (phones): simplify slot contents; the list below carries the detail. */
@container card (max-width: 560px) {
  .postcard { font-size: clamp(8px, 2.6cqw, 13px); }
  .slot--open { padding: .2em .3em; gap: .05em; }
  .slot-meta, .slot-cta { display: none; }
  .slot-wanted { font-size: .55em; }
  .slot-cat { font-size: .9em; }
  .slot--small { flex-direction: column; flex-wrap: nowrap; }
  .slot--small .slot-wanted { display: none; }
  .slot--wide .slot-cat, .slot--tall .slot-cat { font-size: 1em; }
  .ad-tagline, .ad-address { display: none; }
  .ad-logo { width: 92%; }
  .ad-times { padding: .2em .45em; margin: .2em 0; }
  .ad-times .ad-line:first-child { font-size: .55em; }
  .ad-times .ad-line:last-child { font-size: .78em; }
  .ad-footer { font-size: .6em; }
  .fixed--band { font-size: 1.05em; letter-spacing: .08em; }
  .fixed--band::before, .fixed--band::after { width: 6%; }
  .indicia { font-size: .4em; padding: .2em .35em; }
  .addr { font-size: .55em; }
  .addr-label { display: none; }
  .taken-tag { font-size: .45em; }
}

/* Slot list (phones only) */
.slot-list { display: none; list-style: none; margin: 16px 0 0; padding: 0; }
.slot-list li { margin-bottom: 8px; }
.slot-list .li-open, .slot-list .li-taken { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 10px; font: inherit; text-align: left; }
.slot-list .li-open { background: #fff; border: 1.5px dashed #9fb3c8; color: var(--ink); cursor: pointer; }
.slot-list .li-open:hover { border-color: var(--accent); background: var(--accent-soft); }
.slot-list .li-taken { background: #eaf5ee; border: 1.5px solid #bfe0cb; }
.li-id { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; }
.li-taken .li-id { background: var(--ok); }
.li-main { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.li-main small { color: var(--muted); }
.li-status { font-weight: 700; font-size: .85rem; color: var(--accent-dark); white-space: nowrap; }
.li-taken .li-status { color: var(--ok); }

.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin-top: 26px; color: #435063; font-size: .92rem; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 22px; height: 16px; border-radius: 4px; display: inline-block; }
.swatch-taken { background: #fff; border: 1px solid #c9d3df; box-shadow: inset 0 3px 0 #579fde; }
.swatch-open { background: #f7fafd; border: 2px dashed #9fb3c8; }
.legend-sizes { margin-left: auto; flex-wrap: wrap; gap: 4px 14px; }
.legend-sizes span { white-space: nowrap; }
.fine { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }

/* ===== FAQ ===== */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; color: var(--navy); font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #435063; padding-right: 40px; }

/* ===== Contact ===== */
.section-contact { background: var(--navy); color: #dbe5f0; }
.section-contact .section-title { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { color: #fff; font-weight: 600; }
.ci { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); }
.contact-form { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.req { color: var(--accent-dark); }
.opt { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  font: inherit; padding: .65em .8em; border: 1.5px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, textarea:focus { border-color: var(--navy-2); outline: 3px solid rgba(232,145,45,.35); outline-offset: 0; }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink); background: var(--bg-soft); padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--accent); }
.form-error { color: #b42318; font-weight: 600; font-size: .92rem; margin: 10px 0 0; min-height: 0; }
.form-error:empty { display: none; }
.form-status { color: var(--ok); font-weight: 600; margin: 12px 0 0; }
.form-status:empty { display: none; }

/* ===== Modal ===== */
.modal { border: 0; padding: 0; border-radius: 16px; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.modal::backdrop { background: rgba(10, 25, 45, .6); backdrop-filter: blur(2px); }
.modal-inner { position: relative; padding: 28px; }
.modal h2 { font-size: 1.5rem; padding-right: 30px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 1.5rem; line-height: 1; color: var(--navy); cursor: pointer; }
.modal-close:hover { background: #e3e9f0; }
.spot-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 8px; margin: 6px 0 12px; }
.spot-facts div { background: var(--bg-soft); border-radius: 8px; padding: 8px 10px; }
.spot-facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.spot-facts dd { margin: 0; font-weight: 700; color: var(--navy); font-size: .92rem; }
.modal-note { font-size: .88rem; color: #6b3f0b; background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.modal-success { text-align: center; padding: 20px 0 6px; }
.modal-success h2 { padding: 0; }
.modal-success h2:focus { outline: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #e6f4ea; color: var(--ok); display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 14px; }

/* ===== Footer ===== */
.site-footer { background: #0a1e34; color: #9fb0c3; padding: 26px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.site-footer .dim { color: #7f91a6; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .legend-sizes { margin-left: 0; }
}
@media (max-width: 680px) {
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 52px 0; }
  .slot-list { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .spot-facts { grid-template-columns: 1fr 1fr; }
  .modal-inner { padding: 22px 18px; }
  .card-progress { min-width: 0; flex: 1 1 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 1.2rem; }
  .hero-stats span { font-size: .8rem; line-height: 1.3; }
}
@media (max-width: 400px) {
  .brand-name { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
