/* Veranda Family Clinic: shared styles.
   World: a Lagos tropical-modernist clinic veranda. Shutter-green walls, lime-wash floors,
   breeze-block screens, and sun yellow only where light comes through. */

:root {
  /* Colour roles */
  --shutter: #1e4a3c;        /* walls: hero, footer, booking summary */
  --shutter-deep: #163a2f;   /* deeper wall, pressed states on green */
  --shutter-line: #2f6352;   /* hairlines on green */
  --lime: #f3f6ef;           /* page ground: lime wash, cool, never cream */
  --wall: #e4ece2;           /* second ground: alternating sections, hover on lime */
  --paper: #fbfcf9;          /* raised surfaces on lime: inputs, plates */
  --sun: #f5c842;            /* light through the screen: open/selected slots, actions on green */
  --sun-deep: #e0b02a;       /* sun hover / border */
  --sun-tint: #fbefc4;       /* selected rows on lime */
  --ink: #16302a;            /* text on light grounds */
  --ink-soft: #4a5f57;       /* secondary text on light grounds */
  --line: #cbd8cd;           /* borders on light grounds */
  --line-strong: #8fa69a;    /* input borders */
  --on-shutter: #f3f6ef;     /* text on green */
  --on-shutter-soft: #c3d4c8;/* secondary text on green */
  --error: #b3261e;
  --error-tint: #fbeceb;
  --focus: var(--ink);

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;              /* font-stretch for display and labels that act as signage */
  --t-display: clamp(2.5rem, 1.45rem + 4.3vw, 5rem);
  --t-h2: clamp(1.85rem, 1.35rem + 2vw, 3rem);
  --t-h3: clamp(1.2rem, 1.12rem + 0.35vw, 1.375rem);
  --t-lead: clamp(1.1rem, 1.03rem + 0.3vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  /* Space: 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(64px, 5vw + 40px, 128px);
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1240px;

  /* Shape */
  --r-1: 4px;   /* inputs, small controls */
  --r-2: 8px;   /* buttons, slots */
  --r-3: 14px;  /* panels, plates */

  --shadow: 0 1px 2px rgb(22 48 42 / 0.06), 0 8px 24px -12px rgb(22 48 42 / 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* The breeze block: one 160px cell of a claustra wall. A solid face, a round opening split by a
     cross mullion, a shadowed reveal and a mortar joint. Laid over a dark interior where the sun
     glows through only some openings. */
  --breeze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='%231e4a3c' fill-rule='evenodd' d='M0 0h160v160H0z M80 30a50 50 0 1 1 0 100a50 50 0 1 1 0-100z'/%3E%3Ccircle cx='80' cy='80' r='50' fill='none' stroke='%23163a2f' stroke-width='9'/%3E%3Cpath fill='%231e4a3c' d='M73 26h14v108H73z M26 73h108v14H26z'/%3E%3Cpath fill='none' stroke='%2311302a' stroke-width='4' d='M2 2h156v156H2z'/%3E%3Cpath fill='none' stroke='%232a5a4a' stroke-width='2' d='M5 155V5h150'/%3E%3C/svg%3E");
  --sunlight: radial-gradient(52% 58% at 78% 22%, #fff2c2 0%, #f5c842 26%, #c9a33a 42%, #4f6b3f 60%, #1d4537 76%, #163a2f 100%);
  --sunlight-band: radial-gradient(34% 320% at 90% 50%, #fff2c2 0%, #f5c842 24%, #8c8a3c 46%, #24493b 70%, #163a2f 100%);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: var(--line-strong) var(--lime); }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  caret-color: var(--shutter);
}
::selection { background: var(--sun); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-shutter { --focus: var(--sun); color: var(--on-shutter); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -60px; z-index: 50;
  background: var(--sun); color: var(--ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-2); font-weight: 600;
}
.skip:focus { top: var(--s-4); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-size: var(--t-display);
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h2 { font-size: var(--t-h2); font-stretch: var(--wide); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
.h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.25; letter-spacing: -0.005em; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 38ch; }
.soft { color: var(--ink-soft); }
.on-shutter .soft { color: var(--on-shutter-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--r-2); border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--shutter); color: var(--on-shutter); }
.btn-primary:hover { background: var(--shutter-deep); }
.on-shutter .btn-primary, .btn-sun { background: var(--sun); color: var(--ink); }
.on-shutter .btn-primary:hover, .btn-sun:hover { background: #ffd862; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--wall); border-color: var(--ink-soft); }
.on-shutter .btn-quiet { color: var(--on-shutter); border-color: var(--shutter-line); }
.on-shutter .btn-quiet:hover { background: var(--shutter-deep); border-color: var(--on-shutter-soft); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.is-busy { cursor: progress; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); border-bottom: 1px solid var(--shutter-line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; border-radius: 3px; background: radial-gradient(70% 70% at 70% 30%, #fff2c2, #f5c842 55%, #d9a032); overflow: hidden; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-stretch: 125%; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand-name span { font-size: var(--t-micro); color: var(--on-shutter-soft); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav a { padding: var(--s-2) var(--s-3); border-radius: var(--r-1); text-decoration: none; font-weight: 550; font-size: var(--t-small); color: var(--on-shutter); }
.nav a:hover { background: var(--shutter-deep); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-phone { font-size: var(--t-small); color: var(--on-shutter-soft); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--on-shutter); }
.site-header .btn { min-height: 42px; padding: 0 var(--s-4); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .header-phone { display: none; }
}
@media (max-width: 760px) {
  .site-header .wrap { gap: var(--s-2); min-height: 64px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: transparent; border: 1.5px solid var(--shutter-line); border-radius: var(--r-2); color: var(--on-shutter); cursor: pointer;
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--shutter-deep); padding: var(--s-2) var(--gutter) var(--s-4); border-bottom: 1px solid var(--shutter-line); }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--s-3) 0; font-size: 1.0625rem; border-bottom: 1px solid var(--shutter-line); border-radius: 0; }
  .nav a:hover { background: transparent; }
  .brand-name b { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; }
}
@media (max-width: 380px) {
  .brand-name span { display: none; }
}

/* ---------- Hero: the screen wall ---------- */
.hero { background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: min(620px, calc(100svh - 72px - 150px));
}
.hero-copy { padding-block: clamp(48px, 6vw, 96px) clamp(40px, 4vw, 64px); padding-right: var(--s-7); display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); position: relative; z-index: 1; }
.hero-copy .lead { color: var(--on-shutter-soft); max-width: 34ch; }
.hero-copy .display { max-width: 12ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-small); color: var(--on-shutter-soft); }
.hero-facts li { list-style: none; display: inline-flex; align-items: center; gap: var(--s-2); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-shutter-soft); flex: none; }
.status-dot.is-open { background: var(--sun); box-shadow: 0 0 0 3px rgb(245 200 66 / 0.25); }

/* The screen: a panel of breeze blocks with the sun behind it. It bleeds to the right edge. */
.screen { position: relative; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); isolation: isolate; }
.screen::before { /* the light behind */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sunlight);
  animation: sunrise 2.6s var(--ease) both;
}
.screen::after { /* the blocks */
  content: ""; position: absolute; inset: 0; background-image: var(--breeze); background-size: 160px 160px; background-position: 0 0;
  box-shadow: inset 14px 0 0 var(--shutter);
}
@keyframes sunrise { from { opacity: 0.55; transform: translate3d(-6%, 4%, 0) scale(1.08); } to { opacity: 1; transform: none; } }
.screen-plaque {
  position: absolute; right: var(--gutter); bottom: var(--s-5); z-index: 1;
  background: var(--shutter); color: var(--on-shutter-soft); border: 1px solid var(--shutter-line);
  padding: var(--s-2) var(--s-3); border-radius: var(--r-1); font-size: var(--t-micro); letter-spacing: 0.02em;
}

/* The counter: today's open times, set along the foot of the wall. */
.counter { position: relative; z-index: 2; background: var(--shutter-deep); border-top: 1px solid var(--shutter-line); }
.counter .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4) var(--s-6); padding-block: var(--s-5); }
.counter-label { display: flex; flex-direction: column; gap: 2px; }
.counter-label b { font-stretch: var(--wide); font-weight: 700; font-size: 1.0625rem; }
.counter-label span { font-size: var(--t-micro); color: var(--on-shutter-soft); }
.counter-slots { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; }
.slot-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 44px; padding: 0 var(--s-3);
  border-radius: var(--r-2); background: var(--sun); color: var(--ink); font-weight: 650; text-decoration: none;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em; transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.slot-link:hover { background: #ffd862; transform: translateY(-1px); }
.counter-empty { color: var(--on-shutter-soft); font-size: var(--t-small); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-right: 0; padding-block: var(--s-6) var(--s-5); gap: var(--s-4); }
  .hero-copy .display { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.5rem); max-width: 14ch; line-height: 1.02; }
  .hero-copy .lead { font-size: 1.0625rem; }
  .hero-facts li:last-child { display: none; }
  .screen { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); height: 72px; order: -1; }
  .screen::before { background: var(--sunlight-band); }
  .screen::after { background-size: 72px 72px; }
  .screen::after { box-shadow: none; background-position: center 0; }
  .screen-plaque { bottom: var(--s-3); right: var(--s-3); }
  .counter .wrap { grid-template-columns: 1fr; gap: var(--s-3); padding-block: var(--s-4) var(--s-5); }
  .counter-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .counter-slots li:nth-child(n+7) { display: none; }
  .slot-link { min-width: 0; width: 100%; }
  .counter .text-link { justify-self: start; }
}


