/* Little Barn Willow: homepage styles.
   Palette from the logo and the willow itself: leaf-underside green, bark brown, buff willow honey, sage.
   Display: Besley (a Clarendon, the letter of farm sale bills and show schedules). Body: Schibsted Grotesk. */

@font-face { font-family: 'Besley'; src: url('../fonts/besley-latin-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Besley'; src: url('../fonts/besley-latin-italic-var.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('../fonts/schibsted-grotesk-latin-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --pale: #E7E9DC;        /* willow leaf underside */
  --pale-2: #DCE0CC;
  --paper: #F3F3EA;
  --bark: #2A2017;        /* black maul bark */
  --bark-2: #36291E;
  --ink: #2A2017;
  --ink-2: #594C3F;
  --honey: #C38A4A;       /* buff willow */
  --honey-2: #D9A86A;
  --rod: #8A5A2B;         /* deep buff, text-safe on the pale grounds */
  --leaf: #7C8A57;
  --leaf-deep: #4C5832;
  --moss: #262F1E;
  --cream: #EFE9DA;
  --cream-2: #CFC6B3;
  --kraft: #D5B084;

  --f-display: 'Besley', Georgia, 'Times New Roman', serif;
  --f-body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-h1: clamp(2.45rem, 3.9vw + .3rem, 4.9rem);
  --fs-h2: clamp(2rem, 3.2vw + .1rem, 3.75rem);
  --fs-h3: clamp(1.3rem, 1.2vw + .5rem, 2rem);
  --fs-lede: clamp(1.08rem, .45vw + .92rem, 1.22rem);
  --fs-body: clamp(1rem, .2vw + .94rem, 1.075rem);

  --gutter: clamp(16px, 3.4vw, 56px);
  --max: 1680px;
  --wrap-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --sec-y: clamp(60px, 9vh, 120px);
  --hh0: 96px;            /* header height on load */
  --hh-s: 74px;           /* header height once scrolled */
  --hh: var(--hh0);
  --radius: 20px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--pale); }
body { margin: 0; background: var(--pale); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.62; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 560; line-height: 1.06; letter-spacing: -.012em; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 480; }
/* room for the word masks' side padding, so a word ending a line never pokes past the heading box */
[data-split] { padding-inline: .12em; margin-inline: -.12em; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--rod); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--bark); color: var(--cream); padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .35s, color .35s, border-color .35s; will-change: transform; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.btn--dark { background: var(--bark); color: var(--cream); }
.btn--dark:hover { background: var(--rod); }
.btn--ghost { border-color: rgba(42, 32, 23, .55); color: var(--ink); background: rgba(243, 243, 234, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--bark); }
.btn--light:hover { background: var(--honey-2); }
.btn--ghost-light { border-color: rgba(239, 233, 218, .6); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(239, 233, 218, .1); }
.btn--honey { background: var(--honey-2); color: var(--bark); }
.btn--honey:hover { background: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--rod); background: linear-gradient(currentColor, currentColor) left calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.link-arrow svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: calc(100% - 30px) 1.5px; }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--light { color: var(--honey-2); }
.round-btn { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; transition: background-color .3s, color .3s; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn--prev svg { transform: rotate(180deg); }
.round-btn:hover { background: var(--cream); color: var(--bark); border-color: var(--cream); }

/* ------------------------------------------------------------ header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hh); background: var(--pale); transition: height .5s var(--ease), box-shadow .5s; }
.site-header.is-scrolled { --hh: var(--hh-s); box-shadow: 0 1px 0 rgba(42, 32, 23, .1), 0 16px 34px -26px rgba(42, 32, 23, .5); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.brand { flex: none; display: block; border-radius: 8px; }
.brand__logo { width: auto; height: 70px; transform-origin: left center; transition: transform .5s var(--ease); }
.site-header.is-scrolled .brand__logo { transform: scale(.78); }
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(12px, 1.45vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 46px; padding: 0 2px; border: 0; background: none; cursor: pointer; font: 500 .97rem/1 var(--f-body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--rod); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--menu.is-open .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__trigger { padding-right: 21px; }
.nav__trigger::after { right: 21px; }
.nav__trigger::before { content: ''; position: absolute; right: 0; top: 50%; width: 15px; height: 15px; margin-top: -7px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .4s var(--ease); }
.nav__item--menu.is-open .nav__trigger::before { transform: rotate(180deg); }
.nav__item--menu { position: relative; }
.nav__panel { position: absolute; top: calc(100% + 16px); left: 50%; width: min(740px, 64vw); padding: 18px; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 70px -30px rgba(42, 32, 23, .55), 0 0 0 1px rgba(42, 32, 23, .06); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .3s, transform .45s var(--ease), visibility 0s linear .45s; }
.nav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav__item--menu.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.nav__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.nav__tile { display: grid; gap: 10px; padding: 8px; border-radius: 14px; text-decoration: none; transition: background-color .3s; }
.nav__tile:hover, .nav__tile:focus-visible { background: var(--pale); }
.nav__tile-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: clip; }
.nav__tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nav__tile:hover .nav__tile-img img { transform: scale(1.06); }
.nav__tile-body { display: grid; gap: 2px; padding: 0 4px 4px; }
.nav__tile-title { font: 600 1.1rem/1.2 var(--f-display); }
.nav__tile-sub { font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.nav__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 6px 12px 0; font-weight: 600; color: var(--rod); text-decoration: none; white-space: nowrap; }
.nav__all svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.nav__all:hover svg { transform: translateX(4px); }
.site-header__actions { flex: none; display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: .97rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 20px; height: 20px; color: var(--rod); }
.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--bark); cursor: pointer; }
.burger__bar { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger__bar:first-child { top: 19px; }
.burger__bar:last-child { top: 27px; }
.burger[aria-expanded="true"] .burger__bar:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:last-child { top: 23px; transform: rotate(-45deg); }

/* mobile menu: a sibling of the header so the header never traps it */
.mnav { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: calc(var(--hh0) + 20px) var(--gutter) max(28px, env(safe-area-inset-bottom)); background: var(--pale); visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), opacity .4s, visibility 0s linear .7s; }
.mnav.is-open { visibility: visible; opacity: 1; clip-path: inset(0); transition: clip-path .7s var(--ease), opacity .2s, visibility 0s; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__list > li { border-bottom: 1px solid rgba(42, 32, 23, .12); }
.mnav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 6px 0; border: 0; background: none; font: 500 clamp(1.5rem, 6vw, 2rem)/1.1 var(--f-display); color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.mnav__link svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mnav__sub.is-open { grid-template-rows: 1fr; }
.mnav__sub-inner { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 4px; }
.mnav__sub.is-open .mnav__sub-inner { padding-bottom: 10px; }
.mnav__sub a { display: flex; align-items: center; min-height: 46px; font-size: 1.08rem; text-decoration: none; color: var(--ink-2); }
.mnav__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.mnav__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; text-decoration: none; }
.mnav__phone svg { width: 22px; height: 22px; color: var(--rod); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ------------------------------------------------------------ main + hero */
main { padding-top: var(--hh0); }
.hero { position: relative; display: flex; align-items: center; height: calc(100svh - var(--hh0)); min-height: 580px; overflow: hidden; background: #d9d3cf; }
.hero__media { position: absolute; inset: 0; overflow: clip; }
.hero__parallax { position: absolute; inset: -2.5%; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__loom { position: absolute; inset: 0; z-index: 1; display: none; pointer-events: none; }
.hero__loom span { position: absolute; left: 0; width: 100%; background-repeat: no-repeat; will-change: transform; }
html.intro .hero__loom { display: block; }
.hero__mist { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(236, 231, 228, .9) 0%, rgba(236, 231, 228, .72) 24%, rgba(236, 231, 228, .28) 44%, rgba(236, 231, 228, 0) 58%); pointer-events: none; }
.hero__content { position: relative; z-index: 3; }
.hero__copy { max-width: min(44%, 780px); }
.hero__title { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.018em; color: var(--ink); }
.hero__title em { color: var(--rod); }
.hero__lede { margin-top: clamp(16px, 2.4vh, 26px); font-size: var(--fs-lede); line-height: 1.55; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 3.4vh, 36px); }
.hero__toggle { position: absolute; right: var(--gutter); bottom: 26px; z-index: 4; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(42, 32, 23, .6); color: var(--cream); cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .3s; }
.hero__toggle:hover { background: var(--bark); }
.hero__toggle svg { width: 18px; height: 18px; }
.hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }

/* word masks for the woven heading reveals: padded so descenders and italic tails never clip */
.w { display: inline-block; overflow: hidden; padding: calc(.42em + 4px) .08em calc(.4em + 4px); margin: calc(-.42em - 4px) -.08em calc(-.4em - 4px); vertical-align: baseline; }
.wi { display: inline-block; }

/* ------------------------------------------------------------ routes (three ways in) */
.routes { position: relative; padding: var(--sec-y) 0; background: var(--pale); }
.routes__title { font-size: var(--fs-h2); margin-bottom: clamp(26px, 4vh, 46px); }
.routes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 28px); }
.route { position: relative; display: block; height: min(58vh, 580px); min-height: 380px; border-radius: 24px; overflow: clip; isolation: isolate; color: var(--cream); text-decoration: none; background: var(--bark); }
.route__media { position: absolute; inset: 0; display: block; }
.route__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.route:hover .route__media img, .route:focus-visible .route__media img { transform: scale(1.06); }
.route::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24, 18, 12, 0) 34%, rgba(24, 18, 12, .5) 58%, rgba(24, 18, 12, .88) 100%); }
.route__rod { position: absolute; inset: 12px; z-index: 3; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; pointer-events: none; }
.route__rod rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: 16px; fill: none; stroke: var(--honey-2); stroke-width: 2px; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.route:hover .route__rod rect, .route:focus-visible .route__rod rect { stroke-dashoffset: 0; }
.route__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 8px; padding: clamp(20px, 2.1vw, 34px); }
.route__title { font-size: clamp(1.7rem, 2.1vw, 2.15rem); font-weight: 580; color: var(--cream); }
.route__text { font-size: 1rem; line-height: 1.5; color: rgba(239, 233, 218, .92); }
.route__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--honey-2); }
.route__cta svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.route:hover .route__cta svg { transform: translateX(5px); }

