/* paaraaworld — home bakery */
:root{
  /* A pastry counter: vanilla cream ground, dark chocolate for words,
     raspberry for what you press, caramel for warmth, pistachio for the
     small green notes. */
  --paper:#FFF8F2; --surface:#FFFFFF; --soft:#FBEDE6;
  --ink:#3A2320; --ink-2:#5E3D37; --muted:#8A6A62; --line:#F0DDD4;
  --accent:#A8385A; --accent-ink:#8E2E4C; --on-accent:#FFF6F4;
  --gold:#C98A4B; --gold-soft:#FCEFE3; --gold-line:#F1D5BA;
  --btn:#B23A5E; --btn-ink:#FFFFFF; --btn-hover:#9A3050;
  --leaf:#557238; --leaf-soft:#EFF5E6; --leaf-line:#D6E4C4;
  --band:#3A2320; --band-ink:#FFF3EE; --band-mut:#E2C6BE;
  --band-accent:#F4B6C4; --band-line:#5C3B36;
  --sk:#F6E6DF; --sk-hi:rgba(255,255,255,.62);
  --radius:12px; --radius-lg:16px; --radius-img:10px;
  --gut:clamp(18px,4vw,64px); --maxw:1320px;
  --f:'IRANSansX',system-ui,'Segoe UI',Tahoma,sans-serif;
  --f-lat:'Cormorant Garamond',Georgia,serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#1C1315; --surface:#261A1D; --soft:#312226;
    --ink:#FBEFEA; --ink-2:#E6CFC8; --muted:#B3958D; --line:#45302F;
    --accent:#F08BA5; --accent-ink:#F6A9BC; --on-accent:#2A0F17;
    --gold:#E3A869; --gold-soft:#33241C; --gold-line:#5A3F2C;
    --btn:#F08BA5; --btn-ink:#2A0F17; --btn-hover:#F6A9BC;
    --leaf:#A9C487; --leaf-soft:#222A1C; --leaf-line:#3E4C31;
    --band:#140D0F; --band-ink:#FFF3EE; --band-mut:#D9BDB5;
    --band-accent:#F4B6C4; --band-line:#4A3235;
    --sk:#312226; --sk-hi:rgba(255,255,255,.07);
  }
}
:root[data-theme="dark"]{
  --paper:#1C1315; --surface:#261A1D; --soft:#312226;
  --ink:#FBEFEA; --ink-2:#E6CFC8; --muted:#B3958D; --line:#45302F;
  --accent:#F08BA5; --accent-ink:#F6A9BC; --on-accent:#2A0F17;
  --gold:#E3A869; --gold-soft:#33241C; --gold-line:#5A3F2C;
  --btn:#F08BA5; --btn-ink:#2A0F17; --btn-hover:#F6A9BC;
  --leaf:#A9C487; --leaf-soft:#222A1C; --leaf-line:#3E4C31;
  --band:#140D0F; --band-ink:#FFF3EE; --band-mut:#D9BDB5;
  --band-accent:#F4B6C4; --band-line:#4A3235;
  --sk:#312226; --sk-hi:rgba(255,255,255,.07);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--f);
  font-size:15px;line-height:1.85;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
.lat{font-family:var(--f-lat)}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gut)}
.skip{position:fixed;inset-inline-start:8px;top:8px;background:var(--accent);color:var(--on-accent);
  padding:10px 18px;border-radius:var(--radius);z-index:99;transform:translateY(-200%)}
.skip:focus{transform:none}

/* ---------- header ---------- */
.site-head{background:var(--surface);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:40}
.head-in{max-width:var(--maxw);margin:0 auto;padding:14px var(--gut);
  display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo{display:flex;flex-direction:column;gap:1px;color:var(--ink)}
.logo b{font-family:var(--f-lat);font-size:24px;font-weight:600;letter-spacing:.02em;line-height:1.1}
.logo span{font-size:10.5px;color:var(--muted);letter-spacing:.15em}
.nav{display:flex;gap:26px;align-items:center}
.nav a{font-size:14.5px;color:var(--ink);padding:5px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{color:var(--accent);border-color:var(--accent)}
.btn{display:inline-block;font-family:inherit;font-size:14px;font-weight:700;
  padding:11px 22px;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;
  text-align:center;transition:background .15s,color .15s,border-color .15s}
.btn-primary{background:var(--btn);color:var(--btn-ink)}
.btn-primary:hover{background:var(--btn-hover);color:var(--btn-ink)}
.btn-ghost{border-color:var(--line);color:var(--ink);background:var(--surface)}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btn-lg{padding:14px 28px;font-size:15px}
.burger{display:none;width:38px;height:38px;border:1px solid var(--line);background:var(--surface);
  border-radius:var(--radius);cursor:pointer;align-items:center;justify-content:center}

/* ---------- type ---------- */
.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--accent);font-weight:700;display:block}
h1,h2,h3{margin:0;font-weight:900;letter-spacing:-.012em;line-height:1.3;text-wrap:balance}
h1{font-size:clamp(28px,5vw,52px)}
h2{font-size:clamp(22px,3.4vw,34px)}
h3{font-size:clamp(17px,2vw,21px)}
p{margin:0 0 14px;max-width:68ch}
.lede{font-size:clamp(15px,1.6vw,17px);line-height:2.05;color:var(--muted);max-width:56ch}
.sec{padding-block:clamp(44px,6vw,76px)}
/* The link beside a heading sits on the line of the last text above it (the
   description, or the heading when there is none), not at the bottom of the
   box: the description's tall line height left it hanging below the words. */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;
  align-items:last baseline;gap:24px;margin-bottom:30px;flex-wrap:wrap}
