/* Hallmark · checked: 2026-11-04 · genre: editorial (inferred)
 * floor: 0 FAIL · fixed: 4 (20, 24a, 39a, F24) · structural: 1 printed (42: four-column footer kept, it carries services, guides, practice and contact)
 * built: the project · redesign: polish · v2.0.0 */
/* Latin and Cyrillic subsets are split so a page only downloads the one it uses */
@font-face {
  font-family: "Brygada 1918";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/brygada-1918-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Brygada 1918";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/brygada-1918-latin-400.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;
}
@font-face {
  font-family: "Brygada 1918";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/brygada-1918-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Brygada 1918";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/brygada-1918-latin-600.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;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-text-latin-400.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;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/golos-text-latin-500.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 {
  color-scheme: dark;

  /* colors */
  --color-paper: oklch(21% 0.012 12);
  --color-paper-2: oklch(25% 0.014 12);
  --color-paper-3: oklch(29% 0.018 12);
  --color-ink: oklch(94% 0.012 70);
  --color-ink-2: oklch(79% 0.012 60);
  --color-muted: oklch(68% 0.012 40);
  --color-rule: oklch(37% 0.016 12);
  --color-accent: oklch(45% 0.135 12);
  --color-accent-2: oklch(51% 0.145 12);
  --color-accent-ink: oklch(96% 0.01 70);
  --color-seal: oklch(63% 0.13 14);
  --color-focus: oklch(80% 0.09 14);

  /* flags in the language switch */
  --flag-ua-blue: oklch(48% 0.17 255);
  --flag-ua-yellow: oklch(87% 0.17 92);
  --flag-us-red: oklch(48% 0.17 22);
  --flag-us-blue: oklch(33% 0.09 275);
  --flag-us-white: oklch(97% 0.005 90);
  --flag-ru-white: oklch(97% 0.005 90);
  --flag-ru-blue: oklch(42% 0.17 262);
  --flag-ru-red: oklch(54% 0.2 29);

  /* Google's own colours, for its mark beside the reviews; stars in warm gold */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
  --color-star: oklch(83% 0.14 82);
  --color-error: oklch(76% 0.13 27);
  --color-success: oklch(80% 0.11 150);
  --shadow-menu: 0 0 0 100vmax oklch(8% 0.01 12 / 0.62);

  --font-display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --font-body: "Golos Text", ui-sans-serif, system-ui, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-lead: clamp(1.1875rem, 0.4vw + 1.05rem, 1.4375rem);
  /* reading text inside pages: a step under the lead so intros and titles stand apart */
  --text-prose: clamp(1.125rem, 0.25vw + 1.05rem, 1.25rem);
  --text-title: clamp(1.4375rem, 0.6vw + 1.2rem, 1.75rem);
  --text-section: clamp(2.125rem, 2.3vw + 1.1rem, 3.25rem);
  --text-display: clamp(2.5rem, 4.2vw + 1rem, 4.75rem);
  --text-poster: clamp(2.6rem, 3.4vw + 1rem, 5rem);
  --text-statement: clamp(3rem, 9vw, 9.5rem);
  --tracking-display: -0.014em;
  --leading-display: 1.02;

  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;

  --container: 1360px;
  --measure: 44rem;
  --gutter: 64px;
  --gap-columns: 64px;
  --section-gap-s: 128px;
  --section-gap: 144px;
  --masthead-height: 76px;
  --tap: 44px;

  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-input: 2px;
  --rule-hair: 1px;
  --rule-field: 1.5px;
  --shadow-card: 0 16px 40px oklch(10% 0.01 12 / 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --z-raised: 10;
  --z-sticky: 200;
  --z-menu: 300;
  --z-skip: 400;

  --grain: 0.14;
  --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 60rem) {
  :root {
    --gutter: 24px;
    --section-gap-s: 80px;
    --section-gap: 96px;
    --masthead-height: 64px;
    --gap-columns: 32px;
  }
}
@media (max-width: 40rem) {
  :root {
    --gutter: 18px;
    --section-gap-s: 56px;
    --section-gap: 72px;
    --gap-columns: 16px;
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scrollbar-color: var(--color-muted) var(--color-paper);
  scroll-padding-top: calc(var(--masthead-height) + var(--space-lg));
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--color-seal);
}
::selection {
  background: color-mix(in oklab, var(--color-seal) 30%, transparent);
  color: var(--color-ink);
}
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in oklab, var(--color-ink) 45%, transparent);
}
a:hover {
  text-decoration-color: var(--color-seal);
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: var(--tracking-display);
  line-height: 1.08;
  color: var(--color-ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h2 {
  font-size: var(--text-section);
  max-width: 24ch;
}
h3 {
  font-size: var(--text-title);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}
strong,
b,
label,
legend,
summary {
  color: var(--color-ink);
}
p,
ul,
ol {
  margin: 0;
}
p {
  text-wrap: pretty;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
[hidden],
.seg[hidden],
.format[hidden],
.form__success[hidden],
.form__failure[hidden] {
  display: none;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 40ch;
}

.skip {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  z-index: var(--z-skip);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.btn--primary:hover {
  background: var(--color-accent-2);
}
.btn--quiet {
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
}
.btn--quiet:hover {
  background: var(--color-paper-3);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn[aria-busy="true"] {
  cursor: progress;
}
.label-short {
  display: none;
}
@media (max-width: 40rem) {
  .label-long {
    display: none;
  }
  .label-short {
    display: inline;
  }
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition:
      background-color var(--dur-short) var(--ease-out),
      box-shadow var(--dur-short) var(--ease-out),
      transform var(--dur-micro) var(--ease-out);
  }
  a {
    transition: text-decoration-color var(--dur-short) var(--ease-out);
  }
}

/* Header */

.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-paper);
  color: var(--color-ink);
  border-bottom: var(--rule-hair) solid transparent;
}
.masthead.is-scrolled {
  border-bottom-color: var(--color-rule);
}
.masthead__in {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-height: var(--masthead-height);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  flex: none;
  min-height: var(--tap);
  margin-right: auto;
  white-space: nowrap;
  text-decoration: none;
}
.brand__seal {
  width: 34px;
  height: 34px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-display);
}
.masthead__nav ul {
  display: flex;
  gap: var(--space-2xs);
  padding: 0;
  list-style: none;
}
.masthead__nav a,
.lang-switch {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-sm);
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-ink-2);
  border-radius: var(--radius-pill);
}
.masthead__nav a:hover,
.lang-switch:hover {
  color: var(--color-ink);
  background: var(--color-paper-2);
}
.masthead__nav a[aria-current="page"] {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-seal);
}
.masthead__book {
  flex: none;
  min-height: var(--tap);
  white-space: nowrap;
}

