/* The House: the public website. Arabic first; every rule uses logical properties so one sheet serves both
   directions. It is written outside the layers of app.css on purpose, so these rules win on public pages.

   The look: ink and paper, one metal accent, large classical headings, a single quiet column. On phones it behaves
   like an app: the main places sit in a bar under the thumb, and booking asks one question per screen. */

@font-face { font-family: "Markazi Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/markazi-text-arabic-wght-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Markazi Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/markazi-text-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }

@view-transition { navigation: auto; }

.site {
  --ink: #101214;
  --on-ink: #f1f1ec;
  --paper: light-dark(#ecedea, #0e1012);
  --sheet: light-dark(#ffffff, #1b1f23);
  --rule: light-dark(#d9d9d2, #3a4047);
  --field: light-dark(#ffffff, #0e1012);
  --field-line: light-dark(#c9cbc4, #4a5159);
  --text: light-dark(#14171a, #ececE6);
  --quiet: light-dark(#5b6168, #9da3aa);
  --metal: light-dark(#7a5a1e, #c9a45c);
  --on-metal: light-dark(#ffffff, #101214);
  --danger: light-dark(#9c3b2c, #e08a7b);
  --display: "Markazi Text", "Noto Sans Arabic", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 4rem);
  --tabs: 4.25rem;
  background: var(--paper); color: var(--text); margin: 0;
  min-block-size: 100dvh; display: flex; flex-direction: column;
}
html:has(body.site) { background: var(--paper); scroll-behavior: smooth; scroll-padding-block-start: 5rem; }
.site main { flex: 1; }
.site h1, .site h2, .site h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; text-wrap: balance; letter-spacing: 0; }
.site a { color: inherit; }
.site :focus-visible { outline: 2px solid var(--metal); outline-offset: 3px; }
.s-quiet { color: var(--quiet); }
.site .icon { flex: none; }
[dir="rtl"] .site .w-back .icon { transform: scaleX(-1); }

/* ---- buttons ---- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 3.25rem; padding: 0.5rem 1.75rem; border-radius: 0.75rem; border: 1px solid transparent; font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer; }
.s-btn-solid { background: var(--metal); color: var(--on-metal); }
.s-btn-solid:hover { filter: brightness(1.1); }
.s-btn-line { border-color: currentColor; background: transparent; color: inherit; }
.s-btn-line:hover { border-color: var(--metal); color: var(--metal); }
.s-link { color: var(--metal); text-underline-offset: 0.25em; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.s-link-danger { color: var(--danger); }

/* ---- top bar ---- */
.s-top { display: flex; align-items: center; gap: 1.5rem; padding: 0.9rem var(--gutter); background: var(--ink); color: var(--on-ink); position: sticky; inset-block-start: 0; z-index: 10; }
.s-brand { font-family: var(--display); font-size: 1.75rem; font-weight: 600; text-decoration: none; margin-inline-end: auto; }
.s-links { display: flex; gap: 1.75rem; }
.s-links a, .s-lang { text-decoration: none; opacity: 0.85; padding-block: 0.5rem; }
.s-links a:hover, .s-lang:hover { opacity: 1; color: #c9a45c; }
.s-top-book { min-block-size: 2.5rem; padding-inline: 1.25rem; font-size: 0.95rem; background: #c9a45c; color: var(--ink); }

/* ---- the home page ----
   Three surfaces, taken from a gentlemen's barbershop: ink (the chairs), bottle green (the leather and the walls),
   and a printed price card. Brass is the only accent. The crest is the one ornament. */
.x-in { max-inline-size: 72rem; margin-inline: auto; inline-size: 100%; }
.x-title { font-size: clamp(2.4rem, 6.5vw, 3.6rem); line-height: 1.15; }
.x-lead { color: var(--quiet); font-size: 1.15rem; margin: 0; max-inline-size: 36rem; }
.x-line { border-color: color-mix(in srgb, var(--text) 35%, transparent); color: var(--text); background: transparent; }
.x-line:hover { border-color: var(--metal); color: var(--metal); }
.x-gold { background: #c9a45c; color: #101214; }
.x-gold:hover { filter: brightness(1.08); }
.crest-text { font-family: var(--display); font-weight: 600; }

/* 1. first screen */
.site-home .s-top { background: transparent; position: absolute; inset-inline: 0; }
.x-hero { position: relative; isolation: isolate; background: #101214; color: #f1f1ec; overflow: hidden; }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60rem 40rem at 20% 50%, rgb(201 164 92 / 0.10), transparent 60%), url("../img/pattern.svg") 0 0 / 7rem; opacity: 0.22;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 10%, transparent 75%); }
.x-hero-in { max-inline-size: 72rem; margin-inline: auto; padding: 8.5rem var(--gutter) 5rem; display: grid; gap: 3rem; align-items: center; min-block-size: min(100svh, 50rem); }
.x-hero-text { display: grid; gap: 1.4rem; max-inline-size: 38rem; }
.x-kicker { margin: 0; color: #c9a45c; font-size: 1.05rem; font-weight: 600; }
.x-hero h1 { font-size: clamp(3.4rem, 12vw, 7.25rem); line-height: 1.02; font-weight: 500; margin: 0; }
.x-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-block-start: 0.75rem; }
.x-next { display: grid; padding: 0.85rem 1.75rem; border-radius: 0.9rem; background: #c9a45c; color: #101214; text-decoration: none; min-inline-size: min(100%, 15rem);
  box-shadow: 0 1rem 3rem -1rem rgb(201 164 92 / 0.6); }
.x-next:hover { filter: brightness(1.08); }
.x-next-label { font-size: 0.9rem; font-weight: 600; }
.x-next-time { font-family: var(--display); font-size: 2.1rem; font-weight: 600; line-height: 1.2; }
.x-ghost { border-color: rgb(241 241 236 / 0.45); color: #f1f1ec; min-block-size: auto; }
.x-ghost:hover { border-color: #c9a45c; color: #c9a45c; }
.x-hero-crest { color: #c9a45c; inline-size: min(100%, 26rem); justify-self: center; filter: drop-shadow(0 0 2.5rem rgb(201 164 92 / 0.18)); }
/* with the shop's own photo: it fills the screen, darkened where the words sit */
.x-hero-photo .x-hero-img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.x-hero-photo::before { z-index: -1; opacity: 1; mask-image: none; background: linear-gradient(to top, rgb(16 18 20 / 0.92), rgb(16 18 20 / 0.35) 60%, rgb(16 18 20 / 0.55)); }
.x-hero-photo .x-hero-in { align-items: end; }
@media (min-width: 52rem) {
  .x-hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .x-hero-photo .x-hero-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 51.99rem) {
  .x-hero-in { padding-block: 5.25rem 3rem; gap: 1.75rem; min-block-size: auto; }
  .x-hero-crest { order: -1; inline-size: 9.5rem; justify-self: start; }
  .x-hero-photo .x-hero-in { min-block-size: 88svh; }
}

/* 2. the menu: a printed card with a double brass rule */
.x-menu-wrap { padding: clamp(3.5rem, 9vw, 6.5rem) var(--gutter); background:
  linear-gradient(var(--paper), var(--paper)) padding-box; }
.x-menu { max-inline-size: 60rem; margin-inline: auto; background: var(--sheet); padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid var(--metal); outline: 1px solid var(--metal); outline-offset: -0.6rem; border-radius: 0.25rem; box-shadow: 0 2rem 4rem -2.5rem rgb(0 0 0 / 0.35); }
.x-menu h2 { text-align: center; font-size: clamp(2.4rem, 6.5vw, 3.4rem); margin-block-end: 1.5rem; }
.x-menu h2::after { content: ""; display: block; inline-size: 4rem; block-size: 1px; background: var(--metal); margin: 0.75rem auto 0; }
.x-menu ul { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 3.5rem; }
@media (min-width: 52rem) { .x-menu ul { grid-template-columns: 1fr 1fr; } }
.x-menu a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 0.6rem; padding-block: 1rem; text-decoration: none; border-block-end: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.x-dish { font-family: var(--display); font-size: 1.65rem; font-weight: 600; line-height: 1.25; }
.x-dots { border-block-end: 1.5px dotted var(--quiet); opacity: 0.5; transform: translateY(-0.35em); min-inline-size: 1rem; }
.x-price { font-weight: 700; font-size: 1.15rem; color: var(--metal); white-space: nowrap; }
.x-desc { grid-column: 1 / -1; color: var(--quiet); font-size: 0.98rem; margin-block-start: 0.15rem; }
.x-menu a:hover .x-dish { color: var(--metal); }
.x-menu-note { text-align: center; color: var(--quiet); margin: 1.75rem 0 0; font-size: 0.95rem; }

/* 3. a visit, on bottle-green leather */
.x-visit { background: #17261f; color: #eef0ea; padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); position: relative; isolation: isolate; overflow: hidden; }
.x-visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern.svg") 0 0 / 7rem; opacity: 0.07; }
.x-visit .x-in { display: grid; gap: 2.5rem; }
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); counter-reset: none; }
.x-steps li { display: grid; gap: 0.75rem; align-content: start; padding-block-start: 1.25rem; border-block-start: 1px solid rgb(201 164 92 / 0.45); }
.x-step-n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: #c9a45c; }
.x-steps p { margin: 0; font-size: 1.12rem; line-height: 1.7; }

/* 4. the barbers, framed in arches */
.x-section { padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); }
.x-section-tight { padding-block-start: 0; }
.x-section .x-in { display: grid; gap: 1.25rem; }
.x-team { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.x-team a { display: grid; gap: 0.35rem; text-decoration: none; }
.x-portrait { display: block; aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0.75rem 0.75rem; overflow: hidden; margin-block-end: 0.75rem; background: #101214; border: 1px solid var(--rule); }
.x-portrait img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 0.4s ease; }
.x-team a:hover .x-portrait img { transform: scale(1.03); }
.x-portrait-empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, rgb(201 164 92 / 0.22), transparent 62%), url("../img/pattern.svg") center / 4.5rem, #15181b; }
.x-portrait-empty span { font-family: var(--display); font-size: 6.5rem; line-height: 1; color: #c9a45c; }
.x-name { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.2; }
.x-role { color: var(--quiet); }
.x-with { color: var(--metal); font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; margin-block-start: 0.25rem; }
@media (max-width: 47.99rem) {
  .x-team { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .x-name { font-size: 1.55rem; }
  .x-with { font-size: 0.92rem; }
}

.x-gallery { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); }
.x-gallery img { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0.5rem; }
@media (max-width: 47.99rem) {
  .x-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; position: relative; }
  .x-gallery li { flex: 0 0 76%; scroll-snap-align: center; }
}

/* 5. guests' words */
.x-quotes { background: #101214; color: #f1f1ec; padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); }
.x-quotes .x-in { display: grid; gap: 2rem; }
.x-quotes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.x-quotes blockquote { margin: 0; }
.x-quotes blockquote p { font-family: var(--display); font-size: 1.6rem; line-height: 1.55; margin: 0; }
.x-quotes blockquote p::before { content: "”"; display: block; font-size: 4rem; line-height: 0.6; color: #c9a45c; margin-block-end: 0.5rem; }
.x-quote-by { color: #c9a45c; margin: 0.75rem 0 0; font-weight: 600; }

.x-about { padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); border-block: 1px solid var(--rule); }
.x-about-in { display: grid; gap: 1.5rem; max-inline-size: 48rem; }
.x-about-text { font-family: var(--display); font-size: clamp(1.6rem, 4.2vw, 2.3rem); line-height: 1.6; margin: 0; }

/* 6. find us */
.x-find { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); align-items: stretch; }
.x-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
/* side by side the two cards are the same height: the buttons and the send button both sit on the bottom line */
.x-card > .s-actions, .x-card > .s-form { margin-block-start: auto; }
.x-card > .s-form { flex: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.x-card > .s-form > div:last-child { margin-block-start: auto; }
.x-card > .s-form .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
.x-card > .s-form .field textarea { flex: 1; min-block-size: 6rem; }
.x-card .x-title { font-size: clamp(2rem, 5vw, 2.6rem); }

.x-final { background: #17261f; color: #eef0ea; padding: 3rem var(--gutter); position: relative; isolation: isolate; overflow: hidden; }
.x-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern.svg") 0 0 / 7rem; opacity: 0.07; }
.x-final-in { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: auto 1fr auto; }
.x-final-crest { inline-size: 5.5rem; color: #c9a45c; }
.x-final h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0; }
.x-final p { margin: 0.25rem 0 0; color: #b9c2bb; }
@media (max-width: 47.99rem) {
  .x-final-in { grid-template-columns: auto 1fr; }
  .x-final-in .s-btn { grid-column: 1 / -1; inline-size: 100%; }
  .x-final-crest { inline-size: 4.25rem; }
}

.s-facts { display: grid; gap: 1.1rem; margin: 0; }
.s-facts div { display: grid; gap: 0.1rem; }
.s-facts dt { color: var(--quiet); font-size: 0.95rem; }
.s-facts dd { font-size: 1.15rem; margin: 0; }
.s-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.s-band { padding: clamp(3rem, 8vw, 5.5rem) var(--gutter); display: grid; gap: 1.75rem; max-inline-size: 44rem; margin-inline: auto; inline-size: 100%; }
.s-band h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
.s-lead { font-size: 1.2rem; line-height: 1.9; }
.s-ticket { background: var(--sheet); border: 1px solid var(--rule); border-radius: 1rem; padding: 1.5rem; }
.s-done { inline-size: 3.5rem; block-size: 3.5rem; border-radius: 50%; background: var(--metal); color: var(--on-metal); display: grid; place-items: center; margin: 0; }

/* ---- forms ---- */
.s-form, .w-form { display: grid; gap: 1.25rem; }
.site .field label, .site legend { font-weight: 600; }
.site .field input, .site .field select, .site .field textarea { min-block-size: 3.5rem; padding: 0.75rem 1rem; border: 1px solid var(--field-line); border-radius: 0.75rem; background: var(--field); color: var(--text); font-size: 1.1rem; inline-size: 100%; }
.site .field input:hover, .site .field textarea:hover { border-color: var(--quiet); }
.site .field label { color: var(--text); }
.site .field textarea { min-block-size: 8rem; }
.site .field input:focus-visible, .site .field textarea:focus-visible { outline-offset: 0; border-color: var(--metal); }
.site .notice { background: var(--sheet); border-color: var(--rule); border-radius: 0.75rem; }
.site .notice-bad { border-color: var(--danger); }
.trap { position: absolute; inset-inline-start: -200vw; inline-size: 1px; block-size: 1px; overflow: hidden; }

.s-foot { padding: 3rem var(--gutter); display: grid; gap: 0.4rem; background: #0b0c0d; color: #f1f1ec; border-block-start: 1px solid #22262a; }
.s-foot .s-quiet { color: #9da3aa; }
.s-foot .s-brand { margin: 0; }

/* ---- the bar under the thumb (phones only) ---- */
.s-tabs { display: none; }
@media (max-width: 47.99rem) {
  .s-links, .s-top-book { display: none; }
  .s-top { padding-block: 0.75rem; }
  .site:not(.site-flow) { padding-block-end: calc(var(--tabs) + env(safe-area-inset-bottom)); }
  .s-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20; background: var(--sheet); border-block-start: 1px solid var(--rule); padding-block-end: env(safe-area-inset-bottom); }
  .s-tabs a { display: grid; justify-items: center; gap: 0.1rem; padding-block: 0.6rem 0.5rem; min-block-size: var(--tabs); text-decoration: none; font-size: 0.78rem; color: var(--quiet); }
  .s-tabs a[aria-current="page"] { color: var(--text); }
  .s-tabs .s-tab-book { color: var(--metal); font-weight: 700; }
  .x-hero-actions > * { flex: 1 1 100%; }
  .s-actions .s-btn { flex: 1 1 100%; }
  .s-form .s-btn, .s-band-first .s-actions .s-btn { inline-size: 100%; }
}

/* ---- booking: one question per screen ---- */
.site-flow { background: var(--paper); }
.w-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.5rem 1rem; padding: 0.75rem var(--gutter) 0; max-inline-size: 40rem; inline-size: 100%; margin-inline: auto; }
.w-back { display: inline-flex; align-items: center; gap: 0.25rem; min-block-size: 3rem; text-decoration: none; color: var(--quiet); margin-inline-start: -0.4rem; }
.w-back:hover { color: var(--text); }
.w-count { justify-self: end; color: var(--quiet); font-size: 0.95rem; margin: 0; }
.w-progress { grid-column: 1 / -1; inline-size: 100%; block-size: 3px; appearance: none; border: 0; background: var(--rule); border-radius: 3px; overflow: hidden; }
.w-progress::-webkit-progress-bar { background: var(--rule); }
.w-progress::-webkit-progress-value { background: var(--metal); }
.w-progress::-moz-progress-bar { background: var(--metal); }
.w-main { display: grid; align-content: start; gap: 1.5rem; padding: 2rem var(--gutter) 2rem; max-inline-size: 40rem; inline-size: 100%; margin-inline: auto; }
.w-main h1 { font-size: clamp(2.75rem, 11vw, 4rem); }
.w-options { display: grid; gap: 0.6rem; border: 0; padding: 0; margin: 0; }
.w-options legend { color: var(--quiet); font-weight: 400; margin-block-end: 0.75rem; padding: 0; }
.w-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-block-size: 4.5rem; padding: 0.9rem 1.1rem; border: 1px solid var(--rule); border-radius: 0.9rem; background: var(--sheet); cursor: pointer; }
.w-option:has(input:checked) { border-color: var(--metal); box-shadow: inset 0 0 0 1px var(--metal); }
.w-option:has(input:focus-visible) { outline: 2px solid var(--metal); outline-offset: 3px; }
.w-option input { inline-size: 1.4rem; block-size: 1.4rem; accent-color: var(--metal); margin: 0; }
.w-option-main { font-size: 1.15rem; font-weight: 600; display: grid; gap: 0.1rem; }
.w-option-note { font-size: 0.95rem; font-weight: 400; }
.w-option-side { display: grid; justify-items: end; gap: 0; font-weight: 600; }
.w-option-side .s-quiet { font-weight: 400; font-size: 0.9rem; }

.w-days { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x proximity; padding-block: 0.25rem 0.5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; position: relative; }
.w-days::-webkit-scrollbar { display: none; }
.w-days a { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; min-inline-size: 4.25rem; padding: 0.6rem 0.5rem; border: 1px solid var(--rule); border-radius: 0.9rem; background: var(--sheet); text-decoration: none; }
.w-days a[aria-current="date"] { background: var(--text); color: var(--paper); border-color: var(--text); }
.w-day-name, .w-day-month { font-size: 0.85rem; }
.w-day-num { font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1.3; }
.w-form fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.w-form fieldset > legend { margin-block-end: 0.75rem; padding: 0; }
.w-times { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr)); }
.w-time { position: relative; display: grid; place-items: center; min-block-size: 3.25rem; border: 1px solid var(--rule); border-radius: 0.75rem; background: var(--sheet); cursor: pointer; font-weight: 600; }
.w-time input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; margin: 0; cursor: pointer; }
.w-time:has(input:checked) { background: var(--metal); border-color: var(--metal); color: var(--on-metal); }
.w-time:has(input:focus-visible) { outline: 2px solid var(--metal); outline-offset: 3px; }

.w-summary { display: grid; gap: 0.75rem; padding: 1.25rem; border: 1px solid var(--rule); border-radius: 1rem; background: var(--sheet); }
.w-summary h2 { font-size: 1.6rem; }
.w-summary dl { display: grid; margin: 0; }
.w-summary dl div { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 0.75rem; padding-block: 0.6rem; border-block-end: 1px solid var(--rule); align-items: baseline; }
.w-summary dl div:last-child { border-block-end: 0; font-weight: 700; }
.w-summary dt { color: var(--quiet); font-weight: 400; }
.w-summary dd { margin: 0; }

/* The button stays in reach at the bottom of the screen while the list scrolls. */
.w-bar { position: sticky; inset-block-end: 0; z-index: 1; margin-block-start: 0.75rem; padding-block: 1rem calc(1rem + env(safe-area-inset-bottom)); background: var(--paper); }
/* A soft edge above the bar, so choices scrolling under it fade out instead of being cut through. */
.w-bar::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 100%; block-size: 1.5rem; background: linear-gradient(to top, var(--paper), transparent); pointer-events: none; }
.w-bar .s-btn { inline-size: 100%; min-block-size: 3.5rem; }

@media (prefers-reduced-motion: reduce) {
  .x-portrait img { transition: none; }
  .x-team a:hover .x-portrait img { transform: none; }
  html:has(body.site) { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}

/* Reception tablet: bigger type and targets, nothing else on screen. */
.kiosk { font-size: 1.125rem; }
.kiosk .w-main { max-inline-size: 44rem; }
.kiosk .w-option { min-block-size: 4.25rem; }
.kiosk .s-btn { min-block-size: 3.5rem; font-size: 1.15rem; }
.kiosk input[type="tel"], .kiosk input[type="text"] { font-size: 1.5rem; min-block-size: 3.5rem; }
.kiosk .k-lang { justify-self: end; color: var(--quiet); text-decoration: none; min-block-size: 3rem; display: inline-flex; align-items: center; }
.kiosk button.w-back { background: none; border: 0; font: inherit; cursor: pointer; }
.kiosk .crest { inline-size: 2.75rem; block-size: auto; }
.k-center { text-align: center; display: grid; justify-items: center; align-content: center; min-block-size: 70vh; gap: 1rem; }
.k-center .crest { inline-size: 4.5rem; }
