/* Rustic storefront. One stylesheet for every page.
   Palette: forest green + bone neutrals, one amber accent. Light and dark follow the visitor's system setting. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-normal.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F2F1EB;
  --bg-2: #E7E6DD;
  --surface: #FAF9F6;
  --tile: #F7F6F2;
  --ink: #15201A;
  --ink-2: #4A554E;
  --ink-3: #5E6862;
  --line: #D5D4C9;
  --line-2: #BDBCAF;
  --pine: #1F3329;
  --pine-hover: #2C4838;
  --on-pine: #F2F1EB;
  --amber: #C98A2E;
  --amber-ink: #8A5711;
  --danger: #A3322B;
  --success: #2F6B47;
  --focus: #C98A2E;
  --shadow: 0 18px 50px -24px rgba(31, 51, 41, .35);
  --logo-filter: none;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 2px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101612;
    --bg-2: #161E19;
    --surface: #1B241E;
    --tile: #E9E8E1;
    --ink: #ECEBE3;
    --ink-2: #B4BBB3;
    --ink-3: #9AA39B;
    --line: #2B362F;
    --line-2: #3D4A42;
    --pine: #DCE6D5;
    --pine-hover: #C9D8C1;
    --on-pine: #13201A;
    --amber: #D89C47;
    --amber-ink: #E2AE62;
    --danger: #E58A80;
    --success: #86C79F;
    --focus: #E2AE62;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
    --logo-filter: brightness(0) invert(.93);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber); color: #15201A; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 26px; height: 26px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--pine); color: var(--on-pine); padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink); text-wrap: balance; }
.display, h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
.display { font-size: clamp(2.7rem, 1.7rem + 3.6vw, 4.9rem); line-height: 1.02; }
h1 { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 1.45rem + 2vw, 3.1rem); line-height: 1.08; }
h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em.serif { font-family: var(--font-display); font-style: italic; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 18px; }
.stack > * + * { margin-top: 20px; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .ic { transition: transform .3s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pine); --btn-fg: var(--on-pine); --btn-bd: var(--pine);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: var(--r);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 650; font-size: .95rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { --btn-bg: var(--pine-hover); --btn-bd: var(--pine-hover); color: var(--btn-fg); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-bd: var(--ink); }
.btn--light { --btn-bg: #F2F1EB; --btn-fg: #15201A; --btn-bd: #F2F1EB; }
.btn--light:hover { --btn-bg: #FFFFFF; --btn-bd: #FFFFFF; --btn-fg: #15201A; }
.btn--outline-light { --btn-bg: rgba(16, 22, 18, .25); --btn-fg: #F2F1EB; --btn-bd: rgba(242, 241, 235, .7); }
.btn--outline-light:hover { --btn-bg: #F2F1EB; --btn-fg: #15201A; --btn-bd: #F2F1EB; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--pine); color: var(--on-pine); font-size: .82rem; letter-spacing: .02em; text-align: center; padding: 9px var(--gutter); }
.announce a { color: inherit; font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; filter: var(--logo-filter); }
.nav { justify-self: center; }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r); color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: #15201A; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; grid-column: 2; }
  .menu-toggle { display: inline-grid; grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 3; }
  .nav { display: none; }
  .brand img { height: 26px; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 380px); background: var(--bg); padding: 20px var(--gutter) 32px; transform: translateX(-100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.9rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu__foot { margin-top: auto; font-size: .9rem; color: var(--ink-2); }
.mobile-menu__foot a { display: block; padding: 4px 0; }
.overlay { position: absolute; inset: 0; background: rgba(10, 14, 11, .45); opacity: 0; transition: opacity .4s var(--ease); }
.is-open > .overlay { opacity: 1; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(100vw, 440px); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.7rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__foot .row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 4px; }
.drawer__foot .note { font-size: .82rem; color: var(--ink-2); margin-bottom: 16px; }
.drawer__foot .btn + .btn { margin-top: 10px; }

.ship-meter { font-size: .85rem; color: var(--ink-2); padding: 14px 0 6px; }
.ship-meter strong { color: var(--ink); }
.ship-meter__bar { height: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: var(--amber); transform-origin: left; transition: transform .5s var(--ease); }

.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line__img { width: 84px; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line__name { font-weight: 700; text-decoration: none; display: block; line-height: 1.35; }
.line__meta { font-size: .85rem; color: var(--ink-2); margin: 2px 0 10px; }
.line__price { font-weight: 700; text-align: right; }
.line__remove { border: 0; background: none; padding: 0; margin-top: 6px; font-size: .8rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--danger); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); height: 38px; }
.qty button { width: 36px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty button[disabled] { opacity: .35; pointer-events: none; }
.qty input { width: 38px; height: 100%; border: 0; text-align: center; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg { height: 52px; }
.qty--lg button { width: 44px; }

.empty { text-align: center; padding: 48px 8px; }
.empty .ic { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 14px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin-bottom: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86dvh, 820px); display: grid; align-items: end; color: #F2F1EB; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 17, 13, .78) 0%, rgba(12, 17, 13, .5) 38%, rgba(12, 17, 13, 0) 68%), linear-gradient(0deg, rgba(12, 17, 13, .55) 0%, rgba(12, 17, 13, 0) 45%); }
.hero__content { padding-block: clamp(64px, 10vw, 112px); max-width: 640px; }
.hero h1 { color: #F7F5EF; margin-bottom: 20px; }
.hero .eyebrow { color: #E9C48A; }
.hero p { color: rgba(247, 245, 239, .88); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 34ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) {
  .hero { min-height: 82dvh; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 17, 13, .86) 0%, rgba(12, 17, 13, .55) 45%, rgba(12, 17, 13, .1) 80%); }
  .hero__media img { object-position: 70% 50%; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; font-size: .9rem; line-height: 1.4; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .ic { color: var(--amber-ink); width: 26px; height: 26px; }
.trust strong { display: block; font-weight: 700; color: var(--ink); }
.trust span { color: var(--ink-2); }
@media (max-width: 960px) { .trust ul { grid-template-columns: repeat(2, 1fr); } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } .trust li + li { border-left: 0; border-top: 1px solid var(--line); } .trust li { padding: 16px 4px; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }

/* ---------- Product cards ---------- */
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__media .is-packshot { mix-blend-mode: multiply; object-fit: contain; padding: 6%; }
.card__media .is-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media .is-alt { opacity: 1; transform: scale(1.03); }
  .card:hover .card__media .is-packshot { opacity: 0; }
}
.card__badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--surface); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--r); }
.card__body { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; }
.card__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin: 0 0 4px; }
.card__meta { font-size: .87rem; color: var(--ink-2); margin: 0; }
.card__price { font-weight: 700; white-space: nowrap; font-size: .95rem; padding-top: 4px; }
.card__price small { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-3); text-align: right; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) { .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; } }
@media (hover: none) { .card__quick { display: none; } }

