
/* Screen-reader only */
.srOnly{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Production-grade, dependency-free. */
:root{
  --bg: #FFFDF8;
  --surface: #F7F3EA;
  --surface2:#E6DFD2;
  --text:#12131A;
  --muted:#4A4E59;
  --border:#8C857A;
  --shadow: 0 12px 30px rgba(0,0,0,.12);
  --shadowDeep: 0 22px 50px rgba(0,0,0,.18);

  --accent:#E8C478;         /* gold */
  --accentText:#0B0C10;     /* text on gold */
  --link:#8C6A1E;           /* passes 4.5:1 on paper */
  --linkHover:#734F1C;

  --radius: 18px;
  --radiusLg: 26px;

  --focus: 0 0 0 4px rgba(232,196,120,.55);
  --focus2: 0 0 0 2px rgba(18,19,26,1), 0 0 0 6px rgba(232,196,120,.55);

  --navH: 64px;
}

:root[data-theme="dark"]{
  --bg:#0B0C10;
  --surface:#12131A;
  --surface2:#1A1B22;
  --text:#F7F3EA;
  --muted:#D5CCBD;
  --border:#6B7285;         /* >=3:1 vs surface */
  --shadow: 0 16px 40px rgba(0,0,0,.45);
  --shadowDeep: 0 28px 70px rgba(0,0,0,.55);

  --accent:#E8C478;
  --accentText:#0B0C10;
  --link:#E8C478;
  --linkHover:#F2D59A;

  --focus2: 0 0 0 2px rgba(247,243,234,.95), 0 0 0 6px rgba(232,196,120,.55);
}

*{box-sizing:border-box}
html:focus-within{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto}
}

body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
  text-rendering:optimizeLegibility;
}

img{max-width:100%; height:auto; display:block; margin-inline:auto}
a{color:var(--link); text-decoration-thickness:2px; text-underline-offset:3px}
a:hover{color:var(--linkHover)}
a:focus-visible, button:focus-visible{outline:none; box-shadow:var(--focus2); border-radius:12px}

.skip-link{
  position:absolute; left:10px; top:10px; z-index:9999;
  padding:10px 14px;
  border-radius:12px;
  background:var(--accent);
  color:var(--accentText);
  transform:translateY(-160%);
  transition:transform .2s ease;
}
.skip-link:focus{transform:translateY(0)}

.site-header{position:relative; overflow:hidden}

/* Progress bar */
.progress{
  position:fixed; top:0; left:0; width:100%; height:4px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  z-index:1000;
}
.progress__bar{
  height:100%;
  width:100%;
  transform-origin:left center;
  transform:scaleX(0);
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--text)));
}

/* Navbar */
.nav{
  position:sticky; top:0; z-index:900;
  min-height:var(--navH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px clamp(14px, 3vw, 32px);
  border-bottom:1px solid color-mix(in srgb, var(--border) 45%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
}

.nav__left{display:flex; align-items:center; gap:18px; min-width:0}
.logo{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:var(--text);
}
.logo__mark{
  width:18px; height:18px; border-radius:7px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
  box-shadow: 0 8px 18px rgba(232,196,120,.35);
}
.logo__text{font-weight:700; letter-spacing:.2px}

.nav__links{
  display:flex; gap:14px;
  flex-wrap:wrap;
}
.nav__link{
  color:var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
}
.nav__link:hover{background:color-mix(in srgb, var(--surface) 70%, transparent); color:var(--text)}
.nav__link:focus-visible{box-shadow:var(--focus)}

.nav__right{display:flex; align-items:center; gap:10px}

/* Hamburger */
.nav__burger{
  display:none;
  align-items:center; justify-content:center;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color:var(--text);
  cursor:pointer;
}
.nav__burger:focus-visible{box-shadow:var(--focus)}
.nav__burgerIcon{display:inline-flex; flex-direction:column; gap:5px}
.nav__burgerIcon span{display:block; width:18px; height:2px; background:var(--text); border-radius:999px}
.isSheetOpen .nav__burgerIcon span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.isSheetOpen .nav__burgerIcon span:nth-child(2){opacity:0}
.isSheetOpen .nav__burgerIcon span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav__burgerIcon span{transition: transform .18s ease, opacity .18s ease}

/* Language selector (custom) */
.lang{position:relative}
.lang__btn{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color:var(--text);
  cursor:pointer;
}
.lang__icon{
  width:14px; height:14px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent), color-mix(in srgb, var(--text) 30%, var(--accent)));
  border-radius:4px;
}
.lang__chev{
  width:10px; height:10px; display:inline-block;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform: rotate(45deg);
  margin-left:2px;
}

