/* ============================================================
   AVA MOBILLI — Manufactură de mobilier · shop
   Design language: flute · arch · curve · brass
   Type: Fraunces (display) × Hanken Grotesk (text)
   ============================================================ */

:root {
  /* --- surfaces (warm greige plaster, NOT cream) --- */
  --porcelain: #f6f3ed;
  --paper:     #e9e3d8;
  --sand:      #ddd4c4;
  --espresso:  #1c1712;
  --espresso-2:#251e16;

  /* --- ink & text --- */
  --ink:   #221b14;
  --ink-2: #4a4034;
  --mute:  #857868;
  --faint: #a89c8a;
  --line:  #d5cbba;
  --line-2:#c6bba6;
  --on-dark:      #efe7d6;
  --on-dark-mute: #b3a892;
  --line-dark:    rgba(239,231,214,0.16);

  /* --- accents --- */
  --brass:   #a97c3f;
  --brass-2: #c39a58;
  --emerald: #22463a;
  --emerald-2: #2d5748;
  --orange:  #d8531f;   /* sale tag only */

  /* --- type --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* --- fluid scale --- */
  --t--2: clamp(0.72rem, 0.7rem + 0.08vw, 0.78rem);
  --t--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.9rem);
  --t-0:  clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem);
  --t-1:  clamp(1.12rem, 1rem + 0.5vw, 1.4rem);
  --t-2:  clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
  --t-3:  clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --t-4:  clamp(2.6rem, 1.7rem + 4.2vw, 5.4rem);
  --t-5:  clamp(3.2rem, 1.3rem + 8.4vw, 9rem);

  /* --- layout --- */
  --wrap: 1440px;
  --pad: clamp(1.15rem, 0.4rem + 3vw, 4.5rem);
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 26px;

  /* --- motion --- */
  --e: cubic-bezier(0.22, 1, 0.36, 1);
  --e2: cubic-bezier(0.16, 1, 0.3, 1);
  --f: 0.3s;
  --m: 0.55s;
  --s: 0.9s;

  --flute-lite: repeating-linear-gradient(90deg, rgba(34,27,20,0.045) 0 1px, transparent 1px 8px);
  --flute-dark: repeating-linear-gradient(90deg, rgba(239,231,214,0.05) 0 1px, transparent 1px 8px);
  --shadow: 0 30px 70px -40px rgba(30,20,10,0.5);
  --shadow-sm: 0 14px 40px -26px rgba(30,20,10,0.45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: var(--t-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--emerald); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display { font-family: var(--display); font-weight: 340; line-height: 0.98; letter-spacing: -0.02em; }
.italic, em { font-style: italic; }
.serif-em { font-family: var(--display); font-style: italic; font-weight: 380; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t--1);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before {
  content: ""; width: 1.8em; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--t-1); color: var(--ink-2); line-height: 1.5; }
.mute { color: var(--mute); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--wide { max-width: 1720px; }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 9rem); }
.section--sm { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.bg-porcelain { background: var(--porcelain); }
.bg-sand { background: var(--sand); }
.bg-espresso { background: var(--espresso); color: var(--on-dark); }
.bg-emerald { background: var(--emerald); color: var(--on-dark); }
.rule { height: 1px; background: var(--line); border: 0; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.head__title { font-size: var(--t-3); max-width: 20ch; }
.head__title .serif-em { display: inline; }

/* ---------- fluted + arch motifs ---------- */
.flute { background-image: var(--flute-lite); }
.bg-espresso .flute, .bg-emerald .flute { background-image: var(--flute-dark); }
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--arch { border-radius: 500px 500px var(--r) var(--r) / 60% 60% var(--r) var(--r); }
.media--arch-full { border-radius: 999px 999px 0 0 / 50% 50% 0 0; }
.zoom img { transition: transform 1.1s var(--e); }
.zoom:hover img { transform: scale(1.05); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--porcelain); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 1.05em 1.9em; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font-size: var(--t--1); font-weight: 600; letter-spacing: 0.02em; border-radius: 100px;
  transition: transform var(--f) var(--e), background var(--f), color var(--f), border-color var(--f);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; transition: transform var(--f) var(--e); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.2em 2.3em; font-size: var(--t-0); }
.btn--block { width: 100%; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--outline:hover { --bd: var(--ink); background: rgba(34,27,20,0.03); }
.btn--emerald { --bg: var(--emerald); --fg: var(--on-dark); --bd: var(--emerald); }
.btn--emerald:hover { --bg: var(--emerald-2); --bd: var(--emerald-2); }
.btn--light { --bg: var(--porcelain); --fg: var(--ink); --bd: var(--porcelain); }
.btn--on-dark-outline { --bg: transparent; --fg: var(--on-dark); --bd: var(--line-dark); }
.btn--on-dark-outline:hover { --bd: var(--on-dark); background: rgba(239,231,214,0.06); }

.link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--t--1); font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  padding-bottom: 3px; position: relative;
}
.link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform-origin: right; transition: transform var(--m) var(--e); }
.link:hover::after { transform: scaleX(0); transform-origin: left; }
.link svg { width: 1em; height: 1em; stroke: currentColor; fill: none; transition: transform var(--f) var(--e); }
.link:hover svg { transform: translateX(4px); }
.link--brass { color: var(--brass); }

