/* ==========================================================
   LYHTY - premium barber, Turku (multipage)
   World: paper lanterns in a dim room. Washi glows from inside,
   bamboo ribs are the only structure lines, charcoal ink for text,
   one vermilion seal marks the active page and the primary action.
   ========================================================== */
:root {
  --room: #1B1815;
  --room-2: #241F1A;
  --room-3: #2E2720;
  --washi: #F6EFE1;
  --washi-2: #EFE5D2;
  --ash: #E7E1D6;
  --rib: #D8B48A;
  --rib-dim: rgba(216, 180, 138, 0.35);
  --ink: #2A2A2A;
  --ink-2: #5A5148;
  --glow: #FFC98A;
  --seal: #CC3A2E;
  --seal-deep: #A82C22;
  --on-room: #EDE4D3;
  --on-room-2: #BFB2A0;

  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --caps: "Alegreya Sans SC", "Alegreya Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ring: var(--glow);
  color-scheme: dark;
}

html[data-lang="fi"] body [lang="en"],
html[data-lang="en"] body [lang="fi"] { display: none !important; }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100dvh;
  background: radial-gradient(120% 70% at 30% -10%, #2C241C 0%, var(--room) 55%) fixed, var(--room);
  color: var(--on-room); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  caret-color: var(--seal); scrollbar-color: var(--rib) var(--room);
}
::selection { background: var(--glow); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; }
svg { width: 1em; height: 1em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--washi); color: var(--ink); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- washi: paper lit from inside, ribs bowing across it ---------- */
.washi {
  --ring: var(--seal);
  position: relative; isolation: isolate; color: var(--ink);
  background:
    radial-gradient(90% 70% at 50% 45%, #FFF9EC 0%, var(--washi) 55%, var(--washi-2) 100%);
  box-shadow: 0 0 0 1px rgba(216, 180, 138, 0.5), 0 30px 80px -30px rgba(255, 170, 80, 0.35);
  transition: box-shadow 0.8s var(--ease), background-color 0.8s var(--ease);
}
.washi::before { /* paper fibre */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: url("paper.svg"); background-size: 320px 320px; mix-blend-mode: multiply;
}
.washi--ribs::after { /* bamboo ribs */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 72' preserveAspectRatio='none'%3E%3Cpath d='M0 36 Q50 30 100 36' fill='none' stroke='%23D8B48A' stroke-opacity='.55' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 100% 72px;
}
a.washi:hover, .washi--hover:hover { box-shadow: 0 0 0 1px rgba(216, 180, 138, 0.7), 0 34px 110px -26px rgba(255, 180, 90, 0.6); }

/* ---------- the vermilion seal ---------- */
.seal { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; }
.seal svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 8px 8px 22px;
  border-radius: 3px; text-decoration: none; font-family: var(--caps); font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.08em;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 2px; transition: transform 0.5s var(--ease); }
