/* =====================================================================
   SarcasmArt — sarcasmart.com — v2 (Shop-CI)
   Paper · Ink · Rot (DE) · Rust (INT) · Gold sparkles · Vintage serif
   Fonts (self-hosted): Playfair Display (display), Lora (body), Oswald (labels)
   ===================================================================== */
@font-face { font-family: "Playfair"; src: url("../fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("../fonts/playfair-display-latin-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F5E9D0;
  --paper-2: #EEDFBF;
  --paper-light: #FBF3E3;
  --ink: #1B1815;
  --ink-soft: rgba(27,24,21,0.72);
  --line: rgba(27,24,21,0.22);
  --rot: #B3292A;
  --gold: #E4A32C;
  --rust: #C3652C;
  --olive: #6E7346;

  --font-display: "Playfair", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
.track img, .about img, .final__img img, .cat-img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; transition: top 150ms; }
.skip:focus { top: 12px; }

/* Paper grain — the banners' texture, very subtle */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.2 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Type helpers ---------- */
.label { font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { font-family: var(--font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rot); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; opacity: 0.6; }
.lead { font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-soft); max-width: 60ch; font-style: italic; }
.display { font-family: var(--font-display); font-weight: 900; line-height: 1; letter-spacing: -0.012em; }
.display .em { color: var(--rot); }
.display .em-int { color: var(--rust); }

/* Sparkle rule: ——— ✦ ——— */
.rule { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--ink), var(--rot), var(--gold)); opacity: 0.85; }
.rule::after { background: linear-gradient(90deg, var(--gold), var(--rot), var(--ink)); }
.rule svg { width: 18px; height: 18px; color: var(--rot); flex: none; }
.rule--int::before { background: linear-gradient(90deg, var(--ink), var(--rust), var(--gold)); }
.rule--int::after { background: linear-gradient(90deg, var(--gold), var(--rust), var(--ink)); }
.rule--int svg { color: var(--rust); }

/* Vintage double frame */
.frame { border: 2px solid var(--ink); border-radius: var(--radius); position: relative; background: var(--paper-light); }
.frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--ink); border-radius: calc(var(--radius) - 6px); pointer-events: none; opacity: 0.7; }

/* Rubber stamp */
.stamp { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.25; text-align: center;
  padding: 8px 12px; border: 2px solid currentColor; border-radius: 6px; box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px currentColor;
  transform: rotate(-5deg); mix-blend-mode: multiply; opacity: 0.85; }
.stamp--rot { color: var(--rot); } .stamp--rust { color: var(--rust); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 15px; padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  transition: transform 220ms var(--ease), box-shadow 220ms, background 200ms; }
.btn svg { width: 20px; height: 20px; transition: transform 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(27,24,21,0.55); }
.btn:hover svg { transform: translateX(4px); }
.btn--rot { background: var(--rot); color: var(--paper-light); }
.btn--rust { background: var(--rust); color: var(--paper-light); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--font-label); font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink); opacity: 0.8; }
.nav a:hover { opacity: 1; color: var(--rot); }
.lang-switch { display: inline-flex; padding: 3px; border: 2px solid var(--ink); border-radius: 999px; }
.lang-switch button { border: 0; background: transparent; border-radius: 999px; padding: 5px 11px; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; color: var(--ink); transition: background 200ms, color 200ms; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 7vw, 92px); max-width: 16ch; margin-inline: auto; }
.hero h1 .line { display: block; }
.hero .lead { margin: 22px auto 0; }
.hero .rule { max-width: 520px; margin: 26px auto 0; }

/* ---------- The fork ---------- */
.fork-wrap { padding-bottom: clamp(56px, 7vw, 96px); }
.fork { --l: 1fr; --r: 1fr; display: grid; grid-template-columns: var(--l) var(--r); gap: 26px; transition: grid-template-columns 520ms var(--ease); }
.fork:has(.shop--de:hover),  .fork:has(.shop--de:focus-within)  { --l: 1.08fr; --r: 0.92fr; }
.fork:has(.shop--int:hover), .fork:has(.shop--int:focus-within) { --l: 0.92fr; --r: 1.08fr; }

