/* Hallmark · shape: kept per page (inner pages) · genre: editorial · theme: brand · redesign: restyle (inner pages), full (home, see home.css)
 * paper: oklch(98.2% 0.007 350) · accent: oklch(52% 0.19 0) · display: Cairo 800 · body: Cairo 400 · hero: kept (page hero) · nav: banner over a retracting bar · footer: letter close · signature: kept
 * axes: light/grotesk-heavy/chromatic-pink · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · 2026-11-10 full pass on the inner pages: one-screen page hero with the photograph on seven columns, guide key facts beside the head, notes, legal text and related links as head-on-four rows, one-paragraph notes set as statements, a 404 that holds its screen */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3 · weakest: V, the inner pages keep their own layouts; their branch lists take the home page's counter rows and the chrome is shared */
/* Hallmark · waive 49b · two lines at most, guide and service titles · the related guide and service links are full article titles that lose their meaning when shortened */
/* Hallmark · answered F20 · the seventh service tile spans the row on purpose, the service set has seven areas */
/* Hallmark · answered F4 · the closing band's button is an outline on ink, the page hero holds the one filled primary */
/* Hallmark · answered F15 · the hero and split gaps (96px) differ from grid gutters (32px) by role, the 40 and 24px are phone and row gaps */
/* Hallmark · dismissed 41 · the flagged rules paint an image backdrop and a light well (paper-2), neither sets text on a dark surface in light mode, and dark mode swaps ink with the paper */
@import url("./tokens.css");
@import url("./base.css");

/* Cairo is a variable font: one file per script covers weights 400 to 800 */
@font-face { font-family: Cairo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/cairo-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-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: Cairo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/cairo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/cairo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bar-h: 72px;
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.38-.02-.53-.08-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.18-1.41-.08-.13-.28-.2-.57-.35zM12.04 21.5h-.01a9.43 9.43 0 0 1-4.8-1.32l-.35-.2-3.57.93.96-3.48-.23-.36a9.4 9.4 0 0 1-1.44-5.03c0-5.2 4.24-9.43 9.45-9.43 2.52 0 4.89.99 6.67 2.77a9.37 9.37 0 0 1 2.76 6.67c0 5.2-4.24 9.44-9.44 9.44zm8.04-17.48A11.3 11.3 0 0 0 12.04.7C5.77.7.67 5.79.67 12.06c0 2 .52 3.96 1.52 5.68L.57 23.3l5.7-1.5a11.35 11.35 0 0 0 5.77 1.47h.01c6.26 0 11.36-5.1 11.37-11.36 0-3.04-1.18-5.89-3.34-8.04z'/%3E%3C/svg%3E");
}

body { line-height: 1.6; }
a { text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset-block-start: var(--space-sm); inset-inline-start: var(--space-sm); z-index: var(--z-modal); width: auto; height: auto; clip-path: none; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); font-weight: 800; }
.icon { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.num { font-variant-numeric: tabular-nums; }
h3 { font-size: var(--text-title); }

/* Controls, all states */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 48px; padding: 0 var(--space-lg);
  border: 1px solid var(--color-ink); border-radius: var(--radius-pill);
  background: transparent; color: var(--color-ink);
  font: 800 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); color: var(--color-accent-ink); }
.btn-wa::before, .btn-primary::before, .btn-book::before, .sticky-book::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat;
}
.text-link { color: var(--color-ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out); }
.text-link:hover { color: var(--color-accent); }
.text-link:active { opacity: 0.8; }
.text-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Banner: hours and the phone, scrolls away under the bar */
.banner { background: var(--color-band); color: var(--color-on-band-2); font-size: var(--text-sm); }
.banner-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 40px; }
.banner p, .banner a { display: inline-flex; align-items: center; gap: var(--space-xs); }
.banner a { min-height: 40px; color: var(--color-on-band); font-weight: 800; }
.banner a:hover { color: var(--color-band-accent); }
.banner a:focus-visible { outline: 2px solid var(--color-band-accent); outline-offset: 2px; }