.btn__ic svg { width: 18px; height: 18px; }
.btn:hover .btn__ic { transform: translateX(3px); }
.btn--seal { background: var(--seal); color: #fff; }
.btn--seal .btn__ic { background: rgba(0, 0, 0, 0.18); }
.btn--seal:hover { background: #D8443A; }
.btn--line { padding: 8px 22px; color: var(--on-room); box-shadow: inset 0 0 0 1px var(--rib); }
.btn--line:hover { background: rgba(216, 180, 138, 0.12); }
.washi .btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.washi .btn--line:hover { background: rgba(42, 42, 42, 0.06); }

/* ---------- header: a row of hanging lanterns ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: flex-start; gap: 28px; padding: 0 var(--gutter) 10px;
  background: linear-gradient(180deg, var(--room) 0 70%, rgba(27, 24, 21, 0));
}
.brand { display: flex; align-items: center; gap: 12px; padding-top: 16px; text-decoration: none; margin-right: auto; }
.brand__word { font-family: var(--caps); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.22em; }
.brand__sub { display: block; font-size: 0.8125rem; color: var(--on-room-2); letter-spacing: 0.04em; }
.lanterns { display: flex; gap: clamp(12px, 1.6vw, 26px); }
.lantern-link {
  position: relative; display: grid; justify-items: center; gap: 6px; padding-top: 0; text-decoration: none;
  font-family: var(--caps); font-size: 0.875rem; letter-spacing: 0.1em; color: var(--on-room-2);
  transition: color 0.4s var(--ease);
}
.lantern-link__cord { width: 1px; height: 14px; background: var(--rib-dim); }
.lantern-link__body {
  width: 22px; height: 30px; border-radius: 45% / 22%;
  background: repeating-linear-gradient(180deg, transparent 0 5px, var(--rib-dim) 5px 6px);
  box-shadow: inset 0 0 0 1px var(--rib-dim);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.lantern-link:hover { color: var(--on-room); }
.lantern-link:hover .lantern-link__body { background-color: rgba(255, 201, 138, 0.35); }
.lantern-link[aria-current="page"] { color: var(--on-room); }
.lantern-link[aria-current="page"] .lantern-link__body {
  background-color: #FFE7BF;
  box-shadow: inset 0 0 0 1px var(--rib), 0 0 22px 4px rgba(255, 190, 110, 0.55);
}
.top__end { display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.lang { display: inline-flex; gap: 2px; }
.lang button {
  border: 0; background: transparent; cursor: pointer; min-width: 38px; height: 34px; border-radius: 2px;
  font-family: var(--caps); font-size: 0.875rem; letter-spacing: 0.1em; color: var(--on-room-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lang button:hover { color: var(--on-room); }
.lang button[aria-pressed="true"] { color: var(--on-room); box-shadow: inset 0 -2px 0 var(--seal); }
.top__book { min-height: 44px; padding-left: 16px; font-size: 0.9375rem; }
.top__book .btn__ic { width: 30px; height: 30px; }
.menu-btn { display: none; }

/* ---------- page head (inner pages) ---------- */
.pagehead { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.pagehead .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.pagehead h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); }
.pagehead p { margin-top: 18px; max-width: 54ch; color: var(--on-room-2); font-size: 1.1875rem; }

/* ---------- the big lantern (hero object) ---------- */
.lantern {
  --w: clamp(150px, 17vw, 250px); --h: calc(var(--w) * 1.8);
  position: relative; width: var(--w); height: calc(var(--h) + 46px); flex: none;
  view-transition-name: lantern;
}
.lantern__paper {
  position: absolute; left: 0; right: 0; top: 0; height: var(--h);
  border-radius: 46% / 10%;
  background:
    radial-gradient(60% 46% at 50% 48%, #FFFBF1 0%, #FFE9C4 45%, #F2C98F 100%);
  box-shadow: 0 0 60px 10px rgba(255, 186, 100, 0.32), 0 0 160px 40px rgba(255, 170, 80, 0.16);
  overflow: hidden;
}
.lantern__paper::before { /* ribs */
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath d='M0 14 Q50 19 100 14' fill='none' stroke='%23B08455' stroke-opacity='.55' stroke-width='1.3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 100% calc(var(--h) / 13);
}
.lantern__paper::after { /* paper fibre */
  content: ""; position: absolute; inset: 0; background-image: url("paper.svg"); background-size: 240px; mix-blend-mode: multiply; opacity: 0.5;
}
.lantern__seal { position: absolute; z-index: 1; left: 50%; top: 38%; transform: translateX(-50%); width: 46px; height: 46px; }
.lantern__seal svg { width: 100%; height: 100%; }
.lantern__legs { position: absolute; left: 14%; right: 14%; bottom: 0; height: 52px; }
.lantern__legs svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .lantern__paper { animation: switch-on 1.6s var(--ease-out) both; }
  @keyframes switch-on { 0% { filter: brightness(0.35) saturate(0.4); box-shadow: none; } 30% { filter: brightness(0.5); } 100% { filter: none; } }
}

/* ---------- home hero ---------- */
.hero { padding: clamp(24px, 5vw, 72px) 0 clamp(64px, 9vw, 130px); }
.hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.03em; }
.hero__lead { margin-top: 26px; max-width: 44ch; color: var(--on-room-2); font-size: clamp(1.125rem, 1.5vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 1rem; color: var(--on-room-2); }
.status__bulb { width: 10px; height: 10px; border-radius: 50%; background: #4A4038; }
.status.is-open .status__bulb { background: var(--glow); box-shadow: 0 0 12px 3px rgba(255, 190, 110, 0.6); }
.status.is-open { color: var(--on-room); }

/* ---------- three lanterns: the slow things ---------- */
.trio { padding: 0 0 clamp(80px, 10vw, 150px); }
.trio h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.trio__list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); align-items: start; }
.trio__item:nth-child(2) { margin-top: clamp(0px, 6vw, 90px); }
.trio__item:nth-child(3) { margin-top: clamp(0px, 3vw, 44px); }
.trio__card { display: block; text-decoration: none; padding: 30px 28px 28px; border-radius: 40% 40% 40% 40% / 6% 6% 6% 6%; }
.trio__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; margin-bottom: 22px; }
.trio__card h3 { font-size: 1.75rem; font-weight: 400; }
.trio__card p { margin-top: 10px; color: var(--ink-2); }
.trio__meta { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(176, 132, 85, 0.45); font-family: var(--caps); letter-spacing: 0.03em; }
.trio__meta b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- split: photo + text ---------- */
.split { padding: clamp(64px, 9vw, 130px) 0; }
.split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__photo { position: relative; }
.split__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 48% 50%; border-radius: 2px; filter: saturate(0.9); }
.split__photo::after { /* warm lantern light falling on the photo */
  content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 20%, rgba(255, 190, 110, 0.18), transparent 70%); pointer-events: none;
}
.split h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.split p { margin-top: 18px; color: var(--on-room-2); max-width: 48ch; }
.split .btn { margin-top: 30px; }

