/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face{font-family:'Noto Serif Thai';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/noto-serif-thai-thai-600-normal.woff2') format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Serif Thai';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/noto-serif-thai-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Serif Thai';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/noto-serif-thai-thai-700-normal.woff2') format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Serif Thai';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/noto-serif-thai-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/noto-sans-thai-thai-400-normal.woff2') format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/noto-sans-thai-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/noto-sans-thai-thai-500-normal.woff2') format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/noto-sans-thai-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/noto-sans-thai-thai-700-normal.woff2') format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/noto-sans-thai-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- tokens ---------- */
:root{
  --ink:#07070a;
  --ink-2:#0c0c11;
  --ink-3:#12121a;
  --line:#241f16;
  --line-2:#33291a;
  --gold:#d9bd85;
  --gold-hi:#f0dfba;
  --gold-dim:#a58c5d;
  --text:#f4efe6;
  --muted:#b5aea3;
  --serif:'Noto Serif Thai',Georgia,'Times New Roman',serif;
  --sans:'Noto Sans Thai',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pad:clamp(1.25rem,5vw,2.5rem);
  --maxw:1200px;
  --r:14px;
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--ink);color:var(--text);
  font-family:var(--sans);font-size:clamp(1rem,.96rem + .25vw,1.075rem);
  line-height:1.75;font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.28;margin:0;letter-spacing:-.005em}
p{margin:0}
ul{margin:0;padding:0;list-style:none}

/* ---------- a11y ---------- */
:focus-visible{outline:2px solid var(--gold-hi);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--gold);color:#0a0a0a;padding:.75rem 1.25rem;font-weight:700;border-radius:0 0 8px 0}
.skip:focus{left:0}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- layout ---------- */
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
section{position:relative}
section[id]{scroll-margin-top:84px}
.band{padding-block:clamp(4rem,10vw,7.5rem)}

.eyebrow{
  font-family:var(--sans);font-size:.75rem;font-weight:700;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold);
  display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;
}
.eyebrow::before{content:"";width:2rem;height:1px;background:var(--gold-dim);flex:none}

h2{font-size:clamp(1.75rem,1.2rem + 2.4vw,2.9rem)}
.lede{color:var(--muted);max-width:52ch;margin-top:1rem;font-size:clamp(1rem,.97rem + .2vw,1.125rem)}

/* gold hairline with slow shimmer */
.rule{
  height:1px;border:0;margin:0;
  background:linear-gradient(90deg,transparent,var(--line-2) 12%,var(--gold-dim) 50%,var(--line-2) 88%,transparent);
  position:relative;overflow:hidden;opacity:.7;
}
.rule::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent 0%,rgba(240,223,186,.85) 50%,transparent 100%);
  background-size:35% 100%;background-repeat:no-repeat;
  animation:shimmer 9s linear infinite;
}
@keyframes shimmer{0%{background-position:-40% 0}100%{background-position:140% 0}}