/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-wall { background: var(--wall); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-7); align-items: end; margin-bottom: var(--s-7); }
.section-head p { max-width: 46ch; color: var(--ink-soft); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; margin-bottom: var(--s-6); } }

/* Price board: services as painted rows, not cards. */
.board { list-style: none; border-top: 2px solid var(--ink); }
.board-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 9.5rem 4.5rem; align-items: baseline; gap: var(--s-2) var(--s-6);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.board-row h3 { font-size: var(--t-h3); font-weight: 650; }
.board-row p { color: var(--ink-soft); }
.board-fee { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; text-align: right; }
.board-fee small { display: block; font-weight: 450; color: var(--ink-soft); font-size: var(--t-micro); }
.board-row .text-link { white-space: nowrap; justify-self: end; }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.board-foot p { color: var(--ink-soft); font-size: var(--t-small); max-width: 60ch; }
@media (max-width: 760px) {
  .board-row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); }
  .board-row p { grid-column: 1 / -1; grid-row: 2; }
  .board-row .board-fee { grid-column: 2; grid-row: 1; }
  .board-row .text-link { grid-column: 1; grid-row: 3; margin-top: var(--s-2); justify-self: start; }
}

/* How a visit works: a timeline of one real booking. */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--ink); }
.tl-step { position: relative; padding-right: var(--s-6); }
.tl-time {
  display: inline-flex; align-items: center; height: 48px; padding: 0 var(--s-4); margin-bottom: var(--s-5);
  background: var(--lime); border: 2px solid var(--ink); border-radius: var(--r-2);
  font-stretch: var(--wide); font-weight: 700; font-variant-numeric: tabular-nums; position: relative;
}
.section-wall .tl-time { background: var(--wall); }
.tl-step.is-now .tl-time { background: var(--sun); }
.tl-step h3 { margin-bottom: var(--s-2); }
.tl-step p { color: var(--ink-soft); max-width: 30ch; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: var(--s-6); }
  .timeline::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .tl-step { padding: 0 0 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s-4); }
  .tl-time { margin-bottom: 0; grid-row: 1 / span 2; align-self: start; }
  .tl-step h3 { margin-top: 10px; }
}