/* ------------------------------------------------------------ maker */
.maker { position: relative; padding: var(--sec-y) 0; background: var(--paper); overflow: hidden; }
.maker__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5.5vw, 110px); align-items: center; }
.maker__art { position: relative; height: min(76vh, 720px); }
.frame { margin: 0; border-radius: var(--radius); overflow: clip; background: var(--pale-2); box-shadow: 0 34px 60px -34px rgba(42, 32, 23, .55); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.maker__main { position: absolute; left: 0; top: 0; width: 74%; height: 86%; }
.maker__outline { position: absolute; left: 5%; top: 6%; width: 74%; height: 86%; border: 1.5px solid var(--rod); border-radius: 26px; opacity: .55; }
.maker__inset { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border: 8px solid var(--paper); border-radius: 22px; }
.maker__inset figcaption { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px; white-space: nowrap; border-radius: 10px; background: rgba(243, 243, 234, .92); font: italic 500 .95rem/1.1 var(--f-display); color: var(--ink); }
.maker__text h2 { font-size: var(--fs-h2); margin-bottom: clamp(16px, 2.6vh, 26px); }
.maker__lede { font-size: var(--fs-lede); line-height: 1.55; margin-bottom: 16px; }
.maker__text > p:not(.maker__lede) { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(20px, 3.4vh, 34px) 0 clamp(12px, 2vh, 20px); border-top: 1px solid rgba(42, 32, 23, .18); }
.facts__item { padding: 16px 16px 0 0; }
.facts__item + .facts__item { padding-left: 18px; border-left: 1px solid rgba(42, 32, 23, .14); }
.facts dt { font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rod); }
.facts dd { margin: 6px 0 0; font: 500 clamp(1.05rem, 1.1vw, 1.25rem)/1.3 var(--f-display); }
[data-fill] .fw { transition: none; }