.menu {
  display: none;
  position: relative;
}
.menu__toggle {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.menu__toggle::-webkit-details-marker {
  display: none;
}
.menu__toggle:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.menu[open] .menu__toggle {
  background: var(--color-ink);
  color: var(--color-paper);
}
.menu__panel {
  color: var(--color-ink);
  position: fixed;
  inset: var(--masthead-height) 0 auto 0;
  z-index: var(--z-menu);
  max-height: calc(100svh - var(--masthead-height));
  overflow-y: auto;
  padding: var(--space-lg) var(--gutter) var(--space-2xl);
  background: var(--color-paper);
  box-shadow: var(--shadow-menu);
  clip-path: inset(0 -100vmax -100vmax -100vmax);
}
.menu__panel ul {
  padding: 0;
  list-style: none;
}
.menu__panel li + li {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.menu__panel a {
  display: flex;
  align-items: center;
  min-height: 56px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: var(--text-title);
  text-decoration: none;
}
.lang-switches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2xs);
}
.lang-switches--menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.menu__panel .lang-switch {
  justify-content: center;
  padding: 0 var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-md);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
}
.lang-switch {
  gap: var(--space-xs);
}
.flag {
  flex: none;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--color-rule);
}
.flag__ru-white {
  fill: var(--flag-ru-white);
}
.flag__ru-blue {
  fill: var(--flag-ru-blue);
}
.flag__ru-red {
  fill: var(--flag-ru-red);
}
.flag__ua-blue {
  fill: var(--flag-ua-blue);
}
.flag__ua-yellow {
  fill: var(--flag-ua-yellow);
}
.flag__us-red {
  fill: var(--flag-us-red);
}
.flag__us-blue {
  fill: var(--flag-us-blue);
}
.flag__us-white {
  fill: var(--flag-us-white);
}
.flag__us-stars {
  stroke: var(--flag-us-white);
  stroke-width: 1;
  stroke-linecap: round;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* the masthead shows the flag alone; the name stays for screen readers and the tooltip */
.lang-switch--flag {
  min-width: var(--tap);
  justify-content: center;
  padding: 0;
}
.lang-switch--flag .flag {
  width: 27px;
  height: 18px;
}
.lang-switch--flag .lang-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 66rem) {
  .masthead__nav,
  .masthead__in > .lang-switches {
    display: none;
  }
  .menu {
    display: block;
  }
}
@media (max-width: 40rem) {
  .masthead__book {
    display: none;
  }
  .brand__name {
    font-size: var(--text-md);
  }
}

