/* ════════════════════════════════════════════════════════════
   BookArt · Site system ("Stained glass")
   Colour comes from the full colour designs. Ink runs between
   coloured panes like the lead in a stained glass window.
   ════════════════════════════════════════════════════════════ */

:root{
  /* palette */
  /* brand accent: the teal of the logo (the variable keeps its old name) */
  --crimson:#1E6B74;
  --crimson-hi:#2C808B;
  --moss:#3F4D3F;
  --night:#1F3A55;
  --blush:#EAD6CF;
  --ivory:#F5EFE3;
  --ink:#141414;
  --white:#FFFFFF;
  --muted-dk:rgba(245,239,227,.72);   /* secondary text on dark */
  --muted-lt:rgba(20,20,20,.66);      /* secondary text on light */
  --line-lt:rgba(20,20,20,.12);

  /* type */
  --serif:'DM Serif Display',Georgia,serif;
  --sans:'DM Sans',system-ui,sans-serif;
  --t-xs:.8125rem; --t-s:.9375rem; --t-m:1.0625rem; --t-l:1.3125rem;
  --t-2xl:clamp(2.2rem,4.4vw,3.6rem);
  --t-hero:clamp(3.2rem,7vw,6.8rem);

  /* layout */
  --gut:clamp(1.25rem,4vw,3.5rem);
  --max:1320px;
  --lead:7px;                         /* the ink between panes */
  --radius:4px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--sans);font-size:var(--t-m);line-height:1.6;color:var(--ink);background:var(--ivory);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px var(--ivory)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.01em}

/* ── buttons & links ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font:500 var(--t-s)/1 var(--sans);text-decoration:none;padding:1.05rem 1.6rem;border-radius:999px;border:0;background:var(--ivory);color:var(--ink);cursor:pointer;transition:transform .2s,background .2s}
.btn:hover{background:var(--white);transform:translateY(-1px)}
.btn-ink{background:var(--ink);color:var(--ivory)}
.btn-ink:hover{background:#2a2a2a}
.btn-crimson{background:var(--crimson);color:var(--ivory)}
.btn-crimson:hover{background:var(--crimson-hi)}
.link{font-size:var(--t-s);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.link:hover{text-decoration-thickness:2px}

/* ── navigation ── */
.site-nav{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.site-nav .logo img{height:30px;width:auto}
.site-nav ul{display:none} /* all links live in the hamburger menu */
.site-nav ul a{text-decoration:none;color:var(--muted-dk)}
.site-nav ul a:hover,.site-nav ul a[aria-current="page"]{color:var(--ivory)}
.menu-btn{display:inline-flex;align-items:center;gap:.65rem;background:none;border:0;color:var(--ivory);font:500 var(--t-s)/1 var(--sans);letter-spacing:.04em;cursor:pointer;padding:.6rem 0}
.menu-btn::before{content:"";width:24px;height:16px;flex:none;background:linear-gradient(currentColor,currentColor) top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) bottom/100% 2px no-repeat;transition:opacity .2s}
.menu-btn:hover::before{opacity:.75}
.menu-top .menu-btn::before{width:18px;height:18px;background:linear-gradient(45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(-45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px))}
.menu{position:fixed;inset:0;z-index:300;background:var(--ink);color:var(--ivory);display:flex;flex-direction:column;padding:1.5rem var(--gut) 2.5rem;transform:translateY(-100%);transition:transform .35s ease;visibility:hidden}
.menu.open{transform:none;visibility:visible}
.menu-top{display:flex;justify-content:space-between;align-items:center}
.menu-top img{height:30px;width:auto}
.menu ul{list-style:none;margin-top:3rem;display:grid;gap:1.25rem}
.menu ul a{font-family:var(--serif);font-size:2.4rem;line-height:1;text-decoration:none}
.menu ul a:hover,.menu ul a[aria-current="page"]{color:var(--blush)}
/* desktop: the menu drops down as a panel on the right, over a dimmed page */
@media (min-width:961px){
  .menu{left:auto;bottom:auto;width:420px;max-height:100vh;overflow:auto;padding:1.5rem 2.25rem 2.25rem;box-shadow:0 0 0 100vmax rgba(20,20,20,0);transition:transform .35s ease,box-shadow .35s ease}
  .menu.open{box-shadow:0 0 0 100vmax rgba(20,20,20,.5)}
  .menu ul{margin-top:2.25rem;gap:1.1rem}
  .menu ul a{font-size:2rem}
  .menu a.btn{margin-top:2.5rem}
}
.menu .btn{margin-top:auto;align-self:flex-start}

