/* Witty Soul — site styles (redesign 2026-11)
   Quiet, typographic, lots of breathing room. Palette from the brand kit:
   charcoal slate, muted sage, dusty rose, muted griege, pale stone, soft white.
   Bodoni Moda echoes the "Witty" wordmark; Jost echoes "SOUL". Self-hosted (SIL OFL). */

@font-face{font-family:"Bodoni Moda";src:url(fonts/bodoni-moda-latin-wght-normal.woff2) format("woff2");font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:"Bodoni Moda";src:url(fonts/bodoni-moda-latin-wght-italic.woff2) format("woff2");font-weight:400 900;font-style:italic;font-display:swap}
@font-face{font-family:"Jost";src:url(fonts/jost-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --slate:#3d3e41;--ink:#2e2f32;--muted:#63635e;--soft-ink:#8d8c86;
  --paper:#faf8f4;--card:#ffffff;--stone:#f1eee8;--griege:#d9d3c9;--line:#e4dfd6;
  --sage:#b8c1b1;--sage-soft:#e2e7de;--sage-deep:#536150;
  --rose:#e1babc;--rose-soft:#f5e7e5;--rose-deep:#8f5c59;
  --serif:"Bodoni Moda",Didot,"Bodoni 72",Georgia,serif;
  --sans:"Jost","Futura","Century Gothic",system-ui,sans-serif;
  --radius:6px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:var(--paper);font:400 1.0625rem/1.7 var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:.25em;text-decoration-thickness:1px}
a:hover{color:var(--sage-deep)}
img{display:block;max-width:100%;height:auto}
button,input,select{font:inherit;color:inherit}
h1,h2,h3,p{margin-top:0}
h1{font:500 clamp(2.4rem,5vw,4.4rem)/1.04 var(--serif);letter-spacing:-.01em;margin-bottom:20px;font-variation-settings:"opsz" 96}
h2{font:500 clamp(1.8rem,3.2vw,2.7rem)/1.1 var(--serif);margin-bottom:14px;font-variation-settings:"opsz" 72}
h3{font:500 1.02rem/1.4 var(--sans);margin-bottom:.4rem}
h1 em,h2 em{font-style:italic;font-weight:400;color:var(--rose-deep)}
.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.skip{position:absolute;top:-100px;left:1rem;background:#fff;padding:.8rem 1rem;z-index:99}
.skip:focus{top:1rem}
:focus-visible{outline:2px solid var(--slate);outline-offset:4px}
.eyebrow{text-transform:uppercase;font:500 .76rem/1.4 var(--sans);letter-spacing:.24em;margin:0 0 14px;color:var(--sage-deep)}

/* ---------- top bar + header ---------- */
.topline{background:var(--sage);color:var(--ink);text-align:center;padding:.5rem 1rem;font-size:.8rem;letter-spacing:.2em;text-transform:uppercase}
.header{position:sticky;top:0;z-index:50;background:rgba(250,248,244,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}
.brand{display:flex;align-items:center;gap:12px;flex:none;text-decoration:none}
.brand img{width:auto;height:72px}
.nav{display:flex;align-items:center;gap:4px}
.nav a{text-decoration:none;font-weight:450;font-size:.98rem;padding:.5rem .8rem;letter-spacing:.02em;position:relative}
.nav a:not(.etsy-link)::after{content:"";position:absolute;left:.8rem;right:.8rem;bottom:.3rem;height:1px;background:var(--rose-deep);transform:scaleX(0);transition:transform .25s}
.nav a:hover::after,.nav a[aria-current]::after{transform:scaleX(1)}
.nav a:hover{color:var(--ink)}
.nav .etsy-link,.mobile-nav .etsy-link{background:var(--slate);color:var(--paper);margin-left:12px;padding:.6rem 1.2rem;border-radius:999px}
.nav .etsy-link:hover{background:var(--ink);color:#fff}
.mobile-nav{display:none;position:relative}
.mobile-nav summary{list-style:none;cursor:pointer;font-weight:500;display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.45rem 1rem;border:1px solid var(--griege);border-radius:999px}
.mobile-nav summary::-webkit-details-marker{display:none}
.mobile-nav summary::before{content:"";width:16px;height:9px;background:linear-gradient(currentColor 0 0) top/100% 1.5px no-repeat,linear-gradient(currentColor 0 0) center/100% 1.5px no-repeat,linear-gradient(currentColor 0 0) bottom/100% 1.5px no-repeat}
.mobile-nav .menu{position:absolute;right:0;top:calc(100% + 12px);background:var(--card);z-index:9;padding:12px;border:1px solid var(--line);box-shadow:0 18px 40px rgba(46,47,50,.14);display:flex;flex-direction:column;gap:2px;min-width:240px;border-radius:var(--radius)}
.mobile-nav .menu a{text-decoration:none;padding:.7rem .9rem;border-radius:4px}
.mobile-nav .menu a:hover{background:var(--stone)}
.mobile-nav .menu .etsy-link{margin:8px 0 0;text-align:center}

/* ---------- buttons ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:50px;background:var(--slate);color:var(--paper);text-decoration:none;padding:.8rem 1.6rem;font-weight:500;letter-spacing:.04em;border:1px solid var(--slate);border-radius:999px;transition:background .2s,color .2s}
.button:hover{background:var(--ink);color:#fff}
.button.ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.button.ghost:hover{background:var(--ink);color:#fff}
.product-info .button{background:var(--slate)}
.text-link{font-weight:500;text-decoration:none;color:var(--sage-deep);border-bottom:1px solid currentColor;padding-bottom:1px;white-space:nowrap}
.text-link:hover{color:var(--rose-deep)}

/* ---------- home hero ---------- */
.home-hero{background:var(--paper);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding:72px 0 80px}
.home-hero h1{max-width:12ch}
.home-hero .aside{font:italic 400 1.3rem/1.5 var(--serif);color:var(--rose-deep);max-width:32ch;margin:-4px 0 22px;padding-left:18px;border-left:1px solid var(--rose)}
.home-hero p.lede{max-width:44ch;color:var(--muted);margin-bottom:30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-stack{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:16px}
.hero-stack::before{content:"";position:absolute;inset:8% -12% -10% 18%;background:var(--sage-soft);border-radius:50% 50% 6px 6px;z-index:0}
.hero-stack a{position:relative;z-index:1;display:block;background:#fff;border:1px solid var(--line);overflow:hidden;border-radius:var(--radius);transition:transform .3s}
.hero-stack a:hover{transform:translateY(-3px)}
.hero-stack a:first-child{grid-row:1/3;align-self:center}
.hero-stack img{width:100%;aspect-ratio:1/1;object-fit:cover}

/* ---------- sections ---------- */
.section{padding:80px 0}
.section.tight{padding-top:24px}
.section.soft{background:var(--stone)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}
.section-head h2{margin:0}
.section-head p{margin:8px 0 0;color:var(--muted);max-width:60ch}
.section-head a{font-size:.95rem;font-weight:500;color:var(--sage-deep);text-decoration:none;border-bottom:1px solid currentColor;white-space:nowrap}
.section-head a:hover{color:var(--rose-deep)}

.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.category-tile{display:flex;flex-direction:column;text-decoration:none;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .25s}
.category-tile:hover{border-color:var(--slate);color:inherit}
.category-tile .tile-art{aspect-ratio:1/1;background:#fff;overflow:hidden}
.category-tile .tile-art img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.category-tile:hover .tile-art img{transform:scale(1.03)}
.category-tile .tile-text{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}
.category-tile h3{font:500 1.2rem/1.2 var(--serif);margin:0}
.category-tile span{font-size:.82rem;color:var(--muted);letter-spacing:.06em;white-space:nowrap}
.category-tile:not(:has(.tile-art)){padding:22px;min-height:120px;justify-content:space-between}

.theme-chips{display:flex;flex-wrap:wrap;gap:10px}
.theme-chips a{border:1px solid var(--griege);background:transparent;padding:.5rem 1.05rem;border-radius:999px;text-decoration:none;font-size:.95rem}
.theme-chips a:hover{background:var(--rose-soft);border-color:var(--rose)}
.theme-chips a span{color:var(--soft-ink);margin-left:.35em;font-size:.85em}

/* manifesto band */
.manifesto{background:var(--sage-soft);padding:88px 0}
.manifesto .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}
.manifesto blockquote{margin:0;font:400 clamp(1.9rem,3.4vw,2.9rem)/1.18 var(--serif);color:var(--ink)}
.manifesto blockquote em{display:block;font-style:italic;color:var(--rose-deep);font-size:.72em;margin-top:14px}
.manifesto p{color:var(--muted);margin-bottom:18px}
.manifesto img{width:120px;height:120px;margin-bottom:18px}

/* ---------- product cards ---------- */
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 22px}
.card{position:relative;display:flex;flex-direction:column;background:transparent}
.card a{text-decoration:none}
.card .card-link{display:flex;flex-direction:column;flex:1;color:inherit}
.card-image{aspect-ratio:1/1;width:100%;background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;overflow:hidden;transition:border-color .25s}
.card-image img{width:100%;height:100%;object-fit:contain;transition:transform .5s}
.card:hover .card-image{border-color:var(--slate)}
.card:hover .card-image img{transform:scale(1.03)}
.card-info{padding:14px 2px 0;display:flex;flex-direction:column;flex:1}
.card-info .type{font:500 .72rem/1.3 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--sage-deep);margin-bottom:6px}
.card-info h3{font:500 1.05rem/1.35 var(--serif);margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card:hover h3{text-decoration:underline;text-decoration-color:var(--rose);text-underline-offset:.2em}
.card-info .place{font-size:.86rem;color:var(--muted);margin:auto 0 0}
.card-info .place::before{content:"— ";color:var(--rose-deep)}
.card[hidden]{display:none}

/* ---------- listing pages ---------- */
.page-head{padding:52px 0 32px}
.page-head h1{font-size:clamp(2.2rem,4.4vw,3.5rem);margin-bottom:12px}
.intro{max-width:680px;color:var(--muted);font-size:1.1rem}
.breadcrumb{margin:0 0 22px;font-size:.88rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px}
.breadcrumb a{text-decoration:none;color:var(--sage-deep)}
.breadcrumb a:hover{text-decoration:underline}
.count{font-size:.9rem;color:var(--muted);margin-bottom:24px;letter-spacing:.04em}
.category-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.category-links a{border:1px solid var(--griege);padding:.45rem .95rem;text-decoration:none;font-size:.9rem;border-radius:999px}
.category-links a:hover{border-color:var(--slate)}
.category-links a[aria-current]{background:var(--slate);border-color:var(--slate);color:var(--paper)}

.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:0 0 20px}
.filters label{flex:1 1 170px;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:.72rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.filters label:first-child{flex:2 1 260px}
.filters input,.filters select{width:100%;min-width:0;min-height:46px;border:1px solid var(--griege);border-radius:var(--radius);padding:.55rem .8rem;background:var(--card);font-size:1rem;text-transform:none;letter-spacing:0;color:var(--ink)}
.filters input:focus,.filters select:focus{outline:2px solid var(--sage);outline-offset:1px}
.filters button{flex:none;min-height:46px;border:1px solid var(--griege);background:transparent;border-radius:999px;padding:.5rem 1.2rem;cursor:pointer}
.filters button:hover{border-color:var(--slate)}
.no-results{padding:40px;text-align:center;border:1px dashed var(--griege);border-radius:var(--radius);color:var(--muted)}

/* ---------- product page ---------- */
.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start;padding:0 0 64px}
.product-media{position:sticky;top:110px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:contain}
.product-info h1{font-size:clamp(1.9rem,3.2vw,2.7rem);line-height:1.14}
.product-info .lead{color:var(--muted);font-size:1.08rem}
.product-info .button{width:100%;margin-top:10px;min-height:56px;font-size:1.02rem}
.product-info .button::after{content:"↗"}
.purchase-note{font-size:.88rem;color:var(--muted);margin:12px 0 28px;text-align:center}
.specs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:0}
.specs div{margin:0}
.specs dt{color:var(--muted);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase}
.specs dd{margin:2px 0;font-size:1rem}
.details{padding:26px 0 0;margin:0}
.details h2{font:500 1.4rem/1.3 var(--serif);margin-bottom:12px}
.details ul{padding-left:0;margin:0 0 16px;list-style:none}
.details li{margin:0;padding:8px 0 8px 22px;position:relative;border-bottom:1px solid var(--line)}
.details li:last-child{border-bottom:0}
.details li::before{content:"";position:absolute;left:2px;top:1.15em;width:8px;height:1px;background:var(--rose-deep)}
.details p{color:var(--muted)}
main .product + .section,.related{padding:56px 0 8px;border-top:1px solid var(--line)}

/* ---------- reading pages ---------- */
.reading{max-width:720px;padding-bottom:40px}
.reading > p:first-of-type{font:400 1.55rem/1.45 var(--serif);color:var(--ink)}
.reading h2{font-size:1.7rem;margin-top:44px}
.reading p{color:var(--muted)}
.reading .signoff{font:italic 400 1.5rem/1.4 var(--serif);color:var(--rose-deep);margin-top:28px}
.reading .hero-actions{margin-top:26px}
.story-art{margin:6px 0 36px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.story-art img{width:100%;aspect-ratio:4/1;object-fit:cover}
.notfound{padding:90px 0;max-width:720px}

/* ---------- footer ---------- */
.footer{margin-top:80px;background:var(--slate);color:#d8d5ce;padding:0 0 26px}
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-top:56px;align-items:start}
.footer-brand{display:flex;gap:22px;align-items:center}
.footer-brand img{width:104px;height:104px;flex:none}
.footer strong{display:block;font:500 1.6rem/1.2 var(--serif);color:#fff;margin-bottom:6px}
.footer p{font-size:.95rem;color:#c9c6bf;max-width:400px;margin:0}
.footer h2{font:500 .74rem/1.3 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--rose);margin:6px 0 14px}
.footer-links{display:flex;flex-direction:column;gap:8px;font-size:.98rem}
.footer-links a{text-decoration:none;color:#ece9e2}
.footer-links a:hover{color:var(--rose);text-decoration:underline}
.footer small{display:block;margin-top:44px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:.82rem;color:#a9a69f}


/* ---------- product gallery (Etsy photos + video) ---------- */
.product-gallery{position:sticky;top:110px;min-width:0}
.product-gallery .product-media{position:static}
.thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
.thumbs button{padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;cursor:pointer;aspect-ratio:1/1}
.thumbs button[aria-current]{outline:2px solid var(--slate);outline-offset:1px}
.thumbs img{width:100%;height:100%;object-fit:cover}
.product-video{display:block;width:100%;margin-top:12px;border-radius:8px;background:#000;aspect-ratio:1/1}
.product-info .subtitle{color:var(--muted);font-size:1rem;margin:-6px 0 16px}
.details p{margin:0 0 10px}
@media(max-width:720px){.product-gallery{position:static}.thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- responsive ---------- */
@media(max-width:1080px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product{gap:36px}
  .nav a{padding:.5rem .55rem}
  .hero-grid{gap:36px}
}
@media(max-width:920px){
  .nav{display:none}
  .mobile-nav{display:block}
  .hero-grid{grid-template-columns:1fr;padding:44px 0 56px}
  .hero-stack{max-width:520px}
  .manifesto .wrap{grid-template-columns:1fr;gap:28px}
}
@media(max-width:720px){
  body{font-size:1rem}
  .wrap{width:calc(100% - 32px)}
  .topline{font-size:.68rem;letter-spacing:.14em}
  .header-inner{min-height:70px;gap:12px}
  .brand img{height:52px}
  .home-hero h1{font-size:2.5rem}
  .home-hero .aside{font-size:1.12rem}
  .hero-actions .button{flex:1 1 100%}
  .hero-stack{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .hero-stack a:first-child{grid-row:auto}
  .hero-stack::before{display:none}
  .section{padding:52px 0}
  .manifesto{padding:56px 0}
  .section-head{flex-direction:column;align-items:start;gap:8px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
  .card-info h3{font-size:.98rem}
  .card-info .type{font-size:.64rem;letter-spacing:.14em}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .category-tile .tile-text{flex-direction:column;gap:2px;padding:10px 12px}
  .category-tile h3{font-size:1.05rem}
  .product{grid-template-columns:1fr;gap:24px}
  .product-media{position:static}
  .product-info h1{font-size:1.85rem}
  .page-head{padding-top:30px}
  .category-links{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:0 16px 6px;scrollbar-width:none}
  .category-links::-webkit-scrollbar{display:none}
  .category-links a{flex:none}
  .filters{gap:10px}
  .filters label{flex-basis:130px;font-size:.66rem}
  .filters button{flex:1 1 100%;min-height:40px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:28px}
  .footer-brand{grid-column:1/-1}
  .story-art img{aspect-ratio:3/1}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
@media print{.header,.topline,.footer,.filters{display:none}}
