/* ============================================================
   Slavic Village (Cleveland, OH) — Forest / Poppy / Cream (folk palette)
   Hero: one portrait image in an arch-topped frame on the right,
   text on the left
   ============================================================ */

:root {
  --forest: #22463A;
  --forest-deep: #173229;
  --forest-pale: #E6EEE9;
  --poppy: #D9483B;
  --poppy-deep: #B8392E;
  --gold: #E7B048;
  --cream: #FAF4E8;
  --white: #FFFFFF;
  --ink: #1F2622;
  --muted: #5E6A63;
  --muted-2: #95A09A;
  --line: #E6DFCF;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --hd: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --tx: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--tx); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1.02rem; }
h1, h2, h3, h4 { font-family: var(--hd); font-weight: 700; color: var(--forest-deep); letter-spacing: -0.02em; line-height: 1.12; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.box { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.row { padding: 5.5rem 0; }
.row-white { background: var(--white); }
.row-green { background: var(--forest); }
@media (max-width: 860px) { .box { padding: 0 1.3rem; } .row { padding: 3.5rem 0; } }

/* folk border stripe */
.folk-stripe { height: 10px; background: repeating-linear-gradient(90deg, var(--poppy) 0 24px, var(--gold) 24px 36px, var(--forest) 36px 60px, var(--cream) 60px 66px); }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--forest); }
.nv { max-width: 1140px; margin: 0 auto; padding: 0.85rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nv-brand img { width: 38px; height: 38px; }
.nv-brand span { font-family: var(--hd); font-weight: 700; font-size: 1.06rem; color: var(--cream); }
.nv-links { list-style: none; display: flex; gap: 0.6rem; }
.nv-links a { text-decoration: none; font-family: var(--hd); font-weight: 600; font-size: 0.9rem; color: rgba(250,244,232,0.8); padding: 0.45rem 0.9rem; border-radius: var(--r); transition: background .2s, color .2s; }
.nv-links a:hover { color: var(--cream); background: rgba(255,255,255,0.08); }
.nv-links a.active { background: var(--poppy); color: var(--white); }
.nv-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nv-btn span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }
@media (max-width: 860px) {
  .nv { padding: 0.8rem 1.3rem; }
  .nv-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--forest); flex-direction: column; gap: 0.2rem; padding: 0.5rem 1.2rem 1.2rem;
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nv-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nv-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.8rem; border-radius: var(--r); font-family: var(--hd);
  font-weight: 700; font-size: 0.92rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-poppy { background: var(--poppy); color: var(--white); }
.btn-poppy:hover { background: var(--poppy-deep); }
.btn-outline { background: transparent; color: var(--forest-deep); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--forest-deep); }
.btn-cream:hover { background: var(--gold); }

/* ---------- Headings ---------- */
.kick { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--hd); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--poppy); margin-bottom: 0.9rem; }
.kick::before { content: "\273F"; color: var(--gold); font-size: 0.95rem; letter-spacing: 0; }
.ttl { font-size: clamp(1.9rem, 3.1vw, 2.6rem); margin-bottom: 0.9rem; }
.dek { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.ctr { text-align: center; }
.hd.ctr .dek { margin: 0 auto; }

/* ---------- Hero: arch-framed portrait ---------- */
.hero { padding: 4.5rem 0 5rem; }
.hero-g { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); margin-bottom: 1.3rem; }
.hero h1 span { color: var(--poppy); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 32rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.arch-wrap { position: relative; max-width: 440px; margin-left: auto; width: 100%; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--forest-pale); border: 8px solid var(--white); box-shadow: 0 30px 60px -30px rgba(23,50,41,0.5); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-dot { position: absolute; border-radius: 50%; }
.arch-dot.a { width: 90px; height: 90px; background: var(--gold); left: -30px; bottom: 60px; z-index: -1; }
.arch-dot.b { width: 26px; height: 26px; background: var(--poppy); right: -8px; top: 70px; }
.arch-dot.c { width: 14px; height: 14px; background: var(--forest); left: 10px; top: 40%; }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.5rem; } .arch-wrap { margin: 0 auto; max-width: 340px; } }

/* ---------- To-do checklist ---------- */
.todo { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.todo-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 1.6rem; border-bottom: 1px dashed var(--line); }
.todo-item:last-child { border-bottom: none; }
.todo-box { width: 28px; height: 28px; border-radius: 7px; border: 2px solid var(--forest); display: flex; align-items: center; justify-content: center; }
.todo-box svg { width: 16px; height: 16px; stroke: var(--poppy); }
.todo-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.todo-item p { color: var(--muted); font-size: 0.93rem; }
.todo-item em { font-style: normal; font-family: var(--hd); font-weight: 700; font-size: 0.76rem; color: var(--forest); background: var(--forest-pale); border-radius: 999px; padding: 0.3rem 0.75rem; white-space: nowrap; }
@media (max-width: 600px) { .todo-item { grid-template-columns: 36px 1fr; } .todo-item em { grid-column: 2; justify-self: start; } }