/* Seal */

.seal__ink {
  fill: none;
  stroke: var(--color-seal);
}
.seal__ring {
  fill: var(--color-seal);
  stroke: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}
.seal__state {
  fill: var(--color-seal);
  stroke: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
}
.seal__mark {
  fill: var(--color-seal);
  stroke: none;
}
.seal__initials {
  fill: var(--color-seal);
  stroke: none;
  font-family: var(--font-display);
  font-size: 54px;
}
.seal__initials--mini {
  font-size: 92px;
}
.brand__seal .seal__ink {
  stroke: var(--color-ink);
}
.brand__seal .seal__initials {
  fill: var(--color-ink);
}

/* Home: hero */

.hero {
  padding-block: clamp(var(--space-lg), 5svh, var(--space-2xl))
    clamp(var(--space-xl), 7svh, var(--space-3xl));
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--space-xl) var(--gap-columns);
  min-height: min(calc(100svh - var(--masthead-height) - 12svh - var(--space-sm)), 52rem);
}
.hero__copy {
  container-type: inline-size;
  display: grid;
  gap: var(--space-lg);
  justify-items: start;
}
/* Two set lines, sized so the longer one fills the column. --title-measure is the
   longer line's width in em, measured in Brygada with a little room to spare. */
.hero__title {
  --title-measure: 11.95;
  max-width: none;
  font-size: clamp(2.25rem, calc(100cqi / var(--title-measure)), 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
:lang(en) .hero__title {
  --title-measure: 10.4;
}
.hero__line {
  display: block;
  white-space: nowrap;
  overflow: clip;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__line > span {
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__line > span {
    animation: line-up 900ms var(--ease-out) both;
  }
  .hero__line + .hero__line > span {
    animation-delay: 90ms;
  }
}
@keyframes line-up {
  from {
    transform: translateY(108%);
  }
}
/* On phones the Ukrainian head is too long for two lines, so it wraps and balances
   (three lines). The English one keeps its two lines at a smaller size. */
@media (max-width: 48rem) {
  .hero__title {
    font-size: clamp(1.6rem, calc(100cqi / var(--title-measure)), 3rem);
  }
  :lang(uk) .hero__title {
    font-size: clamp(2.1rem, 10.5cqi, 3rem);
    text-wrap: balance;
  }
  :lang(uk) .hero__line,
  :lang(uk) .hero__line > span {
    display: inline;
    white-space: normal;
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    :lang(uk) .hero__line > span {
      animation: none;
    }
    :lang(uk) .hero__title {
      animation: title-in 800ms var(--ease-out) both;
    }
  }
}
@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.hero__sentence {
  max-width: 36ch;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--color-ink-2);
}
.hero__copy .actions {
  margin-top: var(--space-sm);
}
.hero__photo {
  align-self: stretch;
  max-height: calc(100svh - var(--masthead-height) - 12svh - var(--space-sm));
}
.hero__seal {
  position: absolute;
  left: -13%;
  bottom: 5%;
  z-index: var(--z-raised);
  width: 46%;
  transform: rotate(-9deg);
}
.hero__stamp {
  width: 100%;
  height: auto;
}

@media (max-width: 60rem) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero__photo {
    max-height: none;
    aspect-ratio: 4 / 5;
    width: min(100%, 30rem);
    justify-self: end;
  }
  .hero__seal {
    left: auto;
    right: -3%;
    bottom: auto;
    top: -8%;
    width: 36%;
  }
}
@media (max-width: 40rem) {
  .hero .actions .btn--quiet {
    display: none;
  }
}
/* keep the seal inside the screen on phones */
@media (max-width: 40rem) {
  .hero__seal {
    right: 0.75rem;
  }
}

/* Photos */

.photo {
  position: relative;
  margin: 0;
  min-width: 0;
}
.photo__frame {
  position: relative;
  height: 100%;
  aspect-ratio: 2 / 3;
  overflow: clip;
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
}
.hero__photo .photo__frame {
  aspect-ratio: auto;
  height: 100%;
}
.photo__img,
.photo__img img {
  display: block;
  width: 100%;
  height: 100%;
}
/* scaled in CSS so the parallax only has to translate */
[data-parallax] > .photo__img {
  transform: scale(1.1);
}
.photo__img img {
  object-fit: cover;
  object-position: 50% 22%;
  outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent);
  outline-offset: -1px;
}
.photo__seal {
  position: absolute;
  inset: 20%;
  width: 60%;
  height: auto;
}