/* Home collection: one feature tile + four */
.collection { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(20px, 2.4vw, 32px); }
.collection > .card:first-child { grid-row: span 2; }
.collection > .card:first-child .card__media { aspect-ratio: auto; flex: 1; min-height: 520px; }
.collection > .card:first-child .card__name { font-size: 1.9rem; }
@media (max-width: 1024px) { .collection { grid-template-columns: 1fr 1fr; } .collection > .card:first-child { grid-row: auto; grid-column: span 2; } .collection > .card:first-child .card__media { aspect-ratio: 16 / 10; min-height: 0; } }
@media (max-width: 600px) { .collection { grid-template-columns: 1fr; } .collection > .card:first-child { grid-column: auto; } .collection > .card:first-child .card__media { aspect-ratio: 4 / 5; } }

/* Shop grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(36px, 4vw, 56px); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Fiber comparison ---------- */
.fibers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.fiber { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); }
.fiber__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tile); }
.fiber__img img { width: 100%; height: 100%; object-fit: cover; }
.fiber__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.fiber__body h3 { font-size: 2rem; margin-bottom: 10px; }
.fiber__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 32px; margin: 22px 0 28px; }
.fiber__facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.fiber__facts dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; grid-row: 2; }
.fiber .text-link { margin-top: auto; align-self: start; }
@media (max-width: 820px) { .fibers { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .fiber__facts { gap: 6px 20px; } .fiber__facts dd { font-size: 1.25rem; } }

/* ---------- Image band ---------- */
.band { position: relative; min-height: clamp(460px, 62vw, 680px); display: grid; align-items: center; color: #F2F1EB; isolation: isolate; overflow: hidden; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 12, .62) 0%, rgba(10, 15, 12, .15) 55%, rgba(10, 15, 12, .45) 100%); }
.band__content { max-width: 560px; }
.band h2 { color: #F7F5EF; margin-bottom: 16px; }
.band p { color: rgba(247, 245, 239, .9); font-size: 1.1rem; margin-bottom: 26px; }
.band--top { align-items: start; }
.band--top .band__content { padding-top: clamp(56px, 8vw, 96px); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr 1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--offset img:last-child { position: absolute; width: 46%; right: -6%; bottom: -10%; aspect-ratio: 1; border: 8px solid var(--bg); }
.split__body h2 { margin-bottom: 18px; }
.split__body .lede { margin-bottom: 28px; }
.facts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.facts .ic { color: var(--amber-ink); width: 24px; height: 24px; margin-top: 2px; }
.facts strong { display: block; }
.facts span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .split, .split--wide-media { grid-template-columns: 1fr; }
  .split__media--offset { margin-bottom: 40px; }
  .split__media--offset img:last-child { right: 0; width: 42%; }
  .split--reverse-mobile .split__media { order: -1; }
}

/* Gift panel */
.gift { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--pine); color: var(--on-pine); }
.gift__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.gift__body { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.gift__body h2 { color: var(--on-pine); margin-bottom: 18px; }
.gift__body p { color: color-mix(in srgb, var(--on-pine) 82%, transparent); max-width: 46ch; margin-bottom: 28px; }
.gift .btn { --btn-bg: var(--on-pine); --btn-fg: var(--pine); --btn-bd: var(--on-pine); align-self: start; }
.gift .btn:hover { --btn-bg: var(--amber); --btn-bd: var(--amber); --btn-fg: #15201A; }
@media (max-width: 820px) { .gift { grid-template-columns: 1fr; } .gift__media img { aspect-ratio: 16 / 11; } }

/* ---------- FAQ / accordion ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq-wrap .section-head { margin-bottom: 0; }
.acc { border-top: 1px solid var(--line-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 700; font-size: 1.04rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .35s var(--ease); color: var(--ink-2); }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.acc .acc__body ul { padding-left: 1.1em; margin: 0 0 1em; }
.acc .acc__body li { margin-bottom: 6px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { text-align: left; }
.newsletter__inner { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; align-items: center; }
.newsletter h2 { margin-bottom: 10px; }
.inline-form { display: flex; gap: 10px; }
.inline-form .input { flex: 1; min-width: 0; }
.inline-form .btn { flex: none; }
@media (max-width: 860px) { .newsletter__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .inline-form { flex-direction: column; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .field .label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 35%, transparent); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { font-size: .82rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.field__help { font-size: .82rem; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row--3 { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 560px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin-bottom: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pine); flex: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); font-size: .92rem; display: none; }
.form-status.is-success { display: block; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--success) 50%, transparent); }
.form-status.is-error { display: block; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--danger) 50%, transparent); }

/* Option cards (variants, shipping) */
.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option__box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.option__box strong { display: block; font-size: .98rem; }
.option__box span { display: block; font-size: .84rem; color: var(--ink-2); }
.option__price { font-weight: 700; white-space: nowrap; }
.option:hover .option__box { border-color: var(--ink-3); }
.option input:checked + .option__box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input:focus-visible + .option__box { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 420px) { .options--2 { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-head h1 { margin-bottom: 14px; }
.breadcrumb { font-size: .84rem; color: var(--ink-2); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--ink-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Shop ---------- */
.shop-banner { position: relative; aspect-ratio: 21 / 8; overflow: hidden; background: var(--bg-2); }
.shop-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.shop-banner__text { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 460px; color: #15201A; }
.shop-banner__text h1 { color: #15201A; margin-bottom: 12px; }
.shop-banner__text p { color: #3B463F; font-size: 1.05rem; }
@media (max-width: 760px) { .shop-banner { aspect-ratio: auto; } .shop-banner img { aspect-ratio: 16 / 9; } .shop-banner__text { position: static; transform: none; padding: 28px var(--gutter) 0; color: var(--ink); max-width: none; } .shop-banner__text h1 { color: var(--ink); } .shop-banner__text p { color: var(--ink-2); } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-group { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.chip-group__label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.result-count { font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.toolbar .select { min-height: 42px; width: auto; padding-block: 8px; font-size: .9rem; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumb { padding: 0; border: 1px solid transparent; background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); }
.gallery__main { position: relative; background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity .35s var(--ease); }
.gallery__main img.is-fading { opacity: 0; }
.gallery__nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 8px; }
.gallery__nav button { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: rgba(250, 249, 246, .92); color: #15201A; display: grid; place-items: center; }
.gallery__nav button:hover { background: #FFFFFF; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; scrollbar-width: none; }
  .gallery__thumb { width: 68px; flex: none; }
}
.pdp-info h1 { font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.2rem); margin-bottom: 8px; }
.pdp-info .tagline { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 18px; }
.pdp-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.pdp-sub { font-size: .86rem; color: var(--ink-2); margin-bottom: 28px; }
.pdp-block { margin-bottom: 24px; }
.pdp-block > .label { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 700; margin-bottom: 10px; }
.pdp-block > .label span { font-weight: 500; color: var(--ink-2); }
.buy-row { display: flex; gap: 12px; margin-bottom: 20px; }
.buy-row .btn { flex: 1; }
.assure { list-style: none; margin: 0 0 32px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.assure li { display: flex; gap: 12px; align-items: center; }
.assure .ic { color: var(--amber-ink); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 8px; }
.spec-grid div { background: var(--surface); padding: 14px 16px; }
.spec-grid dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.spec-grid dd { margin: 2px 0 0; font-weight: 600; }
.mobile-buy { display: none; }
@media (max-width: 960px) {
  .mobile-buy { display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; gap: 12px; align-items: center; justify-content: space-between; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .mobile-buy.is-visible { transform: none; }
  body[data-page="product"] .site-footer { padding-bottom: 76px; }
  .mobile-buy strong { display: block; font-size: .95rem; line-height: 1.2; }
  .mobile-buy span { font-size: .84rem; color: var(--ink-2); }
}

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why > div { background: var(--bg); padding: clamp(22px, 3vw, 34px); }
.why .ic { width: 28px; height: 28px; color: var(--amber-ink); margin-bottom: 16px; }
.why h3 { font-size: 1.35rem; margin-bottom: 6px; }
.why p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; } .rail > * { scroll-snap-align: start; } }
@media (max-width: 560px) { .rail { grid-auto-columns: 74%; } }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
.cart-table { border-top: 1px solid var(--line-2); }
.cart-table .line { grid-template-columns: 110px 1fr auto; gap: 20px; padding: 24px 0; }
.cart-table .line__img { width: 110px; }
.cart-table .line__controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.summary { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.8rem; margin-bottom: 18px; }
.summary dl { margin: 0 0 18px; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .95rem; }
.summary .row dt { color: var(--ink-2); }
.summary .row dd { margin: 0; font-weight: 600; text-align: right; }
.summary .row--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 1.15rem; }
.summary .row--total dt { color: var(--ink); font-weight: 700; }
.summary .row--total dd { font-weight: 800; }
.summary .fine { font-size: .8rem; color: var(--ink-2); margin-top: 14px; display: flex; gap: 8px; align-items: center; justify-content: center; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-table .line { grid-template-columns: 84px 1fr; } .cart-table .line__img { width: 84px; } .cart-table .line__price { grid-column: 2; text-align: left; } }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.co-step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.co-step:last-of-type { border-bottom: 0; }
.co-step h2 { font-size: 1.75rem; margin-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co-step h2 small { font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); font-size: .88rem; background: color-mix(in srgb, var(--amber) 14%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); margin-bottom: 18px; }
.notice .ic { color: var(--amber-ink); margin-top: 1px; }
.card-input { position: relative; }
.card-input .brand-tag { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }
.co-summary .line { grid-template-columns: 64px 1fr auto; padding: 14px 0; }
.co-summary .line__img { width: 64px; position: relative; overflow: visible; }
.co-summary .line__img img { overflow: hidden; }
.co-summary .line__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink-2); color: var(--bg); font-size: .72rem; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.co-summary .items { max-height: 340px; overflow-y: auto; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.confirm { max-width: 760px; margin: 0 auto; padding-block: clamp(48px, 7vw, 96px) var(--section); }
.confirm__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--on-pine); margin-bottom: 24px; }
.confirm__icon .ic { width: 30px; height: 30px; }
.confirm h1 { margin-bottom: 12px; }
.confirm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.confirm__grid h3 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .co-summary { order: -1; } .co-summary.summary { position: static; } }
@media (max-width: 560px) { .confirm__grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic > :first-child { grid-row: span 2; aspect-ratio: 4 / 5; }
.mosaic > :not(:first-child) { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .mosaic > :first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }
.values { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.values > div { background: var(--bg); padding: clamp(24px, 3.4vw, 44px); }
.values > div:first-child { background: var(--pine); color: var(--on-pine); }
.values > div:first-child h3 { color: var(--on-pine); font-size: 2.2rem; }
.values > div:first-child p { color: color-mix(in srgb, var(--on-pine) 82%, transparent); }
.values h3 { margin-bottom: 10px; }
.values p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--section); }
.contact-card { background: var(--surface); border: 1px solid var(--line); }
.contact-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-card__body { padding: clamp(22px, 3vw, 32px); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.contact-list .ic { color: var(--amber-ink); margin-top: 3px; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: var(--section); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.legal__toc strong { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; color: var(--ink); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--ink); font-weight: 600; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); padding: 18px 20px; margin: 24px 0; }
.prose address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.prose td { color: var(--ink-2); }
.updated { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-brand img { width: 150px; filter: var(--logo-filter); margin-bottom: 18px; }
.footer-brand p { color: var(--ink-2); max-width: 30ch; }
.site-footer h3 { font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.footer-contact address strong { color: var(--ink); }
.footer-base { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: .84rem; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand, .footer-contact { grid-column: span 3; } .footer-contact { grid-column: span 3; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-contact { grid-column: span 2; } }

/* ---------- Toast ---------- */
.toast-region { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; width: min(92vw, 420px); }
.toast { background: var(--ink); color: var(--bg); padding: 14px 18px; border-radius: var(--r); font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; animation: toast-in .4s var(--ease); }
.toast .ic { color: var(--amber); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 404 ---------- */
.notfound { min-height: 64dvh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound .display { margin-bottom: 16px; }
.notfound p { color: var(--ink-2); margin: 0 auto 28px; max-width: 46ch; }
.notfound .hero__ctas { justify-content: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__content > * { animation: rise 1s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__media img { animation: settle 2.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
