/* Pellowah Space: shared styles */
:root {
  --bg: #ffffff;
  --bg-soft: #eef7fc;
  --card: #ffffff;
  --ink: #16323c;
  --muted: #4d6670;
  --line: #d6e7ef;
  --gold: #8f6410;
  --gold-bright: #e4ad3e;
  --gold-soft: #fff0cf;
  --violet: #157a8a;
  --violet-soft: #def2f6;
  --teal: #0e5c69;
  --dawn: radial-gradient(ellipse 60% 70% at 72% 100%, #fff4d2 0%, rgba(255,244,210,0) 70%), linear-gradient(180deg, #bfe3f6 0%, #dcf0fa 55%, #f6fbfd 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 80, 100, 0.08);
  --max: 1120px;
  --read: 720px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); letter-spacing: -0.005em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.55rem; line-height: 1.2; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.4em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.read { max-width: var(--read); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; font: inherit; font-size: 0.95rem; color: var(--ink); cursor: pointer; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem 16px 1rem; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 0.7rem 0; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--violet); }
.site-nav .btn { margin-top: 0.8rem; border-bottom: 0; text-align: center; }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.1rem; padding: 0; }
  .site-nav a { white-space: nowrap; }
  .site-nav a { border: 0; padding: 0.3rem 0; font-size: 0.97rem; }
  .site-nav .btn { margin: 0; padding: 0.55rem 1.1rem; }
}