/* focal points for photos that get cropped */
.photo--lviv img {
  object-position: 50% 46%;
}
.photo--palms img {
  object-position: 50% 36%;
}
.photo--altar img {
  object-position: 50% 62%;
}
.photo--signing img {
  object-position: 50% 60%;
}
.photo--seated img {
  object-position: 50% 18%;
}

/* Inner pages: banner photo */
.banner {
  margin: 0 auto var(--section-gap-s);
}
.banner__frame {
  aspect-ratio: 2 / 1;
  overflow: clip;
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
}
.banner__frame .photo__img,
.banner__frame img {
  width: 100%;
  height: 100%;
}
.banner__frame img {
  object-fit: cover;
}
.banner__credit {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.banner__credit a {
  color: inherit;
}
@media (max-width: 40rem) {
  .banner__frame {
    aspect-ratio: 4 / 3;
  }
}

/* Home: intro */

.intro {
  padding-block: 0 var(--section-gap);
}
.intro__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-xl) var(--gap-columns);
  align-items: center;
}
.intro__photo {
  max-width: 30rem;
}
.intro__text {
  display: grid;
  gap: var(--space-lg);
  max-width: 38rem;
}
@media (max-width: 60rem) {
  .intro__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro__photo {
    max-width: 24rem;
  }
}

/* Services list */

.offer {
  padding-block: var(--section-gap);
}
.offer > .container {
  display: grid;
  gap: var(--space-xl);
}
.services {
  padding: 0;
  list-style: none;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.service {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.service__link {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-xs) var(--gap-columns);
  align-items: baseline;
  padding: var(--space-lg) var(--space-sm);
  text-decoration: none;
  border-radius: var(--radius-card);
}
.service__name {
  font-size: var(--text-title);
}
.service__line {
  color: var(--color-ink-2);
}
@media (hover: hover) {
  .service__link:hover {
    background: var(--color-paper-2);
  }
  .service__link:hover .service__name {
    text-decoration: underline;
    text-decoration-color: var(--color-seal);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }
}
@media (max-width: 48rem) {
  .service__link {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }
}

/* Fla. Stat. 117.05 notice. Keep it full size and full contrast */

.notice {
  display: grid;
  gap: var(--space-sm);
  max-width: var(--measure);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-size: var(--text-md);
  line-height: 1.55;
}
.notice--footer {
  padding: 0;
  background: none;
  color: var(--color-ink-2);
}

/* Home: documents for Ukraine */

.ukraine {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-gap);
  background: var(--color-paper-2);
}
.ukraine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: screen;
  background-image: var(--grain-image);
}
.ukraine__in {
  display: grid;
  gap: var(--space-2xl);
}
.ukraine__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-lg) var(--gap-columns);
  align-items: end;
}
.ukraine__head h2 {
  max-width: 18ch;
}
.ukraine__links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}
.ukraine__links > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
@media (max-width: 60rem) {
  .ukraine__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .ukraine__links {
    grid-column: 1;
  }
}

