/* Asharee storefront — tokens and components.
   Tokens are taken from the "Asharee Storefront v2" design page itself. */

:root {
  --cream: #f6f0e8;
  --cream-2: #fbf8f3;
  --sand: #ece2d5;
  --sand-2: #e6d8c8;
  --line: #dccfbf;
  --line-2: #c9b8a4;
  --line-3: #b9a58f;
  --ink: #2a1d16;
  --ink-2: #4a2f22;
  --brown: #82563f;
  --brown-2: #6b4532;
  --muted: #6b5647;
  --muted-2: #5a4636;
  --body: #4a3a2e;
  --gold: #d9b89c;
  --gold-2: #e6d3bf;
  --paper: #efe4d6;
  --wa: #1f6b4a;
  --wa-2: #185a3d;
  --error: #a23b2a;
  --ok: #4f6b3a;
  --dim: #a8988a;

  --font-body: "Jost", system-ui, sans-serif;
  --font-display: "Libre Franklin", sans-serif;

  --max: 1920px;
  --gutter: clamp(20px, 5vw, 96px);
  --block: clamp(64px, 9vw, 120px);
  --ratio: 842 / 595;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--brown); text-decoration: none; }
a:hover { color: var(--ink-2); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button:focus-visible, [tabindex]:focus-visible, a:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
input, textarea { font: inherit; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #8a7666; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 300; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
main { flex: 1; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type helpers */
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brown); font-weight: 500; }
.eyebrow--light { color: var(--gold-2); }
.eyebrow--gold { color: var(--gold); }
.label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.display { font-family: var(--font-display); font-weight: 300; }
.h-xl { font-size: clamp(44px, 5vw, 96px); line-height: 1; letter-spacing: -.02em; }
.h-lg { font-size: clamp(36px, 3.4vw, 64px); line-height: 1.05; }
.h-md { font-size: clamp(30px, 2.8vw, 52px); line-height: 1.05; }
.h-sm { font-size: clamp(26px, 2.2vw, 38px); line-height: 1.15; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.1vw, 19px); line-height: 1.75; color: var(--muted-2); }
.prose { font-size: 16px; line-height: 1.8; color: var(--body); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; }
.g-8 { gap: 8px; } .g-10 { gap: 10px; } .g-12 { gap: 12px; } .g-16 { gap: 16px; } .g-20 { gap: 20px; } .g-24 { gap: 24px; } .g-28 { gap: 28px; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 32px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s; white-space: nowrap; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--gold-2); color: var(--ink); }
.btn--ghost-light { border-color: rgba(246, 240, 232, .7); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(246, 240, 232, .12); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-2); color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); padding: 16px 28px; }
.btn--outline:hover { background: var(--sand); color: var(--ink); }
.btn--wa { background: var(--wa); color: var(--cream); }
.btn--wa:hover { background: var(--wa-2); color: var(--cream); }
.btn--brown { background: var(--brown); color: var(--cream); padding: 13px 20px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.btn--brown:hover { background: var(--brown-2); color: var(--cream); }
.btn--block { width: 100%; height: 50px; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.5; } }
.link-ul { display: inline-block; align-self: flex-start; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; cursor: pointer; color: var(--ink); }
.link-ul:hover { color: var(--brown); }
.link-ul--light { color: var(--cream); }
.link-ul--light:hover { color: var(--cream); opacity: .85; }
.link-ink { font-size: 14px; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--ink); padding-bottom: 2px; color: var(--ink); }
.link-ink:hover { color: var(--brown); }
.link-brown { color: var(--brown); cursor: pointer; font-weight: 600; }
.link-brown:hover { color: var(--ink-2); }

