:root {
  --emerald: #0A3324; --emerald-deep: #051C14; --emerald-lift: #134A36; --tint: #8FBFA6;
  --cream: #F3EDE2; --charcoal: #2B2927; --ink: #151413; --accent: #C2571A; --muted: #A7A9A8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--emerald-deep); color: var(--cream);
  font-family: "Inter Tight", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mast { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mast .name { font-weight: 800; letter-spacing: .42em; font-size: 12px; text-transform: uppercase; text-decoration: none; }
.label { font-family: "Antonio", sans-serif; text-transform: uppercase; letter-spacing: .24em; font-size: 13px; color: var(--tint); }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h1 em, h2 em { font-style: italic; color: var(--tint); }
.rule { width: 56px; height: 3px; background: var(--accent); border: 0; margin: 22px 0; }

.hero { position: relative; overflow: hidden; background: var(--emerald); }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,28,20,.94) 0%, rgba(5,28,20,.74) 55%, rgba(5,28,20,.5) 100%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 34px 0 72px; align-items: start; }
.sub { font-size: 20px; max-width: 34em; color: #E4DDD0; }
.learn { list-style: none; padding: 0; margin: 26px 0 0; }
.learn li { padding: 12px 0 12px 34px; border-top: 1px solid rgba(243,237,226,.16); position: relative; }
.learn li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 2px; background: var(--accent); }

.card { background: var(--cream); color: var(--ink); border-radius: 6px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.card h2 { font-size: 32px; }
.card .label { color: var(--accent); }
.card p.small { font-size: 14px; color: #55524d; margin: 8px 0 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label.f { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 5px; }
label.f span { font-weight: 500; color: #6b6862; }
input[type=text], input[type=email], input[type=tel] {
  width: 100%; padding: 13px 12px; font: inherit; font-size: 16px; border: 1px solid #b9b2a4; border-radius: 4px; background: #fff; color: var(--ink);
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.45; color: #55524d; margin: 16px 0 4px; align-items: flex-start; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.btn {
  display: inline-block; width: 100%; margin-top: 16px; padding: 16px 18px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--emerald); color: var(--cream); font: inherit; font-weight: 800; font-size: 17px; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--emerald-lift); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(243,237,226,.6); color: var(--cream); width: auto; margin: 0; padding: 11px 16px; font-size: 14px; }
.btn.ghost:hover { background: rgba(243,237,226,.1); }
.btn.cream { background: var(--cream); color: var(--emerald); width: auto; }
.err { color: #9c2f0c; font-size: 14px; font-weight: 700; margin-top: 12px; min-height: 1em; }

.band { padding: 64px 0; }
.band.cream {
  color: var(--ink);
  background: var(--cream) url("/assets/img/paper.jpg") center top / cover no-repeat;   /* same plaster as the front page */
}
.band.cream .label { color: var(--accent); }
.band.cream h2 em { color: var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two p { margin: 14px 0 0; }
.note { border-left: 3px solid var(--accent); padding-left: 16px; margin-top: 20px; color: #55524d; }

.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 0 72px; }
.tile { position: relative; display: block; min-height: 250px; border-radius: 6px; overflow: hidden; text-decoration: none; background: var(--emerald); }
.tile .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; transition: opacity .2s; }
.tile:hover .bg { opacity: .65; }
.tile .in { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(5,28,20,.1), rgba(5,28,20,.9)); }
.tile h2 { font-size: 32px; margin-top: 6px; }

/* Front page: cream. Layers, top to bottom: fine grain, the background photo (site/assets/img/paper.jpg,
   a cream plaster/stone texture; if the file isn't there the page simply shows the soft light below),
   a soft diagonal light, and a gentle cream fade. Low contrast so the four tiles stay the loudest thing. */
body.paper {
  background-color: var(--cream); color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .16 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("/assets/img/paper.jpg"),
    linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%),
    radial-gradient(120% 70% at 50% 0%, #F8F3EA 0%, var(--cream) 60%, #E9E1D2 100%);
  background-size: 220px 220px, cover, auto, auto;
  background-position: 0 0, center top, 0 0, 0 0;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, fixed, scroll, scroll;
}
body.paper .mast { border-bottom: 1px solid rgba(21,20,19,.14); }
body.paper .mast .name { color: var(--emerald); }
body.paper .label { color: var(--accent); }
body.paper .mast .label { color: #6b6862; font-size: 12px; }
body.paper h1 em { color: var(--accent); }
body.paper .sub { color: #45423d; }
body.paper .tile { box-shadow: 0 2px 0 rgba(21,20,19,.08), 0 22px 44px -18px rgba(5,28,20,.55); transition: transform .2s, box-shadow .2s; }
body.paper .tile:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(21,20,19,.08), 0 30px 54px -18px rgba(5,28,20,.6); }
body.paper .tile .label { color: var(--tint); }
body.paper .tile h2 { color: var(--cream); }
body.paper .tile .bg { opacity: .62; }
@media (max-width: 860px) { body.paper .mast .label { display: none; } }

.player-shell { background: #000; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.player-shell iframe, .player-shell > div { position: absolute; inset: 0; width: 100%; height: 100%; }
.player-empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); background: var(--emerald); }
.chapters { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: thin; }
.chapters button {
  flex: none; background: var(--emerald-lift); color: var(--cream); border: 0; border-radius: 4px; padding: 10px 14px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.chapters button small { font-family: "Antonio", sans-serif; letter-spacing: .12em; color: var(--tint); margin-right: 8px; font-size: 12px; }
.chapters button.on { background: var(--cream); color: var(--emerald); }
.chapters button.on small { color: var(--accent); }
.watch-head { padding: 8px 0 22px; }
.watch-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
#cal { min-height: 560px; background: #fff; border-radius: 6px; overflow: hidden; }
.cal-empty { min-height: 0 !important; padding: 24px; color: #55524d; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 22px; }
.dl-card { background: var(--emerald); border: 1px solid rgba(243,237,226,.16); border-radius: 6px; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dl-title { font-family: "Instrument Serif", Georgia, serif; font-size: 25px; line-height: 1.1; }
.dl-note { font-size: 14px; color: var(--tint); margin-top: 4px; }
.dl-card .btn { margin: 0; flex: none; padding: 12px 16px; font-size: 15px; }
.btn.soon { opacity: .45; cursor: default; }

footer { background: var(--ink); color: var(--muted); font-size: 13px; padding: 34px 0 44px; }
footer .label { color: var(--cream); font-size: 14px; }
footer p { margin: 10px 0 0; max-width: 70em; }

@media (max-width: 860px) {
  .hero-grid, .two, .hub { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { padding: 16px 0 44px; }
  .band { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .mast .name { letter-spacing: .26em; font-size: 11px; }
}
