/* Les Nails Nagelstudio Marburg
   Layout: full-bleed studio photo opens the page; classic serif headings, clean sans text;
   small spaced-capital text buttons with line and fill animations; soft flyer blush as the only surface colour. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-var.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #fdf8f6;
  --blush: #f8e9ef;
  --blush-2: #f1dbe5;
  --peach: #fbeee6;
  --lilac: #efe7f3;
  --shadow-photo: 0 30px 60px -28px rgb(92 38 62 / .38), 0 10px 22px -14px rgb(92 38 62 / .22);
  --rose: #b8467a;
  --rose-deep: #8f2f5b;
  --ink: #1f1a1c;
  --muted: #5a5357;
  --line: #ecd6e0;
  --plum: #2b1b23;
  --on-plum: #f6e9ef;
  --rose-light: #f2b9d2;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Mona Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.35rem + 0.9vw, 2rem);
  --step-3: clamp(2.3rem, 1.7rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.9rem, 1.8rem + 4.2vw, 5.4rem);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1200px;
  --bar-h: 0px;
  --head-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color .3s ease; }
a:hover { color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0; }

.wrap {
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 80;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
}
.skip:focus { top: 12px; color: var(--paper); }

/* small spaced capitals: the one label/button voice of the site */
.caps, .btn, .text-link, .nav a, .menu-toggle {
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9em;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rose);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn { box-shadow: 0 14px 26px -18px rgb(31 26 28 / .55); }
.btn:hover { color: #fff; border-color: var(--rose); box-shadow: 0 18px 30px -16px rgb(184 70 122 / .55); }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { width: 16px; height: 10px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: #fff; border-color: var(--ink); }
.btn.on-dark { background: transparent; color: #fff; border-color: rgb(255 255 255 / .75); }
.btn.on-dark::before { background: #fff; }
.btn.on-dark:hover { color: var(--ink); border-color: #fff; }
.btn.rose { background: var(--rose); border-color: var(--rose); }
.btn.rose::before { background: var(--ink); }
.btn.rose:hover { border-color: var(--ink); }

/* text-only link with a growing line */
.text-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding-block: 14px; text-decoration: none; color: inherit;
}
.text-link::after {
  content: ""; width: 40px; height: 1px; background: currentColor;
  transition: width .6s var(--ease);
}
.text-link:hover { color: inherit; }
.text-link:hover::after { width: 76px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--head-h);
  transition: height .5s var(--ease);
}
.brand { position: relative; display: block; }
.brand img { height: 66px; width: auto; transition: height .5s var(--ease), opacity .4s ease; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.solid, .site-header.page {
  background: rgb(253 248 246 / .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink); border-bottom-color: var(--line);
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -22px rgb(92 38 62 / .35); }
.site-header.solid .logo-light, .site-header.page .logo-light { opacity: 0; }
.site-header.solid .logo-dark, .site-header.page .logo-dark { opacity: 1; }
.site-header.solid { --head-h: 68px; }
.site-header.solid .brand img { height: 52px; }
.site-header.hide { transform: translateY(-105%); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; text-decoration: none; padding-block: 14px; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover { color: inherit; }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 22px; }
.site-header:not(.solid):not(.page) .nav .btn { background: transparent; color: #fff; border-color: rgb(255 255 255 / .75); }
.site-header:not(.solid):not(.page) .nav .btn::before { background: #fff; }
.site-header:not(.solid):not(.page) .nav .btn:hover { color: var(--ink); border-color: #fff; }

.menu-toggle {
  display: none; align-items: center; gap: 12px;
  background: none; border: 0; color: inherit; cursor: pointer;
  min-height: 44px; padding: 0;
}
.menu-toggle .bars { position: relative; width: 26px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 52px; }
  .site-header.solid .brand img { height: 46px; }
}

/* ---------- mobile menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: radial-gradient(90% 70% at 100% 0%, #43293a, transparent 70%), var(--plum); color: var(--on-plum);
  padding: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 32px) var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu a.m {
  display: block; padding: 4px 0; text-decoration: none;
  font: 500 clamp(2.4rem, 11vw, 3.6rem)/1.1 var(--serif);
  color: var(--on-plum);
  transform: translateY(110%);
  transition: transform .9s var(--ease), color .3s;
}
.menu-open .menu a.m { transform: none; }
.menu li:nth-child(2) a.m { transition-delay: .06s; }
.menu li:nth-child(3) a.m { transition-delay: .12s; }
.menu li:nth-child(4) a.m { transition-delay: .18s; }
.menu a.m:hover { color: var(--rose-light); }
.menu-foot { display: grid; gap: 14px; opacity: 0; transform: translateY(16px); transition: opacity .6s ease .3s, transform .8s var(--ease) .3s; }
.menu-open .menu-foot { opacity: 1; transform: none; }
.menu-foot a { color: var(--on-plum); }
.menu-foot .btn { justify-self: start; }
.menu-open .site-header { color: var(--on-plum); background: transparent; border-bottom-color: transparent; transform: none; }
.menu-open .site-header .logo-light { opacity: 1; }
.menu-open .site-header .logo-dark { opacity: 0; }

/* ---------- hero ----------
   Text sits on solid blush, never on the busy shop-front photo; the photo gets its own column. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy media";
  min-height: min(100svh, 900px);
  padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px));
  background:
    radial-gradient(70% 60% at 12% 18%, rgb(255 255 255 / .7), transparent 70%),
    radial-gradient(80% 70% at 30% 100%, var(--peach), transparent 75%),
    radial-gradient(60% 60% at 100% 40%, var(--lilac), transparent 70%),
    var(--blush);
}
.hero-media { grid-area: media; position: relative; margin: 0; overflow: hidden; min-height: 420px; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
}
.js .hero-media { clip-path: inset(0 0 0 100%); transition: clip-path 1.5s var(--ease); }
.js .hero-media img { transform: scale(1.12); transition: transform 2.6s var(--ease); }
.js .hero.is-in .hero-media { clip-path: inset(-80px); }
.hero-media { z-index: 1; box-shadow: -34px 0 70px -34px rgb(92 38 62 / .45); }
.js .hero.is-in .hero-media img { transform: scale(1); }
.hero > .wrap {
  grid-area: copy; width: auto; margin: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 72px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 20px));
}
.hero-copy { display: grid; gap: 24px; max-width: 36rem; }
.hero h1 { color: var(--ink); font-size: clamp(2.5rem, 1.1rem + 3.3vw, 4.4rem); line-height: 1.04; }
.hero h1 .line { white-space: nowrap; }
.hero h1 .accent { color: var(--rose-deep); }
.hero .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 26em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 8px; }
.hero .facts {
  display: grid; gap: 6px;
  font-size: 0.95rem; color: var(--muted);
}
.hero .facts a { color: inherit; text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.hero .facts a:hover { color: var(--ink); background-size: 100% 1px; }
.hero .facts .open { color: var(--rose-deep); font-weight: 600; }
@media (max-width: 899px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "copy";
    min-height: 0;
  }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .js .hero-media { clip-path: inset(0 0 100% 0); }
  .hero > .wrap { padding: 32px var(--gutter-r) 48px var(--gutter); gap: 28px; }
  .hero-copy { gap: 18px; }
  .hero .lead { font-size: var(--step-0); }
}

/* line mask reveal for hero text */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; }
.js .hero .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero.is-in .line > span { transform: none; }
.js .hero .fade { opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero.is-in .fade { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
/* paper sections float above the pastel ones */
.section:not(.soft) { position: relative; z-index: 1; background: var(--paper); box-shadow: 0 -34px 60px -44px rgb(92 38 62 / .3), 0 34px 60px -44px rgb(92 38 62 / .3); }
.section-head { display: grid; gap: 14px; align-content: start; }
.section-head p { color: var(--muted); max-width: 30em; }
.soft {
  background:
    radial-gradient(120% 80% at 0% 0%, rgb(255 255 255 / .55), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, var(--lilac), transparent 70%),
    var(--blush);
}

/* ---------- prices ---------- */
.prices .wrap {
  display: grid; gap: clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}
.prices .section-head { position: sticky; top: 110px; }
.prices .section-head .btn { justify-self: start; margin-top: 10px; }
.price-groups {
  display: grid; gap: 52px 52px; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(180deg, #fffefd, #fdf8f6);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .95),
    0 2px 4px rgb(92 38 62 / .05),
    0 18px 30px -18px rgb(92 38 62 / .22),
    0 50px 90px -50px rgb(92 38 62 / .4);
}
.price-group { display: grid; gap: 12px; align-content: start; min-width: 0; }
.price-group.wide { grid-column: 1 / -1; }
.price-group h3 small { display: block; margin-top: 6px; font: 400 var(--step--1)/1.4 var(--sans); color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.price-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding-block: 12px; border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease), background-color .5s var(--ease);
}
@media (hover: hover) { .price-list li:hover { padding-left: 10px; } }
.price-list .name { flex: 1; min-width: 0; }
.price-list .name em { font-style: normal; color: var(--muted); font-size: var(--step--1); }
.price-list .price { white-space: nowrap; font-weight: 600; }
.price-list .price .from { font-weight: 400; color: var(--muted); margin-right: 0.25em; }
.price-group.wide .price-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 52px; }
@media (max-width: 899px) {
  .prices .wrap { grid-template-columns: minmax(0, 1fr); }
  .prices .section-head { position: static; }
}
@media (max-width: 640px) {
  .price-groups { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 28px 20px; }
  .price-group.wide .price-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- photos ---------- */
.ph { margin: 0; overflow: hidden; background: var(--blush-2); min-width: 0; box-shadow: var(--shadow-photo); border-radius: 2px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .ph:hover img { transform: scale(1.04); } }

.studio .wrap, .work .wrap { display: grid; gap: 40px; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 40px; }
.studio-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 19vw, 270px);
}
.studio-grid .ph:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
.studio-grid .ph:nth-child(2) { grid-column: 8 / 13; }
.studio-grid .ph:nth-child(3) { grid-column: 8 / 11; }
.studio-grid .ph:nth-child(4) { grid-column: 11 / 13; }
@media (max-width: 760px) {
  .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .studio-grid .ph:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .studio-grid .ph:nth-child(1), .studio-grid .ph:nth-child(2) { grid-column: 1 / -1; }
}

.work-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 36px; }
.work-grid .ph { aspect-ratio: 4 / 5; }
.work-grid .ph:nth-child(3n+2) { margin-top: 36px; margin-bottom: -36px; }
@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding-bottom: 6px; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r));
    padding-inline: var(--gutter) var(--gutter-r);
    scroll-padding-inline: var(--gutter);
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid .ph { scroll-snap-align: start; }
  .work-grid .ph:nth-child(3n+2) { margin: 0; }
}