.lang__panel{
  position:absolute; right:0; top:calc(100% + 10px);
  width:min(320px, 92vw);
  border-radius:18px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadowDeep);
  display:none;
  overflow:hidden;
}
.lang[data-open="true"] .lang__panel{display:block}

.lang__panelHead{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
.lang__panelTitle{font-weight:700}

.icon-btn{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color:var(--text);
  cursor:pointer;
  font-size:20px;
  line-height:1;
}

.lang__list{
  list-style:none; margin:0; padding:8px;
  max-height:320px;
  overflow:auto;
}
.lang__list li{
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  color:var(--text);
  border:1px solid transparent;
}
.lang__list li[aria-selected="true"]{
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.lang__list li:hover{
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.lang__list li:focus-visible{
  outline:none;
  box-shadow:var(--focus);
}

/* Theme toggle */
.theme{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  cursor:pointer;
  display:grid; place-items:center;
  color:var(--text);
}
.theme__icon{
  width:18px; height:18px;
  border-radius:50%;
  box-shadow: inset -6px -6px 0 0 var(--text);
  transform: rotate(-10deg);
}
:root[data-theme="dark"] .theme__icon{
  box-shadow:none;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
}

/* Hero */
.hero{
  padding: clamp(22px, 4vw, 48px) clamp(14px, 3vw, 32px) 22px;
  position:relative;
}
.hero__bg{
  position:absolute; inset:-40px;
  background:
    radial-gradient(900px 420px at 10% 10%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%),
    radial-gradient(820px 520px at 90% 0%, color-mix(in srgb, var(--surface2) 55%, transparent), transparent 60%),
    radial-gradient(720px 520px at 60% 90%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 85%, transparent), var(--bg));
  filter:saturate(1.05);
  pointer-events:none;
}
.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(18px, 4vw, 56px);
  align-items:center;
  max-width:1160px;
  margin-inline:auto;
}
.hero__copy{max-width:54ch}
.hero__kicker{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.3px;
}
.hero__h1{
  margin:0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height:1.06;
  letter-spacing:-.6px;
}
.hero__sub{
  margin:14px 0 18px;
  font-size: clamp(16px, 1.2vw, 18px);
  color:color-mix(in srgb, var(--muted) 70%, var(--text));
}

.ctaRow{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  font-weight:750;
  text-decoration:none;
  border:1px solid transparent;
  min-height:46px;
  letter-spacing:.2px;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff));
  color:var(--accentText);
  box-shadow: 0 14px 30px rgba(232,196,120,.35);
}
.btn--primary:hover{filter:brightness(1.02)}
.btn--ghost{
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-color: color-mix(in srgb, var(--border) 70%, transparent);
  color:var(--text);
}
.btn--ghost:hover{background: color-mix(in srgb, var(--surface2) 70%, transparent)}

.badges{
  margin-top:16px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.badge{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--border) 65%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color:var(--text);
  font-weight:650;
  font-size:13px;
}

/* media */
.hero__media{position:relative}
.mediaFrame{
  position:absolute; inset:8% 8% 14% 8%;
  border-radius: var(--radiusLg);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), transparent 60%),
    url("/assets/bg/brush.webp");
  background-size: cover;
  opacity:.22;
  filter: blur(0.0px) saturate(1.1);
  transform: rotate(-1.2deg);
}
.hero__img{
  position:relative;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.25));
  transform: translateY(0);
  animation: floaty 6.8s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@media (prefers-reduced-motion:reduce){
  .hero__img{animation:none}
}

/* Main sections */
main{display:block}
.section{
  padding:30px clamp(14px, 3vw, 32px);
  max-width:1160px;
  margin-inline:auto;
}
.section__title{
  margin:0;
  padding-top:15px;
  padding-bottom:10px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.2px;
}
.article__title{
  margin:0;
  padding-top:15px;
  padding-bottom:10px;
  font-size:18px;
  letter-spacing:-.1px;
}

.prose{
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border:1px solid color-mix(in srgb, var(--border) 58%, transparent);
  border-radius: var(--radius);
  padding:14px 16px;
  box-shadow: var(--shadow);
  margin-top:12px;
}
.prose p{margin:0 0 10px; color:color-mix(in srgb, var(--muted) 70%, var(--text))}
.prose p:last-child{margin-bottom:0}