/* Doctors: the week's timetable, one row per person. */
.rota { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.rota th, .rota td { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.rota thead th { font-size: var(--t-micro); font-weight: 600; color: var(--ink-soft); padding-block: var(--s-3); text-align: center; }
.rota thead th:first-child { text-align: left; }
.rota tbody th { font-weight: 400; padding-right: var(--s-5); }
.rota-name { display: block; font-stretch: var(--wide); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.rota-role { display: block; color: var(--ink-soft); font-size: var(--t-small); margin-top: 2px; }
.rota-langs { display: block; font-size: var(--t-small); margin-top: 2px; }
.rota td { width: 9%; text-align: center; padding-inline: 3px; }
.rota-cell { display: block; height: 40px; border-radius: var(--r-1); background: var(--wall); }
.rota-cell.in { background: var(--shutter); position: relative; }
.rota-cell.am::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; right: 0; background: var(--wall); border-radius: 0 var(--r-1) var(--r-1) 0; }
.rota-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); font-size: var(--t-micro); color: var(--ink-soft); list-style: none; }
.rota-key li { display: inline-flex; align-items: center; gap: var(--s-2); }
.rota-key .rota-cell { width: 22px; height: 14px; display: inline-block; }
@media (max-width: 700px) {
  .rota thead { display: none; }
  .rota, .rota tbody, .rota tr { display: block; }
  .rota tr { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .rota tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 var(--s-2); }
  .rota td { display: block; width: auto; border: 0; padding: 0; }
  .rota-cell { height: 30px; font-size: var(--t-micro); font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; }
  .rota-cell::before { content: attr(data-d); position: relative; z-index: 1; }
  .rota-cell.in::before { color: var(--on-shutter); }
}
/* Doctors: door plates with the week they're in. */
.plates { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-5); }
.plate { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.plate-name { font-stretch: var(--wide); font-weight: 700; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.01em; }
.plate-role { color: var(--ink-soft); font-size: var(--t-small); }
.plate-langs { font-size: var(--t-small); }
.plate-langs b { font-weight: 600; }
.week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: auto; padding-top: var(--s-3); list-style: none; }
.week li { text-align: center; font-size: var(--t-micro); font-weight: 600; padding: 6px 0; border-radius: var(--r-1); background: var(--wall); color: var(--ink-soft); }
.week li.in { background: var(--shutter); color: var(--on-shutter); }
.week-legend { font-size: var(--t-micro); color: var(--ink-soft); }