/* Chips and swatches */
.chip { font-size: 13px; padding: 10px 14px; border: 1px solid var(--line-2); cursor: pointer; background: transparent; color: var(--ink); display: inline-flex; gap: 8px; align-items: baseline; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip--pill { border-radius: 999px; padding: 7px 12px; border-color: var(--ink); }
.chip--pill-lg { padding: 10px 16px; }
.chip--cfg { font-size: 14px; padding: 11px 16px; font-weight: 500; }
.swatch { width: 40px; height: 40px; border-radius: 50%; padding: 3px; border: 1.5px solid transparent; cursor: pointer; display: flex; }
.swatch--lg { width: 44px; height: 44px; }
.swatch > i { flex: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(42, 29, 22, .12); }
.swatch.is-on { border-color: var(--ink); }
.swatch:hover { border-color: var(--line-2); }
.swatch.is-on:hover { border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { border: 0; border-bottom: 1px solid var(--line-3); background: transparent; padding: 10px 0; font-size: 16px; outline: none; width: 100%; border-radius: 0; }
.field textarea { border: 1px solid var(--line-3); background: var(--cream-2); padding: 14px; font-size: 15px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brown); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--error); }
.field-err { font-size: 12px; color: var(--error); }
.form-err { font-size: 13px; color: var(--error); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 24px; }
.form-grid--tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.form-grid--sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty--soft { border-color: var(--line-2); }
.qty button { width: 44px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.qty--sm button { width: 36px; height: 36px; font-size: 16px; }
.qty button:hover { background: var(--sand); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.qty--sm output { min-width: 24px; font-size: 14px; }

/* Top bar */
.topbar { background: var(--ink); color: var(--sand-2); font-size: 12px; letter-spacing: .08em; }
.topbar .wrap { padding-top: 9px; padding-bottom: 9px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a, .topbar button { color: var(--sand-2); display: inline-flex; align-items: center; }
.topbar a:hover, .topbar button:hover { color: var(--cream); }
.topbar .links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 240, 232, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 28px; }
.logo { height: 34px; width: auto; cursor: pointer; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; justify-content: center; }
.nav a { font-size: 14px; font-weight: 500; padding: 6px 0; color: var(--ink); border-bottom: 1.5px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--brown); }
.nav a.is-on { color: var(--brown); border-bottom-color: var(--brown); }
.nav a.nav-custom { color: var(--brown); }
.nav a.nav-custom:hover { color: var(--ink-2); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); margin-left: auto; transition: background .2s, color .2s; }
.cart-btn:hover { background: var(--ink); color: var(--cream); }
.cart-btn .count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--brown); color: var(--cream); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; }
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .site-header .wrap { gap: 14px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.is-on { border-bottom-color: var(--line); }
  .cart-btn span:first-child { display: none; }
  .cart-btn { padding: 9px 12px; }
}

/* Hero */
.hero { position: relative; width: 100%; height: calc(100vh - 64px); min-height: 620px; overflow: hidden; background: var(--ink); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; }
.hero::before { background: linear-gradient(90deg, rgba(28, 18, 12, .72) 0%, rgba(28, 18, 12, .38) 45%, rgba(28, 18, 12, 0) 75%); }
.hero::after { background: linear-gradient(0deg, rgba(28, 18, 12, .55) 0%, rgba(28, 18, 12, 0) 40%); }
.hero .wrap { position: relative; z-index: 1; height: 100%; padding-top: clamp(40px, 6vw, 120px); padding-bottom: clamp(40px, 6vw, 120px); display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(28px, 3vw, 48px); color: var(--cream); }
.hero .kicker { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--gold-2); }
.hero h1 { font-size: clamp(52px, 6.4vw, 128px); line-height: 1; letter-spacing: -.025em; max-width: 12ch; }
.hero p { font-size: clamp(15px, 1.05vw, 19px); line-height: 1.7; font-weight: 300; color: var(--paper); max-width: 500px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: clamp(40px, 5vw, 96px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid rgba(246, 240, 232, .3); max-width: 640px; }
.hero .stat { display: flex; flex-direction: column; gap: 6px; }
.hero .stat b { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 3vw, 56px); line-height: 1; }
.hero .stat span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
@media (max-width: 640px) { .hero { height: auto; min-height: 0; } .hero .wrap { min-height: 88vh; } }