/* ------------------------------------------------------------ menagerie (gallery shelf) */
.menagerie { position: relative; padding: 0 0 var(--sec-y); background: var(--bark); color: var(--cream); overflow: hidden; }
.marquee { overflow: clip; padding: 18px 0; margin-bottom: clamp(30px, 5.5vh, 60px); border-bottom: 1px solid rgba(239, 233, 218, .14); white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 46s linear infinite; }
.marquee__group { display: inline-flex; flex: none; }
.marquee__word { display: inline-flex; align-items: center; gap: .9em; padding-right: .9em; font: italic 420 clamp(1.3rem, 1.9vw, 1.9rem)/1.2 var(--f-display); color: var(--honey-2); }
.marquee__word::after { content: ''; width: .42em; height: .42em; border-radius: 50%; border: 1.5px solid rgba(217, 168, 106, .55); }
@keyframes marquee { to { transform: translateX(-50%); } }
.menagerie__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 40px; margin-bottom: clamp(22px, 3.6vh, 40px); }
.menagerie__intro h2 { font-size: var(--fs-h2); }
.menagerie__intro p { margin-top: 12px; color: var(--cream-2); font-size: var(--fs-lede); }
.menagerie__controls { display: flex; align-items: center; gap: 14px; flex: none; }
.menagerie__count { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 4.5em; }
.menagerie__bar { position: relative; width: clamp(80px, 10vw, 160px); height: 2px; background: rgba(239, 233, 218, .2); overflow: hidden; }
.menagerie__bar-fill { position: absolute; inset: 0; background: var(--honey-2); transform-origin: left; transform: scaleX(.2); }
.shelf { --piece-h: min(46vh, 520px); position: relative; overflow: hidden; padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); cursor: grab; }
.shelf.is-dragging { cursor: grabbing; }
.shelf__track { display: flex; gap: clamp(16px, 2vw, 34px); width: max-content; margin: 0; padding: 0 var(--gutter) 0 0; list-style: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.piece { flex: none; }
.piece figure { margin: 0; }
.piece__frame { width: calc(var(--piece-h) * var(--ar)); height: var(--piece-h); border-radius: 20px; overflow: clip; background: var(--bark-2); }
.piece__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); pointer-events: none; }
.piece figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 14px; }
.piece__name { font: 500 clamp(1.2rem, 1.4vw, 1.5rem)/1.2 var(--f-display); }
.piece__where { font-size: .9rem; color: var(--cream-2); letter-spacing: .05em; }
.menagerie__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-top: clamp(18px, 3vh, 32px); }
.menagerie__hint { font-size: .95rem; color: var(--cream-2); }
.drag-cursor { position: fixed; left: 0; top: 0; z-index: 120; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; border-radius: 50%; background: var(--honey-2); color: var(--bark); font: 600 .95rem/1 var(--f-body); pointer-events: none; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.drag-cursor.is-on { opacity: 1; transform: scale(1); }
.drag-cursor.is-down { transform: scale(.8); }

/* static gallery (no JS, reduced motion): a grid that fits the screen */
html:not(.motion) .shelf { cursor: auto; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
html:not(.motion) .shelf__track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: auto; padding: 0; align-items: start; }
html:not(.motion) .piece__frame { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 46vh; }
html:not(.motion) .piece__frame img { transform: none; }
html:not(.motion) .menagerie__controls, html:not(.motion) .menagerie__hint { display: none; }
html:not(.motion) .marquee__track { animation: none; }

/* ------------------------------------------------------------ process (commission scene) */
.process { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--hh-s) + 28px) 0 36px; background: var(--pale-2); overflow: hidden; }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 5vw, 96px); align-items: center; width: min(100% - 2 * var(--gutter), var(--max)); }
.process__text h2 { font-size: var(--fs-h2); }
.process__intro { margin: 14px 0 clamp(16px, 2.6vh, 26px); font-size: var(--fs-lede); color: var(--ink-2); }
.steps { list-style: none; margin: 0 0 clamp(18px, 3vh, 28px); padding: 0; }
.step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: clamp(10px, 1.6vh, 16px) 0; border-top: 1px solid rgba(42, 32, 23, .16); transition: opacity .5s; }
.step:last-child { border-bottom: 1px solid rgba(42, 32, 23, .16); }
.step__num { position: relative; z-index: 1; font: 600 1.05rem/1.6 var(--f-display); color: var(--rod); font-variant-numeric: tabular-nums; }
.step__title { font-size: clamp(1.15rem, 1.2vw, 1.4rem); font-weight: 600; margin-bottom: 4px; }
.step p { font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.process--pinned .step { opacity: .4; }
.process--pinned .step.is-active { opacity: 1; }
.board { position: relative; height: min(calc(100svh - var(--hh-s) - 70px), 760px); min-height: 420px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; padding: 22px 26px 20px; border-radius: 26px; overflow: hidden; background: var(--bark); }
.board::before { content: ''; position: absolute; inset: 0; background: url('../img/weave-texture-1600.jpg') center / cover; opacity: .06; mix-blend-mode: screen; }
.board__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.board__art { position: relative; justify-self: center; align-self: center; height: 100%; max-height: 100%; aspect-ratio: 1000 / 1137; max-width: 100%; }
.board__svg, .board__finished { position: absolute; inset: 0; width: 100%; height: 100%; }
.board__finished { object-fit: contain; }
.board__svg path, .board__svg circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.board__svg .board__moon { fill: rgba(239, 233, 218, .05); stroke: rgba(239, 233, 218, .55); stroke-width: 2.5; }
.board__sketch { stroke: rgba(239, 233, 218, .75); stroke-width: 2.6; }
.board__rod--0 { stroke: var(--honey); stroke-width: 10; }
.board__rod--1 { stroke: #8A5A2B; stroke-width: 8; }
.board__rod--2 { stroke: var(--honey-2); stroke-width: 6; }
.board__rod--3 { stroke: #A8743F; stroke-width: 8; }
.board__weft { stroke-width: 5; opacity: .92; }
.board__weft--0 { stroke: var(--honey); }
.board__weft--1 { stroke: #7A4F28; }
.board__weft--2 { stroke: #B98A55; }
.board__caption { position: relative; z-index: 2; font: italic 450 1.05rem/1.3 var(--f-display); color: var(--cream-2); }
.board__count { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--cream-2); }
.board__progress { position: relative; flex: 0 1 34%; height: 2px; background: rgba(239, 233, 218, .18); overflow: hidden; }
.board__progress-fill { position: absolute; inset: 0; background: var(--honey-2); transform-origin: left; transform: scaleX(1); }
/* static board: the finished hare over a faint echo of the drawing */
html:not(.motion) .board__svg { opacity: .32; }

/* ------------------------------------------------------------ reviews */
.reviews { position: relative; padding: var(--sec-y) 0; background: var(--moss); color: var(--cream); overflow: hidden; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 100px); align-items: center; }
.reviews h2 { font-size: var(--fs-h2); margin-bottom: clamp(22px, 3.6vh, 36px); }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s linear .6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity .7s .15s, visibility 0s; }
.quote blockquote { margin: 0; }
.quote p { font: italic 420 clamp(1.5rem, 2.25vw, 2.35rem)/1.3 var(--f-display); letter-spacing: -.005em; }
.quote figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.quote__name { font-weight: 600; font-size: 1.05rem; }
.quote__piece { color: var(--honey-2); font-size: 1rem; }
.quote__piece::before { content: ''; display: inline-block; width: 22px; height: 1.5px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.quotes__controls { display: flex; align-items: center; gap: 16px; margin: clamp(26px, 4vh, 40px) 0 clamp(14px, 2vh, 22px); }
.quotes__count { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 3.2em; text-align: center; }
.quotes__timer { position: relative; width: clamp(70px, 8vw, 120px); height: 2px; background: rgba(239, 233, 218, .22); overflow: hidden; }
.quotes__timer-fill { position: absolute; inset: 0; background: var(--honey-2); transform-origin: left; transform: scaleX(0); }
.round-btn--light:hover { background: var(--cream); color: var(--moss); }
.reviews__media { display: flex; justify-content: flex-end; }
.reviews__stack { position: relative; width: min(100%, 620px, 70vh); aspect-ratio: 1; }
.frame--dark { background: #1d2417; }
.rv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1s var(--ease), transform 1.8s var(--ease); }
.rv-img.is-active { opacity: 1; transform: scale(1); }

/* ------------------------------------------------------------ shop */
.shop { position: relative; padding: var(--sec-y) 0; background: var(--pale); }
.shop__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 90px); align-items: end; margin-bottom: clamp(26px, 4vh, 44px); }
.shop__head h2 { font-size: var(--fs-h2); }
.shop__head p { color: var(--ink-2); font-size: var(--fs-lede); }
.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 34px); list-style: none; margin: 0; padding: 0; }
.product__link { position: relative; display: block; color: inherit; text-decoration: none; }
.product__media { display: block; aspect-ratio: 5 / 4; max-height: 40vh; width: 100%; border-radius: 20px; overflow: clip; background: var(--pale-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product__link:hover .product__media img { transform: scale(1.05); }
.product__body { display: grid; gap: 6px; padding-top: 16px; }
.product__name { font-size: clamp(1.25rem, 1.4vw, 1.55rem); font-weight: 580; }
.product__text { color: var(--ink-2); }
.product__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--rod); }
.product__cta svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.product__link:hover .product__cta svg { transform: translateX(5px); }
/* kraft tag hanging from the corner, like the tags on the client's own pieces */
.tag { position: absolute; top: -6px; right: 26px; z-index: 2; width: 78px; transform-origin: 50% 0; pointer-events: none; }
.tag::before { content: ''; position: absolute; left: 50%; top: 0; width: 1.5px; height: 30px; margin-left: -.75px; background: #6f5a45; }
.tag__price { position: relative; display: grid; place-items: end center; height: 86px; margin-top: 22px; padding-bottom: 14px; background: var(--kraft); color: var(--bark); font: 650 1.25rem/1 var(--f-display); clip-path: polygon(24% 0, 76% 0, 100% 20%, 100% 100%, 0 100%, 0 20%); -webkit-mask: radial-gradient(circle at 50% 14px, transparent 5px, #000 5.5px); mask: radial-gradient(circle at 50% 14px, transparent 5px, #000 5.5px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .06); }
.product__link:hover .tag { animation: swing 1.4s var(--ease); }
@keyframes swing { 0% { transform: rotate(0); } 22% { transform: rotate(9deg); } 48% { transform: rotate(-6deg); } 72% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.shop__foot { display: flex; justify-content: center; margin-top: clamp(24px, 4vh, 44px); }

/* ------------------------------------------------------------ workshop */
.workshop { position: relative; padding: var(--sec-y) 0; background: var(--bark); color: var(--cream); overflow: hidden; }
.workshop__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 100px); align-items: center; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.workshop__media { position: relative; margin: 0; height: min(78vh, 780px); border-radius: 26px; overflow: clip; }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; }
.workshop__glow { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 110, .55), rgba(255, 196, 110, 0) 70%); mix-blend-mode: screen; pointer-events: none; opacity: .5; }
.workshop__glow--a { left: 52%; top: 38%; }
.workshop__glow--b { left: 68%; top: 31%; width: 16%; }
.workshop__panel h2 { font-size: var(--fs-h2); margin-bottom: clamp(18px, 3vh, 28px); }
.ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; margin-bottom: clamp(18px, 3vh, 28px); border-radius: 18px; background: var(--cream); color: var(--bark); overflow: hidden; }
.ticket::before, .ticket::after { content: ''; position: absolute; left: calc(168px - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--bark); }
.ticket::before { top: -11px; }
.ticket::after { bottom: -11px; }
.ticket__date { --stub: 168px; width: var(--stub); display: grid; align-content: center; justify-items: center; gap: 0; padding: 20px 18px; text-align: center; border-right: 2px dashed rgba(42, 32, 23, .3); background: var(--honey-2); }
.ticket__day { font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ticket__big { font: 650 clamp(3.4rem, 4.4vw, 4.2rem)/1 var(--f-display); letter-spacing: -.02em; }
.ticket__month { font-weight: 600; white-space: nowrap; }
.ticket__rows { display: grid; gap: 10px; margin: 0; padding: 20px 24px; }
.ticket__rows div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.ticket__rows dt { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rod); padding-top: 2px; }
.ticket__rows dd { margin: 0; font-weight: 500; line-height: 1.4; }
.workshop__text { color: var(--cream-2); margin-bottom: 18px; }
.included { list-style: none; margin: 0 0 clamp(20px, 3.4vh, 30px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.included li { display: flex; align-items: center; gap: 10px; }
.included svg { width: 20px; height: 20px; flex: none; color: var(--honey-2); }
.workshop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.workshop__actions p { color: var(--cream-2); }

/* ------------------------------------------------------------ contact */
.contact { position: relative; display: flex; align-items: center; min-height: min(100svh, 880px); padding: var(--sec-y) 0; color: var(--cream); overflow: hidden; background: #1f2418; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform-origin: 70% 50%; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 14, .86) 0%, rgba(20, 22, 14, .7) 38%, rgba(20, 22, 14, .1) 70%); }
.contact__inner { position: relative; z-index: 1; }
.contact h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.contact__copy { max-width: min(54%, 780px); }
.contact__text { font-size: var(--fs-lede); color: var(--cream); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: clamp(22px, 3.6vh, 34px) 0 clamp(20px, 3vh, 30px); }
.contact__details { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; list-style: none; margin: 0; padding: 0; }
.contact__details li { display: flex; align-items: center; gap: 10px; }
.contact__details svg { width: 20px; height: 20px; color: var(--honey-2); flex: none; }
.contact__details a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact__details a:hover { text-decoration: underline; }
.contact__social { gap: 6px !important; }
.contact__social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(239, 233, 218, .35); transition: background-color .3s, color .3s; }
.contact__social a:hover { background: var(--cream); color: var(--bark); }
.contact__social svg { color: currentColor; }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; padding: clamp(56px, 8vh, 90px) 0 28px; background: var(--pale); color: var(--ink); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 72px); }
.site-footer__logo { width: 240px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { color: var(--ink-2); }
.site-footer__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer__col a, .site-footer__col > ul > li > span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--rod); }
.site-footer__col svg { width: 19px; height: 19px; flex: none; color: var(--rod); }
.site-footer__shop { margin-top: 14px; color: var(--cream) !important; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(40px, 6vh, 64px); padding-top: 22px; border-top: 1px solid rgba(42, 32, 23, .15); color: var(--ink-2); font-size: .95rem; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__credit { margin-left: auto; }
.site-footer__credit a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ motion: starting states (only when motion is on) */
html.motion [data-reveal] { opacity: 0; transform: translateY(26px); }
html.motion [data-split]:not(.is-split) { opacity: 0; }
html.motion.intro .site-header { transform: translateY(-100%); }
html.motion [data-hero-fade] { opacity: 0; transform: translateY(18px); }
html.motion .hero__video { opacity: 0; }
html.motion .route { opacity: 0; }
html.motion [data-wipe] { clip-path: inset(100% 0 0 0 round 20px); }
html.motion .board__finished { opacity: 0; }
html.motion .tag { transform: rotate(-24deg); opacity: 0; }
html.motion .ticket { opacity: 0; transform: translateY(30px) rotate(-2deg); }
html.motion .piece { opacity: 0; transform: translateY(60px); }
html.intro-done .site-header { transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1479px) {
  .header-phone__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-phone { width: 44px; justify-content: center; border-radius: 50%; }
  .brand__logo { height: 64px; }
}
@media (max-width: 1239px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-header__actions { margin-left: auto; }
  .brand__logo { height: 58px; }
}
@media (max-width: 1100px) {
  .routes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes__grid .route:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; }
  .facts__item { padding: 12px 0; border-bottom: 1px solid rgba(42, 32, 23, .12); }
}
@media (max-width: 1023px) {
  .process { min-height: 0; padding: var(--sec-y) 0; }
  .process__grid { grid-template-columns: 1fr; }
  .process__board { order: -1; }
  .board { height: min(96vw, 620px, 74svh); }
  .workshop__grid { grid-template-columns: 1fr; }
  .workshop__media { height: min(60vw, 560px, 70svh); }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__media { justify-content: flex-start; order: -1; }
  .reviews__stack { width: min(100%, 520px, 60svh); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  :root { --hh0: 78px; --hh-s: 66px; }
  .hero { flex-direction: column; align-items: stretch; height: auto; min-height: calc(100svh - var(--hh0)); background: var(--pale); }
  .hero__media { position: relative; inset: auto; height: 50svh; min-height: 300px; flex: none; }
  .hero__video { object-position: 66% 50%; }
  .hero__mist { display: none; }
  .hero__content { flex: 1; display: flex; align-items: center; padding: 26px 0 30px; }
  .hero__copy { max-width: none; }
  .hero__toggle { bottom: 14px; }
  .maker__grid { grid-template-columns: 1fr; }
  .maker__art { height: min(118vw, 640px); }
  .shop__head { grid-template-columns: 1fr; }
  .shop__grid { grid-template-columns: 1fr; max-width: 560px; }
  .product__media { max-height: none; }
  .menagerie__head { flex-direction: column; align-items: flex-start; }
  .shelf { --piece-h: min(62vw, 400px, 48svh); }
  html:not(.motion) .shelf__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.motion) .piece:last-child { grid-column: 1 / -1; }
  html:not(.motion) .piece:last-child .piece__frame { aspect-ratio: 16 / 10; }
  html:not(.motion) .piece figcaption { flex-direction: column; gap: 2px; }
  .contact__bg img { object-position: 76% 50%; }
  .contact__bg::after { background: linear-gradient(0deg, rgba(20, 22, 14, .92) 0%, rgba(20, 22, 14, .72) 55%, rgba(20, 22, 14, .3) 100%); }
  .contact { align-items: flex-end; min-height: 0; padding-top: 42vh; }
}
@media (max-width: 767px) {
  .routes__grid { grid-template-columns: 1fr; }
  .routes__grid .route:last-child { grid-column: auto; }
  .route { height: min(112vw, 460px); min-height: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__credit { margin-left: 0; }
  .included { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket__date { width: auto; border-right: 0; border-bottom: 2px dashed rgba(42, 32, 23, .3); grid-template-columns: auto auto auto; justify-content: start; justify-items: start; align-items: baseline; column-gap: 12px; padding: 14px 20px; text-align: left; }
  .ticket__big { font-size: 2.4rem; }
  .brand__logo { height: 50px; }
}
@media (max-width: 599px) {
  .header-shop { display: none; }
  .site-header__actions { gap: 8px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; }
  .quotes__controls { gap: 12px; }
}
@media (max-width: 389px) {
  .brand__logo { height: 44px; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 370px) {
  .brand__logo { height: 40px; }
}
@media (max-width: 340px) {
  .brand__logo { height: 34px; }
  .site-header__actions { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* addresses set as deliberate lines */
.addr { display: grid; line-height: 1.35; }
.site-footer__contact .addr-item { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-top: 10px; }
.site-footer__contact .addr-item svg { margin-top: 2px; }
.site-footer__col .addr { display: grid; gap: 0; min-height: 0; line-height: 1.4; }
.ticket__rows .addr { display: grid; }
@media (max-width: 899px) { .contact__copy { max-width: none; } }