/* Visit us */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-7); align-items: start; }
.visit-info { display: flex; flex-direction: column; gap: var(--s-6); }
.address { font-style: normal; font-size: var(--t-lead); line-height: 1.45; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 650; margin-bottom: var(--s-2); }
.hours th, .hours td { text-align: left; padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); font-weight: 450; }
.hours th { font-weight: 600; padding-left: 0; }
.hours td:last-child { text-align: right; padding-right: 0; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--sun-tint); }
.hours tr.is-today th { box-shadow: -12px 0 0 var(--sun-tint); }
.hours tr.is-today td:last-child { box-shadow: 12px 0 0 var(--sun-tint); }
.contact-list { list-style: none; display: grid; gap: var(--s-2); }
.contact-list a { font-weight: 600; }
.map { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map figcaption { padding: var(--s-3) var(--s-4); font-size: var(--t-micro); color: var(--ink-soft); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); }
.footer-screen { height: 56px; background: var(--breeze) 0 0 / 56px 56px, var(--sunlight-band); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); padding-block: var(--s-8) var(--s-6); }
.footer-grid h2 { font-size: 1rem; font-weight: 650; margin-bottom: var(--s-3); }
.footer-grid ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-grid a { text-decoration: none; color: var(--on-shutter-soft); }
.footer-grid a:hover { color: var(--on-shutter); text-decoration: underline; }
.emergency { border: 1.5px solid var(--sun); border-radius: var(--r-3); padding: var(--s-5); display: flex; gap: var(--s-4); align-items: flex-start; }
.emergency svg { width: 24px; height: 24px; color: var(--sun); flex: none; margin-top: 2px; }
.emergency b { display: block; font-stretch: var(--wide); font-weight: 700; font-size: 1.125rem; margin-bottom: var(--s-1); }
.emergency p { color: var(--on-shutter-soft); }
.emergency a { color: var(--on-shutter); font-weight: 650; }
.footer-base { border-top: 1px solid var(--shutter-line); padding-block: var(--s-5) var(--s-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--t-micro); color: var(--on-shutter-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 56px); display: grid; gap: var(--s-4); }
.page-head .h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); font-stretch: var(--wide); font-weight: 700; line-height: 1; letter-spacing: -0.025em; max-width: 16ch; }
.page-head p { color: var(--on-shutter-soft); max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; }
.page-head-screen { position: absolute; top: 0; bottom: 0; right: 0; width: min(34vw, 420px); background: var(--breeze) 0 0 / 120px 120px, var(--sunlight); }
@media (max-width: 760px) { .page-head-screen { width: 100%; height: 56px; top: auto; background-size: 56px 56px, auto; background-image: var(--breeze), var(--sunlight-band); } .page-head .wrap { padding-bottom: calc(56px + var(--s-6)); } }

