/* ==========================================================================
   SHORECREST / shorecrest.store
   Headings: Fraunces. Words: Safi, the founder's own handwriting.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Safi"; src: url("../fonts/safi.woff2") format("woff2"), url("../fonts/safi.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #192928;
  --ink-2: #142221;
  --pine: #21463A;
  --tide: #304458;
  --sage: #819589;
  --mist: #9AADB1;
  --stone: #AFB8AE;
  --cloud: #DFE5E1;
  --cloud-2: #E9EDEA;
  --paper: #F2F3EF;
  --sand: #BFAE8F;   /* driftwood: the frame color of every Shorecrest artwork */
  --sand-2: #D6C8AA;

  --fg: var(--ink);
  --bg: var(--cloud);
  --muted: #4c605c;
  --line: rgba(25, 41, 40, .14);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --hand: "Safi", "Segoe Print", "Bradley Hand", ui-rounded, system-ui, sans-serif;

  --fs-hero: clamp(3.1rem, 1.5rem + 6.4vw, 8.4rem);
  --fs-h1: clamp(2.7rem, 1.5rem + 4.6vw, 6.2rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 2.9vw, 4.3rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.95rem);
  --fs-lead: clamp(1.2rem, 1.02rem + .6vw, 1.55rem);
  --fs-body: clamp(1.08rem, 1.02rem + .2vw, 1.22rem);

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --r-btn: 8px;
  --r-card: 18px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--fs-body)/1.55 var(--hand);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; line-height: 1.04; letter-spacing: -.018em; }
h1 em, h2 em, h3 em, .serif em { font-style: italic; font-weight: 380; color: var(--accent, var(--pine)); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease-out); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--cloud); padding: 12px 18px; border-radius: var(--r-btn); transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }

/* ---------- Type utilities ---------- */
.meta { font-size: 1rem; line-height: 1.4; color: var(--muted); }
.h-hero { font-size: var(--fs-hero); line-height: .94; letter-spacing: -.028em; font-weight: 360; }
.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.024em; font-weight: 370; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.02em; font-weight: 380; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 420; }
.lead { font-size: var(--fs-lead); line-height: 1.42; }
.muted { color: var(--muted); }
.pretty { text-wrap: pretty; }
.balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: clamp(84px, 10vw, 150px); }
.sec--tight { padding-block: clamp(64px, 7vw, 100px); }
.dark { --fg: var(--cloud); --bg: var(--ink); --muted: #a5b6b3; --line: rgba(223, 229, 225, .16); --accent: var(--sand-2); background: var(--bg); color: var(--fg); }
.pine { --fg: var(--cloud); --bg: var(--pine); --muted: #b2c6bc; --line: rgba(223, 229, 225, .18); --accent: var(--sand-2); background: var(--bg); color: var(--fg); }
.cloud { --fg: var(--ink); --bg: var(--cloud); background: var(--bg); color: var(--fg); }
.paper { --fg: var(--ink); --bg: var(--paper); background: var(--bg); color: var(--fg); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { margin-top: 16px; max-width: 16ch; }
.sec-head p { max-width: 38ch; color: var(--muted); }

/* ---------- Buttons & links ---------- */
.i { width: 1.05em; height: 1.05em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  --b-bg: var(--ink); --b-fg: var(--cloud); --b-fill: var(--pine); --b-fill-fg: var(--cloud);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: .9em 1.5em; border-radius: var(--r-btn);
  background: var(--b-bg); color: var(--b-fg);
  font: 400 1.08rem/1 var(--hand); white-space: nowrap;
  transition: color .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 110%; width: 170%; aspect-ratio: 1; border-radius: 41%;
  background: var(--b-fill); transform: translate(-50%, 0) rotate(0deg);
  transition: top .75s var(--ease-out), transform 2s linear;
}
.btn:hover::before, .btn:focus-visible::before { top: -45%; transform: translate(-50%, 0) rotate(180deg); }
.btn:hover, .btn:focus-visible { color: var(--b-fill-fg); }
.btn .i { transition: transform .5s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn--light { --b-bg: var(--cloud); --b-fg: var(--ink); --b-fill: var(--sand); --b-fill-fg: var(--ink); }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--cloud); --b-fill: var(--pine); --b-fill-fg: var(--cloud); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; --b-fill: var(--ink); --b-fill-fg: var(--cloud); box-shadow: inset 0 0 0 1px currentColor; }
.dark .btn--ghost, .pine .btn--ghost { --b-fill: var(--cloud); --b-fill-fg: var(--ink); }
.btn--sm { min-height: 42px; padding: .65em 1.1em; font-size: 1rem; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .5em; padding-block: .25em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .55s var(--ease-out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .i { transition: transform .5s var(--ease-out); }
.link:hover .i { transform: translateX(3px); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 95; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -4%); } 60% { transform: translate(-5%, -2%); } 80% { transform: translate(4%, 4%); } 100% { transform: translate(0, 0); } }

/* ---------- Header ---------- */
.hdr {
  --hdr-fg: var(--ink); --logo-a: var(--tide); --logo-b: var(--pine);
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter); color: var(--hdr-fg);
  transition: transform .6s var(--ease-out), color .4s;
}
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(223, 229, 225, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(25, 41, 40, .08); opacity: 0; transition: opacity .4s, background-color .4s; }
.hdr.is-scrolled::before, .hdr.drop-open::before { opacity: 1; }
.hdr[data-theme="dark"] { --hdr-fg: var(--cloud); --logo-a: var(--cloud); --logo-b: var(--cloud); }
.hdr[data-theme="dark"]::before { background: rgba(20, 34, 33, .72); border-bottom-color: rgba(223, 229, 225, .08); }
.hdr.is-hidden { transform: translateY(-105%); }
.hdr__brand { display: block; width: clamp(150px, 12.5vw, 186px); flex: none; }
.hdr__brand svg, .hdr__brand img { width: 100%; height: auto; overflow: visible; }
.hdr__brand .logo-a { fill: var(--logo-a); transition: fill .4s; }
.hdr__brand .logo-b { fill: var(--logo-b); transition: fill .4s; }
.hdr__nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); font-size: 1.08rem; }
.hdr__nav > a, .nav-shop { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; }
.hdr__nav > a::after, .nav-shop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.hdr__nav > a:hover::after, .hdr__nav > a[aria-current="page"]::after, .nav-shop:hover::after, .nav-shop[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-shop svg { width: 10px; height: 10px; transition: transform .4s var(--ease-out); }
.drop-open .nav-shop svg { transform: rotate(180deg); }
.hdr__tools { display: flex; align-items: center; gap: 12px; }
.hdr[data-theme="dark"] .btn { --b-bg: var(--cloud); --b-fg: var(--ink); --b-fill: var(--sand); --b-fill-fg: var(--ink); }

/* Shop dropdown */
.drop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: -2;
  background: var(--cloud); color: var(--ink); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(25, 41, 40, .35);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-out), visibility 0s .5s;
}
.drop-open .drop { clip-path: inset(0 0 -60px 0); visibility: visible; transition: clip-path .55s var(--ease-out); }
.drop__in { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; padding: 30px var(--gutter) 36px; max-width: var(--max); margin: 0 auto; }
.drop__intro .h3 { margin-top: 12px; }
.drop__intro p:not(.h3) { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.drop__intro .link { margin-top: 16px; font-size: 1rem; }
.drop__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.drop__item { display: grid; gap: 8px; }
.drop__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--cloud-2); display: grid; place-items: center; }
.drop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.drop__img .ticon { width: 34%; height: 34%; stroke: var(--pine); fill: none; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.drop__item:hover img { transform: scale(1.05); }
.drop__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }
.drop__count { color: var(--muted); margin-top: -4px; }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--pine); color: var(--cloud);
  display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 20px) var(--gutter) 36px;
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu-open .hdr { --hdr-fg: var(--cloud); --logo-a: var(--cloud); --logo-b: var(--cloud); }
.menu-open .hdr::before { opacity: 0; }
.menu__links { display: grid; gap: 2px; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; }
.menu__links a { display: block; overflow: hidden; }
.menu__links a span { display: block; transform: translateY(105%); transition: transform .8s var(--ease-out); }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links a:nth-child(2) span { transition-delay: .04s; }
.menu-open .menu__links a:nth-child(3) span { transition-delay: .08s; }
.menu-open .menu__links a:nth-child(4) span { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(5) span { transition-delay: .16s; }
.menu-open .menu__links a:nth-child(6) span { transition-delay: .2s; }
.menu-open .menu__links a:nth-child(7) span { transition-delay: .24s; }
.menu-open .menu__links a:nth-child(8) span { transition-delay: .28s; }
.menu__sub { font-size: .6em; opacity: .75; }
.menu__foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(223, 229, 225, .2); display: flex; justify-content: space-between; gap: 16px; color: #b6c8be; }
svg.menu__contour { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: #a9c4b5; opacity: .45; pointer-events: none; }

/* ---------- Reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Line masks: padded so descenders never clip; hidden lines are also transparent. */
.ln { display: block; overflow: hidden; padding-block: .1em .2em; margin-block: -.1em -.2em; }
.ln__in { display: block; opacity: 0; transform: translate3d(0, 115%, 0); transition: transform 1.1s var(--ease-out), opacity .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0) * 1ms); }
.is-in .ln__in { opacity: 1; transform: none; }