/* Buttons */
.btn { display: inline-block; background: var(--violet); color: #fff !important; text-decoration: none; font-weight: 700; padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid var(--violet); transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--violet) !important; }
.btn-ghost:hover { background: var(--violet-soft); color: var(--violet) !important; border-color: var(--violet); }
.btn-light { background: var(--violet); color: #fff !important; border-color: var(--violet); }
.btn-light:hover { background: var(--teal); border-color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* Hero: source light */
.hero { position: relative; overflow: hidden; background: var(--dawn); color: var(--ink); padding: 84px 0 96px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -250px; background: url("/img/strands.svg") center / contain no-repeat; opacity: 0.75; pointer-events: none; animation: turn 240s linear infinite; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 8%, rgba(255, 252, 240, 0.95), transparent 30%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: var(--ink); max-width: 820px; }
.hero p { color: var(--muted); font-size: 1.2rem; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; background: url("/favicon.svg") center / contain no-repeat; }
.hero-small { padding: 64px 0 60px; }
.hero-small::before { width: 520px; height: 520px; right: -170px; top: -190px; }
.hero-small h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
@keyframes turn { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .hero::before { width: 460px; height: 460px; right: -220px; top: -170px; opacity: 0.45; } }

.facts { border-top: 3px solid var(--gold-bright); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -36px; position: relative; box-shadow: var(--shadow); }
.facts div { background: var(--card); padding: 1.1rem 1.2rem; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 40px 0; }
.lead { font-size: 1.2rem; color: var(--muted); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 0.9fr; } .split.flip > :first-child { order: 2; } }

.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { border-top: 3px solid var(--gold-bright) !important; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card .price { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--violet); margin: 0.2rem 0 0.4rem; }
.card .price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.card .tag { align-self: flex-start; background: var(--gold-soft); color: #6b4c0f; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.2rem 0.65rem; border-radius: 999px; margin-bottom: 0.7rem; }
.card .more { margin-top: auto; padding-top: 0.8rem; font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; margin: 0; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-weight: 800; margin-bottom: 0.6rem; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.2rem; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); }
.two-col { columns: 1; }
@media (min-width: 700px) { .two-col { columns: 2; column-gap: 2.5rem; } .two-col li { break-inside: avoid; } }

blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
blockquote p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
blockquote footer { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.quotes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.4; color: var(--violet); margin: 0 0 1rem; }

/* Images with graceful fallback */
figure { margin: 0; }
.photo { border-radius: var(--radius); overflow: hidden; background: url("/img/strands.svg") center / 70% no-repeat, var(--dawn); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.photo.wide { aspect-ratio: 16 / 10; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.img-missing img { display: none; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

/* Price list */
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.price-table td.amt { text-align: right; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--violet); white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table small { display: block; color: var(--muted); font-family: var(--sans); font-weight: 400; font-size: 0.92rem; }
.note { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.2rem 1.2rem; margin-bottom: 0.7rem; }
summary { cursor: pointer; font-weight: 700; padding: 0.9rem 0; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 0.75rem; font-size: 1.4rem; color: var(--violet); }
details[open] summary::after { content: "−"; }
details > div { padding-bottom: 1rem; }

/* Article */
.article { padding: 56px 0 64px; }
.article h2 { margin-top: 1.6em; font-size: 1.6rem; }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.6rem; }
.post-list { display: grid; gap: 1.2rem; }
.post-list .card h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.post-list .card h2 a { color: var(--ink); text-decoration: none; }
.post-list .card h2 a:hover { color: var(--violet); }

/* Form */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.form .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #cfc6b6; border-radius: 10px; padding: 0.75rem 0.85rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--violet-soft); border-color: var(--violet); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 700; }

/* CTA band: light */
.cta { background: var(--dawn); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 1.8rem; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("/img/strands.svg") 50% 50% / 560px no-repeat; opacity: 0.28; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: var(--ink); }
.cta p { color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 3px solid var(--gold-bright); background: #1e1b3a; color: rgba(255, 255, 255, 0.82); padding: 56px 0 32px; margin-top: 0; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f6dc9a; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--sans); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; line-height: 1.4; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== Daylight: sky blue, sunrise gold and Pellowah teal ===== */
:root { --sky-1: #a9dbf3; --sky-2: #d6eefa; --sun: #ffe8a8; --sage: #7bb5b2; --pellowah: #2196a6; }
.daylight, .hero, .band, .cta {
  background:
    radial-gradient(ellipse 45% 55% at 78% 108%, rgba(255, 226, 140, .95) 0%, rgba(255, 238, 190, .55) 35%, rgba(255, 244, 214, 0) 70%),
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 58%, #f3faff 100%);
  color: var(--ink); border: 0;
}
.hero { border-bottom: 1px solid #cfe6f1; }
.hero::before { opacity: .9; filter: drop-shadow(0 0 22px rgba(255, 214, 120, .7)); }
.hero::after { background: radial-gradient(circle at 80% 14%, rgba(255, 250, 225, .9), rgba(255, 250, 225, 0) 32%); }
.hero h1, .hero h2, .band h2, .cta h2 { color: var(--ink); }
.hero p, .band p, .cta p { color: #34525d; }
.hero .eyebrow, .band .eyebrow { color: #0e6a78; }
.btn-gold, .hero .btn:not(.btn-ghost), .cta .btn { background: linear-gradient(180deg, #ffd977, #eab23f); color: #2a2109 !important; border-color: transparent; box-shadow: 0 6px 18px rgba(214, 152, 40, .28); }
.btn-gold:hover, .hero .btn:not(.btn-ghost):hover, .cta .btn:hover { background: linear-gradient(180deg, #ffe39a, #f0bd52); border-color: transparent; }
.hero .btn-ghost, .band .btn-ghost { background: rgba(255, 255, 255, .7); color: var(--teal) !important; border-color: rgba(21, 122, 138, .45); }
.hero .btn-ghost:hover, .band .btn-ghost:hover { background: #fff; border-color: var(--violet); }
.cta { border-radius: var(--radius); box-shadow: 0 18px 44px rgba(33, 150, 166, .16); border: 1px solid #cfe6f1; }
.cta::before { opacity: .35; }
.facts { border-top-color: var(--gold-bright); }

/* Training band and path */
.band { position: relative; overflow: hidden; padding: 72px 0; }
.band::before { content: ""; position: absolute; width: 620px; height: 620px; left: -240px; bottom: -300px; background: url("/img/strands.svg") center / contain no-repeat; opacity: .5; pointer-events: none; }
.band .wrap { position: relative; }
.path { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.path li { margin: 0; display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.4rem 1.3rem; border-radius: var(--radius); background: rgba(255, 255, 255, .82); border: 1px solid #cbe4ef; box-shadow: 0 10px 26px rgba(33, 150, 166, .1); }
.path li:last-child { background: linear-gradient(180deg, #fffaf0, #fff0cc); border-color: #f1d28c; }
.path .lvl { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--pellowah); padding: .2rem .7rem; border-radius: 999px; }
.path li:last-child .lvl { background: linear-gradient(180deg, #ffd977, #eab23f); color: #2a2109; }
.path strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; color: var(--ink); }
.path span:not(.lvl) { color: var(--muted); }
.path em { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 700; font-size: .92rem; color: var(--teal); }
.center-row { justify-content: center; margin-top: 2rem; }

/* Cards and details */
.cards.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 980px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { border-top-color: var(--pellowah) !important; }
.card .tag { background: #e0f3f6; color: #0e5c69; }
.link-card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(33, 150, 166, .16); }
.link-card h3 { color: var(--ink); }
.card-kachina { background: linear-gradient(180deg, #fffaf0, #fff0cc); border-top-color: var(--gold-bright) !important; }
.card-kachina .tag { background: #ffe6a6; color: #6b4a08; }
.steps li::before { background: #e0f3f6; color: #0e5c69; }
blockquote { border-left-color: var(--sage); }
.ticks li::before { color: var(--gold-bright); }
.section-soft { background: linear-gradient(180deg, #eef7fc, #f6fbfe); }
.photo { background: url("/img/strands.svg") center / 70% no-repeat, var(--dawn); }

/* Footer: deep Pellowah teal */
.site-footer { background: linear-gradient(180deg, #0f5d6a, #0b4651); border-top: 3px solid var(--gold-bright); }
.site-footer a:hover { color: #ffe39a; }

/* The photo of Nate and Kachina is portrait: show it upright so neither face is cropped */
.photo.wide:has(img[src*="kachina-and-nate"]) { aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
.photo img[src*="kachina-and-nate"] { object-position: 50% 12%; }