/* ---------- Services page ---------- */
.services-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.toc { position: sticky; top: 100px; }
.toc h2 { font-size: var(--t-small); font-weight: 650; margin-bottom: var(--s-3); }
.toc ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: var(--s-2) var(--s-4); margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); font-size: var(--t-small); font-weight: 550; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.toc a.is-active { color: var(--ink); border-left-color: var(--shutter); font-weight: 650; background: var(--wall); }
.svc-group { padding-bottom: var(--s-8); }
.svc-group > h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); font-stretch: var(--wide); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; padding-bottom: var(--s-4); border-bottom: 2px solid var(--ink); }
.svc-group > p { color: var(--ink-soft); margin-top: var(--s-3); max-width: 60ch; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: var(--s-3) var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: var(--t-h3); font-weight: 650; margin-bottom: var(--s-2); }
.svc-body p { color: var(--ink-soft); max-width: 62ch; }
.svc-covers { list-style: none; margin-top: var(--s-3); display: grid; gap: var(--s-1); max-width: 62ch; }
.svc-covers li { position: relative; padding-left: 22px; }
.svc-covers li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231e4a3c' d='M10 0Q11.4 8.6 20 10Q11.4 11.4 10 20Q8.6 11.4 0 10Q8.6 8.6 10 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); text-align: right; }
.svc-fee { font-size: 1.375rem; font-weight: 700; font-stretch: var(--wide); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1.1; }
.svc-meta { font-size: var(--t-micro); color: var(--ink-soft); }
.svc-side .btn { min-height: 42px; margin-top: var(--s-2); }
.fee-notes { background: var(--wall); border-radius: var(--r-3); padding: var(--s-6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.fee-notes h2 { font-size: 1.0625rem; font-weight: 650; margin-bottom: var(--s-2); }
.fee-notes p { color: var(--ink-soft); font-size: var(--t-small); }
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; gap: var(--s-6); }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: var(--s-2); border-left: 0; }
  .toc a { border: 1.5px solid var(--line-strong); border-radius: var(--r-2); padding: var(--s-2) var(--s-3); margin: 0; }
  .toc a.is-active { border-color: var(--shutter); background: var(--sun-tint); }
  .fee-notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc { grid-template-columns: 1fr; }
  .svc-side { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; text-align: left; }
  .svc-side .btn { margin-top: 0; }
}

/* ---------- Booking app ---------- */
.book-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; padding-block: var(--s-7) var(--s-9); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-7); counter-reset: step; }
.stepper li { counter-increment: step; display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); }
.stepper li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.stepper li span::before { content: counter(step) ". "; font-variant-numeric: tabular-nums; }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done::before { background: var(--shutter); }
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"]::before { background: var(--sun-deep); }
.step-panel[hidden] { display: none; }
.step-title { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem); font-stretch: var(--wide); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--s-2); }
.step-title:focus { outline: none; }
.step-intro { color: var(--ink-soft); margin-bottom: var(--s-6); max-width: 56ch; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.back-link { background: none; border: 0; padding: var(--s-2) 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); display: inline-flex; gap: 6px; align-items: center; }
.back-link svg { width: 16px; height: 16px; }

