*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 Arial, Helvetica, sans-serif; }
h1, h2, h3, figure, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { touch-action: manipulation; }
a:focus-visible, button:focus-visible, select:focus-visible, .slides:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wrap { width: min(calc(100% - clamp(2rem, 9vw, 9rem)), 76rem); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 5; background: var(--paper); padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
.demo-strip { background: var(--strip); color: var(--strip-ink); font-size: .8125rem; }
.demo-strip .wrap, .site-head .wrap, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo-strip .wrap { min-height: 2.3rem; }
.demo-strip i { opacity: .55; margin: 0 .2rem; }
.demo-strip a, footer a, .hero-link { text-decoration: underline; text-underline-offset: .25em; }
.demo-strip a { flex: none; padding-block: .55rem; }
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { min-height: 5rem; }
.identity { display: inline-flex; align-items: center; gap: .8rem; line-height: 1; }
.identity small { display: block; }
.site-head nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.75rem); font-size: .9375rem; font-weight: 600; }
.site-head nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-head nav a:hover, .hero-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-action { padding: .5rem 1rem; border: 1px solid var(--line); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .68rem 1.25rem; border: 1px solid transparent; background: var(--button); color: var(--button-type); font-weight: 700; font-size: .95rem; line-height: 1.3; cursor: pointer; }
.button:hover, .nav-action:hover { filter: brightness(1.10); }
.hero-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.hero-link { font-size: .94rem; font-weight: 600; padding-block: .75rem; }
.kicker, .meta { font-family: ui-monospace, "Courier New", monospace; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.kicker { text-transform: uppercase; letter-spacing: .11em; color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }
h1 { line-height: .94; }
h2 { line-height: 1; }
h3 { line-height: 1.12; }
.lede, .section-heading > p:last-child, .menu-list p, figcaption > p { color: var(--muted); }
.lede { max-width: 34ch; margin-block: 1.4rem 1.7rem; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.section { padding-block: clamp(3.75rem, 7.8vw, 7.5rem); }
.section-heading h2, .gallery-heading h2 { margin-top: .65rem; }
.section-heading > p:last-child { max-width: 33ch; margin-top: 1.1rem; }
.service-layout, .planner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.8rem, 6vw, 7rem); }
.menu-list article { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-block: 1.35rem; }
.menu-list article:last-child { border-bottom: 1px solid var(--line); }
.menu-list h3 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.menu-list p { max-width: 42ch; margin: .45rem 0; }
.meta { color: var(--accent); }
.menu-choice { flex: none; line-height: 1.35; padding: .12rem .18rem .5rem; text-align: right; }
.menu-choice span { display: block; margin-top: .28rem; text-decoration: underline; text-underline-offset: .25em; font: .875rem/1.4 Arial, Helvetica, sans-serif; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: .75rem; margin-bottom: 1.6rem; }
.gallery-controls { display: flex; align-items: center; gap: .3rem; }
.gallery-controls button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0 0 .15rem; border: 1px solid var(--line); background: transparent; color: inherit; font: 1.6rem/1 Arial, sans-serif; cursor: pointer; }
.gallery-controls button:disabled { opacity: .32; cursor: default; }
.counter { min-width: 3.3em; text-align: center; font: .8125rem/1.5 ui-monospace, monospace; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.slides figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; scroll-snap-align: start; }
.slides img { width: 100%; height: 100%; min-height: 0; max-height: 33rem; display: block; object-fit: cover; }
.slides figcaption { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 5vw, 5.5rem); }
.slides h3 { margin: .7rem 0 1rem; font-size: clamp(2rem, 4.9vw, 4.4rem); }
.slides figcaption p { max-width: 32ch; }
.planner-form { align-self: start; display: grid; gap: 1rem; }
.planner-form label { display: grid; gap: .5rem; font-size: .9375rem; font-weight: 600; }
.planner-form select { width: 100%; min-width: 0; appearance: none; border: 1px solid var(--line); border-radius: 0; background-color: var(--field); background-image: linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%); background-position: calc(100% - 1.12rem) 52%,calc(100% - .86rem) 52%; background-repeat: no-repeat; background-size: .28rem .28rem; color: var(--ink); min-height: 3rem; padding: .6rem 2rem .6rem .85rem; font-size: 1rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.planner-form button { justify-self: start; }
.form-note { color: var(--muted); font-size: .875rem; }
.result { padding: 1rem; border-left: 3px solid var(--accent); background: var(--field); }
.result strong, .result span { display: block; }
.result strong { margin-bottom: .3rem; }
footer { border-top: 1px solid var(--line); font-size: .875rem; }
footer .wrap { padding-block: 1.6rem; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 700px) {
  .site-head .wrap { padding-top: .9rem; gap: .25rem; flex-wrap: wrap; }
  .site-head nav { width: 100%; gap: 1.35rem; font-size: .875rem; }
  .site-head nav .nav-action { margin-left: auto; border: 0; padding-inline: 0; text-decoration: underline; text-underline-offset: .25em; }
  .service-layout, .planner { grid-template-columns: 1fr; }
  .section-heading h2 br { display: none; }
  .gallery-heading { align-items: flex-start; flex-wrap: wrap; }
  .gallery-controls { align-self: flex-end; }
  .slides figure { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .slides img { aspect-ratio: 1.13; height: auto; max-height: 25rem; }
  .slides figcaption { padding: 1.4rem 1.25rem 1.6rem; }
  .slides h3 { margin: .45rem 0 .6rem; }
}
@media (max-width: 370px) {
  .demo-strip .wrap { gap: .3rem; font-size: .75rem; }
  .site-head nav { gap: .8rem; }
  .gallery-controls { margin-top: .35rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