.journey {
  position: relative;
}
.journey__path {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: var(--color-rule);
}
.journey__ink {
  position: absolute;
  inset: 0;
  background: var(--color-seal);
}
.journey__stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-columns);
  padding: 0;
  list-style: none;
}
.station {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
}
.station__mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-paper-2);
  box-shadow: inset 0 0 0 2px var(--color-seal);
}
/* the mark fills with ink once the line reaches it (filled from the start without motion) */
.station__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--color-seal);
}
.has-motion .station__mark::after {
  transform: scale(0);
  transition: transform 360ms var(--ease-out);
}
.has-motion .station.is-reached .station__mark::after {
  transform: scale(1);
}
.station__name {
  font-size: var(--text-title);
}
.station__text {
  color: var(--color-ink-2);
  max-width: 32ch;
  font-variant-numeric: tabular-nums;
}
.page__body .journey {
  margin-top: var(--space-xl);
}
.page__body .journey .station__mark {
  background: var(--color-paper);
}
.page__body .journey__stations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: var(--space-xl);
}
.page__body .journey__path {
  display: none;
}
@media (max-width: 40rem) {
  .page__body .journey__stations {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 60rem) {
  .journey__path {
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .journey__stations {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .station {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: var(--space-lg);
  }
  .station__name,
  .station__text {
    grid-column: 2;
  }
  .station__mark {
    grid-row: 1;
  }
}

/* Home: online / in person */

.formats {
  padding-block: var(--section-gap);
}
.formats__in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-xl) var(--gap-columns);
  align-items: center;
}
.formats__photo {
  order: 2;
  max-width: 28rem;
  justify-self: end;
  width: 100%;
}
.formats__body {
  display: grid;
  gap: var(--space-xl);
  align-content: start;
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-self: start;
}
.seg button {
  min-height: var(--tap);
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-rule);
  font-weight: 500;
  cursor: pointer;
}
.seg button:hover {
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
}
.seg button[aria-selected="true"] {
  background: var(--color-paper-3);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink);
}
.seg button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.format {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.format p {
  color: var(--color-ink-2);
}
.format a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--color-ink);
}
.format__title {
  font-size: var(--text-title);
}
@media (max-width: 60rem) {
  .formats__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .formats__photo {
    order: 0;
    justify-self: start;
    max-width: 24rem;
  }
}

/* Booking band */

.closing {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-gap);
  background: var(--color-paper-3);
}
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: screen;
  background-image: var(--grain-image);
}
.closing__in {
  display: grid;
  gap: var(--space-lg);
  justify-items: start;
}
.closing__title {
  font-size: var(--text-display);
  max-width: 16ch;
}
.closing__text {
  max-width: 48ch;
  font-size: var(--text-lead);
  color: var(--color-ink-2);
}
.closing__area {
  max-width: 52ch;
  color: var(--color-ink-2);
}
.closing__place {
  color: var(--color-ink);
  font-weight: 500;
}

/* Inner pages */

.page__head {
  display: grid;
  gap: var(--space-lg);
  padding-block: var(--space-2xl) var(--space-3xl);
}
.page__head--portrait {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: start;
  column-gap: var(--gap-columns);
}
.page__head--portrait > :not(.photo) {
  grid-column: 1;
}
.page__head--portrait > .photo {
  grid-column: 2;
  grid-row: 1 / span 4;
}
.page__title {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  max-width: 18ch;
}
.page__answer {
  max-width: 46ch;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--color-ink-2);
}
.page__answer a {
  color: var(--color-ink);
}
.page__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.page__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--section-gap-s) var(--gap-columns);
  padding-bottom: var(--section-gap);
}
.page__body > * {
  grid-column: 1 / -1;
}

