/* ============================================================
   Summit Paws — Warm Trailside design system
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f1e7;
  --surface: #fdfaf3;
  --surface-2: #ece3d1;
  --ink: #1e2b24;
  --muted: #5d6a62;
  --accent: #c4743b;
  --accent-ink: #9c5729;
  --forest: #2a4436;
  --forest-deep: #22372c;
  --line: #e4dccb;
  --line-strong: #cfc4ad;
  --ok: #3f7a52;
  --warn: #b06a2c;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --r-card: 12px;
  --r-ctl: 10px;
  --r-pill: 999px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 1px 2px rgba(30, 43, 36, 0.06),
    0 8px 24px -12px rgba(30, 43, 36, 0.18);

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
ul[class] { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #fdfaf3; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
input, textarea, select { accent-color: var(--accent); caret-color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong { font-weight: 600; }
.mono, .price, .qty, .totals { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-8); }
@media (min-width: 900px) { .section { padding-block: var(--sp-9); } }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fdfaf3; padding: 12px 20px; border-radius: 0 0 var(--r-ctl) 0;
}
.skip-link:focus { left: 0; }

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 14ch;
}
.h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 560;
  letter-spacing: -0.025em;
}
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 560; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 52ch; }
.label {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.serif-accent { font-family: var(--font-display); font-style: normal; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 46px; padding: 12px 22px; border-radius: var(--r-ctl);
  border: 1px solid transparent; font-size: 0.98rem; font-weight: 600;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out), transform 0.12s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fdfaf3; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-dark { background: var(--forest); color: #f6f1e7; }
.btn-dark:hover { background: var(--forest-deep); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fdfaf3; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.link-plain { color: var(--ink); text-decoration: none; }
.link-plain:hover { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--accent); }
.link-arrow svg { transition: transform 0.2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.announce {
  background: var(--forest); color: #e9e2d2; font-size: 0.86rem;
  text-align: center; padding: 9px var(--sp-4);
}
.announce a { color: #fdfaf3; }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--font-display); font-weight: 620; font-size: 1.22rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-ctl); border: none; background: transparent;
  color: var(--ink); cursor: pointer; transition: background-color 0.18s var(--ease-out);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn .count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 0.7rem;
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.menu-btn { display: inline-flex; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: var(--sp-5); }
.mobile-menu.open { display: block; }
.mobile-menu .close { position: absolute; top: 16px; right: 16px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 56px; }
.mobile-menu nav a { padding: 14px 8px; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--sp-8) var(--sp-8); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; gap: var(--sp-7); align-items: center; position: relative; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); }
}
.hero-copy { display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; }
.hero-copy .lead { font-size: 1.08rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.hero-proof svg { color: var(--accent); }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-media .plate {
  position: absolute; left: -18px; bottom: 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 18px;
  box-shadow: var(--shadow-soft);
}
.hero-media .plate .big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.hero-media .plate .small { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 720px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li {
  display: flex; align-items: center; gap: 12px; padding: 18px 0;
  border-bottom: 1px solid var(--line); font-size: 0.92rem; font-weight: 500;
}
@media (min-width: 720px) {
  .trust li { border-bottom: 0; padding: 22px var(--sp-5); }
  .trust li + li { border-left: 1px solid var(--line); }
  .trust li:first-child { padding-left: 0; }
}
.trust svg { color: var(--accent); flex: 0 0 auto; }

/* ---------- section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.section-head .label { margin-bottom: 8px; }

/* ---------- product grid ---------- */
.grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card .thumb {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.card .badge { position: absolute; top: 12px; left: 12px; }
.card .card-body { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-3) 2px 0; }
.card .p-name { font-weight: 600; font-size: 1rem; }
.card .p-cat { color: var(--muted); font-size: 0.84rem; }
.card .p-price { font-weight: 600; margin-top: 6px; }
.card .quick {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px;
  border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-soft); transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.card .quick:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.card .quick:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .thumb img { transform: scale(1.04); }
  .card:hover .p-name { color: var(--accent); }
}