/* The bar: sticky, the wordmark, the destinations, one quiet book action */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.bar { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: auto; }
.brand img { width: 150px; height: auto; }
.brand:focus-visible, .site-nav a:focus-visible, .foot-links a:focus-visible, .visit-acts a:focus-visible, .counter-call:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-card); }
.site-nav { display: flex; align-items: center; gap: var(--space-2xs); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); color: var(--color-ink-2); font-size: var(--text-md); text-decoration: underline 2px transparent; text-underline-offset: 0.45em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.site-nav a:hover { color: var(--color-ink); text-decoration-color: var(--color-rule); }
.site-nav a.is-active { color: var(--color-ink); font-weight: 800; text-decoration-color: var(--color-accent); }
.site-nav a:active { opacity: 0.8; }
.site-nav .lang-link { margin-inline-start: var(--space-sm); font-weight: 800; color: var(--color-ink); }
.btn-book { min-height: 44px; padding: 0 var(--space-md); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: var(--space-2xs) 0; border-radius: 2px; background: currentColor; }
.nav-toggle:hover { background: var(--color-paper-2); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Footer: a letter close */
.site-footer { padding-block: var(--space-3xl) var(--space-xl); }
.foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-xl) var(--gap-columns); }
.sign { grid-column: 1 / -1; font-size: var(--text-section); font-weight: 800; line-height: 1.05; letter-spacing: var(--tracking-display); max-width: 22ch; text-wrap: balance; }
.foot-sig { display: grid; gap: var(--space-sm); align-content: start; color: var(--color-muted); }
.foot-logo, .foot-sig picture img { width: 158px; }
.foot-links { display: grid; align-content: start; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--color-ink-2); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.foot-links a:hover { color: var(--color-accent); }
.foot-links a:active { opacity: 0.8; }
.foot-legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }

/* The booking bar on phones, hidden while a booking button is on screen */
.sticky-book { display: none; position: fixed; inset-inline: var(--space-md); bottom: var(--space-md); z-index: var(--z-sticky); align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 800; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.sticky-book:hover { background: var(--color-accent-2); }
.sticky-book:active { opacity: 0.9; }
.sticky-book:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sticky-book.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Arabic: no negative tracking (it breaks letter joining) and taller lines for the script's ascenders */
:lang(ar) { --tracking-display: 0; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .sign { line-height: 1.3; }
:lang(ar) .hero h1, :lang(ar) .focus-head { line-height: 1.25; }
:lang(ar) [dir="ltr"] { unicode-bidi: isolate; }

@media (max-width: 72rem) {
  .site-nav a { padding: 0 var(--space-xs); }
}
@media (max-width: 60rem) {
  .nav-toggle { display: inline-block; order: 3; }
  .btn-book { order: 2; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; padding: var(--space-sm) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
  .site-nav.is-open { display: flex; }
  .site-nav .lang-link { margin-inline-start: 0; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-sig { grid-column: 1 / -1; }
  .sticky-book { display: flex; }
  .site-footer { padding-bottom: var(--space-3xl); }
}
@media (max-width: 40rem) {
  .banner-in p { font-size: var(--text-xs); }
  .banner-in a .num { white-space: nowrap; }
  .btn-book { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .sticky-book { transition: none; }
  .sticky-book.is-hidden { transform: none; }
}

/* Inner pages: the page frame. Sections carry no inner container, so they take its width and gutters */
main { display: block; }
.page-hero, .book-hero, .section, main > .technology-grid { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
main > .technology-grid { padding-block: var(--space-2xl); }
.book-hero + .section.compact { padding-top: var(--space-2xl); }
main p { color: var(--color-ink-2); }
main p:not([class]) + p:not([class]) { margin-top: var(--space-md); }
main p a:not(.btn), details a, .guide-body a:not(.btn) { color: var(--color-ink); text-decoration: underline 1px var(--color-accent); text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
main p a:not(.btn):hover, details a:hover, .guide-body a:not(.btn):hover { color: var(--color-accent); }
main p a:not(.btn):focus-visible, details a:focus-visible, .guide-body a:not(.btn):focus-visible, h3 > a:focus-visible, .social-card:focus-visible, .link-row a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }
@media (min-width: 40rem) { bdi { white-space: nowrap; } }
.btn-outline { border-color: var(--color-ink); }
.btn-ghost { border-color: var(--color-rule); }
.btn-ghost:hover { border-color: var(--color-ink); }

/* Page hero: one screen, as on the home page. The head on five columns, the photograph on seven */
.page-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - var(--bar-h) - 40px); padding-block: var(--space-2xl); }
.page-hero:not(:has(> img, > .hero-facts)) { grid-template-columns: minmax(0, 1fr); }
/* no photograph: the head carries the screen at display size */
/* guides: the key facts stand beside the head, as the hero's visual */
.page-hero:has(> .hero-facts) { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.hero-facts h2 { max-width: none; padding-top: var(--space-md); border-top: 2px solid var(--color-ink); font-size: var(--text-2xl); }
.hero-facts .facts { max-width: none; margin-top: var(--space-md); }
.hero-facts .facts th, .hero-facts .facts td { padding-block: var(--space-md); }
.page-hero:not(:has(> img, > .hero-facts)) { min-height: calc(100svh - var(--bar-h) - 40px - var(--space-3xl)); }
.page-hero:not(:has(> img, > .hero-facts)) h1 { font-size: var(--text-display); max-width: 16ch; }
/* the 404 has no chrome: its message holds the whole screen */
body:not(:has(.site-footer)) > main.book-hero { display: grid; place-content: center; min-height: 100svh; }
body:not(:has(.site-footer)) > main.book-hero h1 { font-size: var(--text-display); }
body:not(:has(.site-footer)) > main.book-hero p:has(> .btn) { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.page-hero h1, .book-hero h1 { font-size: var(--text-display-s); line-height: 1.02; max-width: 18ch; }
.page-hero > div > p:not(.eyebrow), .book-hero p { margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.5; max-width: 52ch; }
.page-hero .hero-actions, .book-hero .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.page-hero > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; background: var(--color-paper-2); }
.page-hero > img[src^="/img/logo/"] { object-fit: contain; padding: 10%; background: var(--color-plate); }
.page-hero > img[src^="/img/map/"] { aspect-ratio: auto; object-fit: contain; padding: var(--space-md); }
/* the guide breadcrumb: a link back to the guides, set as a caption */
.eyebrow { margin-bottom: var(--space-md); font-size: var(--text-sm); }
.eyebrow a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); text-decoration: underline 1px var(--color-rule); text-underline-offset: 0.3em; }
.eyebrow a:hover { color: var(--color-accent); }
.book-hero { padding-block: var(--space-2xl); }

/* Sections */
.section { padding-block: var(--space-2xl); }
.page-hero + .section { padding-top: var(--space-3xl); }
.section.compact { padding-top: var(--space-xl); }
.section h2 { font-size: var(--text-section); max-width: 22ch; }
.section-head { margin-bottom: var(--space-2xl); }
.section-head p { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.split h2 { margin-bottom: var(--space-lg); }
.trust-list { display: grid; border-top: 2px solid var(--color-ink); }
.trust-list span { padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); font-weight: 800; }
/* a reading well: a full-bleed tint, no border */
.note-section, .legal { background: var(--color-paper-2); box-shadow: 0 0 0 100vmax var(--color-paper-2); clip-path: inset(0 -100vmax); margin-block: var(--space-2xl); }
.note-section h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
/* Notes, facts, legal text and related links: the head on four columns, the content on eight, under a rule */
.note-section, .legal, .section:has(> h2 + .link-row) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: start; }
.note-section > h2, .legal > h2, .section:has(> h2 + .link-row) > h2 { grid-column: 1; margin: 0; padding-top: var(--space-md); border-top: 2px solid var(--color-ink); font-size: var(--text-2xl); }
.note-section > :not(h2), .legal > :not(h2), .section:has(> h2 + .link-row) > :not(h2) { grid-column: 2; margin: 0; }
.note-section > p:not([class]), .legal > p:not([class]) { padding-top: var(--space-md); font-size: var(--text-lead); max-width: 60ch; }
/* a one-paragraph note is a statement: set it large in ink */
.note-section > h2:first-child + p:last-child, .legal > p:not([class]) { color: var(--color-ink); font-size: var(--text-xl); line-height: 1.4; max-width: 40ch; }
.legal > h2 { font-size: var(--text-section); }
.trust-list span { display: flex; align-items: center; min-height: 72px; font-size: var(--text-lg); }
.note-section > .facts { max-width: none; border-top: 2px solid var(--color-ink); }
.note-section > .facts th, .note-section > .facts td { padding-block: var(--space-md); }
.section > h2 + .link-row { display: grid; gap: 0; border-top: 2px solid var(--color-ink); }
.section > h2 + .link-row li { border-bottom: 1px solid var(--color-rule); }
.section > h2 + .link-row a { min-height: 64px; font-size: var(--text-lg); font-weight: 800; text-decoration-color: transparent; }
.section > h2 + .link-row a:hover { text-decoration-color: var(--color-accent); }

/* Branches: the home page's counter rows */
.branch-grid { display: grid; border-top: 2px solid var(--color-ink); }
.branch-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md) var(--space-xl); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.branch-card h3 { font-size: var(--text-xl); line-height: 1.15; }
.branch-card h3 + p, .branch-card p + p { margin-top: var(--space-xs); }
h3 > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline 2px transparent; text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
h3 > a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.branch-address, .branch-phone { display: flex; align-items: flex-start; gap: var(--space-xs); font-size: var(--text-sm); }
.branch-phone { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.branch-address .icon, .branch-phone .icon { margin-top: var(--space-2xs); color: var(--color-muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: flex-end; }
.card-actions .btn { min-height: 44px; padding: 0 var(--space-md); }
.card-actions .btn-primary { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.card-actions .btn-primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.branch-map { margin-bottom: var(--space-xl); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); }
.branch-map img { width: 100%; max-width: 760px; margin-inline: auto; }

/* Services: tiles with a top rule, one icon each */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.service-card { padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.service-card p { margin-top: var(--space-xs); }
.service-grid > .service-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.area-icon { display: block; width: 56px; height: 56px; margin-bottom: var(--space-sm); color: var(--color-ink); --icon-accent: var(--color-accent); }

/* Machines */
.technology-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.tech-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-plate); }
.tech-card div { padding-top: var(--space-lg); }
.tech-card p { margin-top: var(--space-xs); }

/* Questions: the head on four columns, rows on eight, as on the home page */
.section:has(> .faq-grid) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.section:has(> .faq-grid) .section-head { margin-bottom: 0; }
.faq-grid { border-top: 2px solid var(--color-ink); }
.faq-grid details { border-bottom: 1px solid var(--color-rule); }
.faq-grid summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; padding-block: var(--space-md); font-size: var(--text-lg); font-weight: 800; line-height: 1.3; cursor: pointer; list-style: none; transition: color var(--dur-short) var(--ease-out); }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; flex-shrink: 0; font-size: var(--text-xl); font-weight: 400; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.faq-grid details[open] summary::after { transform: rotate(45deg); }
.faq-grid summary:hover { color: var(--color-accent); }
.faq-grid summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq-grid details p { padding-bottom: var(--space-lg); max-width: 60ch; }

/* Guides and legal text */
.guide-body > *, .guide-body > p:not([class]) { max-width: 34em; }
.guide-body h2 { font-size: var(--text-2xl); line-height: 1.2; }
.guide-body h2:not(:first-child) { margin-top: var(--space-xl); }
.guide-body h2 + p { margin-top: var(--space-sm); }
.guide-body small { color: var(--color-muted); font-size: var(--text-sm); }
.guide-body p:has(> small) { max-width: 30em; }
.guide-list { padding-inline-start: var(--space-lg); }
.guide-list li + li { margin-top: var(--space-sm); }
.facts { width: 100%; max-width: 820px; border-collapse: collapse; }
.facts th, .facts td { padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); text-align: start; vertical-align: top; }
.facts tr:last-child > * { border-bottom: 0; }
.facts th { width: 34%; padding-inline-end: var(--space-md); color: var(--color-ink); font-weight: 800; }
.facts td { color: var(--color-ink-2); }
.link-row { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); margin: 0 0 var(--space-md); padding: 0; list-style: none; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: underline 1px var(--color-accent); text-underline-offset: 0.2em; }
.link-row a:hover { color: var(--color-accent); }
p:has(+ .link-row) { margin-bottom: 0; }