/* inner pages: the nav sits on its own crimson bar */
.topbar{background:var(--crimson);color:var(--ivory)}
.topbar .site-nav{max-width:var(--max);margin:0 auto;padding:1.25rem var(--gut)}

/* ── hero ── */
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:min(88vh,860px);background:var(--crimson);color:var(--ivory)}
.hero-text{display:flex;flex-direction:column;justify-content:space-between;padding:1.5rem var(--gut) clamp(2.5rem,5vw,4rem)}
.hero h1{font-size:var(--t-hero);line-height:.95;margin:3rem 0 1.5rem;max-width:11ch;text-wrap:balance}
.hero p{font-size:var(--t-l);color:var(--muted-dk);max-width:32ch;margin-bottom:2rem;font-weight:300}
.hero-actions{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
.hero-img{position:relative;overflow:hidden;margin:0}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-img figcaption{position:absolute;left:1.25rem;bottom:1.25rem;background:var(--ink);color:var(--ivory);font-size:var(--t-xs);padding:.45rem .8rem;border-radius:999px}

/* ── bands ── */
.facts{background:var(--blush)}
.facts p{font-family:var(--serif);font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.2;max-width:30ch;padding:clamp(2.5rem,5vw,4rem) 0}
.sec{padding:clamp(4rem,8vw,7rem) 0}
.sec.flush-top{padding-top:0}
.moss{background:var(--moss);color:var(--ivory)}
.night{background:var(--night);color:var(--ivory)}
.inkband{background:var(--ink);color:var(--ivory)}
.head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:clamp(2rem,4vw,3rem);flex-wrap:wrap}
.head h2{font-size:var(--t-2xl);line-height:1.02;max-width:16ch}
.head p{color:var(--muted-lt);max-width:40ch}
.on-dark .head p{color:var(--muted-dk)}

/* ── steps: a real sequence, so numbered ── */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1rem,2vw,1.75rem);list-style:none}
.step img{aspect-ratio:4/5;object-fit:cover;width:100%}
.step h3{font-size:var(--t-m);font-weight:500;margin:1.1rem 0 .35rem;display:flex;gap:.65rem;align-items:baseline}
.step h3 span{color:var(--crimson);font-weight:500;font-variant-numeric:tabular-nums}
.step p{font-size:var(--t-s);color:var(--muted-lt);max-width:30ch}

/* ── product card (on a band) ── */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,2rem)}
.card{display:block;text-decoration:none;color:inherit}
.card img{aspect-ratio:4/5;object-fit:cover;width:100%;border-radius:var(--radius)}
.card h3{font-family:var(--serif);font-weight:400;font-size:1.5rem;margin-top:.9rem;line-height:1.1}
.card p{font-size:var(--t-s);color:var(--muted-dk)}

/* ── the window: product panes with ink between them ── */
.window{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:clamp(230px,25vw,350px);gap:var(--lead);background:var(--ink)}
.pane{display:flex;flex-direction:column;text-decoration:none;overflow:hidden;position:relative}
.pane img{flex:1;min-height:0;width:100%;object-fit:cover;transition:transform .6s ease}
.pane:hover img{transform:scale(1.04)}
.pane .cap{padding:.7rem .95rem .85rem;display:flex;justify-content:space-between;align-items:baseline;gap:.75rem}
.pane .cap b{font-family:var(--serif);font-weight:400;font-size:1.15rem;line-height:1.1}
.pane .cap span{font-size:var(--t-xs);white-space:nowrap}
.pane.lt{color:var(--ink)}   .pane.lt .cap span{color:var(--muted-lt)}
.pane.dk{color:var(--ivory)} .pane.dk .cap span{color:var(--muted-dk)}
.pane.big{grid-column:span 2;grid-row:span 2}
.pane.big .cap b{font-size:1.6rem}
.pane.tall{grid-row:span 2}
.pane .new{position:absolute;top:.75rem;left:.75rem;background:var(--ink);color:var(--ivory);font-size:var(--t-xs);padding:.3rem .65rem;border-radius:999px}
.window-foot{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:2rem;flex-wrap:wrap;color:var(--muted-dk);font-size:var(--t-s)}

