/* Analog Experiences, Cole Psychology Corp. */
:root {
  --cream: #faf3e7;
  --cream-2: #f4e9d6;
  --paper: #fffaf1;
  --ink: #1f2b2a;
  --ink-soft: #3d4a48;
  --teal-900: #0e3f3d;
  --teal-700: #145a56;
  --teal-500: #2f8f8a;
  --teal-300: #8fcfc9;
  --teal-100: #d6eeea;
  --gold: #d9a441;
  --gold-soft: #f0d29a;
  --gold-100: #fbecc8;
  --lavender-100: #e8def3;
  --lavender: #a993c9;
  --rose-100: #f6dccf;
  --rose: #d99a80;
  --sage-100: #e0ead2;
  --sage: #93ad78;
  --line: #e6d6b9;
  --shadow: 0 10px 30px -14px rgba(60, 45, 20, .35);
  --radius: 16px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(900px 420px at -10% 30%, rgba(47, 143, 138, .14), transparent 70%),
    radial-gradient(700px 380px at 110% 8%, rgba(47, 143, 138, .16), transparent 70%),
    radial-gradient(700px 400px at 105% 70%, rgba(217, 164, 65, .14), transparent 70%),
    radial-gradient(600px 300px at -5% 95%, rgba(217, 164, 65, .12), transparent 70%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--teal-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
/* Let grid/flex children shrink on small screens instead of overflowing. */
.page-hero > *, .cal-hero > *, .cal-layout > *, .contact-layout > *, .form-grid > *, .detail-grid > *, .detail-hero > *, .about-layout > *, .hero-inner > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; }
.gold-swash { max-width: 80%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); color: var(--teal-900); line-height: 1.15; margin: 0 0 .4em; }
.script { font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.small { font-size: .92rem; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; padding: 14px 0 6px; }
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--teal-900); flex-shrink: 0; }
.brand-logo { width: 104px; height: auto; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; letter-spacing: -.01em; }
.brand-sub { display: flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; margin: 6px 0 8px; color: var(--teal-900); }
.brand-sub::before, .brand-sub::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.brand-ae { display: flex; align-items: center; gap: 6px; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; }
.brand-leaf svg { width: 34px; height: 18px; }
.brand-tag { font-family: var(--serif); font-style: italic; font-size: 1rem; margin-top: 4px; display: flex; align-items: center; gap: 10px; }
.brand-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.header-divider { width: 1.5px; align-self: stretch; margin: 10px 0; background: linear-gradient(transparent, var(--gold) 15%, var(--gold) 85%, transparent); }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: 8px 20px; text-decoration: none; color: var(--teal-900);
  font-size: 1.12rem; font-weight: 600; position: relative; border-radius: 4px; transition: color .2s;
}
.site-nav a::before {
  content: ""; position: absolute; inset: 2px -4px; z-index: -1; opacity: 0; transform: scaleX(.6);
  transition: opacity .25s, transform .25s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M6 22C30 8 80 10 120 9s66 4 76 10c4 8-2 18 0 26-30 8-90 8-130 9S10 52 4 44C0 36 2 28 6 22Z' fill='%23e8b453' fill-opacity='.8'/%3E%3Cpath d='M20 16c40-4 110-6 160 2' stroke='%23f2cd84' stroke-width='3' fill='none' opacity='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-nav a:hover::before { opacity: .45; transform: scaleX(1); }
.site-nav a.active::before { opacity: 1; transform: scaleX(1); }
.site-nav a.active { color: var(--teal-900); }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--teal-900); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 26px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--teal-700), var(--teal-900)); color: #fff;
  font: 600 1.05rem/1.2 var(--sans); text-decoration: none; box-shadow: 0 6px 14px -8px rgba(14, 63, 61, .8);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 10px 18px -8px rgba(14, 63, 61, .8); }