/* ---------- buttons ---------- */
.btn{
  --glow:0 0 0 rgba(217,189,133,0);
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:52px;padding:.9rem 1.6rem;border-radius:999px;
  font-family:var(--sans);font-weight:700;font-size:1rem;text-decoration:none;
  border:1px solid transparent;cursor:pointer;
  transition:transform .18s ease,box-shadow .3s ease,background-color .25s ease,border-color .25s ease,color .25s ease;
  box-shadow:var(--glow);
}
.btn svg{flex:none}
.btn-gold{background:linear-gradient(140deg,#f0dfba,#d9bd85 55%,#c2a469);color:#100c05}
.btn-gold:hover{--glow:0 8px 34px rgba(217,189,133,.34);transform:translateY(-2px)}
.btn-ghost{background:rgba(255,255,255,.02);border-color:var(--line-2);color:var(--text)}
.btn-ghost:hover{--glow:0 8px 30px rgba(217,189,133,.14);border-color:var(--gold-dim);color:var(--gold-hi);transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.985)}
/* specificity guard — a contextual rule like `.aside a` (0,1,1) or `.prose a:hover`
   (0,2,0) must never win over a button colour. Keep these at (0,2,0)/(0,3,0). */
.btn.btn-gold,.btn.btn-gold:link,.btn.btn-gold:visited{color:#100c05}
.btn.btn-gold:hover,.btn.btn-gold:focus,.btn.btn-gold:focus-visible,.btn.btn-gold:active{color:#100c05}
.btn.btn-ghost,.btn.btn-ghost:link,.btn.btn-ghost:visited{color:var(--text)}
.btn.btn-ghost:hover,.btn.btn-ghost:focus-visible{color:var(--gold-hi)}
.btn.btn-gold,.btn.btn-ghost{display:inline-flex;text-decoration:none}

/* ---------- header ---------- */
.hdr{
  position:sticky;top:0;z-index:60;
  background:rgba(7,7,10,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;transition:border-color .3s ease,background-color .3s ease;
}
.hdr.is-stuck{border-bottom-color:var(--line);background:rgba(7,7,10,.92)}
.hdr .wrap{display:flex;align-items:center;gap:1.5rem;min-height:68px}
.brand{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.brand .mark{height:40px;width:auto;flex:none;display:block}
@media (max-width:420px){.brand .mark{height:34px}}
.nav{display:none;margin-inline-start:auto;gap:2rem;align-items:center}
.nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--muted);font-size:.95rem;font-weight:500;position:relative;transition:color .2s ease}
.nav a::after{content:"";position:absolute;left:0;right:100%;bottom:8px;height:1px;background:var(--gold);transition:right .28s ease}
.nav a:hover{color:var(--text)}
.nav a:hover::after{right:0}
.hdr .btn{margin-inline-start:auto;min-height:44px;padding:.55rem 1.15rem;font-size:.9rem}
@media (min-width:900px){
  .nav{display:flex}
  .hdr .btn{margin-inline-start:0}
}

/* ---------- hero ---------- */
.hero{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(3.5rem,9vw,6.5rem) clamp(3rem,8vw,6rem)}
.hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hero-media img,.hero-media video{
  width:100%;height:100%;object-fit:cover;object-position:72% 50%;
  will-change:transform;
}
.hero-media video{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.hero-media video.is-on{opacity:1}
.hero-veil{
  position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(7,7,10,.7) 0%,rgba(7,7,10,.25) 30%,rgba(7,7,10,.55) 72%,var(--ink) 100%),
    linear-gradient(90deg,var(--ink) 6%,rgba(7,7,10,.92) 34%,rgba(7,7,10,.45) 62%,rgba(7,7,10,.25) 100%);
}
@media (max-width:760px){
  .hero-veil{background:linear-gradient(180deg,rgba(7,7,10,.42) 0%,rgba(7,7,10,.8) 30%,rgba(7,7,10,.93) 66%,var(--ink) 100%)}
  .hero-media img,.hero-media video{object-position:68% 34%}
}
.hero-inner{max-width:41rem}
h1{font-size:clamp(2.25rem,1.35rem + 4.1vw,4.25rem);line-height:1.16;letter-spacing:-.015em}
h1 em{
  font-style:normal;color:var(--gold-hi);display:block;
  font-size:.56em;font-weight:600;line-height:1.35;letter-spacing:0;
  margin-top:.5em;
}
.hero-sub{margin-top:1.5rem;color:var(--muted);font-size:clamp(1.05rem,1rem + .4vw,1.25rem);max-width:34ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2.25rem}
.hero-cta .btn{flex:1 1 15rem}
@media (min-width:560px){.hero-cta .btn{flex:0 0 auto}}
.hero-note{margin-top:1.1rem;font-size:.875rem;color:var(--muted);opacity:.85}

/* ---------- stats ---------- */
.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(217,189,133,.035),transparent)}
.stats ul{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line)}
@media (min-width:820px){.stats ul{grid-template-columns:repeat(4,1fr)}}
.stats li{background:var(--ink);padding:clamp(1.5rem,4vw,2.4rem) 1rem;text-align:center}
.stat-n{font-family:var(--serif);font-weight:700;font-size:clamp(2rem,1.4rem + 2.4vw,3rem);color:var(--gold-hi);line-height:1.1;display:block;font-variant-numeric:tabular-nums}
.stat-n small{font-size:.5em;color:var(--gold);margin-inline-start:.15em}
.stat-l{display:block;margin-top:.45rem;font-size:.9rem;color:var(--muted)}

/* ---------- section head ---------- */
.shead{max-width:44rem;margin-bottom:clamp(2.5rem,6vw,4rem)}