/* ---------- visit ---------- */
.visit .wrap {
  display: grid; gap: clamp(40px, 5vw, 80px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.visit-info { display: grid; gap: 36px; min-width: 0; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rose-deep); font-weight: 600; }
.hours tr.is-today th::after { content: " · heute"; font-weight: 400; }
.address { font-style: normal; display: grid; gap: 2px; }
.address strong { font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; }
.contact-list .label { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.contact-list a:hover { background-size: 100% 1px; }
.visit .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.map { position: relative; min-width: 0; background: radial-gradient(90% 80% at 0% 0%, rgb(255 255 255 / .6), transparent 65%), var(--blush); box-shadow: var(--shadow-photo); aspect-ratio: 4 / 3.2; max-width: 100%; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: start; gap: 16px; padding: clamp(24px, 5vw, 56px); }
.map-consent p { color: var(--muted); max-width: 28em; font-size: var(--step--1); }
.map-consent .row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.map-consent label { display: flex; gap: 8px; align-items: center; font-size: var(--step--1); color: var(--muted); }
.map-consent input { accent-color: var(--rose); width: 18px; height: 18px; }
@media (max-width: 899px) {
  .visit .wrap { grid-template-columns: minmax(0, 1fr); }
  .map { aspect-ratio: auto; min-height: 360px; }
}

/* ---------- footer ---------- */
.site-footer { background: radial-gradient(80% 90% at 100% 0%, #3d2632, transparent 70%), var(--plum); color: var(--on-plum); padding-block: 72px 36px; }
.site-footer a { color: var(--on-plum); text-decoration: none; }
.site-footer a:hover { color: var(--rose-light); }
.footer-top { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
.footer-top img { height: 76px; width: auto; }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: 0.95rem; min-width: 0; }
.footer-col h2 { font: 600 0.75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose-light); margin-bottom: 10px; }
.footer-col .hours-mini { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(246 233 239 / .18);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: var(--step--1); color: #d9c7cf;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 899px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .action-bar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgb(255 255 255 / .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 8px var(--gutter-r) calc(8px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    transform: translateY(110%);
    transition: transform .6s var(--ease);
  }
  .action-bar.is-shown { transform: none; }
  .action-bar .btn { min-height: 48px; padding: 0 10px; letter-spacing: .14em; }
}

/* ---------- placeholders still to be filled ---------- */
.todo {
  background: #fff4c7; color: #5c4500;
  padding: 0 .3em; border-radius: 3px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
  .js .reveal, .js .hero .fade, .js .hero .line > span, .js .hero-media img { opacity: 1; transform: none; }
  .js .hero-media { clip-path: none; }
}

/* ---------- legal pages ---------- */
.legal { padding-block: calc(var(--head-h) + 56px) clamp(64px, 9vw, 120px); }
.legal .wrap { max-width: calc(760px + 40px); display: grid; gap: 18px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 8px; }
.legal h2 { font-size: var(--step-2); margin-top: 28px; }
.legal h3 { font: 600 var(--step-1)/1.3 var(--sans); margin-top: 10px; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal address { font-style: normal; }
.legal .note { background: var(--blush); padding: 16px 20px; }
.legal .btn { justify-self: start; }

.notfound { padding-block: calc(var(--head-h) + 96px) 128px; }
.notfound .wrap { display: grid; gap: 24px; justify-items: start; }