.sec-head>div{display:flex;flex-direction:column;gap:10px}
.more{font-size:14px;font-weight:700;white-space:nowrap}
.sec-head.is-inline{flex-direction:column;align-items:stretch;gap:10px}
.sec-head>.sec-head-row{display:flex;flex-direction:row;align-items:center;
  justify-content:space-between;gap:16px}
.sec-head-row>:first-child{min-width:0;margin:0}

/* ---------- hero ---------- */
.hero-sec{padding-block:clamp(18px,2.6vw,30px)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);overflow:hidden;min-height:min(74vh,620px)}
.hero-copy{padding:clamp(40px,6vw,92px) var(--gut);display:flex;flex-direction:column;
  justify-content:center;gap:22px}
.hero-copy h1{line-height:1.26}
.hero-cta{display:flex;gap:11px;flex-wrap:wrap;padding-top:4px}
.hero-img{background:var(--soft);min-height:340px;position:relative;overflow:hidden}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:50% 48%}
/* On a desk the photo is framed inside the card, not butted against the copy:
   a hard straight seam down the middle read as two things glued together. */
@media(min-width:861px){
  .hero{padding:14px;gap:0}
  .hero-img{border-radius:calc(var(--radius-lg) - 6px);min-height:0;
    box-shadow:0 0 0 1px var(--line)}
  .hero-copy{padding-inline:clamp(28px,4vw,64px)}
}

/* ---------- grids ---------- */
.grid{display:grid;gap:clamp(20px,2.4vw,30px)}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.g4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.g4,.g3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g2{grid-template-columns:1fr}}
@media(max-width:430px){.g4,.g3{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}

/* ---------- card ---------- */
.card{display:flex;flex-direction:column;gap:11px;color:var(--ink)}
.card:hover{color:var(--ink)}
.card-img{aspect-ratio:1;border-radius:var(--radius-img);overflow:hidden;background:var(--soft);position:relative}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card-img img{transform:scale(1.035)}
.card-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.card-name{display:flex;align-items:baseline;gap:8px;min-width:0}
.card-name .cname{font-size:clamp(16px,1.9vw,21px);font-weight:700}
.card-name .cname.lat{font-size:clamp(17px,2vw,23px);font-weight:600}
.card-name strong{font-size:17px;font-weight:700}
.card-name em{font-style:normal;font-size:12px;color:var(--muted)}
.card-n{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none}
.card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}
.badge{position:absolute;inset-block-start:8px;inset-inline-start:8px;background:rgba(43,26,34,.72);
  color:#fff;font-size:10.5px;padding:3px 9px;border-radius:999px;backdrop-filter:blur(6px);
  display:flex;align-items:center;gap:4px}

/* ---------- occasions ---------- */
.occ{display:flex;gap:16px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:16px;color:var(--ink);align-items:flex-start}
.occ:hover{border-color:var(--accent);color:var(--ink)}
.occ-img{width:96px;height:96px;flex:none;border-radius:9px;overflow:hidden;background:var(--soft);
  position:relative}
.occ-img img{width:100%;height:100%;object-fit:cover}
.occ-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.occ-body strong{font-size:16px;font-weight:700}
.occ-body p{font-size:13px;color:var(--muted);line-height:1.75;margin:0}
.occ-body .lead-chip{align-self:flex-start;margin-top:2px}
/* A side-by-side card needs room for its text; three across only fits a desk. */
@media(max-width:1000px){.occ-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
  .occ-grid{grid-template-columns:1fr;gap:12px}
  .occ{padding:12px;gap:14px;align-items:center}
  .occ-img{width:84px;height:84px}
  .occ-body{flex:1 1 auto;gap:5px}
  .occ-body strong{font-size:15px;line-height:1.6}
  .occ-body p{font-size:12.5px;line-height:1.8}
}
.lead-chip{font-size:11px;color:var(--leaf);background:var(--leaf-soft);
  border:1px solid var(--leaf-line);padding:3px 10px;border-radius:999px;white-space:nowrap}

.occ-row{display:flex;gap:24px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;align-items:stretch;margin-bottom:18px}
.occ-row-img{width:clamp(230px,33%,400px);flex:none;background:var(--soft);
  position:relative;overflow:hidden}
.occ-row-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.occ-row-body{flex:1 1 auto;padding:24px var(--gut) 24px 0;display:flex;flex-direction:column;
  gap:11px;min-width:0;align-items:flex-start}
.occ-row-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.occ-cta{margin-top:5px}
@media(max-width:860px){
  .occ-row{flex-direction:column}
  .occ-row-img{width:100%;height:200px;position:relative}
  .occ-row-body{padding:20px var(--gut)}
}
.chips{display:flex;gap:7px;flex-wrap:wrap}
.chip{font-size:12px;color:var(--ink);background:var(--paper);border:1px solid var(--line);
  padding:5px 12px;border-radius:999px}
.chip-leaf{color:var(--leaf);background:var(--leaf-soft);border-color:var(--leaf-line)}

/* ---------- filter bar ---------- */
.filters{display:flex;gap:8px;flex-wrap:wrap;padding-block:6px 4px}
.filters button{font-family:inherit;font-size:13px;padding:8px 16px;border-radius:999px;
  border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer}