/* ---------- pillars (image cards) ---------- */
.pillars{display:grid;gap:clamp(1rem,2.5vw,1.5rem);grid-template-columns:1fr}
@media (min-width:680px){.pillars{grid-template-columns:repeat(2,1fr)}}
.pillar{
  background:linear-gradient(180deg,var(--ink-2),var(--ink));
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  display:flex;flex-direction:column;
  transition:border-color .35s ease,transform .35s ease,box-shadow .35s ease;
}
.pillar:hover{border-color:var(--line-2);transform:translateY(-3px);box-shadow:0 18px 44px rgba(0,0,0,.55)}
.pillar figure{margin:0;position:relative;aspect-ratio:16/10;overflow:hidden;background:#050507}
.pillar figure::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,7,10,.85) 100%)}
.pillar img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.3,1)}
.pillar:hover img{transform:scale(1.05)}
.pillar-body{padding:clamp(1.25rem,3.5vw,1.85rem);display:flex;flex-direction:column;gap:.75rem;flex:1}
.pillar h3{font-size:clamp(1.15rem,1.05rem + .5vw,1.4rem)}
.pillar p{color:var(--muted);font-size:.975rem}
.pillar ul{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:auto;padding-top:.5rem}
.tag{font-size:.8rem;color:var(--gold);border:1px solid var(--line-2);border-radius:999px;padding:.25rem .7rem;background:rgba(217,189,133,.05)}

/* ---------- feature grid (icons) ---------- */
.feats{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin-top:clamp(1rem,2.5vw,1.5rem)}
@media (min-width:640px){.feats{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.feats{grid-template-columns:repeat(3,1fr)}}
.feat{background:var(--ink-2);padding:clamp(1.35rem,3.5vw,1.85rem);display:flex;gap:1rem;align-items:flex-start;transition:background-color .3s ease}
.feat:hover{background:var(--ink-3)}
.feat .ico{flex:none;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;border:1px solid var(--line-2);background:rgba(217,189,133,.06);color:var(--gold)}
.feat h3{font-family:var(--sans);font-size:1rem;font-weight:700;margin-bottom:.3rem}
.feat p{color:var(--muted);font-size:.925rem;line-height:1.65}

/* ---------- steps ---------- */
.steps{display:grid;gap:clamp(1rem,2.5vw,1.25rem);grid-template-columns:1fr;counter-reset:s}
@media (min-width:720px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1060px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{
  position:relative;padding:clamp(1.5rem,4vw,2rem) clamp(1.25rem,3vw,1.6rem);
  border:1px solid var(--line);border-radius:var(--r);
  background:linear-gradient(180deg,rgba(217,189,133,.045),transparent 60%);
  counter-increment:s;
}
.step::before{
  content:"0" counter(s);
  font-family:var(--serif);font-weight:700;font-size:1.05rem;color:var(--gold);
  display:block;margin-bottom:1rem;letter-spacing:.06em;
}
.step h3{font-size:1.15rem;margin-bottom:.5rem}
.step p{color:var(--muted);font-size:.94rem}

/* ---------- textured band ---------- */
.tex{position:relative;isolation:isolate;overflow:hidden}
.tex::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background-image:url('texture.webp');background-size:cover;background-position:center;
  opacity:.5;
}
.tex::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 90% at 50% 45%,rgba(7,7,10,.86) 0%,rgba(7,7,10,.95) 55%,var(--ink) 100%);
}

/* ---------- admin (back office) ---------- */
.admin-grid{display:grid;gap:clamp(2rem,5vw,3.5rem);align-items:start;grid-template-columns:1fr}
@media (min-width:960px){.admin-grid{grid-template-columns:.92fr 1.08fr}}
.admin-visual{margin:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--ink-2)}
.admin-visual img{width:100%;height:auto;object-fit:cover;aspect-ratio:16/11;display:block}
.admin-visual figcaption{
  border-top:1px solid var(--line);background:var(--ink-2);
  padding:1rem clamp(1rem,3vw,1.35rem);font-size:.85rem;line-height:1.6;color:var(--muted);
}
@media (min-width:960px){.admin-visual{position:sticky;top:96px}}
.admin-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
@media (min-width:600px){.admin-list{grid-template-columns:repeat(2,1fr)}}
.admin-list li{background:var(--ink-2);padding:clamp(1.2rem,3vw,1.5rem);display:flex;gap:.9rem;align-items:flex-start;transition:background-color .3s ease}
.admin-list li:hover{background:var(--ink-3)}
.admin-list .ico{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--line-2);background:rgba(217,189,133,.06);color:var(--gold)}
.admin-list h3{font-family:var(--sans);font-size:.975rem;font-weight:700;margin-bottom:.25rem}
.admin-list p{color:var(--muted);font-size:.9rem;line-height:1.6}
.admin-cta{margin-top:clamp(1.5rem,4vw,2rem);display:flex;flex-wrap:wrap;align-items:center;gap:.85rem 1.25rem}
.admin-cta .btn{flex:1 1 17rem}
@media (min-width:560px){.admin-cta .btn{flex:0 0 auto}}
.admin-cta p{font-size:.85rem;color:var(--muted);max-width:30ch}

