/* PECANTIO — site styles
   Palette taken from the brand logo: warm cream, cocoa, caramel. */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-cyrillic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FAF1D9;
  --bg-soft: #F3E4C4;
  --surface: #FFFCF4;
  --ink: #452616;
  --ink-soft: #6E4C37;
  --caramel: #A47140;
  --caramel-dark: #7C5029;
  --caramel-light: #D9B98C;
  --line: rgba(69, 38, 22, 0.14);
  --line-strong: rgba(69, 38, 22, 0.3);
  --dark: #3A2115;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(69, 38, 22, 0.11);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(255, 250, 235, 0.9), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--caramel); color: var(--bg); }

img,
svg { display: block; }
img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
button,
input,
textarea,
select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--caramel-dark);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(1240px, calc(100% - clamp(40px, 9vw, 128px)));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 241, 217, 0.88);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: blur(14px); }
}
.site-header.is-scrolled {
  background: rgba(250, 241, 217, 0.97);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: none;
}
.brand img { width: 156px; height: auto; }
.brand-tag {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  padding-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #2E180E; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(69, 38, 22, 0.04); }
.header-cta { min-height: 38px; padding: 9px 18px; font-size: 12px; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(46px, 6.5vw, 92px) clamp(56px, 7vw, 104px);
  min-height: calc(100svh - 82px);
}

.hero-copy { max-width: 640px; min-width: 0; animation: rise 0.9s var(--ease) both; }

.hero > *,
.about-grid > *,
.order-grid > *,
.section-head > *,
.footer-grid > *,
.delivery-grid > *,
.panel-grid > * { min-width: 0; }

.kicker,
.eyebrow {
  position: relative;
  padding-left: 50px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}
.kicker::before,
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 38px;
  height: 1px;
  background: var(--caramel);
}
.eyebrow-light { color: var(--caramel-light); }
.eyebrow-light::before { background: var(--caramel-light); }

.hero h1 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.1vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 470px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  position: relative;
  margin-top: 26px;
  padding-left: 18px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--caramel-dark);
}
.hero-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--caramel);
  transform: translateY(-50%);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  animation: rise 1s 0.12s var(--ease) both;
}

.hero-main {
  grid-row: 1 / 3;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
  position: relative;
}
.hero-main::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(250, 241, 217, 0.38);
  pointer-events: none;
}
.hero-main img,
.hero-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-main img { transition: transform 1.4s var(--ease); }
.hero-media:hover .hero-main img { transform: scale(1.025); }

.hero-small {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.hero-small-alt { margin-top: 0; }

.hero-stamp {
  position: absolute;
  right: -16px;
  bottom: 20px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--caramel);
  color: var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-9deg);
  box-shadow: 0 12px 30px rgba(69, 38, 22, 0.18);
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--caramel-dark);
  white-space: nowrap;
}
.ticker-track i { color: var(--caramel-light); font-style: normal; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(74px, 9vw, 128px); scroll-margin-top: 0; }
section[id], footer[id] { scroll-margin-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-sub {
  max-width: 370px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
  padding-bottom: 8px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(69, 38, 22, 0.22);
}
.card-open { display: block; width: 100%; text-align: left; }

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .card-media img { transform: scale(1.045); }
.card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  background: rgba(250, 241, 217, 0.92);
  color: var(--caramel-dark);
  border-radius: 2px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-body { padding: 18px 18px 16px; }
.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}
.card-meta { color: var(--ink-soft); letter-spacing: 0.04em; text-transform: none; font-size: 10.5px; }
.card-body h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
}
.card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.card-price { font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; }
.card-price small { font-size: 10px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.card-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.card-arrow svg { width: 14px; height: 14px; }
.product-card:hover .card-arrow { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.grid-status {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
}

.pickup-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 228, 196, 0.34);
}
.pickup-strip-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--caramel-dark);
}
.pickup-strip-icon svg { width: 18px; height: 18px; }
.pickup-strip p {
  flex: 1;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.6;
}
.pickup-strip p strong { color: var(--ink); font-weight: 500; }
.pickup-strip .text-link { margin-top: 0; flex: none; }

/* ---------- About ---------- */

.about { background: linear-gradient(180deg, rgba(243, 228, 196, 0.44), transparent 70%); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}
.about-art {
  position: relative;
  max-width: 470px;
  justify-self: center;
  width: 100%;
}
.about-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}
.about-ring {
  position: absolute;
  inset: 8% 4% 10%;
  border: 1px solid rgba(164, 113, 64, 0.34);
  border-radius: 50%;
  z-index: 0;
}
.about-caption {
  margin-top: 2px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--caramel-dark);
}
.about-copy h2 { margin-top: 14px; }
.about-text { max-width: 580px; margin-top: 24px; }
.about-text p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.about-text p + p { margin-top: 14px; }
.about-text p:first-child { color: var(--ink); font-size: 16px; line-height: 1.7; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--caramel);
  font-size: 13px;
  color: var(--caramel-dark);
  transition: gap 0.25s ease, color 0.2s ease;
}
.text-link:hover { gap: 13px; color: var(--ink); }

/* ---------- Delivery ---------- */

