/* ==========================================================================
   Eime Steine
   A small, dependency-free stylesheet.

   Layout is built with CSS grid and fluid type. The mobile menu uses the
   native popover API, the photo viewer uses <dialog>, and page changes use
   cross-document view transitions where the browser supports them.
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  --paper: #f7f2e9;
  --paper-deep: #eee5d6;
  --snow: #fffdf8;
  --ink: #1e2821;
  --ink-soft: #556057;
  --line: #d9cebd;
  --forest: #22362a;
  --forest-deep: #18271e;
  --clay: #a3542e;
  --clay-dark: #7d3f22;
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --radius: 0.65rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-synthesis: none;
}

img,
picture,
iframe,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay-dark);
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.55em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

::selection {
  background: var(--clay);
  color: var(--snow);
}

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0 0 0.4rem 0.4rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Header and native popover navigation ------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
  view-transition-name: brand;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.brand__place {
  display: block;
  margin-top: 0.16rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-button:hover {
  border-color: var(--ink-soft);
}

.menu-button__icon {
  display: grid;
  gap: 3px;
  width: 1rem;
}

.menu-button__icon span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

.site-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  width: 100%;
  max-height: calc(100dvh - var(--header-h));
  margin: 0;
  padding: 0.25rem var(--gutter) 1.5rem;
  overflow: auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1.5rem 3rem rgb(20 30 23 / 0.12);
}

.site-menu::backdrop {
  background: rgb(18 27 21 / 0.32);
  backdrop-filter: blur(2px);
}

.site-menu ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  text-decoration: none;
}

.site-menu a[aria-current="page"] {
  color: var(--clay-dark);
}

.site-menu a[aria-current="page"]::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.site-menu .nav-book {
  margin-top: 1.25rem;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--snow);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-menu .nav-book::after {
  display: none;
}

.site-menu .nav-book:hover {
  background: var(--forest-deep);
  color: var(--snow);
}

@supports not selector(:popover-open) {
  .site-menu {
    display: none;
  }

  .site-menu.is-open {
    display: block;
  }
}

@media (min-width: 860px) {
  .menu-button {
    display: none;
  }

  .site-menu {
    position: static;
    display: flex;
    align-items: center;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .site-menu ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }

  .site-menu a {
    display: inline-block;
    min-height: 0;
    padding: 0.3rem 0;
    border: 0;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
  }

  .site-menu a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--clay);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
  }

  .site-menu a[aria-current="page"]::after {
    display: none;
  }

  .site-menu .nav-book {
    margin: 0 0 0 0.4rem;
    padding: 0.6rem 1.05rem;
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .site-menu::backdrop {
    display: none;
  }
}

/* Buttons ----------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--snow);
}

.button--solid:hover {
  border-color: var(--clay-dark);
  background: var(--clay-dark);
  color: var(--snow);
}

.button--ghost {
  border-color: rgb(255 253 248 / 0.55);
  color: var(--snow);
}

.button--ghost:hover {
  border-color: var(--snow);
  background: var(--snow);
  color: var(--ink);
}

.button--dark {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--snow);
}

.button--dark:hover {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  color: var(--snow);
}

.button--text {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--clay-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.button--text:hover {
  transform: none;
  color: var(--ink);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 78vh;
  min-height: 78svh;
  overflow: clip;
  background-color: var(--forest);
  background-image: var(--hero-ph);
  background-position: center;
  background-size: cover;
  color: var(--snow);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(10 16 12 / 0.8) 0%,
    rgb(10 16 12 / 0.35) 42%,
    rgb(10 16 12 / 0.05) 78%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 9vh, 6rem);
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(255 253 248 / 0.78);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 0.35em;
  text-shadow: 0 2px 30px rgb(0 0 0 / 0.18);
}

.hero__lead {
  max-width: 44ch;
  color: rgb(255 253 248 / 0.9);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* Page furniture ---------------------------------------------------------- */

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--clay-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lede {
  max-width: 34ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.prose {
  max-width: 68ch;
}

.prose p {
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose ul {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 0.35rem;
}

.muted {
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-head {
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(1.75rem, 4vw, 3rem);
}

.page-head h1 {
  max-width: 18ch;
  margin-bottom: 0.35em;
}

.page-head .lede {
  max-width: 48ch;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.page-head::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin-top: 2rem;
  background: var(--clay);
}

/* Home -------------------------------------------------------------------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}

.intro .lede {
  max-width: 24ch;
}

.intro--spaced {
  margin-bottom: 2rem;
}

.intro--tight {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.intro__text {
  padding-top: 0.35rem;
}

@media (max-width: 820px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.card__body h3 {
  margin: 0;
}

.card__body p {
  color: var(--ink-soft);
}

.card__body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.card__body li + li {
  margin-top: 0.35rem;
}

.card__body .button {
  align-self: flex-start;
  margin-top: auto;
}

.card--accent {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--snow);
}

.card--accent .card__body p {
  color: rgb(255 253 248 / 0.76);
}

.card--accent .eyebrow {
  color: rgb(255 253 248 / 0.62);
}

.card--accent a:not(.button) {
  color: var(--snow);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 0.9rem);
}

.strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.strip a {
  text-decoration: none;
}

.strip a:hover img {
  transform: scale(1.035);
}

.strip figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgb(10 16 12 / 0.65));
  color: var(--snow);
  font-size: 0.82rem;
}

@media (max-width: 700px) {
  .strip {
    grid-template-columns: 1fr;
  }
}

/* Info -------------------------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.fact {
  padding: 1.15rem 1.25rem;
  background: var(--snow);
}

.fact strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.fact span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.info-grid .card--wide {
  grid-column: 1 / -1;
}

.info-grid .card__body {
  gap: 1rem;
}

.map-figure {
  margin: 0;
}

.map-figure img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 1px);
}

.map-credit {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.map-credit a {
  color: inherit;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.address {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }
}

/* Album ------------------------------------------------------------------- */

.album-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
}

.album-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0.75rem 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.album-nav ul::-webkit-scrollbar {
  display: none;
}

.album-nav a {
  white-space: nowrap;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.album-nav a:hover {
  color: var(--ink);
}

.album-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + 3.5rem);
}

.album-section h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(0.5rem, 1.5vw, 0.9rem);
}

