/* home.css: home page only, loaded after songwright.css (S.K.Y.E. for D.E.A.N., key skye-sw-home-1029, 2026-10-29).
   Uses S.A.G.E.'s tokens from the design contract; no :root token is redefined here and there is no
   prefers-color-scheme rule. Prefix .swh- so nothing here can reach another page. */

/* ---- shared: background media, overlay, pause control ---- */
.swh-hero,.swh-band,.swh-commission-frame{position:relative;isolation:isolate;overflow:hidden}
.swh-media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--sw-forest,#152321)}
.swh-media picture,.swh-media img,.swh-media video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.swh-media video{opacity:0;transition:opacity .3s var(--sw-ease,ease)}
.swh-media.is-playing video{opacity:1}
/* Forest overlay. Its strength was measured against the real frames for AA text contrast (see site log). */
.swh-overlay{position:absolute;inset:0;z-index:-1;background:rgba(21,35,33,.78);pointer-events:none}
.swh-band .swh-overlay{background:rgba(21,35,33,.84)}
.swh-band-inner{position:relative}
/* small labels over moving video use the light champagne (measured: plain champagne fell to 3.24:1 over the microphone loop) */
.swh-band .sw-kicker{color:var(--sw-champagne-soft,#D9C7A3)}

.swh-toggle{position:absolute;right:16px;top:16px;z-index:3;display:inline-flex;align-items:center;gap:.55rem;
  min-height:44px;padding:.5rem 1rem;border:1px solid rgba(183,154,104,.65);border-radius:2px;
  background:rgba(21,35,33,.82);color:var(--sw-ivory,#F3EEE5);font:500 1rem/1 var(--sw-body,'Inter',system-ui,sans-serif);
  letter-spacing:.02em;cursor:pointer;transition:border-color var(--sw-dur,.24s) var(--sw-ease,ease)}
.swh-toggle[hidden]{display:none}
.swh-toggle:hover{border-color:var(--sw-champagne,#B79A68)}
.swh-toggle:focus-visible{outline:2px solid var(--sw-champagne,#B79A68);outline-offset:3px}
.swh-toggle-ic{position:relative;width:12px;height:14px;flex:none}
.swh-toggle-ic::before,.swh-toggle-ic::after{content:"";position:absolute;top:0;width:4px;height:14px;background:var(--sw-champagne,#B79A68)}
.swh-toggle-ic::before{left:0}
.swh-toggle-ic::after{right:0}
.swh-toggle.is-off .swh-toggle-ic::before{left:1px;width:0;height:0;background:none;border-style:solid;border-width:7px 0 7px 12px;border-color:transparent transparent transparent var(--sw-champagne,#B79A68)}
.swh-toggle.is-off .swh-toggle-ic::after{display:none}

/* ---- hero ---- */
.swh-hero{background:var(--sw-forest,#152321);color:var(--sw-ivory,#F3EEE5);text-align:center;
  min-height:clamp(600px,88vh,900px);display:flex;align-items:center;padding:clamp(4.5rem,9vw,6.5rem) 0 clamp(5.5rem,10vw,7rem)}
.swh-hero-inner{position:relative;width:100%}
.swh-emblem{display:block;width:clamp(56px,7vw,72px);height:auto;margin:0 auto 1.6rem}
.swh-hero .swh-kicker{color:var(--sw-champagne-soft,#D9C7A3);margin-bottom:1.2rem}
.swh-hero h1{color:var(--sw-ivory,#F3EEE5);font-weight:500;font-size:clamp(2.7rem,6.6vw,5rem);line-height:1.06;max-width:14ch;margin:0 auto 1.3rem}
@media(min-width:900px){.swh-hero h1{max-width:18ch}}
.swh-sub{font-family:var(--sw-display,'Cormorant Garamond',Georgia,serif);font-weight:500;font-size:clamp(1.3rem,2.5vw,1.65rem);
  line-height:1.45;color:var(--sw-ivory,#F3EEE5);max-width:40ch;margin:0 auto 2.3rem}
.swh-ctas{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.swh-facts{list-style:none;margin:1.8rem auto 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem 0;
  font-size:1rem;color:var(--sw-ivory,#F3EEE5)}
.swh-facts li{padding:0 .9rem;position:relative}
.swh-facts li+li::before{content:"";position:absolute;left:-2px;top:.55em;width:4px;height:4px;background:var(--sw-champagne,#B79A68);transform:rotate(45deg)}
@media(max-width:560px){
  .swh-hero{min-height:0;padding:3.6rem 0 5.6rem}
  .swh-ctas .sw-btn{width:100%;max-width:272px;padding:1rem 1.2rem}
  .swh-facts{flex-direction:column;gap:.3rem}
  .swh-facts li+li::before{display:none}
}

/* ---- The Songwright Signature ---- */
.swh-sig-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.swh-sig-portrait{margin:0;text-align:center}
.swh-sig-portrait img{display:block;width:100%;max-width:400px;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0 auto;border-radius:50%}
.swh-sig-portrait img.swh-sig-emblem{aspect-ratio:auto;object-fit:contain;max-width:240px;border-radius:0}
.swh-sig-portrait figcaption{margin-top:1.1rem;font-family:var(--sw-display,'Cormorant Garamond',Georgia,serif);font-weight:600;font-size:1.35rem;color:var(--sw-forest,#152321)}
.swh-sig-portrait figcaption span{display:block;font-family:var(--sw-body,'Inter',system-ui,sans-serif);font-weight:600;font-size:.75rem;
  letter-spacing:.2em;text-transform:uppercase;color:var(--sw-champagne-ink,#7A623A);margin-top:.35rem}
.swh-sig-body h2{max-width:20ch}
.swh-sig-h3{margin-top:2rem;font-size:1.5rem}
.swh-sig-heritage{color:var(--sw-muted,#555C58)}
.swh-sig-links{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.6rem}
.swh-sig-banners{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));margin:clamp(2.6rem,5vw,4rem) 0 0}
@media(max-width:820px){
  .swh-sig-grid{grid-template-columns:1fr}
  .swh-sig-portrait img{max-width:300px}
  .swh-sig-body h2{max-width:none}
}
@media(max-width:720px){.swh-sig-banners{grid-template-columns:1fr}}

/* ---- Moments Worth Remembering: a hairline grid ---- */
.swh-moments-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--sw-line,rgba(183,154,104,.40));
  border:1px solid var(--sw-line,rgba(183,154,104,.40))}
.swh-moment{display:block;background:var(--sw-ivory-2,#FAF7F1);padding:2rem 1.7rem 2.2rem;color:var(--sw-charcoal,#373E3A);
  transition:background-color var(--sw-dur,.24s) var(--sw-ease,ease)}
.swh-moment:hover{background:var(--sw-ivory,#F3EEE5)}
.swh-moment:focus-visible{outline:2px solid var(--sw-champagne-ink,#7A623A);outline-offset:-4px}
.swh-moment h3{font-size:1.5rem;margin:0 0 .5rem}
.swh-moment h3::before{content:"";display:block;width:28px;height:1px;background:var(--sw-champagne,#B79A68);margin-bottom:1.1rem}
.swh-moment p{margin:0;font-size:1rem;color:var(--sw-muted,#555C58)}
.swh-moments-note{text-align:center;max-width:60ch;margin:2.4rem auto 0;color:var(--sw-muted,#555C58)}
@media(max-width:860px){.swh-moments-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.swh-moments-grid{grid-template-columns:1fr}}

/* ---- The Commissioning Experience (forest band) ---- */
.swh-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;max-width:880px;margin:2.6rem auto 0;
  padding-top:2.2rem;border-top:1px solid var(--sw-line-dark,rgba(183,154,104,.28));text-align:center}
.swh-after h3{font-size:1.45rem;color:var(--sw-ivory,#F3EEE5)}
.swh-after p{margin:0;color:var(--sw-ivory-soft,#CFC8BA)}
.swh-band-cta{margin-top:2.4rem;display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}
@media(max-width:1000px){.swh-process .sw-steps--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.swh-process .sw-steps--4,.swh-after{grid-template-columns:1fr}}

/* ---- Your Personal Commission ---- */
.swh-commission-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.swh-commission-grid.swh-commission--plain{grid-template-columns:minmax(0,1fr);max-width:760px}
.swh-commission-frame{aspect-ratio:4/5;border:1px solid var(--sw-line,rgba(183,154,104,.40));border-radius:2px;background:var(--sw-forest,#152321)}
.swh-price{display:flex;align-items:baseline;gap:.6rem 1.2rem;flex-wrap:wrap;margin:1.6rem 0 1.2rem;padding:1.2rem 0;
  border-top:1px solid var(--sw-line,rgba(183,154,104,.40));border-bottom:1px solid var(--sw-line,rgba(183,154,104,.40))}
.swh-price-n{font-family:var(--sw-display,'Cormorant Garamond',Georgia,serif);font-weight:500;font-size:clamp(2.8rem,6vw,3.8rem);line-height:1;color:var(--sw-forest,#152321)}
.swh-price-t{color:var(--sw-charcoal,#373E3A)}
.swh-commission-cta{margin:1.8rem 0 .9rem}
.swh-commission-note{margin:0}
@media(max-width:820px){
  .swh-commission-grid{grid-template-columns:1fr}
  .swh-commission-frame{order:2;aspect-ratio:16/10}
}

/* ---- The Studio Promise ---- */
.swh-promise-head{text-align:center;max-width:56ch;margin:0 auto clamp(2.4rem,5vw,3.4rem)}
.swh-promise-head .seal{display:block;width:84px;height:auto;margin:0 auto 1.4rem}
.swh-promise-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--sw-line,rgba(183,154,104,.40));
  border:1px solid var(--sw-line,rgba(183,154,104,.40))}
.swh-pillar{background:var(--sw-ivory,#F3EEE5);padding:1.8rem 1.5rem}
.swh-pillar h3{font-size:1.4rem;margin-bottom:.6rem}
.swh-pillar p{margin:0;font-size:1rem;color:var(--sw-charcoal,#373E3A)}
.swh-promise-note{text-align:center;max-width:60ch;margin:2.2rem auto 0;color:var(--sw-muted,#555C58)}
@media(max-width:1000px){.swh-promise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.swh-promise-grid{grid-template-columns:1fr}}

/* ---- final call to action (forest band) ---- */
.swh-final{padding:clamp(5rem,11vw,8rem) 0}
.swh-final h2{color:var(--sw-ivory,#F3EEE5)}
.swh-final-p{max-width:42ch;margin:.4rem auto 2rem;color:var(--sw-ivory,#F3EEE5)}
.swh-final .swh-overlay{background:rgba(21,35,33,.80)}

/* ---- motion off: posters only, no transitions ---- */
@media (prefers-reduced-motion: reduce){
  .swh-media video{display:none}
  .swh-toggle,.swh-moment,.swh-media video{transition:none}
}