/* ---------- demo ---------- */
.demo-grid{display:grid;gap:clamp(1rem,2.5vw,1.5rem);align-items:stretch;grid-template-columns:1fr}
@media (min-width:820px){.demo-grid{grid-template-columns:repeat(2,1fr)}}
.demo-card{
  border:1px solid var(--line-2);border-radius:var(--r);
  background:linear-gradient(155deg,rgba(217,189,133,.08),rgba(12,12,17,.9) 45%);
  padding:clamp(1.5rem,4vw,2.25rem);
  display:flex;flex-direction:column;
}
.demo-card .kicker{font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}
.demo-card h3{font-size:1.2rem;margin-bottom:1rem}
.checks li{display:flex;gap:.75rem;align-items:flex-start;color:var(--muted);font-size:.95rem;padding-block:.5rem}
.checks svg{flex:none;color:var(--gold);margin-top:.32rem}
.demo-card .btn{margin-top:1.5rem;width:100%}
.demo-card .note{margin-top:.9rem;font-size:.82rem;color:var(--muted);text-align:center}

/* ---------- faq ---------- */
.faq{max-width:56rem;margin-inline:auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  display:flex;align-items:flex-start;gap:1rem;justify-content:space-between;
  min-height:44px;padding:1.15rem .25rem;cursor:pointer;list-style:none;
  font-family:var(--serif);font-weight:600;font-size:clamp(1.02rem,.98rem + .3vw,1.18rem);
  line-height:1.55;color:var(--text);transition:color .25s ease;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--gold-hi)}
.faq .chev{flex:none;width:22px;height:22px;margin-top:.2rem;color:var(--gold);transition:transform .3s ease}
.faq details[open] .chev{transform:rotate(180deg)}
.faq details[open] summary{color:var(--gold-hi)}
.faq .ans{padding:0 2.6rem 1.35rem .25rem;color:var(--muted);font-size:.975rem;line-height:1.8}

/* ---------- headline fitting ----------
   never break inside a phrase; break only at the space between the two
   phrases, and only on viewports too narrow to hold the full line. */
.h2-fit{max-width:none}
.h2-fit .np{white-space:nowrap}
@media (min-width:1000px){
  .h2-fit .ln{white-space:nowrap}
  /* widen the measure so the one-line headline sits inside its own box */
  #how .shead{max-width:56rem}
}

/* ---------- final cta ---------- */
.final{text-align:center}
.signoff{display:block;margin:0 auto clamp(1.25rem,3.5vw,1.9rem);height:clamp(92px,13vw,150px);width:auto}
.final h2{max-width:20ch;margin-inline:auto}
.final .lede{margin-inline:auto;text-align:center}
.final .btn{margin-top:2rem}
.final-note{margin-top:1.25rem;font-size:.875rem;color:var(--muted)}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding-block:2.5rem;color:var(--muted);font-size:.875rem}
footer .wrap{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;justify-content:space-between}
footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none;transition:color .2s ease}
footer a:hover{color:var(--gold-hi)}

/* ---------- reveal ---------- */
.rv{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.3,1),transform .8s cubic-bezier(.2,.7,.3,1)}
.rv.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .rv{opacity:1;transform:none}
  .rule::after{display:none}
  .hero-media img,.hero-media video{transform:none!important}
}

/* ================= sub-page system ================= */
.crumb{font-size:.85rem;color:var(--muted);padding-block:1.25rem .25rem}
.crumb ol{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;list-style:none;margin:0;padding:0}
.crumb li{display:flex;align-items:center;gap:.4rem}
.crumb li+li::before{content:"/";color:var(--line-2)}
.crumb a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none;transition:color .2s ease}
.crumb li>span{display:inline-flex;align-items:center;min-height:44px}
.crumb a:hover{color:var(--gold-hi)}
.crumb [aria-current]{color:var(--gold)}