.page__body > :is(.prose-section, .faq, .sources, .related) {
  display: grid;
  grid-template-columns: subgrid;
  row-gap: var(--space-md);
  align-items: start;
}
.page__body > :is(.prose-section, .faq, .sources, .related) > h2 {
  grid-column: 1;
  position: sticky;
  top: calc(var(--masthead-height) + var(--space-lg));
}
.section__body {
  grid-column: 2;
  display: grid;
  gap: var(--space-md);
  align-content: start;
  min-width: 0;
}
.page__body > .notice {
  grid-column: 2;
  margin-top: 0;
}
.page__body > .guides {
  grid-column: 1 / -1;
}
.page__body p,
.page__body .list {
  font-size: var(--text-prose);
  line-height: 1.6;
}
/* components inside a page keep their own size; only the prose reads large */
/* titles of small items (steps, stations) sit a size under section-level h3s */
.page__body :is(.step__title, .station__name) {
  font-size: clamp(1.25rem, 0.5vw + 1.05rem, 1.5rem);
}
.page__body :is(.notice p, .service__line, .station__text, .step p, .guide__link p, .booking__direct, .form__status p) {
  font-size: var(--text-md);
}
.page__body :is(.field__hint, .field__error) {
  font-size: var(--text-sm);
  line-height: 1.5;
}
@media (max-width: 60rem) {
  .page__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .page__body > :is(.prose-section, .faq, .sources, .related) > h2 {
    position: static;
  }
  .section__body,
  .page__body > .notice {
    grid-column: 1;
  }
}
@media (max-width: 60rem) {
  .page__head--portrait {
    grid-template-columns: minmax(0, 1fr);
  }
  .page__head--portrait > .photo {
    grid-column: 1;
    grid-row: auto;
    max-width: 22rem;
  }
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.crumbs li {
  display: inline-flex;
  align-items: center;
}
.crumbs li + li::before {
  content: "/";
  padding-inline: var(--space-sm);
  color: var(--color-rule);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--color-ink-2);
}
.crumbs [aria-current="page"] {
  color: var(--color-ink);
}

.prose-section > h2,
.faq > h2,
.sources > h2,
.related > h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  max-width: 16ch;
}
.section__body > p {
  color: var(--color-ink-2);
  max-width: 60ch;
}
.section__body > p a,
.list a,
.qa a {
  color: var(--color-ink);
}
.list {
  display: grid;
  gap: var(--space-xs);
  padding-left: 1.2em;
  color: var(--color-ink-2);
}
.list li::marker {
  color: var(--color-seal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--space-lg) var(--gap-columns);
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: grid;
  gap: var(--space-xs);
  align-content: start;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: 1;
  color: var(--color-ink-2);
  font-variant-numeric: lining-nums;
}
.step p {
  color: var(--color-ink-2);
}

.qa {
  display: grid;
  gap: var(--space-xs);
  padding-block: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.qa p {
  color: var(--color-ink-2);
}

.sources {
  color: var(--color-muted);
}
.sources ul {
  gap: var(--space-2xs);
  padding-left: 1.2em;
  font-size: var(--text-sm);
}
.sources a {
  display: inline-flex;
  min-height: var(--tap);
  align-items: center;
  color: var(--color-ink-2);
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  padding: 0;
  list-style: none;
}
.related a {
  white-space: nowrap;
}
.related a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule);
  text-decoration: none;
}
.related a:hover {
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink-2);
}

.guides {
  padding: 0;
  list-style: none;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.guide {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.guide__link {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-sm);
  text-decoration: none;
  border-radius: var(--radius-card);
}
.guide__link:hover {
  background: var(--color-paper-2);
}
.guide__title {
  font-size: var(--text-title);
  max-width: 32ch;
}
.guide__link p {
  max-width: 60ch;
  color: var(--color-ink-2);
}

/* Booking form */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--space-lg) var(--space-2xl);
  align-items: start;
}
.booking__title,
.booking__intro {
  grid-column: 1;
}
.booking__title {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
}
.booking__intro {
  color: var(--color-ink-2);
}
.form {
  grid-column: 1;
  display: grid;
  gap: var(--space-lg);
}
.booking__direct {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
  color: var(--color-ink-2);
}
.booking__direct-title {
  font-size: var(--text-title);
}
@media (max-width: 60rem) {
  .booking {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking__direct {
    grid-column: 1;
    grid-row: auto;
  }
}

.field {
  display: grid;
  gap: var(--space-xs);
  align-content: start;
  min-width: 0;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}
@media (max-width: 40rem) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.field > label,
.choice legend {
  font-weight: 500;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-sm) var(--space-md);
  border: var(--rule-field) solid var(--color-ink-2);
  border-radius: var(--radius-input);
  background: var(--color-paper);
  color: var(--color-ink);
  outline: 2px solid transparent;
  outline-offset: 1px;
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}
.field select {
  appearance: none;
  padding-right: var(--space-2xl);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%),
    linear-gradient(135deg, var(--color-ink-2) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline-color: var(--color-focus);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--color-ink);
}
.field [aria-invalid="true"] {
  border-color: var(--color-error);
}
.field__hint {
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.field__error {
  font-size: var(--text-sm);
  color: var(--color-error);
}
.field__error:empty {
  display: none;
}

.choice {
  margin: 0;
  padding: 0;
  border: 0;
}
.choice legend {
  padding: 0;
  margin-bottom: var(--space-xs);
}
.choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice label {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-lg);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-rule);
  cursor: pointer;
}
.choice label:hover {
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
}
.choice input:checked + label {
  background: var(--color-paper-3);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink);
}
.choice input:focus-visible + label {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: var(--space-sm);
}
.consent input {
  width: 22px;
  height: 22px;
  margin: var(--space-3xs) 0 0;
  accent-color: var(--color-accent);
}
.consent label {
  font-weight: 400;
  color: var(--color-ink-2);
}
.consent .field__error {
  grid-column: 2;
}