/* ── reviews & video ── */
.reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem 1.5rem}
.reviews img{width:100%;border-radius:var(--radius)}
.videos{display:grid;grid-template-columns:repeat(2,minmax(0,360px));gap:1.5rem}
.videos iframe{width:100%;aspect-ratio:9/16;border:0;border-radius:var(--radius);background:#24435f}
.sub-head{margin-top:clamp(4rem,7vw,6rem)}

/* ── quote ── */
.quote{padding:clamp(4rem,9vw,8rem) 0}
.quote p{font-family:var(--serif);font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.05;max-width:18ch;color:var(--crimson)}

/* ── articles ── */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,2rem)}
.post{text-decoration:none;display:block;background:var(--white);border-radius:var(--radius);padding:1.5rem 1.5rem 1.75rem;border-top:6px solid var(--night)}
.post:nth-child(3n+2){border-top-color:var(--crimson)} .post:nth-child(3n+3){border-top-color:var(--moss)}
.post .kind{font-size:var(--t-xs);color:var(--muted-lt)}
.post h3{font-family:var(--serif);font-weight:400;font-size:1.55rem;line-height:1.1;margin:.5rem 0 .6rem}
.post p{font-size:var(--t-s);color:var(--muted-lt)}
.post:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}

/* ── creator program ── */
.creator{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:start}
.creator h2{font-size:var(--t-2xl);line-height:1.02;margin-bottom:1rem}
.creator .lead{font-size:var(--t-l);font-weight:300;color:var(--muted-dk);margin-bottom:1.5rem;max-width:30ch}
.creator ol{padding-left:1.2rem;color:var(--muted-dk);font-size:var(--t-s);display:grid;gap:.5rem;max-width:38ch}
.creator ol li::marker{color:var(--ivory)}
.creator-video{margin-top:2rem;max-width:320px}
.creator-video iframe{width:100%;aspect-ratio:4/5;border:0;border-radius:var(--radius);background:#33403a}
.form{display:grid;gap:1rem;background:var(--ivory);color:var(--ink);padding:clamp(1.25rem,3vw,2rem);border-radius:var(--radius)}
.form label{display:block;font-size:var(--t-xs);color:var(--muted-lt);margin-bottom:.3rem}
.form input,.form select,.form textarea{width:100%;font:400 var(--t-m)/1.4 var(--sans);color:var(--ink);background:var(--white);border:1px solid rgba(20,20,20,.18);border-radius:var(--radius);padding:.7rem .8rem}
.form textarea{min-height:5.5rem;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--crimson);outline-offset:0}
.form-note{font-size:var(--t-xs);color:var(--muted-lt)}
.form-error{font-size:var(--t-xs);color:var(--crimson);font-weight:500}
.form-done{display:none;background:var(--ivory);color:var(--ink);padding:clamp(1.25rem,3vw,2rem);border-radius:var(--radius)}
.form-done h3{font-family:var(--serif);font-weight:400;font-size:1.8rem;margin-bottom:.5rem}

/* ── closing band & footer ── */
.close{background:var(--crimson);color:var(--ivory)}
.close .wrap{padding-top:clamp(4rem,8vw,7rem);padding-bottom:clamp(4rem,8vw,7rem);display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap}
.close h2{font-size:clamp(2.6rem,6vw,5.4rem);line-height:.98;max-width:12ch}
.site-footer{background:var(--ink);color:var(--muted-dk);font-size:var(--t-xs);padding:1.75rem 0}
.site-footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-footer nav{display:flex;gap:1.5rem;flex-wrap:wrap}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--ivory)}