.delivery {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(164, 113, 64, 0.28), transparent 60%),
    var(--dark);
  color: var(--bg);
  overflow: hidden;
}
.delivery::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(250, 241, 217, 0.035) 1px, transparent 1px);
  background-size: 100% 72px;
  pointer-events: none;
}
.delivery .container { position: relative; }
.delivery-head {
  display: block;
  margin-bottom: 42px;
}
.delivery-head .eyebrow { margin-bottom: 16px; }
.delivery h2 { color: var(--bg); max-width: 780px; }
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.delivery-card {
  border: 1px solid rgba(250, 241, 217, 0.18);
  border-radius: var(--radius);
  padding: clamp(26px, 3.8vw, 44px);
  background: rgba(250, 241, 217, 0.035);
}
.delivery-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(250, 241, 217, 0.25);
  border-radius: 50%;
  color: var(--caramel-light);
}
.delivery-icon svg { width: 21px; height: 21px; }
.pill {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--bg);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.delivery-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}
.delivery-card p {
  max-width: 430px;
  margin-top: 12px;
  color: rgba(250, 241, 217, 0.72);
  font-size: 13.5px;
  line-height: 1.7;
}
.delivery-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 241, 217, 0.14);
  color: rgba(250, 241, 217, 0.5);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* ---------- Order ---------- */

.order { background: var(--bg-soft); }
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.order-copy { position: sticky; top: 120px; }
.order-copy p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.order-copy .btn { margin-top: 28px; }
.steps { border-top: 1px solid var(--line-strong); }
.steps li {
  display: flex;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  color: var(--caramel);
  min-width: 34px;
}
.steps h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.05;
}
.steps p {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  max-width: 340px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 76px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr 0.8fr;
  gap: 36px;
}
.footer-brand img { width: 176px; height: auto; }
.footer-tag {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}
.footer-note {
  margin-top: 18px;
  max-width: 240px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}
.footer-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10.5px;
}

/* ---------- Modal ---------- */

.product-modal {
  width: min(1120px, calc(100% - 36px));
  max-height: min(92vh, 860px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(30, 16, 8, 0.4);
  overflow: hidden;
}
.product-modal::backdrop {
  background: rgba(35, 20, 12, 0.64);
  backdrop-filter: blur(5px);
}
.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  height: min(92vh, 860px);
  max-height: min(92vh, 860px);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(250, 241, 217, 0.94);
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: var(--bg); transform: rotate(5deg); }
.modal-close svg { width: 18px; height: 18px; }

.modal-gallery {
  padding: 22px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.modal-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg);
}
.modal-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-thumb {
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.62;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb:hover { opacity: 1; }
.modal-thumb.is-active { opacity: 1; border-color: var(--caramel); }

.modal-info {
  padding: clamp(28px, 3.4vw, 46px);
  overflow-y: auto;
  min-height: 0;
}
.modal-cat {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}
.modal-info h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(36px, 3.7vw, 48px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.modal-short {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}
.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.modal-price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
.modal-meta { font-size: 11.5px; color: var(--ink-soft); }
.modal-text { margin-top: 20px; }
.modal-text p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.72;
}
.modal-text p + p { margin-top: 10px; }
.modal-comp-wrap { margin-top: 22px; }
.modal-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  margin-bottom: 8px;
}
.modal-comp li {
  position: relative;
  padding: 4px 0 4px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.modal-comp li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 1px;
  background: var(--caramel);
}
.modal-note {
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--bg);
  border-left: 2px solid var(--caramel);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.modal-actions .btn { min-height: 44px; font-size: 12.5px; }
.modal-footnote {
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--caramel-dark);
}

body.modal-open { overflow: hidden; }

/* ---------- Reveal / motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); gap: 42px; }
  .hero h1 { font-size: clamp(50px, 6.6vw, 78px); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 40px;
  }
  .hero-copy { max-width: 720px; }
  .hero-media { max-width: 560px; width: 100%; justify-self: end; }
  .hero-stamp { right: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-art { max-width: 330px; order: 2; }
  .about-copy { order: 1; }
  .order-grid { grid-template-columns: 1fr; gap: 38px; }
  .order-copy { position: static; }
  .delivery-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-sub { max-width: 500px; }
}

@media (max-width: 880px) {
  .header-inner { min-height: 72px; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 12px clamp(20px, 5vw, 40px) 26px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a {
    width: 100%;
    padding: 14px 0;
    font-family: var(--serif);
    font-size: 28px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .brand img { width: 138px; }
  .hero { padding-top: 30px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(46px, 12.4vw, 66px); }
  .hero-text { font-size: 15px; margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-media { max-width: none; width: 100%; gap: 10px; }
  .hero-stamp { width: 88px; height: 88px; right: 8px; bottom: 12px; font-size: 7.5px; }
  .ticker-track span { font-size: 17px; }
  .section { padding-block: 64px; scroll-margin-top: 18px; }
  .section h2 { font-size: clamp(38px, 10vw, 52px); }
  .product-grid { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 5 / 4; }
  .card-body h3 { font-size: 27px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-modal {
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .modal-body {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 100dvh;
    overflow-y: auto;
  }
  .modal-gallery { padding: 12px; }
  .modal-main { aspect-ratio: 4 / 3; flex: none; }
  .modal-info { padding: 24px 20px 34px; overflow: visible; }
  .modal-info h2 { font-size: 38px; }
  .modal-close { position: fixed; top: 12px; right: 12px; }
}

@media (max-width: 460px) {
  .container { width: calc(100% - 32px); }
  .hero-media { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr); }
  .section-head { margin-bottom: 26px; }
  .filters { gap: 6px; }
  .filter { padding: 8px 13px; font-size: 11.5px; }
  .pickup-strip {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 6px 12px;
    padding: 16px;
  }
  .pickup-strip p { grid-column: 2; flex: none; }
  .pickup-strip .text-link { grid-column: 2; margin-left: 0; justify-self: start; }
  .delivery-card { padding: 24px; }
  .steps li { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
}

/* Noscript fallback */
.noscript {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}
.noscript h2 { font-family: var(--serif); font-size: 40px; font-weight: 400; }
.noscript p, .noscript li { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
.noscript ul { margin-top: 16px; }
.noscript a { border-bottom: 1px solid var(--caramel); }