/* Contact */
.social-grid { display: grid; border-top: 2px solid var(--color-ink); }
.social-card { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--color-rule); font-size: var(--text-lg); font-weight: 800; transition: color var(--dur-short) var(--ease-out); }
.social-card:hover { color: var(--color-accent); }
.social-card:active, .link-row a:active, h3 > a:active { opacity: 0.8; }

/* The closing band on inner pages: ink paper, edge to edge */
.final-cta:not(.visit) { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; margin-top: var(--space-3xl); padding-block: var(--section-gap-s); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); background: var(--color-band); color: var(--color-on-band); }
.final-cta:not(.visit) h2 { font-size: var(--text-section); max-width: 20ch; }
.final-cta:not(.visit) p { margin-top: var(--space-md); color: var(--color-on-band-2); font-size: var(--text-lead); }
.final-cta .btn-primary { background: transparent; border-color: var(--color-on-band); color: var(--color-on-band); }
.final-cta .btn-primary:hover { background: var(--color-on-band); border-color: var(--color-on-band); color: var(--color-band); }
.final-cta .btn:focus-visible { outline-color: var(--color-band-accent); }
.page-book .sticky-book { display: none !important; }

@media (max-width: 60rem) {
  .page-hero, .split, .section:has(> .faq-grid), .note-section, .legal, .section:has(> h2 + .link-row) { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .note-section, .legal, .section:has(> h2 + .link-row) { gap: var(--space-md); }
  .note-section > :not(h2), .legal > :not(h2), .section:has(> h2 + .link-row) > :not(h2) { grid-column: 1; }
  .page-hero:has(> .hero-facts) { grid-template-columns: minmax(0, 1fr); }
  .note-section > h2:first-child + p:last-child, .legal > p:not([class]) { font-size: var(--text-lg); }
  .page-hero { min-height: 0; }
  .page-hero { padding-block: var(--space-xl) var(--space-2xl); }
  .page-hero > img { aspect-ratio: 16 / 10; }
  /* a logo stand-in for a branch without photos only repeats the header logo */
  .page-hero > img[src^="/img/logo/"] { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid > .service-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .service-grid > .service-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .technology-grid { grid-template-columns: minmax(0, 1fr); }
  .branch-card { grid-template-columns: minmax(0, 1fr); }
  .card-actions { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .facts th, .facts td { display: block; width: auto; padding-inline-end: 0; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
  .facts td { padding-top: var(--space-2xs); }
  .final-cta:not(.visit) { padding-block: var(--space-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-grid summary::after { transition: none; }
}
@media (prefers-color-scheme: dark) { .area-icon { --icon-accent: var(--color-band-accent); } }