.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form__submit {
  justify-self: start;
}
.form__status:focus {
  outline: none;
}
.form__success {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-3);
  color: var(--color-success);
}
.form__failure {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-3);
}
.form__failure p {
  color: var(--color-error);
}
.form__failure ul {
  display: grid;
  gap: var(--space-2xs);
  padding-left: 1.2em;
}
.form__failure a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

/* Footer */

.footer {
  padding-block: var(--section-gap) var(--space-2xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.footer__name {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-statement);
  line-height: 0.95;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
.footer__title {
  margin-top: var(--space-md);
  font-size: var(--text-lead);
  color: var(--color-ink-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2xl) var(--gap-columns);
  margin-top: var(--space-3xl);
}
.footer__label {
  max-width: none;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-muted);
}
.footer__label a {
  color: inherit;
  text-decoration: none;
}
.footer__label a:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-seal);
}
.footer__links,
.footer__contact {
  padding: 0;
  list-style: none;
}
.footer__links a,
.footer__contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-xs);
  min-height: var(--tap);
  padding-block: calc((var(--tap) - 1.35em) / 2);
  line-height: 1.35;
  text-decoration: none;
  color: var(--color-ink-2);
}
.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-seal);
}
.footer a[aria-current="page"] {
  color: var(--color-ink);
}
.footer__contact {
  margin-bottom: var(--space-md);
}
.footer__contact .icon {
  margin-block-start: 0.075em;
}
.footer__note {
  color: var(--color-ink-2);
  max-width: 36ch;
}
.footer__note + .footer__note {
  margin-top: var(--space-sm);
}
.footer__notice {
  margin-top: var(--space-3xl);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.footer__notice .notice {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm) var(--gap-columns);
  max-width: none;
}
.footer__notice .notice p {
  max-width: var(--measure);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-lg);
}
.footer__cookies {
  min-height: var(--tap);
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--color-ink-2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.footer__cookies:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.footer__base a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--color-ink-2);
}
.lang-switch--footer {
  padding-inline: var(--space-md);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule);
}
@media (max-width: 75rem) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__group:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 60rem) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 48rem) {
  .footer__grid {
    gap: var(--space-xl) var(--space-lg);
  }
  .footer__group:nth-child(3) {
    grid-column: 1 / -1;
  }
  .footer__group:nth-child(3) .footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-lg);
  }
  .footer__links a {
    font-size: var(--text-sm);
  }
  .footer__notice .notice {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 22rem) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reviews */