/* ---------- tags / badges ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: var(--t--2); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5em 0.85em; border-radius: 100px; background: var(--porcelain); color: var(--ink); border: 1px solid var(--line);
}
.tag--nou { background: var(--emerald); color: var(--on-dark); border-color: var(--emerald); }
.tag--best { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.tag--sale { background: var(--orange); color: #fff; border-color: var(--orange); }
.tag--ltd { background: transparent; color: var(--brass); border-color: var(--brass); }

/* ============================================================
   HEADER (injected)
   ============================================================ */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 80; color: var(--on-dark); transition: color var(--f), background var(--f), box-shadow var(--f); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: clamp(0.9rem, 0.5rem + 1vw, 1.4rem); }
.hdr.solid { background: color-mix(in srgb, var(--porcelain) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.solid .hdr__in { padding-block: 0.7rem; }
.hdr__nav { display: flex; gap: clamp(1rem, 0.4rem + 1.6vw, 2.3rem); align-items: center; }
.hdr__nav a { font-size: var(--t--1); font-weight: 500; letter-spacing: 0.02em; position: relative; padding-block: 0.4em; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0.15em; height: 1px; width: 0; background: currentColor; transition: width var(--f) var(--e); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { width: 100%; }
.hdr__left { justify-self: start; }
.hdr__right { justify-self: end; gap: clamp(0.5rem, 0.2rem + 1vw, 1.1rem); }
.hdr__logo { justify-self: center; display: inline-grid; line-height: 0; }
.hdr__logo img { grid-area: 1/1; height: clamp(32px, 1rem + 1.6vw, 44px); width: auto; transition: opacity var(--f); }
.hdr__logo .lgt { opacity: 1; } .hdr__logo .ldk { opacity: 0; }
.hdr.solid .lgt, body.menu-open .lgt { opacity: 0; }
.hdr.solid .ldk, body.menu-open .ldk { opacity: 1; }
/* light-top pages: dark header text over light hero, blur bg appears on scroll */
body.light-top .hdr { color: var(--ink); }
body.light-top .hdr .lgt { opacity: 0; }
body.light-top .hdr .ldk { opacity: 1; }
.iconbtn { position: relative; width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: 50%; transition: background var(--f); }
.iconbtn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.iconbtn svg { width: 1.3em; height: 1.3em; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count { position: absolute; top: -0.1em; right: -0.1em; min-width: 1.5em; height: 1.5em; padding: 0 0.35em; border-radius: 100px; background: var(--brass); color: #fff; font-size: 0.62em; font-weight: 700; display: grid; place-items: center; line-height: 1; transform: scale(0); transition: transform var(--f) var(--e); }
.cart-count.on { transform: scale(1); }
.burger { display: none; width: 2.6em; height: 2.6em; place-items: center; }
.burger i { position: relative; width: 22px; height: 1.5px; background: currentColor; display: block; transition: var(--f); }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: var(--f); }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
body.menu-open .burger i { background: transparent; }
body.menu-open .burger i::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger i::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--paper); color: var(--ink); padding: clamp(5.5rem,14vh,8rem) var(--pad) 2.5rem; display: flex; flex-direction: column; transform: translateY(-101%); transition: transform var(--m) var(--e); visibility: hidden; }
body.menu-open .menu { transform: none; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; margin-top: auto; }
.menu__nav a { font-family: var(--display); font-weight: 340; font-size: clamp(2.2rem,1rem+6vw,4rem); padding-block: 0.14em; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.menu__nav a i { font-family: var(--sans); font-style: normal; font-size: 0.8rem; color: var(--faint); letter-spacing: 0.1em; }
.menu__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; color: var(--mute); font-size: var(--t--1); }
.menu__foot a { border-bottom: 1px solid var(--line-2); }

/* ============================================================
   CART DRAWER (injected)
   ============================================================ */
.scrim { position: fixed; inset: 0; z-index: 89; background: rgba(20,14,8,0.4); opacity: 0; visibility: hidden; transition: opacity var(--f), visibility var(--f); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
body.cart-open .scrim { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; z-index: 90; width: min(440px, 92vw); height: 100dvh; background: var(--porcelain); color: var(--ink); display: flex; flex-direction: column; transform: translateX(101%); transition: transform var(--m) var(--e); box-shadow: -30px 0 80px -40px rgba(20,14,8,0.6); }
body.cart-open .drawer { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--pad-d, 1.5rem) 1.1rem; border-bottom: 1px solid var(--line); }
.drawer__top h3 { font-size: var(--t-1); }
.drawer__top .n { color: var(--mute); font-size: var(--t--1); }
.drawer__close { width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: 50%; }
.drawer__close:hover { background: rgba(34,27,20,0.05); }
.drawer__close svg { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 1.6; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }
.drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; gap: 1rem; color: var(--mute); padding: 2rem; }
.drawer__empty .serif-em { font-size: var(--t-2); color: var(--ink); }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.3rem 1.5rem calc(1.3rem + env(safe-area-inset-bottom)); display: grid; gap: 0.9rem; }
.drawer__sub { display: flex; align-items: baseline; justify-content: space-between; }
.drawer__sub b { font-family: var(--display); font-size: var(--t-2); font-weight: 400; }
.drawer__sub span { color: var(--mute); font-size: var(--t--1); }
.drawer__note { font-size: var(--t--2); color: var(--mute); text-align: center; }