/* ---------- gift band ---------- */
.gift { padding: 0 0 clamp(80px, 10vw, 140px); }
.gift__panel { padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.gift__panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.gift__panel p { margin-top: 12px; color: var(--ink-2); max-width: 50ch; }

/* ---------- services page ---------- */
.menu-groups { padding: 0 0 clamp(80px, 10vw, 140px); }
.menu-groups .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.group { padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px); }
.group:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.group:nth-child(4) { margin-top: clamp(0px, 5vw, 72px); }
.group h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400; }
.group ul { list-style: none; margin: 20px 0 0; padding: 0; }
.group li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 0; border-top: 1px solid rgba(176, 132, 85, 0.45); }
.group li:last-child { padding-bottom: 0; }
.group__name { font-weight: 500; font-size: 1.1875rem; }
.group__desc { grid-column: 1; color: var(--ink-2); font-size: 1rem; }
.group__price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; }
.group__price b { display: block; font-weight: 500; font-size: 1.3rem; }
.group__price small { color: var(--ink-2); font-size: 0.9375rem; }
.notes { padding: 0 0 clamp(80px, 10vw, 140px); }
.notes .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.notes h3 { font-family: var(--caps); font-weight: 500; font-size: 1.1875rem; letter-spacing: 0.06em; color: var(--rib); }
.notes p { margin-top: 10px; color: var(--on-room-2); }

/* ---------- barbers page ---------- */
.people { padding: 0 0 clamp(80px, 10vw, 140px); }
.person { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.person + .person { margin-top: clamp(64px, 8vw, 120px); }
.person:nth-child(even) .person__photo { order: 2; }
.person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.person__body { padding: clamp(28px, 4vw, 56px); }
.person__body h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.person__role { margin-top: 6px; font-family: var(--caps); letter-spacing: 0.03em; color: var(--seal-deep); }
.person__body p { margin-top: 16px; color: var(--ink-2); max-width: 48ch; }
.person__facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; }
.person__facts li { display: flex; gap: 10px; }
.person__facts b { font-weight: 500; min-width: 7.5em; }
.person .btn { margin-top: 26px; }

/* ---------- products page ---------- */
.shelf { padding: 0 0 clamp(64px, 8vw, 110px); }
.shelf .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.shelf__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shelf__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.shelf__photos img:nth-child(2) { margin-top: 56px; }
.shelf__list { padding: clamp(28px, 3.4vw, 48px); }
.shelf__list h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400; }
.shelf__list > p { margin-top: 10px; color: var(--ink-2); }
.cards { padding: 0 0 clamp(80px, 10vw, 140px); }
.cards h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.cards > .wrap > p { margin-top: 16px; color: var(--on-room-2); max-width: 54ch; }
.giftcards { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.giftcard { padding: 30px 26px 26px; display: grid; gap: 8px; align-content: start; min-height: 260px; }
.giftcard__value { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.giftcard h3 { font-size: 1.375rem; font-weight: 500; }
.giftcard p { color: var(--ink-2); }
.giftcard .seal { margin-top: auto; justify-self: end; width: 40px; height: 40px; }

/* ---------- gallery page ---------- */
.gallery { padding: 0 0 clamp(80px, 10vw, 140px); }
.gallery__grid { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: clamp(14px, 2vw, 24px); }
.gallery__grid li { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 24px); }
.gallery__grid figure { margin: 0; }
.gallery__grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__grid img { width: 100%; height: auto; border-radius: 2px; transition: filter 0.6s var(--ease); }
.gallery__grid button:hover img { filter: brightness(1.08); }
.gallery__grid figcaption { margin-top: 8px; font-family: var(--caps); letter-spacing: 0.02em; font-size: 0.9375rem; color: var(--on-room-2); }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.viewer::backdrop { background: rgba(14, 12, 10, 0.92); }
.viewer img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 2px; }
.viewer__cap { margin-top: 10px; text-align: center; color: var(--on-room); font-family: var(--caps); letter-spacing: 0.02em; }
.viewer__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--washi); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.viewer__close svg { width: 22px; height: 22px; }

