:root {
  --ink: #17201c;
  --paper: #f4f0e7;
  --paper-deep: #e7ddcd;
  --ember: #c95e36;
  --ember-light: #ec9b63;
  --dark-sections: #10133c;
  --hero-shade-strong: .93;
  --hero-shade-middle: .66;
  --hero-shade-light: .18;
  --hero-shade-bottom: .55;
  --hero-shade-mobile-strong: .91;
  --hero-shade-mobile-light: .5;
  --hero-shade-mobile-bottom: .6;
  --line: rgba(23, 32, 28, .16);
  --serif: "Marcellus", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.preserve-line-breaks { white-space: pre-line; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  color: #fff9ee;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark[hidden], .brand-logo[hidden] { display: none; }
.brand-logo { display: block; width: 48px; height: 48px; object-fit: contain; object-position: center; }
.footer-brand .brand-logo { width: 44px; height: 44px; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .08em; font-weight: 400; }
.brand small { display: block; opacity: .7; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.brand-mark { position: relative; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: currentColor; opacity: .6; }
.brand-mark::before { width: 1px; height: 48px; }
.brand-mark::after { width: 48px; height: 1px; }
.brand-mark i { width: 9px; height: 15px; border-radius: 50% 50% 45% 45%; background: var(--ember-light); transform: rotate(8deg); box-shadow: 0 0 15px var(--ember-light); }
nav { display: flex; gap: clamp(1rem, 2.6vw, 2.5rem); }
nav a { text-decoration: none; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 1px; background: currentColor; transition: right .25s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button { display: none; color: inherit; background: none; border: 0; padding: .5rem; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 1px; background: currentColor; margin: 6px 0; }

.hero { min-height: 100svh; position: relative; color: #fff8ea; display: grid; align-items: center; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background-size: cover; background-position: center; transform: scale(1.03); }
.hero-shade { background: linear-gradient(90deg, rgb(12 25 19 / var(--hero-shade-strong)) 0%, rgb(15 28 22 / var(--hero-shade-middle)) 48%, rgb(15 24 20 / var(--hero-shade-light)) 100%), linear-gradient(0deg, rgb(13 25 20 / var(--hero-shade-bottom)), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(780px, calc(100% - 2.5rem)); margin-left: clamp(1.25rem, 9vw, 9rem); padding-top: 7rem; }
.eyebrow, .kicker { margin: 0 0 1.25rem; color: var(--ember-light); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3.7rem, 8.5vw, 8.6rem); letter-spacing: -.04em; max-width: 900px; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2.45rem, 5vw, 5.2rem); letter-spacing: -.035em; }
.hero-lead { max-width: 660px; font-size: clamp(1rem, 1.5vw, 1.24rem); color: rgba(255,248,234,.82); }
.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; padding: .9rem 1.35rem; font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.button-primary { background: var(--ember); color: #fff; box-shadow: 0 12px 32px rgba(113,47,26,.25); }
.button-primary:hover { background: #df7046; }
.text-link { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .86rem; padding-bottom: .25rem; }
.text-link span { margin-left: .5rem; }
.hero-foot { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: 2.4rem; z-index: 2; display: flex; align-items: center; gap: 1rem; text-transform: uppercase; letter-spacing: .18em; font-size: .6rem; opacity: .65; }
.hero-foot i { display: block; height: 1px; width: 90px; background: currentColor; }
.orb { position: absolute; z-index: 1; border: 1px solid rgba(255,224,184,.28); border-radius: 50%; pointer-events: none; }
.orb-one { width: 45vw; height: 45vw; min-width: 400px; min-height: 400px; right: -12vw; top: 15%; }
.orb-two { width: 22vw; height: 22vw; min-width: 230px; min-height: 230px; right: 8vw; top: 29%; }

.section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7rem); position: relative; }
.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .75fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.section-number { position: absolute; top: 5rem; left: 2.5vw; font-family: var(--serif); opacity: .24; }
.body-copy { max-width: 680px; }
.body-copy p { font-size: 1.06rem; color: rgba(23,32,28,.78); }
.body-copy p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.5rem; line-height: .78; color: var(--ember); padding: .1rem .55rem 0 0; }
.intro-visual { margin: 0; position: relative; }
.intro-visual::before { content: none; }
.intro-visual img { height: min(680px, 70vh); object-fit: cover; filter: saturate(.85) contrast(1.03); padding: 1rem; border: 1px solid var(--ember); background: var(--paper); }
.intro-visual figcaption { margin-top: 1rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .58; }

.principles { background-color: var(--dark-sections); background-image: linear-gradient(color-mix(in srgb, var(--dark-sections) 90%, transparent), color-mix(in srgb, var(--dark-sections) 90%, transparent)), var(--bg-principles, none); background-size: cover; background-position: center; color: #f6efe3; }
.section-heading { max-width: 780px; margin-bottom: clamp(3rem, 7vw, 6rem); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.principle { padding: 2.5rem 2rem 2rem 0; border-right: 1px solid rgba(255,255,255,.16); min-height: 280px; }
.principle:not(:first-child) { padding-left: 2rem; }
.principle:last-child { border-right: 0; }
.principle span { color: var(--ember-light); font-family: var(--serif); }
.principle h3 { font-size: 1.75rem; margin: 4.5rem 0 1rem; }
.principle p { color: rgba(246,239,227,.66); margin: 0; font-size: .92rem; }

.practice { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(3rem, 10vw, 10rem); background-color: var(--paper-deep); background-image: linear-gradient(color-mix(in srgb, var(--paper-deep) 90%, transparent), color-mix(in srgb, var(--paper-deep) 90%, transparent)), var(--bg-practice, none); background-size: cover; background-position: center; }
.practice-header { position: sticky; top: 2rem; align-self: start; }
.practice-header > p:last-child { max-width: 580px; color: rgba(23,32,28,.72); }
.practice-steps { counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 58px 1fr; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); color: var(--ember); font-size: .9rem; }
.step h3 { font-size: 1.65rem; margin: 0 0 .6rem; }
.step p { margin: 0; color: rgba(23,32,28,.7); }

.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-auto-rows: clamp(260px, 26vw, 350px); gap: 1rem; }
.gallery-item { margin: 0; position: relative; overflow: hidden; background: #d8d0c2; }
.gallery-item:nth-child(3n + 1) { grid-row: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; color: white; padding: 3rem 1.3rem 1.2rem; font-size: .78rem; letter-spacing: .06em; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

.videos { background: #f9f5ed; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.video-card { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.video-frame { aspect-ratio: 16/9; background: #18231e; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 1.65rem; margin: 1.25rem 0 .4rem; }
.video-card p { margin: 0; color: rgba(23,32,28,.68); }

.resources { background-color: var(--dark-sections); background-image: linear-gradient(color-mix(in srgb, var(--dark-sections) 90%, transparent), color-mix(in srgb, var(--dark-sections) 90%, transparent)), var(--bg-resources, none); background-size: cover; background-position: center; color: #f7f0e5; }
.resources-inner { display: grid; grid-template-columns: auto 1fr minmax(240px,.55fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.resource-symbol { font-size: 4rem; color: var(--ember-light); }
.resources h2 { margin-bottom: .8rem; }
.resources p { max-width: 600px; color: rgba(247,240,229,.68); }
.resource-links { display: grid; }
.resource-links a { text-decoration: none; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; }
.resource-links a::after { content: "↗"; color: var(--ember-light); }
.resource-details { background:var(--paper); color:var(--ink); }
.resource-topics { border-top:1px solid var(--line); }
.resource-topic { display:grid; grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr); gap:clamp(2rem,8vw,8rem); padding:clamp(3rem,6vw,5.5rem) 0; border-bottom:1px solid var(--line); }
.resource-topic h3 { margin:0; color:var(--ink); font-size:clamp(1.9rem,3.3vw,3.4rem); }
.resource-topic-body > p { max-width:850px; margin:0; color:rgba(23,32,28,.74); }
.resource-points { counter-reset:resource-point; margin:2rem 0 0; padding:0; border-bottom:1px solid var(--line); list-style:none; }
.resource-points li { counter-increment:resource-point; display:grid; grid-template-columns:44px 1fr; gap:1rem; padding:1rem 0; border-top:1px solid var(--line); color:rgba(23,32,28,.8); }
.resource-points li::before { content:counter(resource-point, decimal-leading-zero); color:var(--ember); font-family:var(--serif); font-size:.78rem; }
.resource-topic-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:2.25rem; }
.resource-topic-gallery.single { grid-template-columns:1fr; }
.resource-topic-image { margin:0; }
.resource-topic-image img { width:100%; height:clamp(240px,28vw,420px); object-fit:contain; object-position:center; background:var(--paper-deep); }
.resource-topic-gallery.single .resource-topic-image img { height:auto; max-height:560px; }
.resource-topic-image figcaption { margin-top:.7rem; color:rgba(23,32,28,.55); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; }
.author-note { margin-top:clamp(4rem,8vw,7rem); padding:clamp(2rem,5vw,4rem); border:1px solid var(--line); background:var(--paper-deep); display:grid; grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr); gap:clamp(2rem,7vw,7rem); align-items:start; }
.author-note[hidden] { display:none; }
.author-note .kicker { margin-bottom:1rem; }
.author-note p:last-child { max-width:780px; margin:0; color:rgba(23,32,28,.74); }
.author-note address { display:grid; gap:.45rem; padding-left:1.5rem; border-left:1px solid var(--line); color:rgba(23,32,28,.7); font-style:normal; font-size:.86rem; }
.author-identity { display:flex; align-items:center; gap:.9rem; margin-bottom:.35rem; }
.author-identity img { flex:0 0 auto; width:58px; height:58px; object-fit:contain; border-radius:6px; }
.author-identity img[hidden] { display:none; }
.author-note address strong { color:var(--ink); font-family:var(--serif); font-size:1.25rem; font-weight:400; }
.author-note address a { color:var(--ember); overflow-wrap:anywhere; }

.contact { text-align: center; background-image: linear-gradient(color-mix(in srgb, var(--paper) 90%, transparent), color-mix(in srgb, var(--paper) 90%, transparent)), var(--bg-contact, none); background-size: cover; background-position: center; }
.contact-card { max-width: 930px; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); position: relative; }
.contact-card::before { content: none; }
.contact-symbol { position:absolute; width:80px; height:80px; left:50%; top:-40px; transform:translateX(-50%); border:1px solid var(--ember); border-radius:50%; background:var(--paper); overflow:hidden; }
.contact-symbol img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.contact-symbol img[hidden] { display:none; }
.contact-card p { max-width: 620px; margin-left: auto; margin-right: auto; color: rgba(23,32,28,.68); }
.contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-actions a { color: white; background: var(--ink); }
.social-area { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.social-area > span { display: block; margin-bottom: 1rem; color: rgba(23,32,28,.55); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.social-link { min-width: 150px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: .65rem; padding: .65rem .8rem; color: var(--ink); border: 1px solid var(--line); text-decoration: none; text-align: left; font-size: .8rem; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.social-link:hover, .social-link:focus-visible { color: white; background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.social-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.social-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .icon-fill { fill: currentColor; stroke: none; }
.social-arrow { color: var(--ember); font-size: 1rem; }

footer { padding: 3rem clamp(1.25rem, 7vw, 7rem); background: var(--dark-sections); color: #eee7db; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; }
footer > p { margin: 0; max-width: 480px; font-family: var(--serif); font-size: 1.15rem; }
.footer-meta { display:grid; justify-items:end; gap:.65rem; font-size:.7rem; }
.footer-meta > span { opacity:.55; }
.designer-credit { display:inline-flex; align-items:center; gap:.55rem; color:inherit; text-decoration:none; opacity:.78; transition:opacity .2s ease, transform .2s ease; }
.designer-credit[hidden] { display:none; }
.designer-credit:hover,.designer-credit:focus-visible { opacity:1; transform:translateY(-1px); }
.designer-credit strong { font-weight:600; }
.credit-butterflies { display:inline-flex; align-items:center; gap:.1rem; color:#65c3ec; filter:drop-shadow(0 0 5px rgb(101 195 236 / .25)); }
.credit-butterflies svg { width:19px; height:19px; fill:currentColor; }
.credit-butterflies svg:last-child { transform:translateY(-2px) rotate(8deg) scale(.88); }
.credit-butterflies .butterfly-lines { fill:none; stroke:currentColor; stroke-width:1.35; stroke-linecap:round; }
.load-error { position: fixed; z-index: 50; bottom: 1rem; left: 50%; transform: translateX(-50%); background: #7b2f25; color: white; padding: 1rem 1.4rem; border-radius: .5rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.audio-control { position:fixed; right:1.25rem; bottom:1.25rem; z-index:40; display:flex; align-items:center; gap:.75rem; min-height:46px; padding:.7rem 1rem; border:1px solid color-mix(in srgb, var(--ember) 55%, transparent); border-radius:999px; color:#fff8ea; background:color-mix(in srgb, var(--ink) 92%, transparent); box-shadow:0 10px 30px rgba(0,0,0,.22); cursor:pointer; font:600 .7rem/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; backdrop-filter:blur(10px); }
.audio-control[hidden] { display:none; }
.audio-control:hover,.audio-control:focus-visible { background:var(--ember); outline:none; }
.audio-bars { display:flex; align-items:center; justify-content:center; gap:2px; width:18px; height:18px; }
.audio-bars i { display:block; width:2px; height:5px; border-radius:2px; background:currentColor; transform-origin:center; }
.audio-control.playing .audio-bars i { animation:audio-wave .8s ease-in-out infinite alternate; }
.audio-control.playing .audio-bars i:nth-child(2) { animation-delay:.2s; }
.audio-control.playing .audio-bars i:nth-child(3) { animation-delay:.4s; }
@keyframes audio-wave { from { height:4px; } to { height:16px; } }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 76px; }
  .menu-button { display: block; z-index: 2; }
  nav { display: none; position: absolute; top: 0; left: 0; right: 0; padding: 7rem 1.5rem 2rem; background: #17201c; flex-direction: column; }
  nav.open { display: flex; }
  .intro, .practice { grid-template-columns: 1fr; }
  .practice-header { position: static; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .gallery-grid { grid-auto-rows: 280px; }
  .resources-inner { grid-template-columns: auto 1fr; }
  .resource-links { grid-column: 2; }
  .resource-topic { grid-template-columns:1fr; gap:1.5rem; }
  .author-note { grid-template-columns:1fr; }
  .author-note address { padding:1.5rem 0 0; border-left:0; border-top:1px solid var(--line); }
  footer { grid-template-columns: 1fr; }
  .footer-meta { justify-items:start; }
}

@media (max-width: 620px) {
  .hero-shade { background: linear-gradient(90deg, rgb(12 25 19 / var(--hero-shade-mobile-strong)), rgb(15 28 22 / var(--hero-shade-mobile-light))), linear-gradient(0deg, rgb(13 25 20 / var(--hero-shade-mobile-bottom)), transparent); }
  h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-content { margin-left: 1.25rem; }
  .hero-foot { display: none; }
  .principles-grid, .video-grid { grid-template-columns: 1fr; }
  .principle, .principle:not(:first-child) { border-right: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; }
  .principle:first-child { border-top: 0; }
  .gallery-grid { display: block; }
  .gallery-item { height: 340px; margin-bottom: 1rem; }
  .gallery-item:nth-child(3n + 1) { grid-row: auto; }
  .resources-inner { display: block; }
  .resource-symbol { display: inline-block; margin-bottom: 1rem; }
  .resource-topic-gallery { grid-template-columns:1fr; }
  .resource-topic-image img { height:auto; max-height:440px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width:620px) {
  .audio-control { right:.75rem; bottom:.75rem; max-width:calc(100% - 1.5rem); }
}