.li { display: grid; grid-template-columns: 74px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.li__img { aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--sand); }
.li__img img { width: 100%; height: 100%; object-fit: cover; }
.li__name { font-weight: 600; font-size: var(--t-0); }
.li__meta { color: var(--mute); font-size: var(--t--2); margin-top: 0.15rem; }
.li__price { font-size: var(--t--1); margin-top: 0.4rem; }
.li__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.li__rm { color: var(--faint); font-size: var(--t--2); letter-spacing: 0.08em; text-transform: uppercase; }
.li__rm:hover { color: var(--orange); }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; }
.qty button { width: 2.4em; height: 2.1em; display: grid; place-items: center; font-size: 1rem; color: var(--ink-2); }
.qty button:hover { color: var(--ink); }
.qty input, .qty span { width: 2.2em; text-align: center; border: 0; background: none; font-size: var(--t--1); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ============================================================
   FOOTER (injected)
   ============================================================ */
.ftr { background: var(--espresso); color: var(--on-dark-mute); padding-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.ftr a:hover { color: var(--on-dark); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem 2rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
.ftr__brand img { height: 42px; margin-bottom: 1.4rem; }
.ftr__brand p { font-family: var(--display); font-size: var(--t-1); color: var(--on-dark); max-width: 22ch; line-height: 1.35; }
.ftr__col h4 { font-size: var(--t--2); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1.1rem; }
.ftr__col li { margin-bottom: 0.6rem; }
.ftr__col address { font-style: normal; line-height: 1.9; }
.news { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.6rem; margin-top: 0.4rem; }
.news input { flex: 1; background: none; border: 0; outline: none; color: var(--on-dark); }
.news input::placeholder { color: var(--on-dark-mute); }
.news button svg { width: 1.2em; height: 1.2em; stroke: var(--on-dark); fill: none; }
.socials { display: flex; gap: 1.1rem; margin-top: 1.4rem; }
.socials a svg { width: 1.2em; height: 1.2em; stroke: currentColor; fill: none; }
.ftr__bar { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; padding-block: 1.6rem 2rem; font-size: var(--t--2); color: var(--on-dark-mute); }
.ftr__bar-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--m) var(--e), transform 1.1s var(--e); }
.pcard__media .img2 { opacity: 0; }
.pcard:hover .pcard__media .img1 { opacity: 0; }
.pcard:hover .pcard__media .img2 { opacity: 1; transform: scale(1.04); }
.pcard__tags { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.4rem; z-index: 2; }
.pcard__add { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.6em; padding: 0.9em; background: color-mix(in srgb, var(--porcelain) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 100px; font-size: var(--t--1); font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity var(--f) var(--e), transform var(--f) var(--e), background var(--f); }
.pcard__add svg { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; }
.pcard__add:hover { background: var(--ink); color: var(--porcelain); }
.pcard:hover .pcard__add, .pcard__add:focus-visible { opacity: 1; transform: none; }
.pcard__ref { font-size: var(--t--2); letter-spacing: 0.14em; color: var(--brass); margin-top: 1rem; }
.pcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.35rem; }
.pcard__name { font-family: var(--display); font-size: var(--t-1); font-weight: 400; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__price { font-size: var(--t-0); white-space: nowrap; }
.pcard__price s { color: var(--faint); margin-right: 0.5em; }
.pcard__finish { display: flex; gap: 0.4rem; margin-top: 0.7rem; }
.dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(34,27,20,0.18); box-shadow: inset 0 0 0 2px var(--porcelain); }

/* product grid */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 0.5rem + 2.5vw, 3rem) clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- reveal (only hidden when JS is active) ---------- */
.js [data-r] { opacity: 0; transform: translateY(30px); }
[data-r].shown { opacity: 1; transform: none; transition: opacity var(--s) var(--e), transform var(--s) var(--e); }
.reveal-line { display: inline-block; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  [data-r] { opacity: 1 !important; transform: none !important; }
  .zoom img { transition: none; }
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid var(--brass); border-radius: 50%; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity var(--f), width var(--f) var(--e), height var(--f) var(--e), margin var(--f) var(--e), background var(--f); display: grid; place-items: center; }
.cursor.on { opacity: 1; }
.cursor.grow { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(169,124,63,0.14); }
.cursor__label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); opacity: 0; transition: opacity var(--f); }
.cursor.grow .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--espresso); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.curtain.in { transform: scaleY(1); transform-origin: bottom; transition: transform 0.5s var(--e2); }
.curtain.out { transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--e2); }
.curtain__mark { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.curtain__mark img { height: 46px; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 0.7rem; background: var(--espresso); color: var(--on-dark); padding: 0.85rem 1.2rem; border-radius: 100px; font-size: var(--t--1); box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: transform var(--f) var(--e), opacity var(--f); }
.toast.on { transform: none; opacity: 1; }
.toast svg { width: 1.1em; height: 1.1em; stroke: var(--brass-2); fill: none; }

/* ---------- perks strip ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perk { display: flex; gap: 0.8rem; align-items: flex-start; }
.perk svg { width: 1.6em; height: 1.6em; stroke: var(--brass); fill: none; stroke-width: 1.3; flex: none; margin-top: 0.1em; }
.perk h4 { font-family: var(--sans); font-size: var(--t-0); font-weight: 600; }
.perk p { font-size: var(--t--1); color: var(--mute); }

/* ---------- accordion ---------- */
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; text-align: left; padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem) 0; font-family: var(--display); font-weight: 380; font-size: var(--t-1); }
.acc__ic { position: relative; flex: none; width: 1.3em; height: 1.3em; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: var(--ink); transition: transform var(--f) var(--e); }
.acc__ic::after { transform: rotate(90deg); }
.acc__item.open .acc__ic::after { transform: rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--m) var(--e); }
.acc__a > div { overflow: hidden; }
.acc__item.open .acc__a { grid-template-rows: 1fr; }
.acc__a p { color: var(--mute); max-width: 66ch; padding-bottom: 1.4rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hdr__left, .hdr__right .desk { display: none; }
  .hdr__in { grid-template-columns: auto 1fr auto; }
  .hdr__logo { justify-self: start; }
  .burger { display: grid; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .pgrid--4 { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 720px) {
  .pgrid, .pgrid--4 { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .ftr__grid { grid-template-columns: 1fr; gap: 2rem; }
  .head { flex-direction: column; align-items: flex-start; }
  .cursor { display: none; }
  .pcard__add { opacity: 1; transform: none; background: color-mix(in srgb, var(--porcelain) 82%, transparent); }
}
@media (max-width: 480px) {
  .perks { grid-template-columns: 1fr; }
}