.reviews {
  --rail-inset: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  padding-block: var(--section-gap);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.reviews__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  gap: var(--space-xl) var(--gap-columns);
}
.reviews__intro {
  display: grid;
  gap: var(--space-md);
}
.reviews__intro .lead {
  max-width: 40ch;
  color: var(--color-ink-2);
}
.gpanel {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
}
.gpanel__brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  color: var(--color-ink);
}
.google-mark {
  flex: none;
  width: 22px;
  height: 22px;
}
.quote__meta .google-mark {
  width: 15px;
  height: 15px;
}
.g-blue {
  fill: var(--google-blue);
}
.g-red {
  fill: var(--google-red);
}
.g-yellow {
  fill: var(--google-yellow);
}
.g-green {
  fill: var(--google-green);
}
.gpanel__score {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.gpanel__value {
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gpanel__count,
.gpanel__text {
  color: var(--color-ink-2);
}
.gpanel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
  margin-top: var(--space-xs);
}
.gpanel__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--color-ink-2);
}
.stars {
  display: inline-flex;
  gap: var(--space-3xs);
}
.stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-star);
}

.reviews__rail {
  margin-top: clamp(var(--space-lg), 4vw, var(--space-2xl));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-inset);
  scrollbar-width: none;
}
.reviews__rail::-webkit-scrollbar {
  display: none;
}
.reviews__rail:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}
.reviews__rail.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
.reviews__track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  margin: 0;
  padding: 0 var(--rail-inset);
  list-style: none;
}
.quote {
  flex: none;
  width: min(25rem, 80vw);
  scroll-snap-align: start;
}
.quote--lead {
  width: min(32rem, 86vw);
}
.quote figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
  margin: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
}
.quote blockquote {
  flex: 1;
  margin: 0;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.5em;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.85;
  color: var(--color-seal);
}
.quote blockquote p {
  font-size: var(--text-md);
  line-height: 1.6;
}
.quote--lead blockquote p {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.quote__monogram {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.quote__who {
  display: grid;
  gap: var(--space-3xs);
}
.quote__name {
  font-weight: 500;
}
.quote__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.reviews__controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.reviews__controls[hidden] {
  display: none;
}
.reviews__progress {
  position: relative;
  flex: 1;
  height: 2px;
  margin-right: var(--space-md);
  overflow: hidden;
  background: var(--color-rule);
}
.reviews__progress span {
  position: absolute;
  inset: 0;
  background: var(--color-seal);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0.15));
}
.rail-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
  cursor: pointer;
}
.rail-btn:hover:not(:disabled) {
  background: var(--color-paper-3);
}
.rail-btn:active {
  transform: translateY(1px);
}
.rail-btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.rail-btn:disabled {
  color: var(--color-muted);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule);
  cursor: default;
}
@media (prefers-reduced-motion: no-preference) {
  .rail-btn {
    transition: background-color var(--dur-short) var(--ease-out);
  }
  .reviews__progress span {
    transition: transform 200ms var(--ease-out);
  }
}
@media (max-width: 60rem) {
  .reviews__head {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Press links on About */

.press {
  display: grid;
  gap: var(--space-sm);
  padding: 0;
  list-style: none;
}

/* Analytics consent, only rendered when tracking IDs are set */

.cookie-banner {
  position: fixed;
  inset: auto var(--space-lg) var(--space-lg) auto;
  z-index: var(--z-menu);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-sm);
  width: min(26rem, calc(100% - 2 * var(--space-lg)));
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
  box-shadow: var(--shadow-card);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__title {
  max-width: none;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: 0;
}
.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-ink-2);
}
.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}
@media (max-width: 60rem) {
  .cookie-banner {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* Mobile booking bar */

.bookbar {
  display: none;
}
@media (max-width: 60rem) {
  .bookbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom));
    background: var(--color-paper-2);
    border-top: var(--rule-hair) solid var(--color-rule);
  }
  .bookbar .btn {
    flex: 1;
  }
  .bookbar.is-away {
    transform: translateY(100%);
  }
  @media (prefers-reduced-motion: no-preference) {
    .bookbar {
      transition: transform 280ms var(--ease-out);
    }
  }
  .bookbar__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 var(--rule-field) var(--color-ink-2);
  }
  .bookbar__icon .icon {
    width: 22px;
    height: 22px;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .page-form .bookbar {
    display: none;
  }
  .page-form {
    padding-bottom: 0;
  }
}

/* Page transitions */

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 260ms;
    animation-timing-function: var(--ease-out);
  }
}

/* Print */

@media print {
  .masthead,
  .bookbar,
  .menu,
  .closing .actions,
  .hero__seal {
    display: none;
  }
}