/* ---------- contact page ---------- */
.contact { padding: 0 0 clamp(80px, 10vw, 140px); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.contact__card { padding: clamp(28px, 4vw, 56px); }
.contact__card address { font-style: normal; font-size: 1.5rem; line-height: 1.35; }
.contact__card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.contact__card li { display: flex; gap: 12px; align-items: flex-start; }
.contact__card li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--seal-deep); }
.contact__card a { font-weight: 500; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 2px; filter: sepia(0.25) saturate(0.85) brightness(0.92); }
.hours { width: 100%; border-collapse: collapse; margin-top: 26px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid rgba(176, 132, 85, 0.45); font-weight: 400; }
.hours th { text-align: left; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--seal); vertical-align: 2px; }

/* ---------- footer ---------- */
.foot { padding: clamp(56px, 7vw, 96px) 0 32px; border-top: 1px solid rgba(216, 180, 138, 0.18); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand .brand__word { font-size: 2rem; }
.foot p { color: var(--on-room-2); font-size: 1rem; }
.foot h2 { font-family: var(--caps); font-weight: 500; font-size: 1rem; letter-spacing: 0.1em; color: var(--rib); margin-bottom: 10px; }
.foot a { color: var(--on-room); }
.foot__demo { max-width: var(--max); margin: 44px auto 0; padding: 18px var(--gutter) 0; font-size: 0.875rem; color: #9A8D7C; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
  ::view-transition-old(lantern) { animation: fold 0.35s var(--ease) both; }
  ::view-transition-new(lantern) { animation: unfold 0.7s var(--ease-out) both; }
  @keyframes fold { to { transform: scaleY(0.08); opacity: 0; } }
  @keyframes unfold { from { transform: scaleY(0.08); opacity: 0; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lanterns { gap: 12px; }
  .lantern-link { font-size: 0.8125rem; }
}
@media (max-width: 980px) {
  .menu-btn {
    display: grid; place-items: center; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--room-3); cursor: pointer;
  }
  .menu-btn__l { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--on-room); transition: transform 0.5s var(--ease); }
  .menu-btn__l:first-child { transform: translateY(-4px); }
  .menu-btn__l:nth-child(2) { transform: translateY(4px); }
  .menu-btn[aria-expanded="true"] .menu-btn__l:first-child { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__l:nth-child(2) { transform: rotate(-45deg); }
  .top { align-items: center; padding-top: 10px; gap: 12px; }
  .brand, .top__end { padding-top: 0; }
  .lanterns {
    position: fixed; inset: 64px 0 0; z-index: 29; flex-direction: column; gap: 4px; padding: 28px var(--gutter);
    background: rgba(27, 24, 21, 0.98); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .lanterns.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
  .lantern-link { grid-template-columns: 22px auto; justify-items: start; align-items: center; gap: 18px; font-size: 1.75rem; padding: 6px 0; transform: translateY(16px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), color 0.4s var(--ease); }
  .lanterns.is-open .lantern-link { transform: none; opacity: 1; }
  .lanterns.is-open .lantern-link:nth-child(2) { transition-delay: 0.04s; }
  .lanterns.is-open .lantern-link:nth-child(3) { transition-delay: 0.08s; }
  .lanterns.is-open .lantern-link:nth-child(4) { transition-delay: 0.12s; }
  .lanterns.is-open .lantern-link:nth-child(5) { transition-delay: 0.16s; }
  .lanterns.is-open .lantern-link:nth-child(6) { transition-delay: 0.2s; }
  .lantern-link__cord { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .lantern { justify-self: center; --w: 150px; order: 2; }
  .trio__list { grid-template-columns: 1fr; max-width: 520px; }
  .trio__item:nth-child(n) { margin-top: 0; }
  .split .wrap, .person, .shelf .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .person:nth-child(even) .person__photo { order: 0; }
  .menu-groups .wrap { grid-template-columns: 1fr; }
  .group:nth-child(n) { margin-top: 0; }
  .notes .wrap { grid-template-columns: 1fr; }
  .giftcards { grid-template-columns: 1fr; max-width: 520px; }
  .gift__panel { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .pagehead .wrap { grid-template-columns: 1fr; }
  .pagehead .lantern { display: none; }
}
@media (max-width: 600px) {
  .brand__sub { display: none; }
  .top__book { display: none; }
  .foot .wrap { grid-template-columns: 1fr; }
  .shelf__photos img:nth-child(2) { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