.filters button:hover{border-color:var(--ink)}
.filters button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* ---------- product page ---------- */
.prod{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:clamp(24px,4vw,52px);align-items:start}
@media(max-width:900px){.prod{grid-template-columns:1fr}}
.gal-main{aspect-ratio:1;border-radius:var(--radius-lg);overflow:hidden;background:var(--soft);position:relative}
.gal-main img,.gal-main video{width:100%;height:100%;object-fit:cover}
.gal-thumbs{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.gal-thumbs button{padding:0;border:1px solid var(--line);background:var(--soft);border-radius:9px;
  overflow:hidden;aspect-ratio:1;cursor:pointer;flex:0 0 calc((100% - 36px)/5);
  color:var(--accent);font-size:17px;position:relative}
.gal-thumbs button[aria-current="true"]{border-color:var(--accent);border-width:2px}
.gal-thumbs img{width:100%;height:100%;object-fit:cover}
.prod-info{display:flex;flex-direction:column;gap:20px}
.prod-title{display:flex;flex-direction:column;gap:7px}
.prod-title .lat{font-size:15px;color:var(--muted);letter-spacing:.04em}
.prose p{font-size:15px;line-height:2.15;color:var(--ink-2)}
.order-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;display:flex;flex-direction:column;gap:13px}
.order-box .row{display:flex;gap:10px;flex-wrap:wrap}
.order-box .row>*{flex:1 1 180px}
.order-box small{font-size:12px;color:var(--muted);line-height:1.7}
.meta{display:flex;flex-direction:column}
.meta div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;
  border-bottom:1px solid var(--line);font-size:13.5px}
.meta span:first-child{color:var(--muted)}

/* ---------- order band ---------- */
.band{background:var(--band);color:var(--band-ink);padding-block:clamp(38px,5vw,58px)}
.band-in{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gut);
  display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.band h2{color:var(--band-ink)}
.band .eyebrow{color:var(--band-accent)}
.band p{color:var(--band-mut);max-width:48ch;margin:0}
.band-col{display:flex;flex-direction:column;gap:12px;max-width:520px}
.band-act{display:flex;flex-direction:column;gap:10px;min-width:280px;flex:1 1 280px}
.band-act .btn-primary{background:var(--band-ink);color:var(--band)}
.band-act .btn-primary:hover{background:var(--band-accent);color:var(--band)}
.band-act .btn-ghost{background:transparent;border-color:var(--band-line);color:var(--band-ink)}
.band-act .btn-ghost:hover{border-color:var(--band-ink);color:var(--band-ink)}
.band-act .tel{color:var(--band-accent);font-size:13px;text-align:center;padding-top:2px}

/* ---------- channels ---------- */

/* ---------- gallery strip ---------- */
.strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.strip figure{margin:0;border-radius:10px;overflow:hidden;background:var(--soft);aspect-ratio:9/16;
  position:relative}
.strip img{width:100%;height:100%;object-fit:cover}
.strip .cap{position:absolute;inset-inline:0;bottom:0;padding:22px 8px 7px;font-size:10.5px;
  color:#fff;background:linear-gradient(transparent,rgba(20,10,15,.82));line-height:1.55;
  max-height:60%;overflow:hidden}

/* ---------- footer ---------- */
.site-foot{background:var(--surface);border-top:1px solid var(--line);margin-top:auto}
.foot-col .lbl{font-size:10.5px;color:var(--muted);letter-spacing:.14em}
.foot-col a,.foot-col span{color:var(--ink-2)}
.foot-col a:hover{color:var(--accent)}

/* ---------- sticky mobile bar ---------- */
.sticky{position:fixed;inset-inline:0;bottom:0;z-index:50;background:var(--surface);
  border-top:1px solid var(--line);padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  display:none;gap:9px}
.sticky .btn{flex:1 1 auto}
.sticky .btn-ghost{flex:0 0 110px}

@media(max-width:860px){
  .hero{grid-template-columns:1fr}
  .hero-img{min-height:270px;order:-1}
  .nav{display:none}
  .burger{display:flex}
  .head-in .btn-primary{display:none}
  .stats{flex-wrap:wrap}
  .stat{flex:1 1 50%;border-inline-start:0}
  body.has-sticky{padding-bottom:86px}
  .sticky{display:flex}
  .comments{padding:18px}
  .gal-thumbs button{flex-basis:calc((100% - 27px)/4)}
}
.nav.open{display:flex;position:absolute;inset-inline:0;top:100%;background:var(--surface);
  border-bottom:1px solid var(--line);flex-direction:column;gap:0;padding:6px var(--gut) 14px}
.nav.open a{padding:11px 0;border-bottom:1px solid var(--line);border-top:0;width:100%}
.card-name em.cl{font-family:var(--f-lat);font-size:13.5px;letter-spacing:.03em;color:var(--muted)}

/* ---------- breadcrumbs / pager / category nav ---------- */
.crumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:12.5px;
  color:var(--muted);padding-block:20px 0}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--accent)}
.crumbs span[aria-current]{color:var(--ink)}
.crumbs i{opacity:.45}
.linkrow{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}

/* ---------- image placeholders and skeletons ---------- */
/* The box is already sized by its container, so nothing shifts. The 24px
   preview is painted underneath and the shimmer runs until the file decodes. */