/* ── shop button that follows on phones, once the hero is gone ── */
.shop-float{display:none}

/* ── responsive ── */
@media (max-width:960px){
  .hero{grid-template-columns:1fr;min-height:0}
  .hero-img{aspect-ratio:4/5;order:2}
  .hero h1{margin-top:2rem}
  .steps{grid-template-columns:repeat(2,1fr);row-gap:2.25rem}
  .window{grid-template-columns:repeat(2,1fr);grid-auto-rows:clamp(220px,52vw,340px)}
  .reviews{grid-template-columns:1fr}
  .posts{grid-template-columns:1fr}
  .creator{grid-template-columns:1fr}
  .shop-float{display:inline-flex;position:fixed;left:50%;bottom:1rem;z-index:200;transform:translate(-50%,160%);transition:transform .35s ease;box-shadow:0 8px 24px rgba(20,20,20,.25)}
  .shop-float.show{transform:translate(-50%,0)}
}
@media (max-width:600px){
  .steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:1rem;margin:0 calc(var(--gut)*-1);padding:0 var(--gut)}
  .step{flex:0 0 72%;scroll-snap-align:start}
  .cards{grid-template-columns:repeat(3,1fr);gap:.6rem}
  .card h3{font-size:1.05rem}
  .card p{font-size:var(--t-xs)}
  .pane .cap{flex-direction:column;gap:.1rem;padding:.55rem .7rem .7rem}
  .pane .cap b{font-size:1rem}
  .pane.big .cap b{font-size:1.25rem}
  .videos{grid-template-columns:1fr 1fr;gap:.75rem}
  .head h2{font-size:2.2rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ════ inner pages ════ */
.page-head{background:var(--crimson);color:var(--ivory)}
.page-head .wrap{padding-top:clamp(2rem,5vw,4rem);padding-bottom:clamp(2.5rem,5vw,4.5rem);display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap}
.page-head h1{font-size:clamp(2.8rem,6vw,5.4rem);line-height:.96;max-width:12ch;text-wrap:balance}
.page-head p{font-size:var(--t-l);font-weight:300;color:var(--muted-dk);max-width:34ch}

/* ── chips (filters, options) ── */
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{border:1px solid rgba(245,239,227,.35);background:transparent;color:var(--ivory);border-radius:999px;padding:.55rem .95rem;font:400 var(--t-s)/1.1 var(--sans);cursor:pointer;transition:background .15s,color .15s,border-color .15s;display:inline-flex;gap:.45rem;align-items:baseline}
.chip:hover{border-color:var(--ivory)}
.chip[aria-pressed="true"]{background:var(--ivory);color:var(--ink);border-color:var(--ivory)}
.chip small{font-size:var(--t-xs);opacity:.7;font-variant-numeric:tabular-nums}

/* ── collection toolbar ── */
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem 2rem;flex-wrap:wrap;margin-bottom:1.75rem}
.sort{display:flex;align-items:center;gap:.6rem;font-size:var(--t-s);color:var(--muted-dk)}
.sort select{font:400 var(--t-s)/1.2 var(--sans);color:var(--ivory);background:transparent;border:1px solid rgba(245,239,227,.35);border-radius:999px;padding:.55rem 2rem .55rem .95rem;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ivory) 50%),linear-gradient(135deg,var(--ivory) 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px;background-repeat:no-repeat;cursor:pointer}
.sort select option{color:var(--ink)}
.window{grid-auto-flow:dense}
.window.plain .pane{grid-column:auto;grid-row:auto}
.pane[hidden]{display:none}
.result-count{color:var(--muted-dk);font-size:var(--t-s);margin-top:1.5rem}
.empty{color:var(--ivory);padding:3rem 0;font-size:var(--t-l)}
.empty button{background:none;border:0;color:var(--ivory);font:inherit;text-decoration:underline;text-underline-offset:.25em;cursor:pointer}
@media (max-width:600px){
  .toolbar .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(var(--gut)*-1);padding:0 var(--gut) .25rem;scrollbar-width:none}
  .toolbar .chips::-webkit-scrollbar{display:none}
  .chip{flex:none}
}