.split{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
  align-items:start;
}
.bullets{
  margin:0;
  padding-left:18px;
  text-align:left;
}
.bullets li{margin:8px 0; color:color-mix(in srgb, var(--muted) 70%, var(--text))}
.ctaBlock{margin-top:14px}
.ctaBlock--tight{margin-top:18px}

.mediaCard{
  border-radius: var(--radiusLg);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background:
    radial-gradient(380px 240px at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%),
    color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadowDeep);
  padding:14px;
  position:sticky;
  top: calc(var(--navH) + 18px);
}
.mediaCard__img{object-fit:contain; width: min(100%, 240px); aspect-ratio: 363/568}
.mediaCard__note{
  margin-top:10px;
  font-weight:750;
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  text-align:center;
}

/* Card grid */
.cardGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.card{
  border-radius: var(--radius);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding:14px 14px 12px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform: translateY(-3px); box-shadow: var(--shadowDeep)}
@media (prefers-reduced-motion:reduce){
  .card{transition:none}
  .card:hover{transform:none}
}
.card p{margin:0; color:color-mix(in srgb, var(--muted) 70%, var(--text))}

/* Stats */
.stats{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.stat{
  border-radius: var(--radius);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding:16px 14px 14px;
  box-shadow: var(--shadow);
  text-align:center;
}
.stat__num{
  font-family: ui-serif, Georgia, serif;
  font-size:34px;
  font-weight:800;
}
.stat__label{
  margin-top:4px;
  color:color-mix(in srgb, var(--muted) 70%, var(--text));
  font-weight:650;
}

/* Media strip */
.mediaStrip{
  margin-top:14px;
  border-radius: var(--radiusLg);
  overflow:hidden;
  border:1px solid color-mix(in srgb, var(--border) 55%, transparent);
  box-shadow: var(--shadowDeep);
}
.mediaStrip__bg{
  width:100%;
  aspect-ratio: 3/1;
  object-fit:cover;
}

/* Testimonials */
.quoteGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.quote{
  border-radius: var(--radius);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background:
    radial-gradient(260px 160px at 10% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    color-mix(in srgb, var(--surface) 90%, transparent);
  padding:14px 14px 12px;
  box-shadow: var(--shadow);
}
.quote p{margin:0; color:color-mix(in srgb, var(--muted) 70%, var(--text))}

/* Pricing */
.section__note{margin:0; color:color-mix(in srgb, var(--muted) 75%, var(--text))}
.priceGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.priceCard{
  border-radius: var(--radiusLg);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadowDeep);
  padding:14px;
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
}
.priceCard--featured{
  border-color: color-mix(in srgb, var(--accent) 70%, var(--border));
  background:
    radial-gradient(420px 260px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}
.priceCard__tag{
  display:inline-flex;
  align-self:flex-start;
  padding:8px 10px;
  border-radius:999px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  font-weight:800;
  font-size:13px;
}
.priceCard__img{
  width:min(100%, 320px);
  aspect-ratio: 980/720;
  object-fit:contain;
  margin-top:8px;
  filter: drop-shadow(0 20px 42px rgba(0,0,0,.22));
}
.priceCard__qty{margin:8px 0 0; color:var(--muted); font-weight:700}
.priceCard__desc{margin:8px 0 0; color:color-mix(in srgb, var(--muted) 75%, var(--text))}
.priceCard__price{margin:10px 0 0; font-size:20px; font-weight:900}
.priceCard__perk{margin:8px 0 0; color:color-mix(in srgb, var(--muted) 75%, var(--text))}
.priceCard__cta{margin-top:auto; padding-top:14px}
.priceCard__cta .btn{width:100%}

/* FAQ */
.faq{margin-top:10px; display:grid; gap:10px}
.faqItem{
  border-radius: var(--radius);
  border:1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.faqBtn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  background:transparent;
  border:none;
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  text-align:left;
}
.faqIcon{
  width:12px; height:12px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faqBtn[aria-expanded="true"] .faqIcon{transform: rotate(-135deg)}
.faqPanel{padding:0 14px 14px}
.faqPanel p{margin:0; color:color-mix(in srgb, var(--muted) 75%, var(--text))}

/* Contact */
.phone{margin-top:10px; color:color-mix(in srgb, var(--muted) 75%, var(--text))}

/* Footer */
.footer{
  padding:30px clamp(14px, 3vw, 32px);
  border-top:1px solid color-mix(in srgb, var(--border) 45%, transparent);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
}
.footer__inner{max-width:1160px; margin-inline:auto}
.footer__aff{margin:0; color:color-mix(in srgb, var(--muted) 75%, var(--text))}
.footer__explore{
  display:inline-flex;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  text-decoration:none;
  color:var(--text);
  font-weight:800;
}
.footer__explore:hover{filter:brightness(1.02)}
.footer__meta{margin:10px 0 0; color:var(--muted); font-weight:650}

/* Responsive rules */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; text-align:center}
  .hero__copy{margin-inline:auto}
  .ctaRow{justify-content:center}
  .badges{justify-content:center}
  .nav__links{display:none} /* compact */
  .nav__burger{display:inline-flex}
  .nav__right > .lang{display:none}
  .split{grid-template-columns:1fr}
  .mediaCard{position:relative; top:auto}
  .cardGrid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .stats{grid-template-columns: repeat(2, minmax(0,1fr))}
  .quoteGrid{grid-template-columns: 1fr}
  .priceGrid{grid-template-columns: 1fr}
  .btn{width:min(100%, 360px); margin-inline:auto}
  .priceCard__cta .btn{width:min(100%, 360px)}
  /* mobile center (except navbar + lists) */
  main{ text-align:center; }
  main .section{ text-align:center; }
  main .prose,
  main .card,
  main .mediaCard,
  main .statCard,
  main .quote,
  main .priceCard,
  main .faqItem{ text-align:center; }

  main .cardGrid,
  main .stats,
  main .quoteGrid,
  main .priceGrid,
  main .split{ justify-items:center; }

  /* lists/bullets stay left-aligned for scanability */
  main ul,
  main ol,
  main li{ text-align:left; }
  main ul,
  main ol{ margin-inline:auto; }
  main .bullets{ text-align:left; }

}

@media (max-width: 420px){
  .nav{padding-inline:12px}
  .lang__btn{padding:10px 10px}
}


/* Mobile sheet menu */
.sheet[hidden]{display:none}
.sheet{
  position:fixed; inset:0;
  z-index:980;
  display:grid;
}
.sheet__backdrop{
  grid-area:1/1;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity:0;
  transition: opacity .18s ease;
}
.sheet__panel{
  grid-area:1/1;
  margin-left:auto;
  width:min(420px, 92vw);
  height:100%;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-left:1px solid var(--border);
  box-shadow: var(--shadowDeep);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transform: translateX(16px);
  opacity:0;
  transition: transform .2s ease, opacity .2s ease;
}
.sheet[data-open="true"] .sheet__backdrop{opacity:1}
.sheet[data-open="true"] .sheet__panel{transform: translateX(0); opacity:1}

.sheet__head{display:flex; align-items:center; justify-content:space-between; gap:12px}
.sheet__title{font-weight:800; letter-spacing:.2px}
.sheet__close{flex:0 0 auto}
.sheet__body{display:flex; flex-direction:column; gap:14px; overflow:auto; padding-right:2px}
.sheet__section{border:1px solid color-mix(in srgb, var(--border) 70%, transparent); border-radius:18px; background: color-mix(in srgb, var(--surface) 70%, transparent); padding:12px}
.sheet__sectionTitle{font-weight:800; color:var(--text); margin-bottom:10px}
.sheet__nav .nav__links{display:flex !important; flex-direction:column; gap:6px}
.sheet__nav .nav__link{display:block; padding:12px 12px; border-radius:14px; border:1px solid transparent; color:var(--text)}
.sheet__nav .nav__link:hover{border-color:color-mix(in srgb, var(--border) 75%, transparent)}
.sheet__nav .nav__link:focus-visible{box-shadow:var(--focus)}

.sheet [data-sheet-lang] .lang{width:100%}
.sheet [data-sheet-lang] .lang__btn{width:100%; justify-content:space-between}
.sheet [data-sheet-lang] .lang__panel{
  position:static;
  width:100%;
  top:auto; right:auto;
  margin-top:10px;
  box-shadow:none;
  backdrop-filter:none;
}

.isSheetOpen{overflow:hidden}
.isSheetOpen body{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .sheet__backdrop, .sheet__panel, .nav__burgerIcon span{transition:none}
}