:root{--sk:#F6E6DF; --sk-hi:rgba(255,255,255,.62)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--sk:#312226; --sk-hi:rgba(255,255,255,.07)}
}
:root[data-theme="dark"]{--sk:#312226; --sk-hi:rgba(255,255,255,.07)}

.ph{position:absolute;inset:0;display:block;overflow:hidden;background-color:var(--sk);
  background-size:cover;background-position:center;background-repeat:no-repeat}
.ph::after{content:"";position:absolute;inset:0;background-image:
  linear-gradient(100deg,transparent 18%,var(--sk-hi) 50%,transparent 82%);
  background-size:220% 100%;animation:shimmer 1.5s linear infinite}
.ph.is-loaded::after{content:none}
.ph picture{display:contents}
.ph img{width:100%;height:100%;object-fit:cover;opacity:0;
  transition:opacity .4s ease,transform .5s ease}
.ph.is-loaded img{opacity:1}
/* the hero crop and the card zoom still apply through the placeholder */
.hero-img .ph img{object-position:50% 50%}

.sk{display:block;background:var(--sk);position:relative;overflow:hidden;border-radius:var(--radius-img)}
.sk::after{content:"";position:absolute;inset:0;background-image:
  linear-gradient(100deg,transparent 18%,var(--sk-hi) 50%,transparent 82%);
  background-size:220% 100%;animation:shimmer 1.5s linear infinite}
.sk-line{border-radius:999px;max-width:100%}
.sk-grid .card{pointer-events:none}

@keyframes shimmer{from{background-position:200% 0}to{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){
  .ph::after,.sk::after{animation:none;opacity:.5}
  .ph img{transition:none}
}

/* `content-visibility: auto` used to live here. It has to guess each section's
   height before it renders, and every wrong guess shifted the page: CLS 0.74.
   The paint saving was not worth it. data-defer stays as a marker. */

/* ---------- video: still frame plus a play mark ---------- */
.play{position:absolute;inset:0;margin:auto;display:grid;place-items:center;
  width:54px;height:54px;border-radius:999px;background:rgba(20,10,15,.55);
  color:#fff;backdrop-filter:blur(3px);pointer-events:none;
  box-shadow:0 2px 14px rgba(0,0,0,.28);transition:background .2s ease,transform .2s ease}
.play svg{width:26px;height:26px;margin-inline-start:2px}
.play-sm{width:30px;height:30px}
.play-sm svg{width:16px;height:16px}
.card:hover .play{background:var(--accent);transform:scale(1.06)}
.gal-main video{width:100%;height:100%;object-fit:cover;background:var(--sk)}
.gal-thumbs button .play{z-index:1}


/* ---------- logo lockup ---------- */
.logo{flex-direction:row;align-items:center;gap:11px}
.logo-mark{width:44px;height:44px;border-radius:999px;flex:none}
.logo-text{display:flex;flex-direction:column;gap:1px}
@media(max-width:430px){.logo-mark{width:36px;height:36px}}

/* ---------- tags and search ---------- */
.head-act{display:flex;align-items:center;gap:10px}
.icon-btn{display:grid;place-items:center;width:40px;height:40px;border-radius:999px;
  border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.icon-btn:hover{border-color:var(--accent);color:var(--accent)}
.icon-btn svg{width:19px;height:19px}

.chip-tag{display:inline-flex;align-items:center;gap:3px;transition:border-color .15s,color .15s}
.chip-tag .hash{color:var(--gold);font-weight:700}
a.chip-tag:hover{border-color:var(--gold);color:var(--accent);background:var(--gold-soft)}
.chip-tag.is-plain{opacity:.7}

.tag-cloud{display:flex;flex-wrap:wrap;gap:9px}
.tag-pill{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;
  padding:9px 16px;border-radius:999px;border:1px solid var(--line);
  background:var(--surface);color:var(--ink)}
.tag-pill:hover{border-color:var(--gold);background:var(--gold-soft);color:var(--accent)}
.tag-pill .hash{color:var(--gold);font-weight:700}
.tag-n{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);
  background:var(--soft);padding:2px 8px;border-radius:999px}
.tag-head .hash{color:var(--gold)}

.searchbox{display:flex;align-items:center;gap:10px;background:var(--surface);
  border:1px solid var(--line);border-radius:999px;padding:7px 7px 7px 7px;
  padding-inline-start:18px;max-width:620px}
.searchbox:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px var(--gold-soft)}
.searchbox-icon{width:19px;height:19px;color:var(--muted);flex:none}
.searchbox input{flex:1 1 auto;min-width:0;border:0;background:transparent;outline:none;
  font:inherit;font-size:15px;color:var(--ink)}
.searchbox input::placeholder{color:var(--muted)}
.searchbox .btn{flex:none;border-radius:999px;padding:10px 20px}
.search-count{font-size:14px;color:var(--muted);padding-top:16px;margin:0}
@media(max-width:560px){
  .searchbox{padding-inline-start:14px}
  .searchbox .btn{padding:10px 14px}
}

/* ---------- the post's comment thread ---------- */
/* Sits right under the product, not a screen away from it. */
.comments-sec{padding-top:0;scroll-margin-top:84px}
.comments{background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:clamp(20px,3vw,30px)}
.comments-head{display:flex;align-items:baseline;justify-content:space-between;
  gap:14px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:6px;
  border-bottom:1px solid var(--line)}
.comments-n{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;
  background:var(--soft);padding:4px 12px;border-radius:999px;white-space:nowrap}

.cmt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 18px;align-items:start;padding-top:14px}
@media(max-width:760px){.cmt-list{grid-template-columns:1fr}}

.cmt{display:flex;gap:12px;padding:13px 15px;border-radius:12px;
  background:var(--paper);border:1px solid transparent;align-items:flex-start}
.cmt.is-author{background:var(--gold-soft);border-color:var(--gold-line)}
.cmt-av{width:34px;height:34px;flex:none;border-radius:999px;display:grid;
  place-items:center;font-size:13px;font-weight:700;
  background:var(--surface);color:var(--accent);border:1px solid var(--line)}
.cmt.is-author .cmt-av{background:var(--gold);color:var(--btn-ink);border-color:var(--gold)}
.cmt-b{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 auto}
.cmt-u{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cmt-u b{font-size:12.5px;color:var(--ink-2);font-weight:700}
.cmt-tag{font-size:10px;color:var(--btn-ink);background:var(--gold);
  padding:2px 9px;border-radius:999px;font-weight:700}
.cmt-t{font-size:14px;color:var(--ink);line-height:1.85;margin:0;overflow-wrap:anywhere}

/* ---------- image viewer ---------- */
/* A flex column. The media area's height must not depend on the picture
   inside it: with a grid track the tall story frames sized the track and then
   spilled out of it, and a percentage max-height became a cycle the browser
   simply dropped. */
body.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:998;display:flex;flex-direction:column;gap:12px;
  padding:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));
  background:rgba(28,16,19,.95);backdrop-filter:blur(6px)}