/* ════ blog index ════ */
.feature-post{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center;text-decoration:none;color:inherit}
.feature-post .img{aspect-ratio:4/3;overflow:hidden;border-radius:var(--radius)}
.feature-post img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.feature-post:hover img{transform:scale(1.03)}
.feature-post .kind{font-size:var(--t-xs);color:var(--muted-dk)}
.feature-post h2{font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.02;margin:.6rem 0 1rem}
.feature-post p{color:var(--muted-dk);max-width:44ch;margin-bottom:1.5rem}
.feature-post .link{color:var(--ivory)}
.post.has-img{padding:0;overflow:hidden;display:flex;flex-direction:column}
.post.has-img .img{aspect-ratio:16/10;overflow:hidden;background:var(--ink)}
.post.has-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.post.has-img:hover img{transform:scale(1.04)}
.post.has-img .body{padding:1.25rem 1.4rem 1.6rem}

/* ════ articles ════ */
.article-header{background:var(--crimson);color:var(--ivory)}
.article-header>*{max-width:760px;margin-left:auto;margin-right:auto;padding-left:var(--gut);padding-right:var(--gut)}
.article-header{padding:clamp(2rem,5vw,3.5rem) 0 clamp(2.5rem,5vw,4rem)}
.breadcrumb{display:flex;flex-wrap:wrap;gap:.5rem;font-size:var(--t-xs);color:var(--muted-dk);margin-bottom:1.75rem}
.breadcrumb a{color:var(--muted-dk);text-decoration:none}
.breadcrumb a:hover{color:var(--ivory)}
.breadcrumb span{opacity:.6}
.article-tag{display:block;font-size:var(--t-xs);color:var(--muted-dk);margin-bottom:.75rem}
.article-title{font-family:var(--serif);font-weight:400;font-size:clamp(2.4rem,5.4vw,4.2rem);line-height:1;letter-spacing:-.01em;margin-bottom:1rem;text-wrap:balance}
.article-meta{font-size:var(--t-xs);color:var(--muted-dk);margin-bottom:1.5rem}
.article-lead{font-size:var(--t-l);line-height:1.55;font-weight:300;color:var(--ivory)}
.article-header .article-shot{margin:2.5rem auto 0;padding:0;max-width:min(1000px,calc(100% - 2*var(--gut)))}
.article-body{max-width:760px;margin:0 auto;padding:clamp(2.5rem,5vw,4rem) var(--gut) clamp(3rem,6vw,5rem)}
.article-body>p,.article-body li{font-size:1.0625rem;line-height:1.8;margin-bottom:1.35rem;color:#262626}
.article-body ul,.article-body ol{padding-left:1.3rem;margin-bottom:1.35rem}
.article-body li{margin-bottom:.5rem}
.article-body h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.8rem,3.4vw,2.5rem);line-height:1.08;margin:3.25rem 0 1rem}
.article-body h3{font-size:1.2rem;font-weight:600;margin:2.25rem 0 .7rem}
.article-body a:not([class]){color:var(--crimson);text-decoration-thickness:1px;text-underline-offset:.2em}
.article-body strong{font-weight:600;color:var(--ink)}
.article-body>img{border-radius:var(--radius);height:auto}
.highlight{background:var(--blush);border-left:4px solid var(--crimson);padding:1.25rem 1.5rem;margin:2.25rem 0;font-family:var(--serif);font-size:1.4rem;line-height:1.3;border-radius:0 var(--radius) var(--radius) 0}
.article-shot{display:block;margin:2.25rem 0;position:relative;line-height:0;border-radius:var(--radius);overflow:hidden}
.article-shot img{width:100%;transition:transform .5s ease}
.article-shot:hover img{transform:scale(1.02)}
.article-shot::after{content:attr(data-label);position:absolute;right:12px;bottom:12px;background:var(--ink);color:var(--ivory);font:500 var(--t-xs)/1 var(--sans);padding:.5rem .8rem;border-radius:999px;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none}
.article-shot:hover::after,.article-shot:focus-visible::after{opacity:1;transform:none}
@media (hover:none){.article-shot::after{opacity:1;transform:none}}
.article-cta{margin:3rem 0;background:var(--night);color:var(--ivory);padding:clamp(1.75rem,4vw,2.5rem);border-radius:var(--radius)}
.article-cta strong{display:block;font-family:var(--serif);font-weight:400;font-size:1.9rem;line-height:1.1;margin-bottom:.5rem;color:var(--ivory)}
.article-cta p{color:var(--muted-dk);margin-bottom:1.25rem;max-width:46ch}
.btn-cta{display:inline-flex;align-items:center;font:500 var(--t-s)/1 var(--sans);text-decoration:none;padding:1.05rem 1.6rem;border-radius:999px;background:var(--ivory);color:var(--ink);transition:background .2s}
.btn-cta:hover{background:var(--white)}
.article-faq{margin:3.5rem 0}
.article-faq h2{margin-top:0}
.faq-item{border-top:1px solid var(--line-lt)}
.faq-item:last-child{border-bottom:1px solid var(--line-lt)}
.faq-q{font-weight:500;padding:1.1rem 2rem 1.1rem 0;cursor:pointer;position:relative}
.faq-q::after{content:'+';position:absolute;right:.25rem;top:.95rem;font-size:1.35rem;line-height:1;color:var(--crimson);transition:transform .2s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{display:none;padding:0 0 1.25rem;color:var(--muted-lt);line-height:1.75}
.faq-item.open .faq-a{display:block}
.related{background:var(--moss);color:var(--ivory);padding:clamp(3.5rem,7vw,5.5rem) 0}
.related-inner{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.related .section-eyebrow{display:block;font-family:var(--serif);font-size:var(--t-2xl);line-height:1;margin-bottom:2rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,2rem)}
.related-card{display:block;background:var(--ivory);color:var(--ink);text-decoration:none;padding:1.4rem 1.4rem 1.6rem;border-radius:var(--radius)}
.related-tag{display:block;font-size:var(--t-xs);color:var(--muted-lt);margin-bottom:.4rem}
.related-title{font-family:var(--serif);font-size:1.45rem;line-height:1.1;margin-bottom:.75rem}
.related-read{font-size:var(--t-s);font-weight:500;text-decoration:underline;text-underline-offset:.3em}
@media (max-width:960px){
  .feature-post{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
}

/* home: a slim band that points to the templates preview */
.soon{background:var(--blush);color:var(--ink)}
.soon .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem 2rem;flex-wrap:wrap;padding-top:1.6rem;padding-bottom:1.6rem}
.soon p{font-family:var(--serif);font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.15;max-width:34ch}

/* product pages */
.pd{padding:clamp(1.5rem,4vw,3rem) 0 clamp(3rem,6vw,5rem)}
.pd-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.pd-main{aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;background:var(--blush)}
.pd-main img{width:100%;height:100%;object-fit:cover}
.pd-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:.6rem;margin-top:.6rem;max-width:100%}
.thumb{padding:0;border:2px solid transparent;border-radius:calc(var(--radius) - 2px);overflow:hidden;cursor:pointer;background:none;aspect-ratio:4/5}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb[aria-pressed="true"]{border-color:var(--crimson)}
.pd-info{position:sticky;top:1.5rem}
.pd-crumb{font-size:var(--t-xs);color:var(--muted-lt);margin-bottom:1rem}
.pd-crumb a{color:inherit}
.pd-info h1{font-size:clamp(2.6rem,5vw,4.2rem);line-height:.98;margin-bottom:1rem}
.pd-desc{font-size:var(--t-l);font-weight:300;line-height:1.5;margin-bottom:1.5rem}
.pd-price{margin-bottom:1rem;color:var(--muted-lt)}
.pd-price b{font-family:var(--serif);font-weight:400;font-size:2rem;color:var(--ink);margin-right:.35rem}
.pd-buy{width:100%;margin-bottom:1.75rem}
.pd-specs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line-lt)}
.pd-specs div{padding:.85rem 0;border-bottom:1px solid var(--line-lt)}
.pd-specs div:nth-child(odd){padding-right:1rem}
.pd-specs dt{font-size:var(--t-xs);color:var(--muted-lt)}
.pd-specs dd{font-weight:500}
.pd-edition{margin-top:1.75rem;background:var(--blush);border-radius:var(--radius);padding:1.25rem 1.4rem}
.pd-edition h2{font-size:1.5rem;margin-bottom:.35rem}
.pd-edition p{font-size:var(--t-s);color:var(--muted-lt);margin-bottom:.75rem}
.pd-edition ul{font-size:var(--t-s);padding-left:1.1rem;display:grid;gap:.25rem}
.pd-for{padding-top:0}