.btn-ico svg { width: 16px; height: 16px; display: block; }
.btn-light { background: linear-gradient(180deg, #6fb3a6, #4c9888); border-radius: 999px; }
.btn-ghost { background: transparent; color: var(--teal-900); border: 1.5px solid var(--teal-700); box-shadow: none; }
.btn-ghost:hover { background: var(--teal-100); color: var(--teal-900); }
.btn-small { padding: 7px 14px; font-size: .9rem; border-radius: 999px; }

.gold-rule { display: block; width: 130px; height: 2px; margin: 10px auto 16px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.gold-swash { display: block; width: 260px; max-width: 70%; height: 10px; margin: 6px 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7C70 1 180 0 258 4' stroke='%23d9a441' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(230, 214, 185, .7); }
.panel { background: rgba(255, 250, 241, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* ---------- Home ---------- */
.hero { position: relative; margin-top: 4px; overflow-x: clip; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); margin: 0; }
.hero .gold-swash { margin-left: 34%; width: 280px; }
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.45; max-width: 620px; padding-left: 36px; margin: 0; letter-spacing: .01em; }
.hero-media { position: relative; border-radius: 42% 0 0 46% / 60% 0 0 52%; overflow: hidden; aspect-ratio: 706 / 290; margin-right: calc((100vw - min(1200px, 100vw - 32px)) / -2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream) 0%, rgba(250, 243, 231, 0) 18%); }

.mv { display: grid; grid-template-columns: 1fr 1fr; margin: 40px auto 10px; }
.mv-item { display: flex; gap: 22px; align-items: flex-start; padding: 8px 28px; }
.mv-item + .mv-item { border-left: 1.5px solid var(--gold-soft); }
.mv-ico { flex: 0 0 120px; height: 110px; display: grid; place-items: center; color: var(--teal-700);
  background: radial-gradient(closest-side, rgba(240, 210, 154, .55), rgba(240, 210, 154, 0)); border-radius: 50%; }
.mv-ico svg { width: 92px; height: 92px; }
.mv h2 { font-size: 2rem; display: inline-block; padding: 0 18px 0 12px; margin-left: -12px;
  background: linear-gradient(100deg, transparent 0, rgba(240, 210, 154, .7) 8%, rgba(240, 210, 154, .55) 85%, transparent 100%); }
.mv p { margin: 6px 0 0; font-size: 1.05rem; }

.section-head { display: flex; align-items: center; gap: 28px; margin: 34px 0 22px; }
.section-head span { flex: 1; height: 1.5px; background: var(--gold); opacity: .8; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; text-align: center; }

.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.home-card .card-media { display: block; aspect-ratio: 454 / 162; overflow: hidden; }
.home-card img, .ws-media img, .more-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-body { text-align: center; padding: 20px 18px 26px; }
.card-title { font-size: 1.6rem; margin: 0; }
.card-title a, .ws-title a { color: inherit; text-decoration: none; }
.card-title a:hover, .ws-title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.card-sub { font-family: var(--serif); font-style: italic; margin: 4px 0 0; font-size: 1.08rem; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; margin-top: 10px; }
.about-side { text-align: center; position: sticky; top: 20px; }
.portrait { width: 340px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 8px #fff, 0 0 0 14px var(--gold-soft), 0 0 0 20px rgba(47, 143, 138, .35), var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.about-side h2 { font-size: 2.6rem; margin: 34px 0 6px; }
.role { display: flex; align-items: center; justify-content: center; gap: 12px; letter-spacing: .25em; font-size: .85rem; text-transform: uppercase; }
.role::before, .role::after { content: ""; width: 30px; height: 2px; background: var(--gold); }
.desk { margin-top: 30px; border-radius: 30px 30px 50% 50% / 30px 30px 18% 18%; overflow: hidden; opacity: .95; }
.about-title { font-size: clamp(2.6rem, 5.5vw, 4.6rem); margin: 0; }
.about-title span { display: block; }
.about-intro { border-left: 3px solid var(--gold); padding-left: 24px; font-size: 1.15rem; margin: 10px 0 34px; }
.about-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.about-stones { width: 220px; border-radius: 50% 0 0 50%; mask-image: radial-gradient(closest-side, #000 70%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); }

.ribbon {
  display: inline-block; color: #fff; font-style: italic; font-weight: 600; font-size: 1.9rem; padding: 6px 36px 8px 26px; margin: 0 0 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M8 10C60 4 160 6 240 5c30 0 50 3 56 8-6 8 2 16-4 24 6 8-2 14-10 17-70 3-170 4-250 2-10-2-24-6-30-14 6-6 0-14 6-20-6-6-2-10-6-12Z' fill='%231c6b65'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.about-block { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; margin-bottom: 34px; }
.about-block .ribbon { grid-column: 1 / -1; margin-left: 120px; margin-bottom: 0; justify-self: start; }
.round-ico { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; color: var(--teal-700);
  background: radial-gradient(circle at 40% 40%, var(--gold-100), rgba(214, 238, 234, .9) 75%); }
.round-ico svg { width: 82px; height: 82px; }
.about-block p { margin: 0; font-size: 1.08rem; }
.about-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 40px; }

/* ---------- Workshops page ---------- */
.page-hero { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; text-align: center; margin: 8px 0 30px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 0; }
.page-hero .gold-swash { margin: 4px auto 14px; width: 360px; }
.page-hero p { font-size: 1.3rem; max-width: 640px; margin: 0 auto; }
.page-hero.solo { grid-template-columns: 1fr; }

.ws-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 50px; }
.ws-card { display: flex; flex-direction: column; border-radius: 20px; }
.ws-media { display: block; aspect-ratio: 288 / 240; overflow: hidden; position: relative; }
.ws-media::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -18px; height: 36px; border-radius: 50%; background: var(--paper); box-shadow: 0 -3px 0 rgba(47, 143, 138, .35); }
.ws-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px 24px; }
.ws-title { font-style: italic; font-size: 1.55rem; margin: 0 0 8px; }
.ws-sub { margin: 0; font-size: 1rem; }
.ws-ornament { display: flex; align-items: center; gap: 10px; margin: auto 0 18px; padding-top: 18px; width: 100%; }
.ws-ornament span { flex: 1; height: 1.5px; background: var(--gold); }
.ws-ornament svg { width: 54px; height: 44px; }
.ws-ornament.gold { color: var(--gold); }
.ws-ornament.teal { color: var(--teal-500); }

/* ---------- Detail page ---------- */
.crumbs { font-size: .92rem; margin: 6px 0 18px; color: var(--ink-soft); }
.crumbs a { color: var(--teal-700); }
.crumbs span { margin: 0 4px; }
.detail-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 36px; }
.detail-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 6 / 5; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 12px 0 4px; }
.detail-sub { font-family: var(--serif); font-style: italic; font-size: 1.35rem; margin: 0; }
.chip { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.chip-teal { background: var(--teal-100); } .chip-gold { background: var(--gold-100); } .chip-lavender { background: var(--lavender-100); }
.chip-rose { background: var(--rose-100); } .chip-sage { background: var(--sage-100); }
.facts { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts svg { width: 20px; height: 20px; color: var(--teal-700); }
.fact-dollar { width: 20px; text-align: center; font-weight: 800; color: var(--teal-700); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; scroll-margin-top: 20px; }
#sessions { scroll-margin-top: 20px; }
.mini-head { font-size: 1.3rem; margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal-500); border-bottom: 2.5px solid var(--teal-500); transform: rotate(-45deg); }
.takeaway { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: var(--gold-100); }
.takeaway p { margin: 2px 0 0; }
.takeaway-ico { flex: 0 0 56px; color: var(--teal-700); }
.takeaway-ico svg { width: 56px; height: 48px; }
.session-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.session { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.session p { margin: 0; display: flex; align-items: center; gap: 8px; }
.session svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--teal-700); }
.session-date { font-weight: 700; }
.session-meta { font-size: .92rem; color: var(--ink-soft); }
.session-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.spots { font-size: .8rem; font-weight: 700; color: var(--teal-700); white-space: nowrap; }
.session.is-full { background: #f5efe6; }
.more { margin: 30px 0 50px; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.more-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.more-card:hover { transform: translateY(-3px); color: var(--ink); }
.more-card img { aspect-ratio: 16 / 8; }
.more-card span { padding: 12px 14px 16px; font-size: .92rem; }
.more-card strong { display: block; font-family: var(--serif); color: var(--teal-900); font-size: 1.1rem; }
.notfound { text-align: center; margin: 40px auto; max-width: 600px; }

/* ---------- Calendar ---------- */
.cal-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.cal-hero-text { text-align: center; }
.cal-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0; }
.cal-hero .gold-swash { margin: 4px auto 12px; width: 420px; }
.cal-hero p { font-size: 1.25rem; margin: 0; }
.cal-hero img { width: 230px; mask-image: radial-gradient(closest-side, #000 65%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 65%, transparent); }
.cal-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; margin: 24px 0 50px; align-items: start; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 18px; }
.filters .label { font-weight: 800; font-size: 1.05rem; }
.filters select { font: inherit; font-size: .98rem; padding: 8px 34px 8px 14px; border: 1px solid #cdbb98; border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145a56' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; color: var(--ink); min-width: 170px; cursor: pointer; }
.filters label.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--teal-700); }
.cal-card { padding: 18px; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 6px 16px; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 18px; }
.cal-nav button { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--teal-900); cursor: pointer; width: 42px; height: 42px; border-radius: 50%; }
.cal-nav button:hover { background: var(--teal-100); }
.cal-nav h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); min-width: 8.5em; text-align: center; font-weight: 600; }
.view-tabs { display: flex; border: 1px solid #cdbb98; border-radius: 6px; overflow: hidden; }
.view-tabs button { font: 600 .95rem var(--sans); padding: 8px 22px; background: #fff; border: 0; cursor: pointer; color: var(--ink); }
.view-tabs button + button { border-left: 1px solid #cdbb98; }
.view-tabs button[aria-pressed=true] { background: var(--teal-900); color: #fff; }
.cal-grid { border: 1px solid #c9b48f; border-radius: 10px; overflow: hidden; background: #fffdf8; }
.cal-row { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-row + .cal-row { border-top: 1px solid #ddc9a6; }
.cal-head { background: var(--teal-900); color: #fff; font-family: var(--serif); font-size: 1.15rem; text-align: center; }
.cal-head div { padding: 8px 0; }
.cal-cell { min-height: 96px; padding: 6px; border-left: 1px solid #ddc9a6; display: flex; flex-direction: column; gap: 4px; }
.cal-cell:first-child { border-left: 0; }
.cal-cell.empty { background: rgba(244, 233, 214, .35); }
.cal-cell.today .cal-day { background: var(--gold); color: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
.cal-day { font-family: var(--serif); font-size: 1.15rem; padding-left: 4px; }
.cal-event { display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 8px; font-family: var(--serif); font-size: .85rem; line-height: 1.15; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cal-event:hover { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); color: var(--ink); }
.cal-event .ev-ico svg { width: 20px; height: 18px; color: var(--teal-700); }
.cal-event.is-full { opacity: .65; }
.ev-teal { background: var(--teal-100); } .ev-gold { background: var(--gold-100); } .ev-lavender { background: var(--lavender-100); }
.ev-rose { background: var(--rose-100); } .ev-sage { background: var(--sage-100); }
.swatch { display: inline-block; width: 26px; height: 18px; border-radius: 5px; flex: 0 0 26px; }
.sw-teal { background: var(--teal-300); } .sw-gold { background: var(--gold-soft); } .sw-lavender { background: #cdbde4; }
.sw-rose { background: #ecb9a3; } .sw-sage { background: #bdd0a6; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; margin-top: 16px; }
.legend-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--teal-900); }
.legend-item { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; padding: 4px; border-radius: 8px; transition: opacity .2s; }
.legend-item:hover { background: rgba(255, 255, 255, .7); }
.legend-item strong { display: block; font-size: .85rem; font-weight: 600; }
.legend-item small { font-size: .72rem; color: var(--ink-soft); }
.legend-item.dim { opacity: .4; }
.cal-list { list-style: none; padding: 0; margin: 0; border: 1px solid #ddc9a6; border-radius: 10px; background: #fffdf8; }
.cal-list li { display: grid; grid-template-columns: 26px 110px 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 16px; }
.cal-list li + li { border-top: 1px solid #ecdcc0; }
.cl-date { font-weight: 700; }
.cl-title { font-family: var(--serif); font-size: 1.1rem; }
.cl-time, .cl-loc { grid-column: 3; font-size: .9rem; color: var(--ink-soft); }
.cl-spots { grid-column: 4; grid-row: 1; font-size: .85rem; font-weight: 700; color: var(--teal-700); }
.agenda { display: grid; gap: 12px; }
.agenda-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; }
.agenda-date { text-align: center; background: #fff; border-radius: 10px; padding: 6px 0; line-height: 1.1; font-size: .8rem; text-transform: uppercase; }
.agenda-date strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--teal-900); }
.agenda-body h3 { font-size: 1.2rem; margin: 0; }
.agenda-body h3 a { color: inherit; }
.agenda-body p { margin: 0; font-size: .95rem; }
.agenda-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-soft); margin-top: 4px !important; }
.agenda-meta svg { width: 16px; height: 16px; }
.cal-empty { padding: 30px; text-align: center; color: var(--ink-soft); background: #fffdf8; border-radius: 10px; border: 1px dashed #cdbb98; }
.up-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 0; }
.up-title + .gold-swash { width: 200px; margin-left: 40px; }
.upcoming { display: grid; gap: 14px; }
.up-item { display: grid; grid-template-columns: 136px 1fr auto; gap: 16px; align-items: center; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
.up-media { display: block; height: 104px; border-radius: 10px; overflow: hidden; }
.up-media img { width: 100%; height: 100%; object-fit: cover; }
.up-body h3 { font-size: 1.15rem; margin: 0; }
.up-body h3 a { color: inherit; text-decoration: none; }
.up-body h3 a:hover { text-decoration: underline; }
.up-body p { margin: 0; font-size: .98rem; line-height: 1.3; }
.up-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px !important; font-size: .88rem !important; }
.up-meta svg { width: 16px; height: 16px; color: var(--teal-700); }
.full-tag { background: var(--teal-900); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.up-item.is-full { opacity: .8; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin: 10px 0 50px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 10px 14px; border-radius: 8px; border: 1px solid #cdbb98; background: #fff; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal-500); border-color: var(--teal-500); }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 14px 0 18px; }
#contact-success { text-align: center; padding: 20px; }
#contact-success .detail-actions { justify-content: center; margin-top: 20px; }
.contact-aside h2 { font-size: 1.6rem; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-aside li { display: flex; gap: 10px; align-items: flex-start; }
.contact-aside svg { width: 20px; height: 20px; color: var(--teal-700); flex: 0 0 20px; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 30px; color: #eaf5f3; }
.footer-wave { height: 70px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40C200 10 380 60 620 34S1040 4 1240 30 1440 40 1440 40V70H0Z' fill='%23e8c47e' fill-opacity='.55'/%3E%3Cpath d='M0 52C240 24 420 70 700 46S1100 20 1440 48V70H0Z' fill='%232f8f8a' fill-opacity='.75'/%3E%3Cpath d='M0 62C260 44 520 72 820 58S1240 46 1440 60V70H0Z' fill='%230e3f3d'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.footer-body { background: var(--teal-900); padding: 28px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-title { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: #fff; margin: 0 0 8px; }
.site-footer p { margin: 0 0 6px; font-size: .95rem; }
.footer-tag { color: var(--gold-soft); font-family: var(--serif); font-style: italic; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #d6eeea; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 22px !important; padding-top: 14px; font-size: .82rem !important; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ws-grid { grid-template-columns: repeat(3, 1fr); }
  .cal-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) {
  .site-nav ul { gap: 0; }
  .site-nav a { padding: 8px 14px; font-size: 1.05rem; }
  .header-inner { gap: 18px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header-divider { display: none; }
  .site-nav { position: absolute; top: 100%; left: 16px; right: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; display: none; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; text-align: center; padding: 12px; }
}
@media (max-width: 960px) {
  .hero-inner, .detail-hero, .detail-grid, .about-layout, .contact-layout, .page-hero { grid-template-columns: 1fr; }
  .hero-media { margin-right: 0; border-radius: 24px; }
  .hero .gold-swash { margin-left: 10%; }
  .hero p { padding-left: 0; }
  .mv { grid-template-columns: 1fr; gap: 20px; }
  .mv-item + .mv-item { border-left: 0; border-top: 1.5px solid var(--gold-soft); padding-top: 24px; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .about-side { position: static; }
  .desk { display: none; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .page-hero .divider-v { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-logo { width: 70px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .55rem; letter-spacing: .2em; }
  .brand-sub::before, .brand-sub::after { width: 14px; }
  .brand-ae { font-size: .62rem; letter-spacing: .14em; }
  .brand-tag { font-size: .85rem; }
  .home-grid, .ws-grid, .more-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .mv-item { flex-direction: column; align-items: center; text-align: center; padding: 8px 0; }
  .mv h2 { margin-left: 0; }
  .about-head { grid-template-columns: 1fr; }
  .about-stones { display: none; }
  .about-block { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-block .ribbon { margin-left: 0; justify-self: center; }
  .cal-hero { grid-template-columns: 1fr; }
  .cal-hero img { display: none; }
  .cal-cell { min-height: 64px; padding: 3px; }
  .cal-event { padding: 3px; font-size: 0; }
  .cal-event .ev-ico svg { width: 18px; }
  .cal-head { font-size: .85rem; }
  .cal-nav h2 { min-width: 0; }
  .filters select { min-width: 0; width: 100%; }
  .up-item { grid-template-columns: 90px 1fr; }
  .up-item .btn { grid-column: 1 / -1; justify-self: start; }
  .up-media { height: 80px; }
  .cal-list li { grid-template-columns: 26px 1fr; }
  .cl-date, .cl-title, .cl-time, .cl-loc, .cl-spots { grid-column: 2; grid-row: auto; }
  .agenda-item { grid-template-columns: 60px 1fr; }
  .agenda-item .btn { grid-column: 2; justify-self: start; }
  .session { flex-direction: column; align-items: flex-start; }
  .session-cta { align-items: flex-start; }
  .gold-swash { max-width: 80%; }
}