.lb[hidden]{display:none}

.lb-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.lb-tabs{display:flex;gap:8px;flex-wrap:wrap}
.lb-tab{font:inherit;font-size:13px;font-weight:700;padding:9px 18px;border-radius:999px;
  border:1px solid rgba(249,241,227,.28);background:transparent;color:#F9F1E3;cursor:pointer}
.lb-tab[aria-selected="true"]{background:var(--gold);border-color:var(--gold);color:#2A1510}
.lb-x{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;flex:none;
  border:1px solid rgba(249,241,227,.28);background:transparent;color:#F9F1E3;cursor:pointer}
.lb-x:hover{background:rgba(249,241,227,.14)}
.lb-x svg{width:20px;height:20px}

.lb-body{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;gap:12px}
.lb-stage{flex:1 1 auto;min-width:0;min-height:0;height:100%;
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.lb-stage img,.lb-stage video{max-width:100%;max-height:100%;width:auto;height:auto;
  object-fit:contain;border-radius:10px;transition:transform .28s ease}
.lb-stage img{cursor:zoom-in}
.lb-stage.is-zoomed{overflow:auto}
.lb-stage.is-zoomed img{transform:scale(1.9);cursor:zoom-out}

.lb-nav{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:999px;
  border:1px solid rgba(249,241,227,.28);background:rgba(24,14,8,.5);color:#F9F1E3;cursor:pointer}
.lb-nav:hover{background:var(--gold);border-color:var(--gold);color:#2A1510}
.lb-nav[hidden]{display:grid;visibility:hidden}
.lb-nav svg{width:22px;height:22px}

.lb-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:20px}
.lb-cap{margin:0;color:#E3D4BE;font-size:13.5px;line-height:1.8;flex:1 1 auto;
  text-align:center;max-height:3.6em;overflow:hidden}
.lb-cap[hidden]{display:none}
.lb-count{flex:none;color:#B49B7C;font-size:12px;font-variant-numeric:tabular-nums}

@media(max-width:620px){
  .lb{padding:10px;gap:9px}
  .lb-nav{width:42px;height:42px}
  .lb-nav svg{width:18px;height:18px}
  .lb-body{gap:7px}
  .lb-stage.is-zoomed img{transform:scale(1.7)}
  .lb-cap{font-size:12.5px;max-height:3em}
}
.zoomable{cursor:zoom-in}
.gal-open,.rev-open{position:absolute;inset:0;padding:0;border:0;background:none;
  cursor:zoom-in;display:block;width:100%;height:100%}
.gal-open:focus-visible,.rev-open:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}

/* ---------- category rail ---------- */
.catrail{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.catrail-item{display:flex;align-items:center;gap:12px;padding:9px 14px 9px 9px;
  border:1px solid var(--line);border-radius:999px;background:var(--surface);
  color:var(--ink);transition:border-color .15s,background .15s,transform .15s}
.catrail-item:hover{border-color:var(--gold);background:var(--gold-soft);
  color:var(--ink);transform:translateY(-1px)}
.catrail-item[aria-current="page"]{border-color:var(--gold);background:var(--gold-soft)}
.catrail-img{position:relative;width:46px;height:46px;flex:none;border-radius:999px;
  overflow:hidden;background:var(--soft)}
.catrail-body{display:flex;flex-direction:column;gap:1px;min-width:0}
.catrail-body strong{font-size:14px;font-weight:700;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.catrail-body em{font-style:normal;font-size:11.5px;color:var(--muted)}

/* ---------- previous / next product ---------- */
.pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
  border-top:1px solid var(--line);padding-top:26px;margin-bottom:40px}
@media(max-width:700px){.pager{grid-template-columns:1fr}}
.pager-card{display:flex;align-items:center;gap:13px;padding:12px;border-radius:var(--radius);
  border:1px solid var(--line);background:var(--surface);color:var(--ink);
  transition:border-color .15s,background .15s}
.pager-card:hover{border-color:var(--gold);background:var(--gold-soft);color:var(--ink)}
.pager-card.nxt{grid-column:2;justify-content:flex-end;text-align:start}
@media(max-width:700px){.pager-card.nxt{grid-column:1}}
.pager-img{position:relative;width:58px;height:58px;flex:none;border-radius:10px;
  overflow:hidden;background:var(--soft)}
.pager-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.pager-body em{font-style:normal;font-size:10.5px;letter-spacing:.1em;color:var(--muted)}
.pager-body strong{font-size:15.5px;font-weight:700;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.pager-arrow{display:grid;place-items:center;width:34px;height:34px;flex:none;
  border-radius:999px;background:var(--soft);color:var(--accent)}
.pager-card:hover .pager-arrow{background:var(--gold);color:var(--btn-ink)}
.pager-arrow svg{width:17px;height:17px}

/* ---------- long story text stays inside its card ---------- */
/* The text comes from OCR and can run for lines; on a phone that used to
   push the grid out of shape. It is clamped and opens on demand. */

/* ---------- ordering ---------- */
.order-note-sec{padding-top:0}
.order-note{display:flex;align-items:center;justify-content:space-between;gap:18px;
  flex-wrap:wrap;padding:20px 24px;border:1px solid var(--gold-line);
  border-radius:var(--radius-lg);background:var(--gold-soft);color:var(--ink)}
.order-note:hover{border-color:var(--gold);color:var(--ink)}
.order-note-text{display:flex;flex-direction:column;gap:3px}
.order-note-text strong{font-size:17px;font-weight:900}
.order-note-text em{font-style:normal;font-size:13.5px;color:var(--ink-2)}
.order-note-go{flex:none;font-size:14px;font-weight:700;color:var(--btn-ink);
  background:var(--btn);padding:11px 22px;border-radius:999px}
.order-note:hover .order-note-go{background:var(--btn-hover)}

  max-width:760px}
  bottom:-4px;width:2px;background:var(--gold-line);border-radius:2px}
  display:grid;place-items:center;border-radius:999px;background:var(--gold);
  color:var(--btn-ink);font-family:var(--f-lat);font-size:23px;font-weight:600;
  box-shadow:0 0 0 5px var(--paper)}
  padding:7px 14px;border-radius:999px}
@media(max-width:560px){
        }

/* ---------- customer reviews ---------- */
/* Every card is the same height. The caption box is always rendered, so a
   story with no readable text does not leave a short card next to a tall one. */
.rev{display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);padding:12px;
  margin:0;overflow:hidden;height:100%}
.rev-img{position:relative;border-radius:10px;overflow:hidden;background:var(--soft);
  aspect-ratio:4/5;flex:none}
.rev-cap{display:flex;align-items:flex-start;padding:11px 4px 3px;
  min-height:3.9em;flex:1 1 auto}
.rev-text{font-size:13px;color:var(--ink-2);line-height:1.85;margin:0;
  overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;overflow:hidden}
.rev-text.is-open{-webkit-line-clamp:unset;display:block}
.rev-more{margin:4px 4px 0;font:inherit;font-size:12px;font-weight:700;
  color:var(--accent);background:none;border:0;padding:0;cursor:pointer;align-self:flex-start}
.rev-more:hover{color:var(--accent-ink)}
/* the grid stretches its rows so the cards fill them */
.grid .rev{height:100%}

/* ---------- the one order button on a product ---------- */
.order-row{display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.order-btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;
  padding:14px 28px}
.order-btn svg{width:20px;height:20px}
.order-hint{font-size:12.5px;color:var(--muted)}
.occ-row-link{position:absolute;inset:0;display:block}

/* ---------- search ---------- */
.search-results{padding-top:18px}
.search-results[hidden]{display:none}
.search-block{padding-top:26px}
.search-loading{padding-top:26px}
.search-loading[hidden]{display:none}

/* ---------- footer ---------- */
.foot-in{max-width:var(--maxw);margin:0 auto;padding:44px var(--gut) 34px;
  display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);gap:34px}
@media(max-width:900px){.foot-in{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:520px){.foot-in{grid-template-columns:1fr}}
.foot-col{display:flex;flex-direction:column;gap:9px;font-size:13.5px;min-width:0}
.foot-col a,.foot-col span{color:var(--ink-2)}
.foot-col a:hover{color:var(--accent)}
.foot-col .lbl{font-size:10.5px;color:var(--muted);letter-spacing:.14em;margin-bottom:2px}

.foot-brand{flex-direction:row;align-items:center;gap:14px;align-self:start}
.foot-logo{width:64px;height:64px;border-radius:999px}
.foot-bio{font-size:13.5px;color:var(--ink);line-height:1.7}
/* the brand column is as wide as its line, so the line never breaks on a desk */
@media(min-width:901px){.foot-bio,.foot-where{white-space:nowrap}}
.foot-where{font-size:13px;color:var(--muted);line-height:1.7}
/* the two lines sit beside the mark, centred on it as one block */
.foot-id{display:flex;flex-direction:column;justify-content:center;gap:4px;
  flex:1 1 0;min-width:0;min-height:64px}

/* label and value on one line, icon first, so the numbers line up */
.foot-line{display:flex;align-items:center;gap:9px}
.foot-line .ic{flex:none;color:var(--gold)}
.foot-line span{font-variant-numeric:tabular-nums}
.foot-line:hover .ic{color:var(--accent)}

.foot-bot{border-top:1px solid var(--line);font-size:12px;color:var(--muted);
  padding:16px var(--gut);max-width:var(--maxw);margin:0 auto;text-align:center}

/* ---------- the numbers under the hero ---------- */
.stats-sec{background:var(--surface);border-bottom:1px solid var(--line);
  padding-block:clamp(22px,3vw,34px)}
.stats{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.6vw,18px)}
@media(max-width:700px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stat{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;
  padding:20px 12px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--paper);transition:border-color .15s,transform .15s}
.stat:hover{border-color:var(--gold-line);transform:translateY(-2px)}
.stat-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;
  background:var(--gold-soft);color:var(--accent);margin-bottom:4px}