/* ---------- Contours ---------- */
svg[data-contours] { color: var(--sage); }
svg[data-contours] g { opacity: .2; transform-origin: 50% 50%; transform-box: view-box; animation: contour-drift 90s ease-in-out infinite alternate; }
@keyframes contour-drift { to { transform: rotate(5deg) scale(1.08); } }

.fade-img { opacity: 0; transition: opacity .8s var(--ease-out); }
.fade-img.is-loaded { opacity: 1; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--cloud); --accent: var(--sand-2); background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__img { animation: kenburns 28s var(--ease-io) infinite alternate; }
.gl-on .hero__img { opacity: 0; animation: none; }
.hero__gl { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.gl-on .hero__gl { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12) translate(-1%, -1%); } }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(14, 25, 24, .7) 0%, rgba(14, 25, 24, .34) 42%, rgba(14, 25, 24, 0) 68%), linear-gradient(to top, rgba(14, 25, 24, .6) 0%, rgba(14, 25, 24, 0) 40%), linear-gradient(to bottom, rgba(14, 25, 24, .4) 0%, rgba(14, 25, 24, 0) 20%); }
.hero__copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(30px, 6vh, 64px); }
.hero__copy h1 { margin-top: 20px; max-width: 10.5ch; text-shadow: 0 2px 40px rgba(14, 25, 24, .3); }
.hero__sub { max-width: 40ch; margin-top: 24px; font-size: var(--fs-lead); line-height: 1.4; color: #e6ece9; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.hero__ctas .link { color: var(--cloud); }

/* Shop by piece: Printify mockups sit on white, so the tile tone shows through via multiply */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 22px); }
.cat { display: block; min-width: 0; }
.cat__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: #fff; display: grid; place-items: center; }
.cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__img .ticon { width: 28%; height: auto; stroke: var(--pine); fill: none; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.cat__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; }
.cat__name { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); line-height: 1; letter-spacing: -.02em; }
.cat__count { color: var(--muted); white-space: nowrap; font-size: 1rem; }
.cat__img img { transition: transform 1.1s var(--ease-out), opacity .75s ease; }
.cat__img img.is-off { opacity: 0; }
.cat__blurb { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.4; }

/* Story (compact) */
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.story-split h2 { margin-top: 18px; }
.story-split .prose { margin-top: 28px; }
.prose p { font-size: var(--fs-lead); line-height: 1.5; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.story-split .link { margin-top: 30px; }
.stack { position: relative; aspect-ratio: 4 / 4.6; }
.stack__a, .stack__b { position: absolute; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .5); }
.stack__a { right: 0; top: 0; width: 66%; height: 86%; border-radius: 999px 999px 18px 18px; }
.stack__b { left: 0; bottom: 0; z-index: 1; width: 46%; height: 52%; border-radius: 18px; outline: 8px solid var(--bg); }
.stack img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; will-change: transform; }
.stack__cap { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 1.05rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }

/* Product grid + cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.pcard { position: relative; display: block; min-width: 0; }
.pcard__media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease-out), transform 1.1s var(--ease-out); }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard:hover .pcard__img { transform: scale(1.035); }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.pcard__title { font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.2; font-weight: 420; letter-spacing: -.01em; min-width: 0; }
.pcard__price { font-family: var(--serif); font-size: 1.02rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.pcard__sub { margin-top: 2px; color: var(--muted); font-size: 1rem; }
.pcard.is-in-anim { animation: card-in .8s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } }
.pcard.is-skel .pcard__media { background: linear-gradient(100deg, var(--cloud-2) 30%, #f3f5f2 50%, var(--cloud-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skel { display: block; height: 14px; margin-top: 14px; width: 70%; border-radius: 6px; background: var(--cloud-2); }
.skel--short { width: 35%; margin-top: 10px; }
@keyframes shimmer { to { background-position: -300% 0; } }
.note-box { grid-column: 1 / -1; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-card); border: 1px dashed var(--line); text-align: center; display: grid; justify-items: center; gap: 14px; }
.note-box p:not(.h3) { color: var(--muted); max-width: 46ch; }
.note-box .btn { margin-top: 8px; }

/* Places strip */
.strip-wrap { position: relative; }
.strip { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag a { pointer-events: none; }
.place { flex: none; width: clamp(220px, 22vw, 320px); scroll-snap-align: start; }
.place__img { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--cloud-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.place:hover .place__img img { transform: scale(1.05); }
.place__name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.place__count { color: var(--muted); font-family: var(--hand); font-size: 1rem; white-space: nowrap; }
.place__name small { display: block; margin-top: 4px; font-family: var(--hand); font-size: .95rem; color: var(--muted); letter-spacing: 0; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, color .3s, opacity .3s; }
.strip-nav button:hover { background: var(--ink); color: var(--cloud); }
.strip-nav button:disabled { opacity: .35; pointer-events: none; }

/* How it works: one plain note */
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 5vw, 90px); align-items: baseline; }
.note h2 { max-width: 16ch; }
.note p { font-size: var(--fs-lead); line-height: 1.5; color: #2c3f3c; max-width: 52ch; }

/* Newsletter */
.letter { position: relative; overflow: hidden; text-align: center; }
svg.letter__contour { position: absolute; inset: 0; width: 100%; height: 100%; color: #a9c4b5; opacity: .5; pointer-events: none; }
.letter__inner { position: relative; max-width: 760px; margin: 0 auto; }
.letter h2 { margin-top: 18px; }
.letter p { margin: 18px auto 0; max-width: 42ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.4; }
.signup { margin: 34px auto 0; display: flex; gap: 8px; max-width: 540px; padding: 7px; border-radius: calc(var(--r-btn) + 7px); background: rgba(223, 229, 225, .08); border: 1px solid rgba(223, 229, 225, .22); }
.signup input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 14px; font-size: 1.08rem; color: var(--cloud); outline: none; }
.signup input::placeholder { color: #a9bdb3; }
.signup:focus-within { border-color: var(--sand); }
.signup__note { margin-top: 14px !important; font-size: .95rem !important; }
.signup__msg { margin-top: 14px; min-height: 1.5em; color: var(--sand-2); }

/* Footer */
.foot { position: relative; background: var(--ink); color: var(--cloud); --muted: #a5b6b3; --accent: var(--sand-2); }
.foot__band { position: relative; height: clamp(260px, 42vh, 460px); overflow: hidden; }
.foot__band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 35%; will-change: transform; }
.foot__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(25, 41, 40, .1) 0%, rgba(25, 41, 40, .35) 50%, var(--ink) 100%); }
.foot__band h2 { position: absolute; z-index: 1; left: var(--gutter); bottom: 6vh; max-width: 11ch; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: 56px 44px; border-bottom: 1px solid rgba(223, 229, 225, .14); }
.foot__brand a { display: block; width: min(260px, 80%); }
.foot__brand svg, .foot__brand img { width: 100%; height: auto; }
.foot__brand .logo-a, .foot__brand .logo-b { fill: var(--cloud); }
.foot__brand p { margin-top: 20px; color: var(--muted); max-width: 30ch; }
.foot__col h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 420; letter-spacing: -.01em; color: var(--cloud); margin-bottom: 14px; }
.foot__col a { color: #c5d2cd; }
.foot__col li + li { margin-top: 9px; }
.foot__col a:hover { color: var(--sand-2); }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 24px 32px; color: var(--muted); }
.totop { display: inline-flex; align-items: center; gap: 10px; }

/* ==========================================================================
   INNER PAGE HEAD
   ========================================================================== */