/* ---------- Condition lookup ---------- */
.lookup { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.lookup-box { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 1.8rem; }
.lookup-box label { display: block; font-family: var(--hd); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--forest-deep); }
.lookup-box input { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--line); border-radius: var(--r); font-family: var(--tx); font-size: 1rem; outline: none; background: var(--cream); }
.lookup-box input:focus { border-color: var(--forest); }
.lookup-list { list-style: none; margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lookup-list li { font-family: var(--hd); font-weight: 600; font-size: 0.85rem; background: var(--forest-pale); color: var(--forest-deep); border-radius: 999px; padding: 0.4rem 0.9rem; }
.lookup-list li.hide { display: none; }
.lookup-empty { display: none; margin-top: 1.2rem; font-size: 0.93rem; color: var(--muted); background: var(--cream); border-left: 4px solid var(--gold); padding: 0.9rem 1rem; border-radius: var(--r); }
.lookup-side p { color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 860px) { .lookup { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Savings estimator ---------- */
.save { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.save .ttl, .save .kick { color: var(--cream); }
.save .kick { color: var(--gold); }
.save .dek { color: rgba(250,244,232,0.78); }
.calc { background: var(--cream); border-radius: var(--r-lg); padding: 2rem; }
.calc label { display: block; font-family: var(--hd); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.6rem; }
.calc-in { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.calc-in span { padding: 0 0.9rem; font-family: var(--hd); font-weight: 700; color: var(--muted); }
.calc-in input { flex: 1; border: none; padding: 0.9rem 0.9rem 0.9rem 0; font-size: 1.1rem; font-family: var(--hd); outline: none; min-width: 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.calc-out div { background: var(--white); border-radius: var(--r); padding: 1rem; }
.calc-out small { display: block; font-size: 0.8rem; color: var(--muted); }
.calc-out b { font-family: var(--hd); font-size: 1.6rem; color: var(--poppy); }
.calc-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .save { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Testimonials ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.note { background: var(--white); border-radius: var(--r-lg); padding: 1.7rem; border-top: 5px solid var(--gold); }
.note:nth-child(2) { border-top-color: var(--poppy); }
.note:nth-child(3) { border-top-color: var(--forest); }
.note p { font-style: italic; margin-bottom: 1rem; }
.note span { font-family: var(--hd); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } }

/* ---------- Tabbed FAQ ---------- */
.tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.tab { font-family: var(--hd); font-weight: 700; font-size: 0.9rem; padding: 0.7rem 1.3rem; border-radius: 999px; border: 2px solid var(--forest); background: transparent; color: var(--forest-deep); cursor: pointer; transition: background .2s, color .2s; }
.tab.on { background: var(--forest); color: var(--cream); }
.panel { display: none; max-width: 840px; margin: 0 auto; }
.panel.on { display: block; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; margin-bottom: 0.9rem; }
.qa h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.qa p { color: var(--muted); font-size: 0.97rem; }
.qa a { color: var(--poppy); font-weight: 600; }

/* ---------- Local ---------- */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.loc-card { border: 2px solid var(--forest); border-radius: var(--r-lg); padding: 1.9rem; background: var(--white); }
.loc-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.loc-card p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } }

/* ---------- Overview ---------- */
.ovw { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ovw h3 { font-size: 1.12rem; margin: 1.5rem 0 0.5rem; }
.ovw h3:first-of-type { margin-top: 0; }
.ovw p { color: var(--muted); line-height: 1.8; }
.ovw a { color: var(--poppy); font-weight: 600; }
.refs { background: var(--forest); border-radius: var(--r-lg); padding: 1.6rem; }
.refs h4 { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.refs a { display: block; padding: 0.85rem 0; border-top: 1px solid rgba(250,244,232,0.14); text-decoration: none; }
.refs a strong { display: block; font-family: var(--hd); font-size: 0.93rem; color: var(--cream); }
.refs a small { font-size: 0.82rem; color: rgba(250,244,232,0.6); }
.refs a:hover strong { color: var(--gold); }
@media (max-width: 860px) { .ovw { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.closer { background: var(--poppy); padding: 4.5rem 0; text-align: center; }
.closer h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0.7rem; }
.closer p { color: rgba(255,255,255,0.88); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--forest-deep); color: rgba(250,244,232,0.72); padding: 3.5rem 0 1.8rem; }
.fg { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fg p { font-size: 0.88rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(250,244,232,0.6); }
footer h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(250,244,232,0.85); text-decoration: none; font-size: 0.9rem; }
footer a:hover { color: var(--gold); }
.fb { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,244,232,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; color: rgba(250,244,232,0.5); }
@media (max-width: 860px) { .fg { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ih { padding: 3.5rem 0 3rem; background: var(--white); }
.ih h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.ih p { color: var(--muted); max-width: 40rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
