/* ============================================================
   Glenville (Cleveland, OH) — Cobalt / Sunflower / White
   Hero: centered text above a triptych of 3 static photos
   ============================================================ */

:root {
  --cobalt: #1E3A8A;
  --cobalt-2: #2A4FB5;
  --cobalt-ink: #14265C;
  --sky: #EAF0FB;
  --sun: #F4C542;
  --sun-deep: #D9A61A;
  --sun-pale: #FDF6DE;
  --white: #FFFFFF;
  --ink: #111827;
  --muted: #5B6475;
  --muted-2: #939BAA;
  --line: #E3E7EF;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 12px;
  --r-lg: 20px;
  --head: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --text: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--text); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--cobalt-ink); letter-spacing: -0.02em; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.sec { padding: 5.5rem 0; }
.sec-sky { background: var(--sky); }
.sec-sun { background: var(--sun-pale); }
@media (max-width: 860px) { .wrap { padding: 0 1.3rem; } .sec { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-top: 4px solid var(--sun); box-shadow: 0 1px 0 var(--line); }
.bar { max-width: 1160px; margin: 0 auto; padding: 0.9rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 40px; height: 40px; }
.mark span { font-family: var(--head); font-weight: 700; font-size: 1.02rem; color: var(--cobalt-ink); letter-spacing: -0.02em; }
.links { list-style: none; display: flex; gap: 2rem; }
.links a { text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--muted); transition: color .2s; position: relative; }
.links a:hover, .links a.active { color: var(--cobalt); }
.links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--sun); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--cobalt-ink); border-radius: 2px; }
@media (max-width: 860px) {
  .bar { padding: 0.85rem 1.3rem; }
  .links { position: fixed; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; box-shadow: 0 10px 20px -12px rgba(0,0,0,0.15);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .links.open { opacity: 1; pointer-events: auto; transform: none; }
  .links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .links li:last-child { border-bottom: none; }
  .menu-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.9rem; border-radius: var(--r); font-family: var(--head);
  font-weight: 700; font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: var(--cobalt-ink); transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--cobalt-ink); }
.btn-sun:hover { background: var(--sun-deep); }
.link-arrow { font-family: var(--head); font-weight: 700; font-size: 0.9rem; color: var(--cobalt); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Headings ---------- */
.eyebrow { display: inline-block; background: var(--sun); color: var(--cobalt-ink); font-family: var(--head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.9rem; }
.lead { color: var(--muted); font-size: 1.04rem; max-width: 40rem; }
.top { margin-bottom: 3rem; }
.top.mid { text-align: center; }
.top.mid .lead { margin: 0 auto; }

/* ---------- Hero: triptych ---------- */
.hero { position: relative; padding: 4.5rem 0 0; text-align: center; background: linear-gradient(to bottom, var(--white) 0%, var(--white) 62%, var(--cobalt) 62%, var(--cobalt) 100%); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 860px; margin: 0 auto 1.2rem; }
.hero h1 mark { background: linear-gradient(to top, var(--sun) 38%, transparent 38%); color: inherit; padding: 0 0.1em; }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 36rem; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1.4rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.trip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: end; padding-bottom: 4rem; }
.trip figure { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sky); box-shadow: 0 30px 50px -30px rgba(20,38,92,0.55); }
.trip figure:nth-child(2) { transform: translateY(-2.2rem); }
.trip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { padding-top: 2.5rem; background: linear-gradient(to bottom, var(--white) 0%, var(--white) 70%, var(--cobalt) 70%); }
  .trip { grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; padding-bottom: 2.5rem; }
  .trip figure:nth-child(2) { transform: translateY(-1rem); }
}

/* ---------- Prep strip ---------- */
.prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.prep-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: var(--r-lg); padding: 1.5rem; border: 1px solid var(--line); }
.prep-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r); background: var(--cobalt); display: flex; align-items: center; justify-content: center; }
.prep-ico svg { width: 22px; height: 22px; stroke: var(--sun); }
.prep-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.prep-item p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) { .prep { grid-template-columns: 1fr; } }

/* ---------- Connected step cards ---------- */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.link-card { position: relative; background: var(--white); border: 2px solid var(--cobalt); border-radius: var(--r-lg); padding: 2rem 1.7rem 1.8rem; }
.link-card:not(:last-child)::after { content: "\2192"; position: absolute; right: -2.05rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 700; color: var(--sun-deep); }
.link-card small { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 0.78rem; color: var(--cobalt); background: var(--sky); border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: 0.9rem; }
.link-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.link-card p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .chain { grid-template-columns: 1fr; gap: 2.6rem; } .link-card:not(:last-child)::after { content: "\2193"; right: 50%; top: auto; bottom: -2.2rem; transform: translateX(50%); } }

