/* ==========================================================================
   WonderTrail — static website stylesheet
   Warm Apricot & Sage identity. Plain CSS, no framework, no build step.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --sage9:#22402E; --sage8:#2B4E39; --sage7:#35604A; --sage5:#4F8C6B;
  --sage1:#E4F1EA; --sage0:#F0F7F3;
  --apricot:#E7A46F; --cream:#FCF7F1; --ink:#332518; --soft:#6B5948; --line:#E9DED1;
  --size:16px;
}
html.large { --size:18.5px; }

* { box-sizing:border-box; }
html { font-size:var(--size); scroll-behavior:smooth; }
body {
  margin:0; background:var(--cream); color:var(--ink);
  font:1rem/1.55 'Figtree', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding-bottom:76px;
}
button, input { font:inherit; }
button { cursor:pointer; }
a { color:var(--sage7); }
h1, h2, h3, p { margin:0; }
h1, h2, h3 { font-family:Georgia, 'Times New Roman', serif; color:var(--sage9); font-weight:500; line-height:1.1; letter-spacing:0; }
h1 { font-size:clamp(2.5rem,7vw,4.6rem); max-width:14ch; }
h2 { font-size:clamp(1.8rem,4vw,2.6rem); }
:focus-visible { outline:3px solid var(--sage5); outline-offset:3px; border-radius:8px; }

.skip { position:absolute; left:-9999px; }
.skip:focus { left:12px; top:12px; z-index:100; background:#fff; padding:12px; border-radius:8px; }
.shell { width:min(1160px, calc(100% - 38px)); margin:auto; }

/* ---- Header ---- */
.site-header { position:sticky; top:0; z-index:50; background:rgba(252,247,241,.94); border-bottom:1px solid var(--line); backdrop-filter:blur(10px); }
.header-in { height:66px; display:flex; align-items:center; gap:28px; }
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; font:600 1.3rem Georgia, serif; color:var(--sage9); }
.brand span { width:36px; height:36px; border-radius:12px; background:var(--sage5); color:#fff; display:grid; place-items:center; }
.header-in nav { display:none; gap:24px; }
.header-in nav a { text-decoration:none; color:var(--ink); font-weight:600; }
.text-toggle { margin-left:auto; min-height:46px; border:1px solid var(--line); background:#fff; border-radius:13px; padding:0 13px; font-weight:600; }

/* ---- Hero (home) ---- */
.home-hero { position:relative; overflow:hidden; background:var(--apricot); }
.contours { position:absolute; inset:-40%; opacity:.26; background:repeating-radial-gradient(ellipse at 65% 45%, transparent 0 46px, #CE8A54 47px 48px, transparent 49px 76px); }
.hero-grid { position:relative; padding:48px 0; display:grid; gap:28px; align-items:center; }
.eyebrow { text-transform:uppercase; letter-spacing:.14em; color:var(--sage7); font-size:.74rem; font-weight:700; margin-bottom:9px; }
.hero-copy { max-width:48ch; color:#4A3826; font-size:1.1rem; margin-top:15px; }

/* ---- Search card ---- */
.search-card { background:#fff; border:1px solid rgba(51,37,24,.15); border-radius:26px; padding:22px; box-shadow:0 14px 38px rgba(51,37,24,.12); display:grid; gap:13px; }
.search-card h2 { font-size:1.65rem; }
.search-card > p, .search-card > small { color:var(--soft); }
.search-card label { font-weight:700; color:var(--sage9); }
.search-card input { width:100%; min-height:54px; border:1.5px solid var(--line); background:var(--cream); border-radius:14px; padding:0 14px; margin-top:6px; }
.primary { min-height:52px; border:0; border-radius:14px; background:var(--sage5); color:#fff; padding:0 20px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }

/* ---- Notice band ---- */
.notice-band { background:var(--sage8); color:#fff; }
.notice-band .shell { padding:13px 0; display:flex; gap:8px; flex-wrap:wrap; }
.notice-band span { color:#E4F1EA; }

/* ---- Sections ---- */
.section { padding:52px 0; }
.section-heading { max-width:680px; }
.section-heading > p:last-child { color:var(--soft); margin-top:9px; }

/* ---- Category grid ---- */
.category-grid { display:grid; gap:12px; margin-top:24px; grid-template-columns:1fr; }
.category-tile { display:block; text-align:left; background:#fff; border:1px solid var(--line); border-radius:22px; padding:19px; text-decoration:none; color:var(--ink); }
.category-tile:hover { border-color:var(--sage5); background:var(--sage0); }
.category-tile > span { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; background:var(--sage0); color:var(--sage7); font-weight:700; font-size:.8rem; }
.category-tile b { display:block; font-size:1.14rem; font-weight:700; color:var(--sage9); margin-top:15px; }
.category-tile small { display:block; color:var(--soft); margin-top:6px; font-size:.9rem; line-height:1.45; }

/* ---- Services strand ---- */
.services-strand { margin-top:28px; border-top:1px solid var(--line); padding-top:22px; }
.services-strand > .eyebrow { margin-bottom:0; }
.services-row { display:grid; gap:12px; margin-top:14px; grid-template-columns:1fr; }
.services-row a { display:block; background:#fff; border:1px solid var(--line); border-radius:18px; padding:16px 18px; text-decoration:none; color:var(--ink); }
.services-row a:hover { border-color:var(--sage5); background:var(--sage0); }
.services-row b { display:block; font-size:1.05rem; font-weight:700; color:var(--sage9); }
.services-row small { display:block; color:var(--soft); margin-top:4px; font-size:.9rem; }

/* ---- Sessions ---- */
.sessions-section { background:#F5EDE3; }
.results-head { display:flex; justify-content:space-between; align-items:flex-end; gap:15px; flex-wrap:wrap; }
.results-head > div > p:last-child { color:var(--soft); margin-top:6px; }
.session-grid { display:grid; gap:15px; margin-top:24px; }
.session-card { background:#fff; border:1px solid var(--line); border-radius:24px; padding:20px; box-shadow:0 7px 22px rgba(51,37,24,.05); display:flex; flex-direction:column; }
.session-top { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.session-top h3 { font-family:'Figtree', sans-serif; font-weight:700; font-size:1.2rem; color:var(--ink); margin-top:5px; }
.category-label { color:var(--sage7); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.status { padding:6px 9px; border-radius:999px; font-size:.72rem; font-weight:700; flex:none; }
.status.confirmed { background:var(--sage1); color:var(--sage8); }
.status.check { background:#FFF0DA; color:#744516; max-width:125px; text-align:center; }
.time-box { background:var(--cream); border-left:4px solid var(--apricot); border-radius:14px; padding:13px; margin-top:16px; }
.time-box span, .time-box strong, .time-box b, .time-box small { display:block; }
.time-box span, .time-box small { color:var(--soft); font-size:.8rem; }
.time-box strong { font-size:1.08rem; margin-top:3px; color:var(--sage9); }
.time-box b { color:var(--sage8); }
.time-box small { margin-top:6px; }
.attributes { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; }
.attributes > span { border:1px solid var(--sage1); border-radius:14px; padding:7px 9px; color:var(--sage8); font-size:.79rem; font-weight:600; }
.attributes small { display:block; color:var(--soft); font-weight:400; margin-top:2px; }
.view-link { display:inline-flex; min-height:48px; align-items:center; font-weight:700; margin-top:auto; text-decoration:none; }
.empty { text-align:center; background:#fff; border:1px dashed var(--sage5); border-radius:24px; padding:35px; margin-top:22px; }
.empty p { color:var(--soft); margin:8px auto 18px; }

/* ---- What to expect (home) ---- */
.expect { background:#fff; }
.expect-grid { display:grid; gap:13px; margin-top:25px; }
.expect-grid article { border:1px solid var(--line); border-radius:22px; padding:20px; }
.expect-grid article > span { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--sage0); color:var(--sage7); font-weight:700; }
.expect-grid h3 { font-family:'Figtree', sans-serif; font-weight:700; font-size:1.08rem; margin-top:17px; }
.expect-grid p { color:var(--soft); margin-top:6px; }

/* ---- Trust + closing ---- */
.trust { background:var(--sage8); color:#fff; }
.trust h2 { color:#fff; }
.trust-grid { display:grid; gap:18px; }
.trust-grid > div:last-child p { color:#DCEBE3; }
.trust-grid a { display:inline-flex; color:#fff; font-weight:700; margin-top:13px; }
.closing-card { background:#F8E7D8; border:1px solid #EBC9AB; border-radius:28px; padding:25px; display:grid; gap:20px; align-items:center; }
.closing-card p:last-child { color:var(--soft); margin-top:8px; }
.closing-card .primary { justify-self:start; background:#E07A4E; color:#3A1E0E; }

/* ---- Detail hero (category + session) ---- */
.detail-hero { position:relative; overflow:hidden; background:var(--apricot); padding:42px 0 46px; }
.detail-hero .contours { position:absolute; inset:-40%; opacity:.24; }
.detail-hero .shell { position:relative; z-index:1; }
.detail-hero h1 { font-size:clamp(2.35rem,6vw,4rem); max-width:16ch; margin-top:6px; }
.crumbs { display:flex; gap:9px; align-items:center; font-weight:600; font-size:.9rem; margin-bottom:12px; }
.crumbs a { color:#3A2A18; text-decoration:none; }
.crumbs a:hover { text-decoration:underline; }
.crumbs span { color:#7A5A38; }
.detail-summary { color:#4A3826; font-size:1.12rem; max-width:54ch; margin-top:12px; }
.detail-count { color:#5A452F; font-weight:600; margin-top:10px; }

/* ---- Session detail body ---- */
.main { padding:30px 0 10px; }
.layout { display:grid; gap:18px; }
.card { background:#fff; border:1px solid var(--line); border-radius:24px; padding:22px; box-shadow:0 7px 22px rgba(51,37,24,.05); }
.card h2 { font-size:clamp(1.5rem,3.4vw,2rem); }
.session-hero { border:2px solid var(--sage5); }
.session-head { display:flex; justify-content:space-between; gap:15px; align-items:flex-start; }
.session-head h2 { margin-top:4px; }
.badge { border-radius:999px; padding:7px 12px; font-size:.75rem; font-weight:700; flex:none; white-space:nowrap; }
.badge.confirmed { background:var(--sage1); color:var(--sage8); }
.badge.check { background:#FFF0DA; color:#744516; max-width:130px; text-align:center; white-space:normal; }
.next { background:var(--sage0); border-radius:18px; padding:17px; margin-top:17px; }
.next span, .next strong, .next b, .next small { display:block; }
.next span, .next small { color:var(--soft); font-size:.85rem; }
.next strong { font-size:1.3rem; margin-top:4px; color:var(--sage9); }
.next b { color:var(--sage8); font-size:1.05rem; margin-top:4px; }
.next small { margin-top:9px; }
.warning { background:#FFF0DA; color:#694115; border-radius:14px; padding:14px; margin-top:14px; }
.buttons { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.btn { min-height:52px; border-radius:14px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; font-weight:700; }
.btn.primary { background:var(--sage5); color:#fff; }
.btn.secondary { border:1px solid var(--sage1); background:#fff; color:var(--sage8); }
.facts { display:grid; gap:11px; margin-top:18px; }
.fact { background:var(--cream); border-radius:16px; padding:15px; }
.fact b, .fact span { display:block; }
.fact b { font-size:1.05rem; }
.fact span { color:var(--soft); font-size:.88rem; margin-top:2px; }
.source { background:var(--sage1); color:var(--sage8); border-radius:999px; font-size:.72rem; font-weight:700; font-style:normal; padding:4px 9px; display:inline-flex; }
.fact .source { margin-top:9px; }
.expect-intro { color:var(--soft); margin-top:8px; }
.detail-expect { display:grid; gap:12px; margin-top:18px; }
.expect-item { border-top:1px solid var(--line); padding-top:15px; }
.expect-item:first-child { border-top:0; padding-top:0; }
.expect-item > div { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.expect-item b { font-size:1.02rem; }
.expect-item p { color:var(--soft); margin-top:5px; }
.sources-card p { color:var(--soft); margin-top:10px; max-width:62ch; }
.sources-card b { color:var(--sage8); }
.sources-card .view-link { margin-top:12px; }

/* ---- Footer + mobile tabs ---- */
.site-footer { padding:26px 0 95px; color:var(--soft); }
.bottom-tabs { position:fixed; z-index:60; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(3,1fr); background:rgba(255,255,255,.97); border-top:1px solid var(--line); padding:5px; }
.bottom-tabs a { min-height:58px; text-decoration:none; color:var(--soft); display:grid; place-items:center; font-size:.9rem; font-weight:700; }
.bottom-tabs a.active { color:var(--sage5); }

/* ---- Simple content pages (about / faq) ---- */
.prose { max-width:70ch; }
.prose h2 { margin-top:34px; }
.prose p { margin-top:14px; color:#4a3a2a; }
.prose ul { margin-top:14px; padding-left:20px; color:#4a3a2a; }
.prose li { margin-top:8px; }

/* ---- Responsive ---- */
@media (min-width:620px) {
  .category-grid { grid-template-columns:repeat(2,1fr); }
  .services-row { grid-template-columns:1fr 1fr; }
  .session-grid { grid-template-columns:repeat(2,1fr); }
  .expect-grid { grid-template-columns:repeat(3,1fr); }
}
@media (min-width:760px) {
  body { padding-bottom:0; }
  .header-in nav { display:flex; }
  .hero-grid { grid-template-columns:1.08fr .92fr; padding:70px 0; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .closing-card { grid-template-columns:1fr auto; }
  .bottom-tabs { display:none; }
  .site-footer { padding-bottom:35px; }
}
@media (min-width:780px) {
  .main { padding-bottom:24px; }
  .layout { grid-template-columns:1.05fr .95fr; align-items:start; }
  .session-hero, .sources-card { grid-column:1 / -1; }
  .facts { grid-template-columns:repeat(3,1fr); }
}
@media (min-width:920px) {
  .category-grid { grid-template-columns:repeat(3,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  * { scroll-behavior:auto !important; transition:none !important; }
}