.stat b{font-size:clamp(22px,2.8vw,28px);font-weight:900;font-variant-numeric:tabular-nums;
  line-height:1.2}
.stat-label{font-size:12px;color:var(--muted);line-height:1.6}

/* ---------- a step, with a mark instead of a number ---------- */
.step{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;display:flex;flex-direction:column;gap:10px;height:100%}
.step-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;
  background:var(--gold-soft);color:var(--accent);border:1px solid var(--gold-line)}
.step strong{font-size:17px;font-weight:900}
.step p{font-size:14px;color:var(--muted);line-height:1.9;margin:0}
/* Three steps on a two-column phone grid left the third hanging on one side. */
@media(max-width:760px){
  .g3>.step:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;
    width:calc(50% - 10px)}
}
@media(max-width:430px){.g3>.step:last-child:nth-child(odd){width:calc(50% - 7px)}}

/* ---------- the one invitation on the home page ---------- */
.order-cta-sec{padding-top:0}
.order-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  padding:24px 28px;border-radius:var(--radius-lg);color:var(--band-ink);
  background:linear-gradient(115deg,var(--band) 0%,#5A2F3A 100%)}
.order-cta:hover{color:var(--band-ink)}
.order-cta-ic{display:grid;place-items:center;width:58px;height:58px;flex:none;
  border-radius:999px;background:rgba(244,182,196,.16);color:var(--band-accent)}
.order-cta-body{display:flex;flex-direction:column;gap:4px;flex:1 1 240px;min-width:0}
.order-cta-body strong{font-size:20px;font-weight:900}
.order-cta-body em{font-style:normal;font-size:14px;color:var(--band-mut);line-height:1.7}
.order-cta-go{display:inline-flex;align-items:center;gap:8px;flex:none;
  background:var(--btn);color:var(--btn-ink);font-size:14.5px;font-weight:700;
  padding:13px 24px;border-radius:999px}
.order-cta-go svg{width:17px;height:17px}
.order-cta:hover .order-cta-go{background:var(--btn-hover)}
@media(max-width:560px){
  .order-cta{padding:20px;gap:14px}
  .order-cta-go{width:100%;justify-content:center}
}

/* ---------- how to reach the shop ---------- */
.chans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:820px){.chans{grid-template-columns:1fr}}
.chan{display:flex;flex-direction:column;gap:7px;padding:26px 24px;
  border:1px solid var(--line);border-radius:var(--radius-lg);
  background:var(--surface);color:var(--ink);
  transition:border-color .18s,background .18s,transform .18s}