/* ---------- category tiles ---------- */
.cats { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .cats { grid-template-columns: 1.2fr 1fr; } }
.cat-tile { position: relative; border-radius: var(--r-card); overflow: hidden; display: block; min-height: 320px; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.cat-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,43,36,0) 30%, rgba(30,43,36,0.72) 100%); z-index: 1; }
.cat-tile .cat-info { position: absolute; left: 24px; bottom: 24px; z-index: 2; color: #fdfaf3; }
.cat-tile .cat-info h3 { color: #fdfaf3; font-size: 1.7rem; }
.cat-tile .cat-info p { color: #e9e2d2; font-size: 0.92rem; margin-top: 4px; }
.cat-tile .cat-info .link-arrow { color: #fdfaf3; margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .cat-tile:hover img { transform: scale(1.04); } }
.cats-stack { display: grid; gap: var(--sp-5); grid-template-rows: 1fr 1fr; }
.cats-stack .cat-tile { min-height: 0; }

/* ---------- forest band ---------- */
.band { background: var(--forest); color: #e9e2d2; }
.band .h2 { color: #fdfaf3; }
.band .lead { color: #c8d2c6; }
.band-features { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; margin-top: var(--sp-7); }
@media (min-width: 720px) { .band-features { grid-template-columns: repeat(3, 1fr); } }
.band-features .item { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(246, 241, 231, 0.2); padding-top: var(--sp-5); }
.band-features svg { color: #e6b188; }
.band-features h3 { color: #fdfaf3; font-size: 1.2rem; }
.band-features p { color: #c8d2c6; font-size: 0.94rem; max-width: 34ch; }

/* ---------- story split ---------- */
.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.split .img-frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.split .img-frame img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split-copy { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }

/* ---------- guarantee ---------- */
.guarantee { background: var(--surface); border-block: 1px solid var(--line); }
.guarantee .row { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .guarantee .row { grid-template-columns: repeat(3, 1fr); } }
.guarantee .item { border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.guarantee .item h3 { font-size: 1.15rem; }
.guarantee .item p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- newsletter ---------- */
.news { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; max-width: 640px; margin-inline: auto; text-align: left; }
.news form { display: flex; gap: var(--sp-2); width: 100%; max-width: 460px; flex-wrap: wrap; }
.news form .field { flex: 1 1 220px; }

/* ---------- forms ---------- */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 14px; border-radius: var(--r-ctl);
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field label { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
  border-radius: var(--r-pill); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-new { background: var(--accent); color: #fff; }
.badge-sale { background: var(--forest); color: #fdfaf3; }
.badge-soft { background: var(--surface-2); color: var(--ink); }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--ink);
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fdfaf3; border-color: var(--ink); }

/* ---------- shop toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); }
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.search { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); padding: 0 12px; min-height: 44px; }
.search input { border: none; background: transparent; outline: none; font-size: 0.95rem; min-width: 180px; }
.sort-select { min-height: 44px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.95rem; }
.result-count { color: var(--muted); font-size: 0.88rem; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: var(--sp-8); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.pdp-media .frame { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pdp-media .frame img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.pdp-info .p-price { font-size: 1.5rem; font-weight: 600; }
.pdp-opts { width: 100%; display: flex; flex-direction: column; gap: var(--sp-4); }
.opt { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer;
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.qty-row { display: flex; align-items: center; gap: var(--sp-3); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); }
.stepper button { width: 42px; height: 46px; border: none; background: transparent; font-size: 1.1rem; cursor: pointer; }
.stepper button:hover { background: var(--surface-2); }
.stepper span { min-width: 40px; text-align: center; font-weight: 600; }
.pdp-accordion { width: 100%; border-top: 1px solid var(--line); }
.pdp-accordion details { border-bottom: 1px solid var(--line); }
.pdp-accordion summary { cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); transition: transform 0.2s var(--ease-out); }
.pdp-accordion details[open] summary::after { transform: rotate(45deg); }
.pdp-accordion .body { padding: 0 0 20px; color: var(--muted); font-size: 0.95rem; }
.pdp-accordion .body ul { margin: 8px 0 0 18px; }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: var(--sp-5); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: 0.5; }

/* ---------- cart ---------- */
.cart-layout { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.6fr 1fr; } }
.cart-lines { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.line .img { width: 84px; height: 63px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.line .img img { width: 100%; height: 100%; object-fit: contain; }
.line .info .name { font-weight: 600; }
.line .info .meta { color: var(--muted); font-size: 0.84rem; }
.line .info .price { font-weight: 600; margin-top: 4px; }
.line .remove { background: none; border: none; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: 0.84rem; padding: 4px 0; }
.line .remove:hover { color: var(--accent); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--sp-5); position: sticky; top: 96px; }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 600; font-size: 1.05rem; }
.summary .note { color: var(--muted); font-size: 0.84rem; margin-top: 10px; }
.empty { text-align: center; padding: var(--sp-9) 0; display: flex; flex-direction: column; gap: var(--sp-4); align-items: center; }
.empty .h3 { font-size: 1.5rem; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(30, 43, 36, 0.4); opacity: 0; transition: opacity 0.3s var(--ease-out); }
.drawer.open .scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease-out);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--sp-5); }
.drawer-foot { padding: var(--sp-5); border-top: 1px solid var(--line); background: var(--surface); }
.mini-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-line .img { width: 64px; height: 48px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.mini-line .img img { width: 100%; height: 100%; object-fit: contain; }
.mini-line .name { font-weight: 600; font-size: 0.9rem; }
.mini-line .meta { color: var(--muted); font-size: 0.78rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 100; background: var(--ink); color: #fdfaf3;
  padding: 13px 18px; border-radius: var(--r-ctl); font-size: 0.92rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-soft);
  transform: translateY(16px); opacity: 0; transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast a { color: #e6b188; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose ul { margin: 1em 0; padding-left: 1.2em; list-style: disc; }
.prose h2, .prose h3 { margin: 1.6em 0 0.6em; }

/* ---------- about / contact ---------- */
.page-hero { padding-block: var(--sp-8); }
.page-hero .display { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.values { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.contact-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-side { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.contact-item .k { font-weight: 600; }
.contact-item .v { color: var(--muted); font-size: 0.92rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .body { padding: 0 0 18px; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

/* ---------- footer ---------- */
.site-foot { background: var(--forest-deep); color: #b8c4b8; padding: var(--sp-8) 0 var(--sp-6); }
.foot-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand .brand-name { color: #fdfaf3; }
.foot-brand p { margin-top: 12px; font-size: 0.9rem; max-width: 32ch; }
.foot-col h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #e9e2d2; margin-bottom: 14px; }
.foot-col a { display: block; color: #b8c4b8; text-decoration: none; padding: 5px 0; font-size: 0.9rem; }
.foot-col a:hover { color: #fdfaf3; }
.foot-bottom { border-top: 1px solid rgba(246,241,231,0.15); margin-top: var(--sp-7); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: 0.82rem; color: #8fa096; }
.foot-bottom a { color: #b8c4b8; }

/* ---------- reveal motion (JS-progressive: hidden only when JS runs) ---------- */
html.js .reveal { opacity: 0; transform: translateY(12px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html.js .reveal, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.center { text-align: center; align-items: center; }
.muted { color: var(--muted); }
.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; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- account ---------- */
[hidden] { display: none !important; }
.account-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg, 14px); padding: 28px; }
.account-tabs { display: flex; gap: 6px; background: var(--surface-2); border-radius: var(--r-lg, 14px); padding: 5px; margin-bottom: 22px; }
.account-tab { flex: 1; min-height: 42px; border: 0; background: transparent; border-radius: var(--r-md, 10px); font-weight: 600; font-size: 0.92rem; color: var(--muted); cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.account-tab.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(30,43,36,0.08); }
.form-error { color: #b3362f; font-size: 0.88rem; font-weight: 500; margin: 2px 0; }

/* ---------- language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn { border-radius: var(--r-ctl); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(30,43,36,0.32);
  min-width: 200px; padding: 8px; display: none; z-index: 70;
}
.lang-menu.open { display: block; animation: lang-pop 0.16s var(--ease-out); }
@keyframes lang-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); padding: 7px 12px 9px; font-weight: 600; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 10px 12px; border: 0; background: transparent;
  border-radius: 10px; font-weight: 500; font-size: 0.92rem; color: var(--ink);
  cursor: pointer; text-align: left; transition: background-color 0.15s;
}
.lang-item:hover { background: var(--surface-2); }
.lang-item.active { color: var(--accent); font-weight: 600; }
.lang-item .check { display: inline-flex; color: var(--accent); opacity: 0; transition: opacity 0.15s; }
.lang-item.active .check { opacity: 1; }