.shop { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease); }
.shop:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(27,24,21,0.6); }
.shop.frame::after { z-index: 2; }
.shop__visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--paper); margin: 8px 8px 0; border-radius: 10px 10px 0 0; }
.shop__visual img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 900ms var(--ease); }
.shop:hover .shop__visual img { transform: scale(1.03); }
.shop__visual .stamp { position: absolute; top: 16px; right: 16px; background: rgba(245,233,208,0.75); }
.shop__visual .reco { position: absolute; left: 16px; top: 16px; }
.reco { display: none; align-items: center; gap: 8px; font-family: var(--font-label); font-weight: 600; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.reco::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.shop.is-recommended .reco { display: inline-flex; }
.shop.is-recommended { box-shadow: 0 0 0 4px var(--gold); }
.shop.is-recommended:hover { box-shadow: 0 0 0 4px var(--gold), 0 30px 60px -30px rgba(27,24,21,0.6); }

.shop__body { padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.shop__flags { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.flag { width: 30px; height: 21px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(27,24,21,0.2); }
.globe { width: 30px; height: 30px; color: var(--rust); }
.shop .eyebrow { margin-bottom: 8px; }
.shop--int .eyebrow { color: var(--rust); }
.shop h2 { font-size: clamp(30px, 3vw, 42px); }
.shop__tag { margin-top: 6px; font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rot); }
.shop--int .shop__tag { color: var(--rust); }
.shop__what { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.shop__facts { margin-top: 16px; display: grid; gap: 8px; }
.shop__facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.shop__facts svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--gold); }
.shop__cta { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.shop__note { font-size: 12.5px; font-style: italic; color: var(--ink-soft); max-width: 22ch; text-align: right; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .lead { color: rgba(245,233,208,0.72); }
.section--ink .rule::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.section--ink .rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section--ink .rule svg { color: var(--gold); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(30px, 4vw, 52px); display: grid; gap: 14px; justify-items: center; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 58px); }
.section__head .rule { width: min(100%, 420px); }

/* ---------- Banner gallery ---------- */
.gallery { display: grid; gap: 36px; }
.gallery__row { display: grid; gap: 14px; }
.gallery__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.gallery__head h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.gallery__head h3 img { height: 34px; width: auto; }
.gallery__head a { font-family: var(--font-label); font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--rot); white-space: nowrap; }
.gallery__row--int .gallery__head a { color: var(--rust); }
.track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { height: 6px; } .track::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 999px; }
.track a { flex: 0 0 min(86%, 860px); scroll-snap-align: start; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper-light); transition: transform 300ms var(--ease), box-shadow 300ms; }
.track a:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(27,24,21,0.6); }
.track img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.track__hint { font-size: 13px; font-style: italic; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.track__hint svg { width: 16px; height: 16px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about figure { margin: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper-light); display: grid; }
.about img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about figcaption { padding: 16px 18px 18px; border-top: 2px solid var(--ink); }
.about figcaption b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1.15; margin-bottom: 6px; }
.about figcaption span { color: var(--ink-soft); font-size: 14.5px; }
.about-quote { margin: clamp(30px, 4vw, 48px) auto 0; text-align: center; max-width: 720px; }
.about-quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.about-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Compare ---------- */
.compare { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-light); }
.compare__row { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > * { padding: 16px 20px; font-size: 15.5px; }
.compare__row > *:nth-child(2), .compare__row > *:nth-child(3) { border-left: 1px solid var(--line); }
.compare__row--head > * { font-family: var(--font-display); font-weight: 900; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.compare__row--head > *:nth-child(2) { background: var(--rot); color: var(--paper-light); }
.compare__row--head > *:nth-child(3) { background: var(--rust); color: var(--paper-light); }
.compare__label { font-family: var(--font-label); font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; }
.compare__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform 300ms var(--ease), background 200ms; }
.faq .plus::before { content: "+"; font-family: var(--font-label); font-size: 18px; line-height: 1; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--gold); }
.faq__a { padding: 0 0 22px; color: var(--ink-soft); max-width: 66ch; font-size: 16px; }
.faq__a a { color: var(--ink); }

/* ---------- Final CTA ---------- */
.final { padding: clamp(60px, 8vw, 110px) 0; }
.final__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
.final__img { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; max-width: 380px; justify-self: center; background: var(--paper-light); transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(27,24,21,0.6); }
.final__img img { width: 100%; }
.final h2 { font-size: clamp(38px, 5.6vw, 76px); }
.final .lead { margin-top: 18px; }
.final__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 44px 0 34px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--paper); text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; color: rgba(245,233,208,0.7); font-size: 14.5px; line-height: 1.6; }
.site-footer .logos { display: flex; gap: 22px; align-items: center; margin-bottom: 14px; }
.site-footer .logos img { height: 64px; width: auto; filter: brightness(0) invert(0.93) sepia(0.3); opacity: 0.95; }
.site-footer .fine { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(245,233,208,0.16); font-size: 12.5px; color: rgba(245,233,208,0.62); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Legal ---------- */
.legal { padding: clamp(44px, 6vw, 80px) 0; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 38px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin: 10px 0; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal a { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.6; }
.legal .todo { display: inline-block; background: rgba(179,41,42,0.1); color: var(--rot); border: 1px dashed var(--rot); padding: 1px 8px; border-radius: 6px; font-family: var(--font-label); font-size: 13px; letter-spacing: 0.04em; }
.legal .box { border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; background: var(--paper-light); margin: 16px 0; }
.legal .lang-note { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rot); margin-bottom: 18px; }
.legal strong { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .final__grid { grid-template-columns: 1fr; }
  .final__img { max-width: 300px; }
  .final { text-align: center; } .final .lead { margin-inline: auto; } .final__btns { justify-content: center; }
}
@media (max-width: 820px) {
  .fork { grid-template-columns: 1fr !important; gap: 22px; }
  .shop--de { order: var(--order-de, 0); } .shop--int { order: var(--order-int, 1); }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row > * { border-left: 0 !important; }
  .compare__row > *:nth-child(n+2) { border-top: 1px dashed var(--line); }
  .compare__row--head { display: none; }
  .compare__row > *:nth-child(2)::before, .compare__row > *:nth-child(3)::before { content: attr(data-col); display: block; font-family: var(--font-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 3px; }
  .compare__row > *:nth-child(2)::before { color: var(--rot); } .compare__row > *:nth-child(3)::before { color: var(--rust); }
  .track a { flex-basis: 92%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav a { display: none; }
  .brand img { height: 46px; }
  .shop__cta { flex-direction: column; align-items: stretch; }
  .shop__note { text-align: left; max-width: none; }
  .btn { font-size: 14px; padding: 14px 18px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .shop__visual .stamp { display: none; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fork, .shop, .shop__visual img, .btn, .track a { transition: none; }
}
