/* Creative Hands Hartenbos */
:root {
  --base: #FFF6FF;          /* the logo's own background */
  --paper: #FFFFFF;
  --ink: #221A22;
  --ink-soft: #4A3F49;      /* 9.6:1 on base */
  --pink: #FF008E;          /* logo pink, graphics only */
  --pink-deep: #B5006A;     /* text and buttons, 6.5:1 on base, 6.9:1 with white */
  --blush: #FFE3F3;
  --line: #E9CFE0;
  --rail-h: 32px;
  --head-h: 84px;
  --top: calc(var(--rail-h) + var(--head-h));
  --gut: clamp(20px, 5vw, 96px);
  --max: 1440px;
  --f-hand: "Amatic SC", "Comic Sans MS", cursive;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--base); scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--ink); font: 400 17px/1.6 var(--f-sans); overflow-x: clip; padding-top: var(--top); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font: 700 12px/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 18px; }
.cap-title { font: 700 clamp(56px, 7vw, 116px)/.9 var(--f-hand); letter-spacing: .01em; }
.big-title { font: 400 clamp(42px, 5vw, 80px)/1 var(--f-serif); margin-bottom: 28px; }
.muted { color: var(--ink-soft); }

/* buttons: thin outline rectangles, like the model */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font: 700 13px/1.2 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 2px; transition: background-color .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--base); }
.btn--pink { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.btn--pink:hover { background: var(--ink); border-color: var(--ink); }

/* intro curtain */
.curtain { display: none; }
.js .curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--base); transition: opacity .6s ease, visibility .6s; }
.curtain img { width: min(420px, 72vw); mix-blend-mode: multiply; animation: curtain-in .8s ease both; }
.is-ready .curtain { opacity: 0; visibility: hidden; }
@keyframes curtain-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* top rail marquee */
.rail { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--rail-h); background: var(--ink); color: var(--base); overflow: hidden; font: 700 11px/var(--rail-h) var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.rail__track { display: flex; width: max-content; animation: rail 48s linear infinite; }
.rail__track span { padding: 0 28px; position: relative; }
.rail__track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--pink); }
@keyframes rail { to { transform: translateX(-50%); } }