/* Service choice: native radios as rows. */
.choice-list { list-style: none; display: grid; gap: var(--s-2); border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-face {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); align-items: start;
  padding: var(--s-4) var(--s-5); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-2);
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.choice-face::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--paper); margin-top: 3px; grid-row: 1 / span 2; transition: border-color 140ms, box-shadow 140ms; }
.choice-name { font-weight: 650; }
.choice-desc { grid-column: 2; color: var(--ink-soft); font-size: var(--t-small); }
.choice-fee { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice-fee small { display: block; font-weight: 450; font-size: var(--t-micro); color: var(--ink-soft); }
.choice input:hover + .choice-face { border-color: var(--line-strong); }
.choice input:checked + .choice-face { border-color: var(--shutter); background: var(--sun-tint); }
.choice input:checked + .choice-face::before { border-color: var(--shutter); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 10px var(--shutter); }
.choice input:focus-visible + .choice-face { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 480px) {
  .choice-face { grid-template-columns: 22px minmax(0, 1fr); padding: var(--s-4); }
  .choice-fee { grid-column: 2; grid-row: auto; text-align: left; }
  .choice-fee small { display: inline; margin-left: 4px; }
}

/* Day strip: the next two weeks. */
.days-wrap { position: relative; margin-bottom: var(--s-6); }
.days { display: grid; padding-right: 32px !important; grid-auto-flow: column; grid-auto-columns: 76px; gap: var(--s-2); overflow-x: auto; padding: 4px 4px var(--s-3); margin: -4px -4px 0; scroll-snap-type: x proximity; scrollbar-width: thin; border: 0; }
.day { position: relative; scroll-snap-align: start; }
.day input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.day input:disabled { cursor: not-allowed; }
.day-face { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s-3) var(--s-1); border: 1.5px solid var(--line); border-radius: var(--r-2); background: var(--paper); line-height: 1.15; transition: border-color 140ms, background-color 140ms; }
.day-dow { font-size: var(--t-micro); font-weight: 600; color: var(--ink-soft); }
.day-num { font-size: 1.5rem; font-weight: 700; font-stretch: var(--wide); font-variant-numeric: tabular-nums; }
.day-mon { font-size: var(--t-micro); color: var(--ink-soft); }
.day-count { margin-top: 4px; font-size: 0.75rem; font-weight: 600; color: var(--shutter); }
.day input:hover:not(:disabled) + .day-face { border-color: var(--line-strong); }
.day input:checked + .day-face { background: var(--shutter); border-color: var(--shutter); color: var(--on-shutter); }
.day input:checked + .day-face .day-dow, .day input:checked + .day-face .day-mon { color: var(--on-shutter-soft); }
.day input:checked + .day-face .day-count { color: var(--sun); }
.day input:disabled + .day-face { background: transparent; border-style: dashed; color: var(--ink-soft); }
.day input:disabled + .day-face .day-count { color: var(--ink-soft); font-weight: 500; }
.day input:focus-visible + .day-face { outline: 3px solid var(--focus); outline-offset: 2px; }

.slot-group { border: 0; padding: 0; margin: 0 0 var(--s-6); }
.slot-group legend { font-weight: 650; padding: 0; margin-bottom: var(--s-3); display: flex; gap: var(--s-2); align-items: baseline; }
.slot-group legend span { font-weight: 450; color: var(--ink-soft); font-size: var(--t-small); }
.slots { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: var(--s-2); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot-face { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--r-2); border: 1.5px solid var(--shutter); background: var(--paper); font-weight: 650; font-variant-numeric: tabular-nums; transition: background-color 140ms, border-color 140ms, transform 140ms var(--ease); }
.slot input:hover + .slot-face { background: var(--wall); }
.slot input:checked + .slot-face { background: var(--sun); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.slot input:focus-visible + .slot-face { outline: 3px solid var(--focus); outline-offset: 2px; }
.slot input:disabled { cursor: not-allowed; }
.slot input:disabled + .slot-face { border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink-soft); font-weight: 450; text-decoration: line-through; text-decoration-color: var(--line-strong); }
.slots-empty { background: var(--wall); border-radius: var(--r-3); padding: var(--s-5); display: grid; gap: var(--s-3); justify-items: start; }
.slots-empty b { font-weight: 650; }
.slots-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-micro); color: var(--ink-soft); margin-bottom: var(--s-5); list-style: none; }
.slots-key li { display: inline-flex; align-items: center; gap: var(--s-2); }
.key-swatch { width: 22px; height: 14px; border-radius: 3px; border: 1.5px solid var(--shutter); background: var(--paper); }
.key-swatch.is-taken { border: 1.5px dashed var(--line-strong); background: transparent; }
.key-swatch.is-picked { background: var(--sun); border-color: var(--ink); }