.phead { position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 84px); overflow: hidden; }
.phead__bg { position: absolute; inset: 0; z-index: 0; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 25, 24, .86) 0%, rgba(14, 25, 24, .5) 55%, rgba(14, 25, 24, .28) 100%); }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { margin-top: 18px; max-width: 13ch; }
.phead p.lead { margin-top: 22px; max-width: 44ch; color: #dbe3df; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(223, 229, 225, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); transition: top .6s var(--ease-out); }
.hdr-shown .bar { top: var(--header-h); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(25, 41, 40, .18); font-size: 1.02rem; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: rgba(25, 41, 40, .5); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cloud); border-color: var(--ink); }
.chip .ticon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip small { font-size: .9rem; opacity: .6; }
.bar__right { display: flex; align-items: center; gap: 8px; flex: none; }
.bar__right .select:last-child select { max-width: 170px; }
.search { position: relative; }
.search input { height: 40px; width: 210px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid rgba(25, 41, 40, .18); background: transparent; font-size: 1rem; outline: none; transition: border-color .3s, width .5s var(--ease-out); }
.search input:focus, .search input:not(:placeholder-shown) { border-color: var(--ink); width: 260px; }
.search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; opacity: .6; pointer-events: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; width: 100%; max-width: 190px; padding: 0 34px 0 15px; border-radius: 999px; border: 1px solid rgba(25, 41, 40, .18); background: transparent; font-size: 1rem; cursor: pointer; text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.shop-main { padding-block: 36px clamp(90px, 10vw, 140px); min-height: 70vh; }
.shop-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; color: var(--muted); }
.shop-status__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shop-status__right { display: flex; gap: 8px; }
.shop-status h2 { font-size: var(--fs-h3); color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--ink); color: var(--cloud); font-size: .98rem; }
.pill button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(223, 229, 225, .18); }
.pill button svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 2; }

/* ==========================================================================
   PRODUCT
   ========================================================================== */