/* header */
.head { position: fixed; top: var(--rail-h); left: 0; right: 0; z-index: 40; height: var(--head-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); background: var(--base); border-bottom: 1px solid transparent; transition: border-color .3s; }
.is-scrolled .head { border-bottom-color: var(--line); }
.head__logo { flex: none; display: block; }
.head__logo img { height: 62px; width: auto; mix-blend-mode: multiply; }
.head__nav { display: flex; gap: 32px; margin-left: auto; }
.head__nav a { font: 500 15px/1 var(--f-sans); text-decoration: none; padding: 8px 0; background: linear-gradient(var(--pink-deep), var(--pink-deep)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.head__nav a:hover { background-size: 100% 2px; }
.head__act { display: flex; align-items: center; gap: 16px; }
.head__call { min-height: 42px; padding: 10px 16px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; color: var(--ink); font: 700 13px/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; }
.menu-btn__lines { display: grid; gap: 4px; width: 24px; }
.menu-btn__lines i { display: block; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* full screen menu, aisle names separated by slashes */
.menu { position: fixed; inset: var(--top) 0 0 0; z-index: 39; background: var(--ink); color: var(--base); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; padding: 32px var(--gut); text-align: center; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .35s ease both; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu__aisles { max-width: 1100px; font: 700 clamp(48px, 7vw, 104px)/1.05 var(--f-hand); }
.menu__aisles a { text-decoration: none; color: var(--base); transition: color .2s; }
.menu__aisles a:hover, .menu__aisles a:focus-visible { color: #FF7AC6; }
.menu__aisles span { color: #FF7AC6; margin: 0 .25em; }
.menu__small { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font: 500 15px/1 var(--f-sans); }
.menu__small a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255, 246, 255, .4); }
.menu :focus-visible { outline-color: #FF7AC6; }

main { position: relative; z-index: 2; }

/* HERO: scrapbook page */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gut) clamp(48px, 8vh, 96px); min-height: calc(100svh - var(--top)); }
.hero__text { position: relative; z-index: 3; }
.hero__title { font: 400 clamp(58px, 7.2vw, 128px)/.92 var(--f-serif); letter-spacing: -.01em; margin-bottom: 28px; }
.hero__title em { font-family: var(--f-hand); font-style: normal; font-weight: 700; color: var(--pink-deep); font-size: 1.12em; letter-spacing: .02em; }
.hero__lede { max-width: 32em; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__start { position: absolute; left: 0; bottom: -40px; width: 1px; height: 1px; }

.hero__page { position: relative; height: clamp(460px, 68vh, 720px); }
.print { position: absolute; margin: 0; background: var(--paper); padding: 10px 10px 34px; box-shadow: 0 1px 2px rgba(34, 26, 34, .08), 0 14px 32px -12px rgba(34, 26, 34, .28); transform: translate3d(var(--dx, 0), var(--dy, 0), 0) rotate(var(--r, 0deg)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 700 22px/1 var(--f-hand); color: var(--ink); }
.print::before { content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: rgba(255, 0, 142, .22); transform: rotate(-4deg); }
.print--a { width: 44%; left: 0; top: 4%; --r: -4deg; z-index: 2; }
.print--b { width: 36%; left: 40%; top: 0; --r: 3deg; z-index: 1; }
.print--c { width: 40%; right: 0; top: 30%; --r: -2deg; z-index: 3; }
.print--d { width: 38%; left: 8%; top: 52%; --r: 2.5deg; z-index: 4; }
.print--e { width: 30%; left: 47%; top: 64%; --r: -5deg; z-index: 5; }
.print--b::before { background: rgba(255, 196, 0, .32); }
.print--d::before { background: rgba(0, 170, 190, .22); }
.print--e::before { background: rgba(255, 196, 0, .32); }

/* AISLE WALK */
.aisles { position: relative; }
.aisles__pin { background: var(--base); padding: 40px 0; }
.aisles__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; max-width: var(--max); margin: 0 auto 32px; padding: 0 var(--gut); }
.aisles__hint { margin: 0 0 10px; font: 700 12px/1.3 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hint-phone { display: none; }
.aisles__track { display: flex; gap: clamp(24px, 3vw, 56px); padding: 0 max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.aisles__track::-webkit-scrollbar { display: none; }
.aisle { flex: none; width: min(1040px, 80vw); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(20px, 2.5vw, 40px); scroll-snap-align: start; }
.aisle__img { background: var(--paper); padding: 12px; box-shadow: 0 14px 32px -18px rgba(34, 26, 34, .35); }
.aisle__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aisle__side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 4px 0; }
.aisle__name { font: 400 clamp(40px, 4.6vw, 80px)/.98 var(--f-serif); }
.spec { display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 14px; margin: 0; font-size: 14px; line-height: 1.45; }
.spec dt { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; color: var(--pink-deep); }
.spec dd { margin: 0; color: var(--ink); }
.aisle--end { width: min(560px, 80vw); grid-template-columns: 1fr; align-items: center; }
.aisle__endcard { border: 2px dashed var(--pink-deep); padding: clamp(28px, 4vw, 56px); display: grid; gap: 28px; justify-items: start; }
.aisle__endtext { font: 400 clamp(34px, 3.6vw, 56px)/1.05 var(--f-serif); margin: 0; }
.aisles__bar { width: 100%; max-width: var(--max); margin: 36px auto 0; padding: 0 var(--gut); }
.aisles__bar i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.aisles__bar i::after { content: ""; position: absolute; inset: 0; background: var(--pink-deep); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* pinned version, switched on by main.js on wide screens */
.aisles.is-pinned .aisles__pin { position: sticky; top: var(--top); height: calc(100svh - var(--top)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 24px 0; }
.aisles.is-pinned .aisles__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.aisles.is-pinned .aisle { width: min(1040px, 74vw, calc((100svh - var(--top) - 190px) * 1.95)); }

/* SHELVES GRID */
.shelves { padding: clamp(80px, 12vh, 140px) 0 clamp(64px, 10vh, 120px); }
.shelves__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.shelves__intro { max-width: 22em; margin: 0 0 10px; color: var(--ink-soft); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile { overflow: visible; }
.tile:hover img { transform: scale(1.03) rotate(-.6deg); }
.spec--sm { margin-top: 14px; grid-template-columns: 4.6em 1fr; font-size: 14px; }

/* CLASSES */
.classes { padding: clamp(56px, 10vh, 120px) 0; background: linear-gradient(transparent, var(--blush) 22%, var(--blush) 78%, transparent); }
.classes__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.print--class { position: relative; --r: -2deg; }
.print--class figcaption { font-size: 26px; }
.classes__text p { max-width: 30em; color: var(--ink-soft); font-size: 18px; }
.classes__note { font-weight: 500; color: var(--ink) !important; }
.classes__text .hero__cta { margin-top: 28px; }

/* KIND WORDS: the model's About quote */
.words { padding: clamp(80px, 13vh, 160px) 0 clamp(64px, 10vh, 120px); }
.words__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.words__score { margin-top: 20px; color: var(--ink-soft); }
.words__score strong { font: 400 56px/1 var(--f-serif); color: var(--ink); margin-right: 8px; }
.words__quote { margin: 0; }
.words__quote blockquote { margin: 0; }
.words__quote blockquote p { font: 400 clamp(44px, 5.4vw, 92px)/1 var(--f-serif); margin: 0; text-indent: -.4em; }
.words__quote figcaption { display: flex; align-items: baseline; justify-content: flex-end; gap: 16px; margin-top: 24px; }
.sign { font: 700 clamp(44px, 4vw, 64px)/1 var(--f-hand); color: var(--pink-deep); transform: rotate(-4deg); display: inline-block; }
.src { font: 700 11px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 8vh, 96px); }
.label { position: relative; background: var(--paper); padding: 32px 28px 24px; box-shadow: 0 10px 28px -16px rgba(34, 26, 34, .3); transform: rotate(var(--r, -1deg)); }
.label:nth-child(2) { --r: 1.2deg; margin-top: 28px; }
.label:nth-child(3) { --r: -.6deg; }
.label::before { content: ""; position: absolute; top: -11px; left: 28px; width: 80px; height: 22px; background: rgba(255, 0, 142, .22); transform: rotate(-3deg); }
.label p { font: 400 23px/1.25 var(--f-serif); }
.label span { font: 700 11px/1.3 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); }

/* VISIT */
.visit { padding: clamp(64px, 10vh, 120px) 0 clamp(80px, 12vh, 140px); }
.visit__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
address { font-style: normal; font-size: 19px; line-height: 1.55; margin-bottom: 28px; }
address .muted { font-size: 16px; }
.hours { border-collapse: collapse; margin-bottom: 32px; width: 100%; max-width: 420px; }
.hours caption { text-align: left; font: 700 11px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); padding-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 500; }
.visit__map { position: relative; background: var(--paper); padding: 12px; box-shadow: 0 14px 32px -18px rgba(34, 26, 34, .35); }
.visit__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; filter: saturate(.85); }
.visit__landed { position: absolute; width: 56px; height: 50px; right: -14px; top: -22px; fill: var(--pink); transform: rotate(14deg); opacity: 0; transition: opacity .4s; }
.has-landed .visit__landed, .no-trail .visit__landed { opacity: 1; }

/* FOOTER */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 56px 0 32px; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; align-items: start; }
.foot__logo { width: 260px; mix-blend-mode: multiply; margin-left: -18px; }
.foot__h { font: 700 11px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 16px; }
.foot__col li { padding: 4px 0; }
.foot__col a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.foot__col a:hover { text-decoration-color: var(--pink-deep); }
.foot__small { margin-top: 48px; font-size: 14px; color: var(--ink-soft); }

/* THE TRAIL and its butterfly */
.trail { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; overflow: visible; }
.trail__dots { stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 11; }
.flyer { position: absolute; top: 0; left: 0; z-index: 30; width: 44px; height: 38px; margin: -19px 0 0 -22px; fill: var(--pink); pointer-events: none; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 4px 6px rgba(181, 0, 106, .25)); }
.trail-on .flyer { opacity: 1; }
.has-landed .flyer { opacity: 0; }
.flyer.is-flapping { animation: flap .32s ease-in-out infinite alternate; }
@keyframes flap { to { width: 30px; margin-left: -15px; } }
.rail-phone { display: none; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* -------- tablet -------- */
@media (max-width: 1100px) {
  .head__nav { display: none; }
  .head__act { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* -------- phone and small tablet -------- */
@media (max-width: 860px) {
  :root { --head-h: 64px; --rail-h: 30px; }
  body { font-size: 16px; }
  .head__logo img { height: 48px; }
  .aisles__track { scroll-padding-inline: var(--gut); }
  .head__act { gap: 8px; }
  .head__call { min-height: 40px; padding: 8px 14px; }
  .head__num { display: none; }
  .words { padding-top: 56px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 40px; }
  .hero__title { font-size: clamp(52px, 15vw, 84px); }
  .hero__page { height: auto; aspect-ratio: 1 / 1.02; max-height: 560px; }
  .print { padding: 7px 7px 26px; }
  .print figcaption { font-size: 18px; }
  .print::before { width: 64px; margin-left: -32px; height: 20px; top: -9px; }
  .print--a { width: 56%; left: 0; top: 2%; }
  .print--b { width: 48%; left: 50%; top: 0; }
  .print--c { width: 52%; right: 0; top: 34%; }
  .print--d { width: 52%; left: 2%; top: 44%; }
  .print--e { width: 44%; left: 46%; top: 70%; }
  .hint-desk { display: none; }
  .hint-phone { display: inline; }
  .aisles__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .aisle { width: 84vw; grid-template-columns: 1fr; gap: 18px; }
  .aisle__side { flex-direction: column-reverse; justify-content: flex-start; gap: 16px; }
  .aisle__name { font-size: 40px; }
  .aisle__img { padding: 8px; }
  .aisle--end { width: 84vw; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .spec--sm { grid-template-columns: 1fr; gap: 0; }
  .spec--sm dt { padding-top: 6px; }
  .classes__inner, .words__inner, .visit__inner, .foot__inner { grid-template-columns: 1fr; }
  .labels { grid-template-columns: 1fr; gap: 28px; }
  .label:nth-child(2) { margin-top: 0; }
  .words__quote figcaption { justify-content: flex-start; }
  .words__quote blockquote p { text-indent: -.35em; padding-left: .35em; }
  /* phone signature: a dotted rail down the right edge, the butterfly rides it */
  .trail { display: none; }
  .rail-phone { display: block; position: fixed; right: 10px; top: calc(var(--top) + 16px); bottom: 24px; width: 3px; z-index: 30; pointer-events: none; background: radial-gradient(circle, var(--pink) 1.2px, transparent 1.6px) 0 0 / 3px 10px repeat-y; opacity: .7; }
  .flyer { position: fixed; left: auto; right: -9px; width: 32px; height: 28px; margin: -14px 0 0 0; }
  @keyframes flap { to { width: 22px; right: -4px; } }
}

@media (max-width: 420px) {
  .btn { padding: 12px 16px; letter-spacing: .08em; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* -------- reduced motion: every moving part has a still version -------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .curtain { display: none; }
  .rail__track { animation: none; flex-wrap: wrap; width: auto; }
  .rail__track span[aria-hidden="true"] { display: none; }
  .print, .tile img, .btn { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flyer.is-flapping { animation: none; }
  .menu.is-open { animation: none; }
}