/* Form fields */
.form-grid { display: grid; gap: var(--s-6); max-width: 620px; }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: var(--s-6); } }
.label, .field legend { font-weight: 650; font-size: 1rem; padding: 0; }
.optional { font-weight: 450; color: var(--ink-soft); }
.hint { font-size: var(--t-small); color: var(--ink-soft); margin-top: -4px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-1);
  transition: border-color 140ms, box-shadow 140ms;
}
.input::placeholder, .textarea::placeholder { color: #66786f; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-soft); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(245 200 66 / 0.85); }
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316302a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.dob { display: grid; grid-template-columns: 76px minmax(0, 1fr) 96px; gap: var(--s-3); max-width: 380px; }
.dob label { display: grid; gap: 4px; font-size: var(--t-small); color: var(--ink-soft); font-weight: 550; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-4) 0 var(--s-3); border: 1.5px solid var(--line-strong); border-radius: var(--r-2); background: var(--paper); font-weight: 550; }
.radio span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.radio input:checked + span { border-color: var(--shutter); background: var(--sun-tint); }
.radio input:checked + span::before { border-color: var(--shutter); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 9px var(--shutter); }
.radio input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--shutter); cursor: pointer; }
.counter-text { font-size: var(--t-micro); color: var(--ink-soft); text-align: right; }

/* Errors */
.field-error { display: flex; gap: var(--s-2); align-items: flex-start; color: var(--error); font-weight: 600; font-size: var(--t-small); }
.field-error svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.field-error[hidden] { display: none; }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.is-invalid .radio span, .is-invalid .choice-face, .is-invalid .slot-face { border-color: var(--error); }
.error-summary { border: 2px solid var(--error); background: var(--error-tint); border-radius: var(--r-2); padding: var(--s-5); margin-bottom: var(--s-6); }
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.error-summary h3 { font-size: 1.125rem; font-weight: 700; color: var(--error); margin-bottom: var(--s-2); display: flex; gap: var(--s-2); align-items: center; }
.error-summary h3 svg { width: 20px; height: 20px; }
.error-summary ul { padding-left: var(--s-5); display: grid; gap: var(--s-1); }
.error-summary a { color: var(--error); font-weight: 600; }

/* Review */
.review { border-top: 2px solid var(--ink); margin: 0; }
.review-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: var(--s-2) var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.review-row dt { color: var(--ink-soft); font-size: var(--t-small); font-weight: 550; }
.review-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.review-row .back-link { font-size: var(--t-small); }
@media (max-width: 560px) { .review-row { grid-template-columns: minmax(0, 1fr) auto; } .review-row dd { grid-column: 1; } .review-row .back-link { grid-column: 2; grid-row: 1; } }
.note { background: var(--wall); border-radius: var(--r-2); padding: var(--s-4) var(--s-5); font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--s-5); max-width: 62ch; }