.prod { padding: calc(var(--header-h) + 26px) 0 clamp(70px, 8vw, 120px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: 24px; font-size: 1rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.prod__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 12px); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--cloud-2); cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.gallery__main.is-zoom img { transform: scale(1.9); cursor: zoom-out; transition: transform .35s var(--ease-out); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: none; width: 78px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cloud-2); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s, opacity .3s; opacity: .75; }
.gallery__thumbs button[aria-current="true"] { outline-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.022em; font-weight: 380; }
.info__kind { margin-top: 10px; color: var(--muted); font-size: 1.12rem; }
.info__price { margin-top: 18px; font-family: var(--serif); font-size: 1.8rem; line-height: 1; font-variant-numeric: lining-nums; }
.info__price small { font-family: var(--hand); font-size: 1rem; color: var(--muted); margin-left: 10px; }
.info__lede { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.42; color: #2c3f3c; max-width: 34ch; }
.opt { margin-top: 28px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.opt__name { color: var(--muted); }
.opt__head b { font-weight: 400; font-size: 1.04rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(25, 41, 40, .22); }
.swatch[aria-checked="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); }
.swatch[data-off]::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: rgba(25, 41, 40, .55); transform: rotate(45deg); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 56px; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(25, 41, 40, .2); font-size: 1.02rem; transition: background-color .25s, color .25s, border-color .25s; }
.size:hover { border-color: rgba(25, 41, 40, .55); }
.size[aria-checked="true"] { background: var(--ink); color: var(--cloud); border-color: var(--ink); }
.size[data-off] { color: rgba(25, 41, 40, .35); text-decoration: line-through; }
.buy { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.buy__note { color: var(--muted); font-size: .98rem; display: flex; gap: 10px; align-items: flex-start; }
.buy__note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 1.2rem; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; width: 13px; height: 13px; flex: none; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc__body { padding: 0 0 20px; color: #2c3f3c; font-size: 1.06rem; max-width: 60ch; }
.acc__body p + p, .acc__body ul, .acc__body table { margin-top: 10px; }
.acc__body ul { padding-left: 1.1em; list-style: disc; }
.acc__body li + li { margin-top: 4px; }
.acc__body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.acc__body th, .acc__body td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.origin { margin-top: 30px; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 16px; background: var(--cloud-2); }
.origin img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.origin__label { color: var(--muted); font-size: .98rem; }
.origin__mark { width: 120px; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--pine); display: grid; place-items: center; }
.origin .origin__mark img { width: 66%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.origin h3 { font-size: 1.3rem; margin-top: 4px; }
.origin p { margin-top: 6px; color: #2c3f3c; font-size: 1rem; line-height: 1.4; }
.origin .link { margin-top: 8px; font-size: .98rem; }

/* ==========================================================================
   STORY
   ========================================================================== */
.story-hero { min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; }
.story-body { display: grid; grid-template-columns: 1fr minmax(0, 1.4fr); gap: clamp(30px, 6vw, 110px); }
.story-body aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.quote { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 360; max-width: 16ch; }
.quote em { font-style: italic; color: var(--accent, var(--pine)); }
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.defs > div { padding: 34px 34px 6px 0; }
.defs > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.defs h3 { font-size: var(--fs-h2); }
.defs .meta { display: block; margin-top: 8px; }
.defs p { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.42; max-width: 32ch; }
.mapbox { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: #1f3331; }
.map__coast { fill: none; stroke: rgba(223, 229, 225, .4); stroke-width: 1.2; stroke-linejoin: round; }
.map__contours path { fill: none; stroke: var(--sage); stroke-width: 1; opacity: .14; }
.map__peaks path { fill: none; stroke: var(--mist); stroke-width: 1.1; opacity: .32; stroke-linejoin: round; }
.map__route-bg { fill: none; stroke: rgba(191, 174, 143, .22); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--sand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 5.5s var(--ease-io); }
.map__pin circle { fill: var(--ink); stroke: var(--mist); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.map__pin text { font-family: var(--hand); font-size: 17px; fill: var(--mist); opacity: 0; transition: opacity .5s; }
.map__pin.is-on circle { fill: var(--sand); stroke: var(--sand); }
.map__pin.is-on text { opacity: 1; fill: var(--cloud); }
.map__ocean { font-family: var(--serif); font-style: italic; font-size: 20px; fill: var(--mist); opacity: .45; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.6vw, 36px) clamp(14px, 1.6vw, 24px); }
.photo__img { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--cloud-2); }
.photo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.photo:hover .photo__img img { transform: scale(1.04); }
.photo figcaption { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.photo figcaption span { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; color: var(--ink); margin-bottom: 2px; }

/* ==========================================================================
   FAQ / 404
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side h2 { margin-top: 16px; }
.faq-side p { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.65rem); line-height: 1.2; cursor: pointer; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 15px; height: 15px; flex: none; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list .a { padding: 0 0 26px; max-width: 60ch; color: #2c3f3c; font-size: 1.12rem; }
.faq-list .a p + p { margin-top: 10px; }
.contact { border-radius: 22px; padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: end; position: relative; overflow: hidden; }
.contact h2 { margin-top: 14px; }
.contact p { margin-top: 14px; color: var(--muted); max-width: 44ch; }
.contact .mail { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); justify-self: end; text-align: right; }
svg.contact__contour { position: absolute; inset: 0; width: 100%; height: 100%; color: #a9c4b5; opacity: .45; pointer-events: none; }
.contact > *:not(svg) { position: relative; }
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; position: relative; overflow: hidden; }
.lost__bg { position: absolute; inset: 0; }
.lost__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lost__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(25, 41, 40, .35), rgba(25, 41, 40, .95) 70%); }
.lost .wrap { position: relative; }
.lost h1 { margin-top: 18px; }
.lost p { margin-top: 20px; font-size: var(--fs-lead); color: #cfd8d3; max-width: 36ch; }
.lost .compass { width: 100px; margin-bottom: 26px; color: var(--sand); }
.lost .needle { transform-origin: 50% 50%; transform-box: view-box; animation: needle 5s var(--ease-io) infinite; }
@keyframes needle { 0% { rotate: 0deg; } 25% { rotate: 130deg; } 45% { rotate: 70deg; } 70% { rotate: 220deg; } 100% { rotate: 360deg; } }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .drop__in { grid-template-columns: 1fr; }
  .search input { width: 170px; }
  .search input:focus { width: 200px; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .hdr__nav, .hdr__tools .btn { display: none; }
  .menu-btn { display: block; }
  .cats { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .cat:first-child { grid-column: span 2; }
  .cat:first-child .cat__img { aspect-ratio: 16 / 10; }
  .cat__blurb { display: none; }
  .story-split, .mapbox, .story-body, .faq-grid, .prod__grid, .contact, .defs, .note { grid-template-columns: 1fr; }
  .defs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .story-body aside, .faq-side, .gallery { position: relative; top: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bar .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-block: 4px 10px; }
  .search { display: block; width: 100%; }
  .search input, .search input:focus, .search input:not(:placeholder-shown) { width: 100%; }
  .shop-status__right { width: 100%; }
  .shop-status__right .select { flex: 1 1 0; }
  .select select { max-width: none; }
  .contact .mail { justify-self: start; text-align: left; }
  .stack { max-width: 520px; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .pcard__meta { flex-direction: column; gap: 2px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .hero__ctas .btn { width: 100%; }
  .signup { flex-direction: column; padding: 9px; }
  .signup input { height: 50px; }
  .signup .btn { width: 100%; }
  .origin { grid-template-columns: 90px 1fr; }
  .origin img { width: 90px; }
  .gallery__thumbs button { width: 64px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .js [data-reveal], .ln__in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .map__route { transition: none; }
  @view-transition { navigation: none; }
}