.chan:hover{border-color:var(--gold);background:var(--gold-soft);
  color:var(--ink);transform:translateY(-2px)}
.chan-ic{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;
  background:var(--soft);color:var(--accent);margin-bottom:6px;transition:background .18s,color .18s}
.chan:hover .chan-ic{background:var(--btn);color:var(--btn-ink)}
.chan strong{font-size:18px;font-weight:900}
.chan span{font-size:13.5px;color:var(--muted);line-height:1.75}
.chan b{font-size:14.5px;font-weight:700;padding-top:4px;font-variant-numeric:tabular-nums}

/* ---------- from picking to delivery ---------- */
.stepper{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media(max-width:980px){.stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stepper{grid-template-columns:1fr}}
.stepper-item{position:relative;display:flex;flex-direction:column;gap:12px;
  padding:26px 22px;border:1px solid var(--line);border-radius:var(--radius-lg);
  background:var(--surface);transition:border-color .18s,transform .18s}
.stepper-item:hover{border-color:var(--gold-line);transform:translateY(-2px)}
.stepper-dot{position:relative;display:grid;place-items:center;width:54px;height:54px;
  flex:none;border-radius:18px;background:var(--gold-soft);color:var(--accent);
  border:1px solid var(--gold-line)}
.stepper-dot em{position:absolute;inset-block-start:-9px;inset-inline-start:-9px;
  width:26px;height:26px;display:grid;place-items:center;border-radius:999px;
  background:var(--btn);color:var(--btn-ink);font-style:normal;font-size:12px;
  font-weight:900;font-variant-numeric:tabular-nums}
.stepper-body{display:flex;flex-direction:column;gap:7px}
.stepper-body strong{font-size:17px;font-weight:900}
.stepper-body p{font-size:14px;color:var(--muted);line-height:1.85;margin:0}
.stepper-needs{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:4px 0 0;padding:0}
.stepper-needs li{font-size:12.5px;background:var(--paper);border:1px solid var(--line);
  padding:6px 12px;border-radius:999px;color:var(--ink-2)}

/* ---------- questions ---------- */
.faq{display:flex;flex-direction:column;gap:10px;max-width:860px}
.faq-item{border:1px solid var(--line);border-radius:var(--radius);
  background:var(--surface);overflow:hidden;transition:border-color .18s,background .18s}
.faq-item:hover{border-color:var(--gold-line)}
.faq-item[open]{border-color:var(--gold);background:var(--gold-soft)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;
  justify-content:space-between;gap:16px;padding:18px 22px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-q{font-size:15.5px;font-weight:700;line-height:1.7}
.faq-mark{position:relative;display:grid;place-items:center;width:32px;height:32px;
  flex:none;border-radius:999px;background:var(--soft);color:var(--accent);
  transition:background .18s,color .18s}
.faq-mark::before,.faq-mark::after{content:"";position:absolute;background:currentColor;
  border-radius:2px;transition:opacity .2s ease,transform .2s ease}
.faq-mark::before{width:14px;height:2px}
.faq-mark::after{width:2px;height:14px}
.faq-item[open] .faq-mark{background:var(--btn);color:var(--btn-ink)}
.faq-item[open] .faq-mark::after{opacity:0;transform:scaleY(0)}
.faq-a{padding:0 22px 20px}
.faq-a p{font-size:14px;color:var(--ink-2);line-height:2;margin:0;max-width:64ch}
@media(prefers-reduced-motion:reduce){.faq-mark{transition:none}}

/* ---------- a heading that follows a grid needs air ---------- */
.after-grid{padding-top:clamp(30px,4vw,48px)}

/* ---------- previous / next, alone ---------- */
/* One neighbour and a blank half looked like something had failed to load. */
.pager:has(.pager-card:only-child){grid-template-columns:minmax(0,520px);
  justify-content:center}
/* Alone, the arrow, the picture and the name sit together in the middle. */
.pager .pager-card:only-child{grid-column:1;justify-content:center}

/* ---------- the viewer on a phone ---------- */
@media(max-width:620px){
  /* The caption used to be clipped against the bottom edge; now it scrolls. */
  .lb-foot{flex-direction:column;align-items:stretch;gap:6px}
  .lb-cap{max-height:7.5em;overflow-y:auto;overscroll-behavior:contain;
    text-align:start;padding:2px 2px 2px 0;-webkit-overflow-scrolling:touch}
  .lb-count{align-self:flex-end;padding-inline-end:4px}
}
.lb-cap::-webkit-scrollbar{width:3px}
.lb-cap::-webkit-scrollbar-thumb{background:rgba(249,241,227,.3);border-radius:3px}

/* ---------- the footer on a phone ---------- */
/* Four stacked columns made it a long scroll of its own. */
@media(max-width:900px){
  .foot-in{grid-template-columns:1fr 1fr;gap:26px 22px;padding:32px var(--gut) 26px}
  .foot-brand{grid-column:1/-1;flex-direction:row;align-items:center;gap:14px}
  .foot-logo{width:52px;height:52px}
  .foot-id{min-height:52px}
  .foot-bio{font-size:13.5px;line-height:1.7;max-width:none}
  .foot-where{line-height:1.7}
}
@media(max-width:520px){
  .foot-in{gap:22px 18px}
  .foot-col{font-size:13px;gap:7px}
  .foot-bio{font-size:13px;max-width:none}
  .foot-bot{font-size:11.5px;padding-block:14px}
}

/* ---------- the home-page story ---------- */
/* Static by default (no JS, reduced motion): the heading, the buttons and
   the drawn cake side by side. `.is-live` is added before first paint and
   turns it into a tall section with a sticky stage the scroll plays. */
.story{padding-block:clamp(18px,2.6vw,30px)}
.story-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(20px,4vw,56px);align-items:center}
.story-copy{display:grid;min-width:0}
.story-copy>*{grid-area:1/1}
.story-intro{display:flex;flex-direction:column;gap:20px}
.story-intro h1{line-height:1.26}
.story-art{position:relative;aspect-ratio:400/480;max-height:min(70vh,560px);
  justify-self:center;width:100%}
.story-svg{display:block;width:100%;height:100%;overflow:visible}
.st-box,.story-caps,.story-skip,.story-bar,.story-reveal{display:none}

.story.is-live{height:560vh;padding:0}
.story.is-live .story-stage{position:sticky;top:var(--head-h,72px);
  height:calc(100svh - var(--head-h,72px) - var(--foot-h,0px));overflow:hidden;
  display:flex;align-items:center}
.story.is-live .story-in{width:100%;height:100%;padding-block:clamp(16px,3vh,40px)}
.story.is-live .story-art{height:100%;max-height:none;aspect-ratio:auto}
.story.is-live .st-box{display:inline;opacity:0}
.story.is-live .story-caps{display:grid;list-style:none;margin:0;padding:0;align-self:center}
.story.is-live .story-skip,.story.is-live .story-reveal{display:flex}
.story.is-live .story-bar{display:block}

.story-intro,.story-cap,.story-reveal,.story-svg{will-change:opacity,transform}
.story-cap{grid-area:1/1;display:flex;flex-direction:column;gap:12px;
  opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s ease;
  pointer-events:none}
.story-cap.on{opacity:1;transform:none}
.story-cap strong{font-size:clamp(24px,3.4vw,40px);font-weight:900;line-height:1.35;
  letter-spacing:-.012em;text-wrap:balance}
.story-cap p{margin:0;font-size:clamp(15px,1.5vw,17px);line-height:2;color:var(--muted);max-width:40ch}
.st-layer{transition:opacity .35s ease}
.st-layer.is-dim{opacity:.28}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .st-layer.is-dim{opacity:.5}}
:root[data-theme="dark"] .st-layer.is-dim{opacity:.5}