/* Summary: the green screen beside the form. */
.summary { position: sticky; top: 96px; background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); border-radius: var(--r-3); overflow: hidden; }
.summary-screen { height: 48px; background: var(--breeze) 0 0 / 48px 48px, var(--sunlight-band); }
.summary-body { padding: var(--s-5); display: grid; gap: var(--s-4); }
.summary h2 { font-size: 1.25rem; font-stretch: var(--wide); font-weight: 700; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl > div { display: grid; grid-template-columns: 84px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--shutter-line); }
.summary dt { color: var(--on-shutter-soft); font-size: var(--t-small); }
.summary dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary dd.is-empty { color: var(--on-shutter-soft); font-weight: 400; }
.summary-time { display: inline-block; background: var(--sun); color: var(--ink); padding: 1px 8px; border-radius: var(--r-1); }
.summary-foot { font-size: var(--t-micro); color: var(--on-shutter-soft); }
@media (max-width: 960px) {
  .book-shell { grid-template-columns: 1fr; gap: var(--s-5); padding-top: var(--s-5); }
  .summary { position: static; order: -1; }
  .summary-screen { height: 32px; background-size: 32px 32px, auto; }
  .summary-body { padding: var(--s-4); gap: var(--s-2); }
  .summary h2 { font-size: 1rem; }
  .summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .summary dl > div { grid-template-columns: 1fr; gap: 0; padding: var(--s-2) 0; }
  .summary dt { font-size: var(--t-micro); }
  .summary dd { font-size: var(--t-small); }
  .summary-foot { display: none; }
  .stepper { margin-bottom: var(--s-6); }
}
@media (max-width: 480px) { .stepper span { font-size: 0.75rem; } .stepper li span::before { content: counter(step); display: block; } }

/* Confirmation */
.done { display: grid; gap: var(--s-6); }
.done-ticket { background: var(--shutter); color: var(--on-shutter); --focus: var(--sun); border-radius: var(--r-3); overflow: hidden; }
.done-ticket .summary-screen { height: 64px; background-size: 64px 64px, auto; }
.done-ticket-body { padding: var(--s-6); display: grid; gap: var(--s-4); }
.done-when { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem); font-stretch: var(--wide); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.done-when .summary-time { padding: 0 10px; border-radius: var(--r-2); }
.done-ref { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); color: var(--on-shutter-soft); font-size: var(--t-small); }
.done-ref b { color: var(--on-shutter); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.done-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.bring { list-style: none; display: grid; gap: var(--s-3); max-width: 60ch; }
.bring li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); }
.bring svg { width: 20px; height: 20px; color: var(--shutter); margin-top: 3px; }

/* ---------- Motion preferences ---------- */
@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; }
}

/* ---------- Additions: services table, booking layout details ---------- */
.price-table { width: 100%; border-collapse: collapse; margin-top: var(--s-5); font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: var(--t-micro); font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); }
.price-table tbody th { font-weight: 600; }
.price-table td { color: var(--ink-soft); }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; color: var(--ink); font-weight: 650; }
.table-foot { margin-top: var(--s-5); }
.book-main { min-width: 0; }
.book-shell.is-done { grid-template-columns: minmax(0, 820px); }
.bring-title { margin-bottom: var(--s-4); }
.page-head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
.page-head-actions .text-link { color: var(--on-shutter); }
.svc-side .text-link { margin-top: var(--s-2); }
.svc-fee + .svc-meta { margin-top: -4px; }

/* Day strip: arrows and an edge fade say it scrolls. */
.days-wrap { position: relative; }
.days-wrap legend { float: left; margin-bottom: var(--s-3); line-height: 40px; }
.days-wrap .days { clear: both; }
.days-nav { position: absolute; top: 0; right: 0; z-index: 1; display: flex; gap: var(--s-2); }
.days-nav button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-2); border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color 140ms, border-color 140ms; }
.days-nav button:hover:not(:disabled) { background: var(--wall); border-color: var(--ink-soft); }
.days-nav button:disabled { opacity: 0.35; cursor: default; }
.days-nav svg { width: 18px; height: 18px; }
.days.fade-end { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); }
.days.fade-start.fade-end { -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 72px), transparent); }
.days.fade-start:not(.fade-end) { -webkit-mask-image: linear-gradient(to right, transparent, #000 48px); mask-image: linear-gradient(to right, transparent, #000 48px); }