/* ---------- Myth vs fact ---------- */
.mf { display: flex; flex-direction: column; gap: 1rem; max-width: 960px; margin: 0 auto; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.mf-row > div { padding: 1.4rem 1.6rem; }
.mf-myth { background: #F6F7FA; }
.mf-row b { display: block; font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.mf-myth b { color: var(--muted-2); }
.mf-fact b { color: var(--cobalt); }
.mf-myth p { color: var(--muted); font-size: 0.95rem; text-decoration: line-through; text-decoration-color: rgba(91,100,117,0.45); }
.mf-fact p { color: var(--ink); font-size: 0.95rem; }
@media (max-width: 700px) { .mf-row { grid-template-columns: 1fr; } }

/* ---------- Condition tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-bottom: 1.8rem; }
.tile { background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; font-weight: 700; font-size: 0.92rem; color: var(--cobalt-ink); border-left: 4px solid var(--sun); }
.tiles-note { background: var(--white); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; color: var(--muted); font-size: 0.93rem; }
.tiles-note strong { color: var(--cobalt-ink); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- Big quote ---------- */
.bigq { max-width: 860px; margin: 0 auto; text-align: center; }
.bigq blockquote { font-family: var(--head); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.4; color: var(--cobalt-ink); letter-spacing: -0.015em; margin-bottom: 1.2rem; }
.bigq blockquote span { background: linear-gradient(to top, var(--sun) 35%, transparent 35%); }
.bigq cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: 0.9rem; }

/* ---------- Bubble FAQ ---------- */
.bub { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.bub-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.6rem 1.4rem 4.2rem; position: relative; }
.bub-item::before { content: "Q"; position: absolute; left: 1.3rem; top: 1.3rem; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--cobalt-ink); font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.bub-item h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.bub-item p { color: var(--muted); font-size: 0.93rem; }
.bub-item a { color: var(--cobalt); font-weight: 700; }

/* ---------- Nearby ---------- */
.nearby { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.nearby-card { border-radius: var(--r-lg); padding: 2rem; background: var(--cobalt); color: var(--white); }
.nearby-card.light { background: var(--sky); color: var(--ink); }
.nearby-card h3 { color: inherit; font-size: 1.15rem; margin-bottom: 0.5rem; }
.nearby-card p { font-size: 0.93rem; opacity: 0.85; }
.nearby-card .eyebrow { margin-bottom: 0.8rem; }
@media (max-width: 860px) { .nearby { grid-template-columns: 1fr; } }

/* ---------- Overview ---------- */
.info { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.info h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.info h3:first-of-type { margin-top: 0; }
.info p { color: var(--muted); font-size: 0.94rem; line-height: 1.8; }
.info a { color: var(--cobalt); font-weight: 700; }
.official { border: 2px solid var(--cobalt); border-radius: var(--r-lg); overflow: hidden; }
.official h4 { background: var(--cobalt); color: var(--white); font-family: var(--head); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 1rem 1.3rem; }
.official a { display: block; padding: 1rem 1.3rem; border-top: 1px solid var(--line); text-decoration: none; }
.official a:first-of-type { border-top: none; }
.official a strong { display: block; font-size: 0.93rem; color: var(--cobalt-ink); }
.official a small { font-size: 0.8rem; color: var(--muted-2); }
.official a:hover { background: var(--sky); }
@media (max-width: 860px) { .info { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.end { background: var(--sun); padding: 4.5rem 0; }
.end-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.end h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 34rem; }
.end p { color: var(--cobalt-ink); margin-top: 0.5rem; opacity: 0.8; }

/* ---------- Footer ---------- */
footer { background: var(--cobalt-ink); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.ft p { font-size: 0.86rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.6); }
footer .mark span { color: var(--white); }
footer h4 { font-family: var(--head); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sun); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.88rem; }
footer a:hover { color: var(--sun); }
.ft-bot { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .ft { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.inner-head { background: var(--sky); padding: 3.5rem 0 3rem; }
.inner-head h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.inner-head p { color: var(--muted); font-size: 1.03rem; 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; } }