.story-reveal{position:absolute;inset:4% 10%;flex-direction:column;justify-content:flex-end;
  border-radius:var(--radius-lg);overflow:hidden;opacity:0;pointer-events:none;
  box-shadow:0 0 0 1px var(--line),0 24px 50px -30px rgba(58,35,32,.5);color:#fff}
.story-reveal.on{pointer-events:auto}
.story-reveal .ph{position:absolute;inset:0;border-radius:0}
.story-reveal .ph img{object-position:50% 40%}
.story-reveal-cap{position:relative;display:flex;flex-direction:column;gap:2px;
  padding:48px 20px 18px;background:linear-gradient(transparent,rgba(28,16,19,.78))}
.story-reveal-cap strong{font-size:22px;font-weight:900}
.story-reveal-cap em{font-style:normal;font-size:14px;opacity:.92}
.story-reveal:hover{color:#fff}

.story-skip{position:absolute;inset-block-end:clamp(14px,3vh,26px);inset-inline-end:var(--gut);
  align-items:center;gap:6px;padding:8px 16px;border-radius:999px;cursor:pointer;
  font:inherit;font-size:13px;font-weight:700;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);
  box-shadow:0 6px 18px -10px rgba(58,35,32,.35);transition:opacity .3s ease,border-color .15s}
.story-skip:hover{border-color:var(--accent);color:var(--accent)}
.story-skip.is-done{opacity:0;pointer-events:none}
.story-bar{position:absolute;inset-inline:0;inset-block-end:0;height:3px;background:var(--line)}
.story-bar i{display:block;height:100%;background:var(--accent);transform-origin:right;
  transform:scaleX(0)}
[dir="ltr"] .story-bar i{transform-origin:left}

@media(max-width:860px){
  .story-in{grid-template-columns:1fr}
  .story-art{max-height:52vh;order:-1}
  /* the skip button sits under the drawing, not on top of it */
  .story.is-live .story-in{grid-template-rows:auto minmax(0,1fr);gap:8px;padding-bottom:64px}
  .story.is-live .story-art{order:0}
  .story-intro{gap:14px}
  .story-intro .hero-cta .btn-lg{padding:12px 20px;font-size:14px}
  .story-reveal{inset:2% 14%}
  .story-skip{inset-inline-end:50%;transform:translateX(-50%)}
  [dir="ltr"] .story-skip{transform:translateX(50%)}
}