/* Promises */
.promises { border-bottom: 1px solid var(--line); }
.promises .wrap { padding-top: clamp(32px, 3.5vw, 56px); padding-bottom: clamp(32px, 3.5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.promise { display: flex; flex-direction: column; gap: 8px; }
.promise b { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.3; }
.promise p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Sections */
.section { padding-top: var(--block); }
.section--pad { padding-bottom: var(--block); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section-head .stack { gap: 10px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.collections h2 { font-size: clamp(38px, 3.8vw, 68px); line-height: 1.05; }
.collections .list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.coll-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; transition: padding-left .2s, color .2s; }
.coll-row:hover { color: var(--brown); padding-left: 8px; }
.coll-row b { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.1; }
.coll-row span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Media frames */
.frame { aspect-ratio: var(--ratio); overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--zoom img { transition: transform .5s ease; }
.card:hover .frame--zoom img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--cream); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }

/* Product cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
.grid-cards--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 28px; }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 12px; cursor: pointer; color: var(--ink); width: 100%; }
.card .frame { position: relative; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card .meta .stack { gap: 3px; }
.card .name { font-family: var(--font-display); font-weight: 300; font-size: 22px; }
.card .sub { font-size: 13px; color: var(--muted); }
.card .price { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Bestsellers */
.best { margin-top: var(--block); background: var(--sand); }
.best .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.best-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.best-main { gap: 14px; }
.best-main .frame { background: var(--line); }
.best-main .frame img { transition: transform .5s ease; }
.best-main:hover .frame img { transform: scale(1.03); }
.best-main .name { font-size: 26px; letter-spacing: -.01em; }
.best-main .sub { font-size: 14px; }
.best-main .price { font-size: 17px; }
.best-rest { display: flex; flex-direction: column; gap: 20px; }
.best-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: center; cursor: pointer; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; }
.best-row:hover { opacity: .85; }
.best-row .frame { background: var(--line); }
.best-row .stack { gap: 6px; }
.best-row .name { font-family: var(--font-display); font-weight: 300; font-size: 20px; }
.best-row .sub { font-size: 13px; color: var(--muted); line-height: 1.45; }
.best-row .price { font-weight: 600; font-size: 15px; padding-top: 4px; }

/* Feature banners */
.banners { padding-top: clamp(64px, 9vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: 24px; }
.banner { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); cursor: pointer; display: block; width: 100%; color: var(--cream); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.banner:hover img { transform: scale(1.03); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 18, 12, .7) 0%, rgba(28, 18, 12, 0) 60%); }
.banner .text { position: absolute; z-index: 1; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 48px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.banner h3 { font-size: clamp(30px, 2.8vw, 52px); line-height: 1.05; max-width: 14ch; }
.banner p { font-size: 15px; color: var(--paper); }
@media (max-width: 640px) { .banner { aspect-ratio: 4 / 5; } }

/* Story */
.story { padding-top: clamp(64px, 9vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(32px, 6vw, 120px); align-items: center; }
.story .stack { gap: 24px; max-width: 620px; }
.story h2 { letter-spacing: -.01em; }
.story p { font-size: 16px; line-height: 1.75; color: var(--muted-2); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border: 1px solid var(--line); background: var(--cream-2); }
.quote blockquote { font-family: var(--font-display); font-weight: 300; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; }
.quote figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.quote figcaption b { font-weight: 600; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.insta-grid button { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.insta-grid button:hover { opacity: .85; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); color: var(--ink); padding: 13px 22px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transition: background .2s, color .2s; }
.social-btn:hover { background: var(--ink); color: var(--cream); }
.social-btn svg { width: 18px; height: 18px; }

/* Blog */
.journal { padding-bottom: clamp(64px, 9vw, 140px); }
.journal .section-head { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 112px); }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; margin-top: 32px; }
.post { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.post:hover { color: var(--brown); }
.post .frame { aspect-ratio: 16 / 10; }
.post .tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.post .title { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 1.8vw, 32px); line-height: 1.2; }
.post .excerpt { font-size: 15px; line-height: 1.7; color: var(--muted-2); }

/* SEO block */
.seo { background: var(--sand); }
.seo .wrap { padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(64px, 8vw, 128px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(32px, 6vw, 120px); }
.seo .stack { gap: 20px; }
.seo .copy { max-width: 760px; }

/* Newsletter */
.newsletter { background: var(--ink); color: var(--cream); }
.newsletter .wrap { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(48px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.newsletter .stack { gap: 10px; max-width: 640px; }
.newsletter .headline { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.2vw, 40px); line-height: 1.2; }
.newsletter form { display: flex; flex: 1 1 360px; max-width: 520px; border-bottom: 1px solid rgba(246, 240, 232, .5); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 0; font-size: 16px; color: var(--cream); outline: none; }
.newsletter button { padding: 14px 0 14px 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--cream); }
.newsletter button:hover { color: var(--gold); }
.newsletter .thanks { font-size: 15px; color: var(--sand-2); }

/* Page heads */
.page { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs button, .crumbs a { color: inherit; }
.crumbs button:hover, .crumbs a:hover { color: var(--brown); }
.page-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.page-head .title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(44px, 5vw, 88px); letter-spacing: -.02em; line-height: 1; }
.page-head .count { font-size: 14px; color: var(--muted); }

/* Listing */
.listing { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.filters { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 28px; }
.filters .group { display: flex; flex-direction: column; gap: 10px; }
.filters .cats { display: flex; flex-direction: column; gap: 4px; }
.filters .cats .eyebrow { padding-bottom: 8px; }
.filters .cats button { font-size: 15px; padding: 6px 0; color: var(--ink); }
.filters .cats button:hover { color: var(--brown); }
.filters .cats button.is-on { color: var(--brown); font-weight: 600; }
.results { flex: 999 1 480px; min-width: 0; }
@media (max-width: 720px) { .filters { max-width: none; flex-basis: 100%; } .filters .cats { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; } .filters .cats .eyebrow { width: 100%; } }
.empty { border: 1px dashed var(--line-2); padding: clamp(40px, 6vw, 80px) 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--cream-2); }
.empty h2 { font-size: 28px; }
.empty p { font-size: 15px; color: var(--muted-2); max-width: 520px; line-height: 1.55; }

/* Product */
.product { padding-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.product-grid .frame { position: sticky; top: 90px; }
.product-info { display: flex; flex-direction: column; gap: 26px; max-width: 520px; }
.product-info h1 { font-size: clamp(44px, 4.8vw, 76px); letter-spacing: -.02em; line-height: 1; }
.product-info .blurb { font-size: 15px; line-height: 1.55; color: var(--muted-2); }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-row .big { font-family: var(--font-display); font-weight: 300; font-size: 30px; }
.price-row .note { font-size: 13px; color: var(--muted); }
.opt { display: flex; flex-direction: column; gap: 12px; }
.opt .opt-label { font-size: 13px; }
.opt .opt-label b { font-weight: 600; }
.opt .opt-label span { color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); margin-top: -4px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn--brown { flex: 1; min-width: 200px; height: 50px; font-size: 15px; }
.added { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--sand); font-size: 14px; flex-wrap: wrap; }
.pin-box { display: flex; border: 1px solid var(--line-2); overflow: hidden; background: var(--cream-2); }
.pin-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 14px; font-size: 14px; outline: none; }
.pin-box button { padding: 13px 18px; font-size: 14px; font-weight: 600; color: var(--brown); }
.pin-box button:hover { color: var(--ink-2); }
.pin-msg { font-size: 13px; }
.pin-msg.ok { color: var(--ok); }
.pin-msg.bad { color: var(--error); }
.acc { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > button { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; font-weight: 600; font-size: 15px; }
.acc-item > button:hover { color: var(--brown); }
.acc-item p { padding-bottom: 18px; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.related { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.related h2 { font-size: clamp(32px, 3vw, 52px); }

/* Cart */
.cart-page h1 { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cart-layout { display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; align-items: flex-start; }
.cart-lines { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; }
.cart-line { display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line .frame { cursor: pointer; }
.cart-line .body { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.cart-line .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cart-line .name { font-family: var(--font-display); font-weight: 300; font-size: 20px; }
.cart-line .spec { font-size: 13px; color: var(--muted); }
.cart-line .total { font-weight: 600; font-size: 16px; }
.cart-line .bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-line .remove { font-size: 13px; color: var(--muted); text-decoration: underline; }
.cart-line .remove:hover { color: var(--brown); }
.summary { flex: 1 1 300px; max-width: 420px; background: var(--sand); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.summary--wide { max-width: 440px; padding: 32px; }
.summary .title { font-family: var(--font-display); font-weight: 300; font-size: 20px; padding-bottom: 6px; }
.summary--wide .title { font-size: 26px; }
.summary .line { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; }
.summary .total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--line-2); }
.summary--wide .total { font-weight: 500; }
.summary .fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.summary .btn { margin-top: 6px; height: 50px; }
.summary .btn--wa { height: 54px; }
.summary .continue { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); }
.summary .continue:hover { color: var(--brown); }
.details-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.details-form .intro { display: flex; flex-direction: column; gap: 8px; }
.details-form .intro h2 { font-size: clamp(30px, 2.6vw, 44px); }
.details-form .intro p { font-size: 14px; color: var(--muted-2); line-height: 1.6; max-width: 560px; }
.back-link { font-size: 13px; color: var(--muted); }
.back-link:hover { color: var(--brown); }
.placed { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 560px; }
.placed h2 { font-size: 32px; }
.placed p { font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* Info pages */
.info { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(72px, 8vw, 140px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 80px); }
.info-head { display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
.info-body { display: flex; gap: clamp(32px, 6vw, 120px); flex-wrap: wrap; align-items: flex-start; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.info-nav { flex: 1 1 200px; max-width: 260px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 110px; }
.info-nav a { font-size: 15px; padding: 8px 0; color: inherit; font-weight: 300; }
.info-nav a:hover { color: var(--brown); }
.info-nav a.is-on { color: var(--brown); font-weight: 500; }
@media (max-width: 720px) { .info-nav { position: static; max-width: none; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; } }
.info-content { flex: 999 1 560px; min-width: 0; max-width: 880px; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.info-sec { display: flex; flex-direction: column; gap: 16px; }
.info-sec ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.info-sec li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--body); }
.ticket { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 40px; }
.ticket .intro { display: flex; flex-direction: column; gap: 8px; }
.ticket .intro p { font-size: 14px; color: var(--muted-2); line-height: 1.6; }
.ticket-done { display: flex; flex-direction: column; gap: 18px; background: var(--sand); padding: clamp(24px, 3vw, 40px); }
.ticket-done .no { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 3.6vw, 64px); line-height: 1; letter-spacing: .02em; }
.ticket-done p { font-size: 15px; line-height: 1.7; color: var(--body); max-width: 620px; }
.btn--text { padding: 15px 8px; color: var(--muted); }
.btn--text:hover { color: var(--brown); }

/* Custom order */
.custom { padding-top: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.custom-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(24px, 5vw, 96px); align-items: end; }
.custom-head .stack { gap: 20px; }
.custom-head .copy { max-width: 620px; }
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.step { display: flex; flex-direction: column; gap: 12px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 3.4vw, 64px); line-height: 1; color: var(--brown); }
.step .t { font-family: var(--font-display); font-weight: 300; font-size: 26px; }
.step .d { font-size: 15px; line-height: 1.7; color: var(--muted-2); }
.builder { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(72px, 8vw, 140px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stepper button { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--line); color: var(--dim); text-align: left; }
.stepper button .n { font-size: 11px; letter-spacing: .24em; }
.stepper button .l { font-size: clamp(12px, 1vw, 15px); font-weight: 500; }
.stepper button.is-done { border-top-color: var(--brown); color: var(--brown); }
.stepper button.is-on { border-top-color: var(--brown); color: var(--ink); }
@media (max-width: 640px) { .stepper button .l { display: none; } .stepper button.is-on .l { display: block; } }
.q { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2vw, 34px); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; gap: 12px; padding: 10px; background: var(--cream-2); outline: 1.5px solid transparent; cursor: pointer; text-align: left; }
.cat-card:hover { background: var(--sand); }
.cat-card.is-on { background: var(--sand); outline-color: var(--ink); }
.cat-card .frame { background: var(--sand-2); }
.cat-card .noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--brown); text-align: center; padding: 16px; }
.cat-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 4px 4px; }
.cat-card .name { font-family: var(--font-display); font-weight: 300; font-size: 22px; }
.cat-card .sub { font-size: 12px; color: var(--muted); }
.uploads { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.upload { position: relative; width: 200px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.upload img { width: 100%; height: 100%; object-fit: cover; }
.upload button { position: absolute; top: 8px; right: 8px; background: var(--cream); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; }
.upload-add { width: 200px; aspect-ratio: 4 / 3; border: 1px dashed var(--line-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; background: var(--cream-2); text-align: center; padding: 12px; }
.upload-add:hover { background: var(--sand); }
.upload-add .plus { font-family: var(--font-display); font-weight: 300; font-size: 36px; line-height: 1; color: var(--brown); }
.upload-add span { font-size: 13px; color: var(--muted-2); }
.upload-add input { display: none; }
@media (max-width: 480px) { .upload, .upload-add { width: calc(50% - 8px); } }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.ref-card { display: flex; flex-direction: column; gap: 8px; cursor: pointer; padding: 6px; outline: 1.5px solid transparent; text-align: left; }
.ref-card.is-on { outline-color: var(--ink); }
.ref-card .frame { position: relative; }
.ref-card .mark { position: absolute; top: 8px; left: 8px; background: var(--ink); color: var(--cream); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 8px; }
.ref-card .meta { display: flex; justify-content: space-between; gap: 8px; }
.ref-card .name { font-family: var(--font-display); font-weight: 300; font-size: 18px; }
.ref-card .sub { font-size: 12px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 96px); }
.two-col--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); align-items: start; }
.col { display: flex; flex-direction: column; gap: 28px; }
.col--24 { gap: 24px; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brief-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brief-imgs .frame { aspect-ratio: 4 / 3; }
.brief-imgs figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.brief-none { aspect-ratio: 4 / 3; background: var(--sand); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 14px; color: var(--muted); }
.brief-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 2.8vw, 52px); line-height: 1.05; }
.spec-table { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.spec-row .v { display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.spec-row .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(42, 29, 22, .15); }
@media (max-width: 480px) { .spec-row { grid-template-columns: 100px minmax(0, 1fr); } }
.builder-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 28px; }

/* Footer */
.site-footer { background: var(--ink-2); color: var(--cream); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.foot-brand img { height: 40px; width: auto; align-self: flex-start; }
.foot-brand p { font-size: 13px; line-height: 1.7; color: var(--sand-2); }
.foot-brand p.lead-line { font-size: 14px; }
.foot-brand a { color: var(--cream); }
.foot-brand a:hover { color: var(--gold); }
.foot-social { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.foot-social .icons { display: flex; gap: 12px; }
.foot-social .icons a { width: 44px; height: 44px; border: 1px solid rgba(246, 240, 232, .4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cream); transition: background .2s, color .2s; }
.foot-social .icons a:hover { background: var(--cream); color: var(--ink-2); }
.foot-social svg { width: 18px; height: 18px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .eyebrow { font-weight: 600; color: var(--gold); }
.foot-col a { font-size: 14px; color: var(--cream); }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(246, 240, 232, .2); font-size: 13px; color: var(--sand-2); }

/* PHP version additions: form-driven chips, swatches and cards */
.chip input, .swatch input, .cat-card input, .ref-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip, .swatch, .cat-card, .ref-card { position: relative; }
.chip:has(input:checked), .swatch:has(input:checked), .cat-card:has(input:checked), .ref-card:has(input:checked) { --on: 1; }
.chip:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.swatch:has(input:checked) { border-color: var(--ink); }
.cat-card:has(input:checked) { background: var(--sand); outline-color: var(--ink); }
.ref-card:has(input:checked) { outline-color: var(--ink); }
.ref-card .mark { display: none; }
.ref-card.is-on .mark, .ref-card:has(input:checked) .mark { display: block; }
.chip:focus-within, .swatch:focus-within, .cat-card:focus-within, .ref-card:focus-within { outline: 2px solid var(--brown); outline-offset: 3px; }
.qty input[type="number"] { width: 44px; border: 0; text-align: center; font-weight: 600; font: inherit; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filters .cats a { font-size: 15px; padding: 6px 0; color: var(--ink); }
.filters .cats a:hover { color: var(--brown); }
.filters .cats a.is-on { color: var(--brown); font-weight: 600; }
.product-grid--below { margin-top: 26px; }
@media (max-width: 900px) { .product-grid--below > div:first-child { display: none; } }
.acc-item p { display: none; }
.acc-item.is-open p { display: block; }
.stepper a, .stepper span[role="listitem"] { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--line); color: var(--dim); text-align: left; }
.stepper a .n, .stepper span .n { font-size: 11px; letter-spacing: .24em; }
.stepper a .l, .stepper span .l { font-size: clamp(12px, 1vw, 15px); font-weight: 500; }
.stepper .is-done { border-top-color: var(--brown); color: var(--brown); }
.stepper .is-on { border-top-color: var(--brown); color: var(--ink); }
.cat-card, .ref-card { display: flex; }
.insta-grid a { aspect-ratio: 1; overflow: hidden; background: var(--sand); display: block; }
.insta-grid a:hover { opacity: .85; }
.price-old { color: var(--muted); font-weight: 400; margin-right: 6px; }
.price-old--lg { font-family: var(--font-display); font-weight: 300; font-size: 20px; }
.avail-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: -10px; }
.avail-row .note { font-size: 13px; color: var(--muted); }
.avail { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; background: var(--sand); color: var(--muted); }
.avail--in_stock { background: #e3efe2; color: #2f4d2a; }
.avail--out_of_stock, .avail--discontinued { background: #f5e0dc; color: #7a2a1e; }
.flash { font-size: 14px; padding: 12px 0; }
.flash--success { background: #e3efe2; color: #2f4d2a; }
.flash--error { background: #f5e0dc; color: #7a2a1e; }
.card { text-decoration: none; }
.pin-box button, .cart-line .remove { background: none; }

/* Blog */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 32px; align-items: start; }
.post--lead .frame { aspect-ratio: 16 / 10; }
.post--lead .title { font-size: clamp(28px, 2.6vw, 44px); }
.post--lead .excerpt { font-size: 16px; }
.post--lead .link-ul { margin-top: 4px; }
.journal-side { display: flex; flex-direction: column; gap: 24px; }
.post--row { flex-direction: row; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.post--row .frame { flex: 0 0 min(42%, 220px); aspect-ratio: 4 / 3; }
.post--row .title { font-size: clamp(20px, 1.5vw, 24px); }
.post--row .excerpt { font-size: 14px; }
@media (max-width: 480px) { .post--row { flex-direction: column; align-items: stretch; } .post--row .frame { flex-basis: auto; } }
.blog-cats { margin-top: -8px; }
.posts--grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.pager { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding-top: 16px; }
.article { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); max-width: 1200px; }
.article-head { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.article-head h1 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.05; letter-spacing: -.02em; }
.article-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-meta span + span::before { content: "·"; margin-right: 22px; color: var(--line-2); }
.article-hero { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .article-body:has(.toc) { grid-template-columns: 240px minmax(0, 1fr); } .toc { position: sticky; top: 100px; } }
.toc { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); background: var(--cream-2); }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.toc a { color: var(--ink); font-size: 14px; }
.toc a:hover { color: var(--brown); }
.toc .toc-l3 { padding-left: 14px; font-size: 13px; }
.article-content { max-width: 760px; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.8; color: var(--body); }
.article-content > * + * { margin-top: 1.2em; }
.article-content h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; color: var(--ink); margin-top: 1.8em; }
.article-content h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; color: var(--ink); margin-top: 1.5em; }
.article-content p { margin-top: 1.2em; }
.article-content img { width: 100%; height: auto; display: block; }
.article-content figure { margin: 1.8em 0; }
.article-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-content ul, .article-content ol { padding-left: 1.3em; }
.article-content li { margin-top: .5em; }
.article-content ul { list-style: disc; }
.article-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--brown); font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4; color: var(--ink); }
.article-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-content th, .article-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-content th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-content a { color: var(--brown); border-bottom: 1px solid var(--line-2); }
.article-content a:hover { color: var(--ink-2); border-color: var(--ink-2); }
.article-content .btn { border-bottom: 0; }
.article-content iframe, .article-content video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-cta { background: var(--ink); color: var(--cream); padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.article-cta .headline { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.2; }
.article-cta p { font-size: 15px; color: var(--paper); max-width: 560px; line-height: 1.6; }
.article-related { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.article-related .posts { margin-top: 0; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .frame img, .banner img { transition: none !important; } }