.shot {
  margin: 0;
}

.shot a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--ph, var(--paper-deep));
}

.shot a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(20 30 23 / 0.08);
  pointer-events: none;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.shot a:hover img,
.shot a:focus-visible img {
  transform: scale(1.035);
}

/* Native dialog photo viewer ---------------------------------------------- */

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--snow);
}

.lightbox[open] {
  display: grid;
  gap: 0.75rem;
}

.lightbox::backdrop {
  background: rgb(10 15 11 / 0.92);
  backdrop-filter: blur(4px);
}

.lb-stage {
  position: relative;
  display: grid;
  min-height: 0;
  touch-action: pan-y;
  place-items: center;
  user-select: none;
}

.lb-stage img {
  width: auto;
  max-width: 100%;
  max-height: 78dvh;
  height: auto;
  border-radius: 0.35rem;
  background: var(--forest);
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(10 15 11 / 0.55);
  color: var(--snow);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(8px);
}

.lb-close svg,
.lb-prev svg,
.lb-next svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-close {
  top: 0.75rem;
  right: 0.75rem;
}

.lb-prev {
  top: 50%;
  left: 0.75rem;
  translate: 0 -50%;
}

.lb-next {
  top: 50%;
  right: 0.75rem;
  translate: 0 -50%;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgb(10 15 11 / 0.8);
}

.lb-caption {
  margin: 0;
  color: rgb(255 253 248 / 0.75);
  font-size: 0.9rem;
  text-align: center;
}

.no-scroll {
  overflow: hidden;
}

html:has(dialog[open]) {
  overflow: hidden;
}

@media (max-width: 600px) {
  .lb-stage img {
    max-height: 72dvh;
  }

  .lb-close,
  .lb-prev,
  .lb-next {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Poem -------------------------------------------------------------------- */

.poem-page {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.poem {
  max-width: 38rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 2;
}

.poem p {
  margin: 0;
}

.poem__title {
  max-width: 18ch;
  margin-inline: auto;
  text-align: center;
}

.poem__source {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.poem-page .eyebrow {
  text-align: center;
}

.poem__note {
  max-width: 30rem;
  margin-inline: auto;
}

/* Footer ------------------------------------------------------------------ */

.panorama {
  margin: 0;
  overflow: hidden;
  background: var(--forest);
  line-height: 0;
}

.panorama img {
  width: 100%;
  height: auto;
}

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--forest-deep);
  color: rgb(255 253 248 / 0.72);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  margin: 0;
  color: var(--snow);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.footer-brand span {
  display: block;
  margin-top: 0.35rem;
  color: rgb(255 253 248 / 0.55);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--snow);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper-deep);
  text-decoration: underline;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  color: rgb(255 253 248 / 0.45);
  font-size: 0.76rem;
}

@media (max-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* Small screens and motion ------------------------------------------------ */

@media (max-width: 480px) {
  .brand__name {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 74vh;
    min-height: 74svh;
  }

  .hero .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Cross-document page transitions ----------------------------------------- */

::view-transition-old(root) {
  animation: 160ms ease-out both fade-out;
}

::view-transition-new(root) {
  animation: 240ms ease-in both fade-in;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}