.phero{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(2.5rem,6vw,4.5rem) clamp(2.5rem,6vw,4rem)}
.phero-media{position:absolute;inset:0;z-index:-2}
.phero-media img{width:100%;height:100%;object-fit:cover;object-position:70% 50%}
.phero-veil{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--ink) 4%,rgba(7,7,10,.93) 38%,rgba(7,7,10,.55) 70%,rgba(7,7,10,.3) 100%),linear-gradient(180deg,rgba(7,7,10,.6),rgba(7,7,10,.2) 40%,var(--ink) 100%)}
@media (max-width:760px){.phero-veil{background:linear-gradient(180deg,rgba(7,7,10,.5),rgba(7,7,10,.86) 45%,var(--ink) 100%)}}
.phero h1{font-size:clamp(1.9rem,1.3rem + 2.9vw,3.35rem);max-width:19ch}
.phero .lede{max-width:54ch}
.phero .hero-cta{margin-top:1.9rem}

.prose{max-width:62ch}
.prose h2{font-size:clamp(1.5rem,1.15rem + 1.5vw,2.15rem);margin-top:clamp(2.5rem,5vw,3.5rem)}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:clamp(1.1rem,1.02rem + .45vw,1.3rem);margin-top:2rem}
.prose p{margin-top:1.05rem;color:var(--muted)}
.prose strong{color:var(--text);font-weight:700}
.prose ul.bul{margin-top:1.05rem;display:grid;gap:.6rem}
.prose ul.bul li{display:flex;gap:.7rem;color:var(--muted)}
.prose ul.bul li::before{content:"";flex:none;width:6px;height:6px;margin-top:.62rem;border-radius:50%;background:var(--gold-dim)}
.prose a{color:var(--gold-hi);text-underline-offset:3px;text-decoration-color:var(--gold-dim)}
.prose a:hover{text-decoration-color:var(--gold-hi)}

.split{display:grid;gap:clamp(2rem,5vw,3.5rem);grid-template-columns:1fr}
@media (min-width:1000px){.split{grid-template-columns:minmax(0,1fr) 20rem;align-items:start}}
.aside{border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(165deg,rgba(217,189,133,.06),var(--ink-2) 55%);padding:clamp(1.35rem,3vw,1.7rem)}
@media (min-width:1000px){.aside{position:sticky;top:96px}}
.aside h2{font-size:1.05rem;font-family:var(--sans);font-weight:700;margin:0 0 .9rem}
.aside ul{display:grid;gap:.55rem}
.aside ul a{color:var(--muted);text-decoration:none;font-size:.93rem;display:flex;align-items:center;min-height:44px;transition:color .2s ease}
.aside ul a:hover{color:var(--gold-hi)}
.aside .btn{margin-top:1.1rem;width:100%}

.cards{display:grid;gap:clamp(1rem,2.5vw,1.4rem);grid-template-columns:1fr}
@media (min-width:760px){.cards{grid-template-columns:repeat(2,1fr)}}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:linear-gradient(180deg,var(--ink-2),var(--ink));text-decoration:none;transition:border-color .3s ease,transform .3s ease,box-shadow .3s ease}
.card:hover{border-color:var(--line-2);transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.5)}
.card figure{margin:0;aspect-ratio:16/9;overflow:hidden;background:#050507}
.card img{width:100%;height:100%;object-fit:cover}
.card-body{padding:clamp(1.2rem,3vw,1.6rem);display:flex;flex-direction:column;gap:.5rem;flex:1}
.card h3{font-size:1.15rem}
.card p{color:var(--muted);font-size:.93rem}
.card .more{margin-top:auto;padding-top:.7rem;color:var(--gold);font-size:.9rem;font-weight:700}

.meta{color:var(--muted);font-size:.875rem;margin-top:.6rem}

/* footer nav */
.fnav{display:grid;gap:1.5rem 2rem;grid-template-columns:repeat(2,1fr);width:100%;padding-bottom:2rem;border-bottom:1px solid var(--line);margin-bottom:1.75rem}
@media (min-width:760px){.fnav{grid-template-columns:repeat(4,1fr)}}
.fnav h2{font-family:var(--sans);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:.85rem}
.fnav ul{display:grid;gap:.15rem}
.fnav a{display:flex;align-items:center;min-height:44px;color:var(--muted);font-size:.9rem;text-decoration:none;transition:color .2s ease}
.fnav a:hover{color:var(--gold-hi)}
footer .wrap{flex-direction:column;align-items:stretch}
.fbot{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;align-items:center;justify-content:space-between}

/* 404 */
.nf{min-height:60vh;display:grid;place-items:center;text-align:center}
.nf .code{font-family:var(--serif);font-weight:700;font-size:clamp(4rem,12vw,7rem);color:var(--gold-hi);line-height:1}