.pd-for h2{font-size:var(--t-2xl);line-height:1.02;margin-bottom:1rem}
.pd-for p{font-size:var(--t-l);font-weight:300;line-height:1.55;max-width:46ch}
.pd-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.75rem,2vw,1.5rem)}
.pd-steps figure{margin:0}
.pd-steps img{border-radius:var(--radius);aspect-ratio:4/5;object-fit:cover;width:100%}
.pd-steps figcaption{margin-top:.75rem;font-size:var(--t-s);color:var(--muted-dk)}
.pd-faq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(1.5rem,4vw,4rem)}
.pd-faq h2{font-size:var(--t-2xl);line-height:1.02}
.pd-related{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.75rem,2vw,1.5rem)}
.rel{display:block;text-decoration:none;color:inherit}
.rel img{border-radius:var(--radius);aspect-ratio:4/5;object-fit:cover;width:100%;margin-bottom:.75rem}
.rel b{display:block;font-family:var(--serif);font-weight:400;font-size:1.5rem;line-height:1.1}
.rel span{font-size:var(--t-s);color:var(--muted-dk)}
@media (max-width:860px){
  .pd-grid,.pd-faq{grid-template-columns:1fr}
  .pd-info{position:static}
  .pd-steps{grid-template-columns:repeat(3,minmax(70%,1fr));overflow-x:auto;scroll-snap-type:x mandatory}
  .pd-steps figure{scroll-snap-align:start}
  .pd-related{grid-template-columns:repeat(3,minmax(62%,1fr));overflow-x:auto;scroll-snap-type:x mandatory}
  .rel{scroll-snap-align:start}
}
.pd-price span{font-size:var(--t-s)}
.pd-buy{margin-bottom:.75rem}
.pd-alt{font-size:var(--t-s);margin-bottom:.4rem}
.pd-note{font-size:var(--t-xs);color:var(--muted-lt);margin-bottom:1.5rem}
.page-head .pg-link{margin-top:1rem;font-size:var(--t-s)}
.page-head .pg-link .link{color:inherit}

/* our own reels, played when they come into view */
.reels{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.75rem,2vw,1.25rem)}
.reel{margin:0;position:relative}
.reel video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:var(--radius);background:#24435f;display:block}
.reel figcaption{margin-top:.6rem;font-size:var(--t-s)}
.reel figcaption a{color:inherit;text-decoration:underline;text-underline-offset:.25em}
.reel-sound{position:absolute;top:.6rem;right:.6rem;background:rgba(20,20,20,.72);color:var(--ivory);border:0;border-radius:999px;font:500 var(--t-xs)/1 var(--sans);padding:.45rem .75rem;cursor:pointer}
.reel-sound[aria-pressed="true"]{background:var(--crimson)}
@media (max-width:860px){.reels{grid-template-columns:repeat(4,minmax(62%,1fr));overflow-x:auto;scroll-snap-type:x mandatory}.reel{scroll-snap-align:start}}
/* product gallery video */
.pd-main video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.thumb.is-video{position:relative}
.thumb.is-video::after{content:'';position:absolute;inset:0;margin:auto;width:0;height:0;border-left:14px solid var(--ivory);border-top:9px solid transparent;border-bottom:9px solid transparent;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
[hidden]{display:none!important}
