/* Alpha Omega Wellness — One continuous priced catalog.
   Local assets only. Black enamel voice, paper-white record, satin gold action,
   and a drawn spine. No JavaScript. */

@font-face {
  font-family: "Nunito Sans";
  src: url("./fonts/nunito-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("./fonts/nunito-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --enamel: #090907;
  --enamel-raised: #13120e;
  --enamel-soft: #1a1812;
  --paper: #eee9dc;
  --paper-bright: #f8f5ed;
  --ink: #17150f;
  --gold: #cca531;
  --gold-bright: #e5bf46;
  --gold-soft: #e9d69c;
  --gold-ink: #8f6c00;
  --gold-ink-deep: #7a5c00;
  --text-on-dark: #f5f1e7;
  --body-on-dark: #c8c1b3;
  --muted-on-dark: #9e9789;
  --body-on-paper: #4f4b42;
  --muted-on-paper: #6d675d;
  --line-dark: rgba(238, 233, 220, 0.14);
  --line-gold: rgba(204, 165, 49, 0.34);
  --line-paper: rgba(23, 21, 15, 0.18);
  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shell: 88rem;
  --gutter: clamp(1.25rem, 4.5vw, 4.75rem);
  --section-space: clamp(6.5rem, 11vw, 10.5rem);
  --rail: 5.5rem;
  --colgap: clamp(1.5rem, 3vw, 3.5rem);
  --header-height: 4.5rem;
}

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

html {
  background: var(--enamel);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--enamel);
  color: var(--body-on-dark);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 700;
  text-wrap: balance;
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 40;
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus-visible {
  transform: none;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 9, 7, 0.96);
  border-bottom: 1px solid var(--line-dark);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: var(--shell);
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  flex: none;
}

.brand img {
  width: clamp(6.5rem, 9vw, 8.25rem);
  height: auto;
}

.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  margin-inline: auto;
}

.site-nav a {
  padding: 0.4rem 0.1rem;
  color: var(--body-on-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--text-on-dark);
  border-bottom-color: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switch {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line-dark);
  color: var(--body-on-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.language-switch:hover {
  color: var(--text-on-dark);
  border-color: var(--line-gold);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.header-phone svg {
  width: 1rem;
  height: 1rem;
}

.header-phone span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.header-phone:hover {
  background: var(--gold-bright);
}

.header-phone:active {
  transform: scale(0.97);
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
}

.hero-field {
  display: grid;
  grid-template-columns: minmax(0, 15fr) minmax(0, 17fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.locality {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.locality::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-copy h1 {
  margin-top: 1.75rem;
  color: var(--text-on-dark);
  font-size: clamp(3.4rem, 6.6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy h1:lang(es) {
  font-size: clamp(3rem, 5.4vw, 4.8rem);
}

.hero-title-main,
.hero-title-sub {
  display: block;
}

.hero-title-sub em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--body-on-dark);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  margin-top: 2.25rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out);
}

.primary-action svg {
  width: 1.05rem;
  height: 1.05rem;
}

.primary-action:hover {
  background: var(--gold-bright);
}

.primary-action:active {
  transform: scale(0.97);
}

.hero-call {
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.hero-call-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(23, 21, 15, 0.35);
  border-radius: 50%;
}

.hero-call-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-call-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.hero-call-copy small {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-call-copy strong {
  font-size: 1.18rem;
}

.hero-call-arrow {
  font-size: 1.1rem;
}

.text-action {
  color: var(--text-on-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
}

.text-action:hover {
  color: var(--gold-bright);
}

/* -------------------------------------------------- hero rate card (entry 01) */

.entry-card {
  border-top: 3px solid var(--gold);
  padding-top: 1.4rem;
}

.entry-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.entry-kicker {
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-kicker-no {
  display: inline-block;
  margin-right: 0.5rem;
  padding-right: 0.65rem;
  border-right: 1px solid var(--line-gold);
  color: var(--gold);
}

.entry-card-name {
  width: 100%;
  margin-top: 0.9rem;
  color: var(--text-on-dark);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.entry-card-name small,
.entry-name small,
.index-row-name small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted-on-dark);
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0;
}

.rate-table {
  margin-top: 1.4rem;
}

.rate-table th {
  padding: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.rate-table th:last-child,
.rate-table td:last-child {
  text-align: right;
}

.rate-table td {
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--body-on-dark);
}

.rate-table td strong {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.rate-table td span {
  margin-left: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted-on-dark);
}

.rate-table td:last-child strong {
  color: var(--gold-bright);
}

@media (hover: hover) and (pointer: fine) {
  .rate-table tbody tr {
    transition: background-color 150ms var(--ease-out);
  }

  .rate-table--dark tbody tr:hover {
    background: var(--enamel-raised);
  }
}

/* ------------------------------------------------------------- index strip */

.index-strip {
  max-width: var(--shell);
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  padding-inline: var(--gutter);
}

.index-strip-label {
  color: var(--muted-on-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.index-strip-label {
  grid-column: 1 / -1;
  padding-bottom: 1rem;
}

.index-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line-dark);
  text-decoration: none;
}

.index-row-no {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.index-row-name {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.index-row-name small {
  margin-top: 0.15rem;
  font-size: 0.72rem;
}

.index-row-range {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.index-row-range strong {
  color: var(--gold-bright);
  font-size: 1rem;
}

.index-row-range small {
  color: var(--muted-on-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.index-row-arrow {
  color: var(--muted-on-dark);
  font-weight: 700;
  transition: transform 160ms var(--ease-out), color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .index-row:hover .index-row-arrow {
    color: var(--gold-bright);
    transform: translateY(3px);
  }

  .index-row:hover .index-row-name {
    color: var(--gold-soft);
  }
}

/* ---------------------------------------------------------------- sections */

.catalog-section,
.coming-section,
.contact-section {
  scroll-margin-top: var(--header-height);
}

.entry {
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

/* --------------------------------------------------------- catalog (02–04) */

.catalog-section {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding-block: var(--section-space);
}

.catalog-shell,
.coming-shell {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter) + (var(--rail) / 2));
  width: 2px;
  background: var(--gold);
  transform: translateX(-1px);
  z-index: 0;
}

.spine--dashed {
  background: none;
  border-left: 2px dashed var(--line-gold);
}

/* Spine terminus: the rail enters the gold band and hands off to the phone
   underline via a drawn corner. */
.contact-lead {
  position: relative;
  grid-column: 2;
}

.contact-details {
  grid-column: 3;
}

.contact-lead::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--section-space));
  bottom: 1px;
  left: calc(-1 * (var(--colgap) + var(--rail) / 2) - 1px);
  width: 2px;
  background: var(--ink);
}

.contact-phone-large {
  position: relative;
}

.contact-phone-large::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: calc(-1 * (var(--colgap) + var(--rail) / 2) - 1px);
  width: calc(var(--colgap) + var(--rail) / 2 + 1px);
  height: 4px;
  background: var(--ink);
}

.catalog-heading {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 3vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.catalog-heading > * {
  grid-column: 2;
}

.section-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-section .section-label {
  color: var(--gold-ink-deep);
}

.catalog-heading h2 {
  margin-top: 1rem;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.catalog-heading-lead {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: var(--body-on-paper);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.entry {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 10fr) minmax(0, 11fr);
  gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  border-top: 1px solid var(--line-paper);
}

.entry-no {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: start;
  padding-block: 0.6rem;
  background: var(--paper);
  color: var(--gold-ink);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.entry-no--dark {
  background: var(--enamel);
  color: var(--gold);
}

.entry-copy .entry-kicker {
  color: var(--gold-ink-deep);
}

.entry-name {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.entry-name small {
  color: var(--muted-on-paper);
}

.entry-description {
  max-width: 30rem;
  margin-top: 1.2rem;
  color: var(--body-on-paper);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.entry-note {
  max-width: 30rem;
  margin-top: 0.8rem;
  color: var(--muted-on-paper);
  font-size: 0.9rem;
}

.entry-sheet .rate-table {
  margin-top: 0;
}

.entry-sheet .rate-table th {
  color: var(--muted-on-paper);
  border-bottom-color: var(--ink);
}

.entry-sheet .rate-table td {
  padding: 0.85rem 0;
  border-bottom-color: var(--line-paper);
  color: var(--body-on-paper);
}

.entry-sheet .rate-table td strong {
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.entry-sheet .rate-table td span {
  color: var(--muted-on-paper);
}

.entry-sheet .rate-table td:last-child strong {
  color: var(--gold-ink);
}

@media (hover: hover) and (pointer: fine) {
  .entry-sheet .rate-table tbody tr:hover {
    background: var(--paper-bright);
  }
}

/* ----------------------------------------------------------- coming (05–06) */

.coming-section {
  position: relative;
  background: var(--enamel);
  color: var(--body-on-dark);
  padding-block: var(--section-space);
}

.coming-shell {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.coming-copy {
  padding-left: calc(var(--rail) + clamp(1.5rem, 3vw, 3.5rem));
}

.coming-copy .section-label {
  color: var(--gold-soft);
}

.coming-copy h2 {
  margin-top: 1rem;
  color: var(--text-on-dark);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.coming-copy p:last-child {
  max-width: 24rem;
  margin-top: 1.2rem;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.coming-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-block: 1.8rem;
  border-top: 1px solid var(--line-dark);
}

.coming-entry .entry-no {
  font-size: 1.9rem;
  padding-block: 0.2rem;
  justify-self: start;
}

.coming-entry .entry-kicker {
  color: var(--gold-soft);
}

.coming-entry h3 {
  margin-top: 0.5rem;
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
}

.coming-entry-copy {
  max-width: 36rem;
  margin-top: 0.7rem;
  color: var(--body-on-dark);
  font-size: 0.98rem;
}

.research-source {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.research-source:hover {
  color: var(--gold-bright);
}

.coming-note {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------------- contact */

.contact-section {
  background: var(--gold);
  color: var(--ink);
  padding-block: var(--section-space);
}

.contact-grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem) var(--colgap);
  align-items: end;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.contact-details {
  margin-left: clamp(0rem, 2vw, 2.5rem);
}

.contact-section .section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.contact-section .section-label::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--ink);
}

.contact-lead h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contact-phone-large {
  display: block;
  width: fit-content;
  margin-top: 1.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 4px solid var(--ink);
  color: var(--ink);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: transform 140ms var(--ease-out);
}

.contact-phone-large:hover {
  border-bottom-color: rgba(23, 21, 15, 0.55);
}

.contact-phone-large:active {
  transform: scale(0.98);
}

.contact-section :focus-visible {
  outline-color: var(--ink);
}

.contact-details {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(23, 21, 15, 0.35);
  color: rgba(23, 21, 15, 0.85);
}

.contact-details p:first-child {
  font-size: 0.98rem;
}

.contact-details address {
  margin-top: 1.4rem;
}

.contact-details a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.contact-details p + p {
  margin-top: 0.9rem;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--enamel);
  color: var(--muted-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}

.footer-grid .brand img {
  width: 7.5rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  justify-self: center;
}

.footer-nav a {
  color: var(--body-on-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.footer-contact a {
  color: var(--body-on-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-contact a:hover {
  color: var(--text-on-dark);
}

.footer-language {
  margin-top: 0.6rem;
  font-weight: 700;
}

.footer-base {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.disclaimer {
  max-width: 38rem;
  font-size: 0.78rem;
  color: var(--muted-on-dark);
}

.copyright {
  font-size: 0.78rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------- 404 */

.notfound {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  min-height: calc(100vh - var(--header-height));
}

.notfound-code {
  color: var(--enamel-soft);
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 2px var(--line-gold);
}

.notfound-copy h1 {
  margin-top: 1.5rem;
  color: var(--text-on-dark);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.notfound-copy h1 span {
  display: block;
}

.notfound-copy h1 span + span {
  margin-top: 0.4rem;
  color: var(--body-on-dark);
}

.notfound-explanation {
  margin-top: 1.4rem;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.notfound-explanation p + p {
  margin-top: 0.4rem;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}

/* ------------------------------------------------------------------ motion */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spine-draw {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes warm-paper {
  from {
    color: rgba(23, 21, 15, 0.22);
  }

  to {
    color: var(--gold-ink);
  }
}

@keyframes warm-dark {
  from {
    color: rgba(245, 241, 231, 0.2);
  }

  to {
    color: var(--gold);
  }
}

@keyframes header-edge {
  to {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .hero-copy > * {
    animation: rise 520ms var(--ease-out) both;
  }

  .home-page .hero-copy > :nth-child(2) {
    animation-delay: 60ms;
  }

  .home-page .hero-copy > :nth-child(3) {
    animation-delay: 120ms;
  }

  .home-page .hero-copy > :nth-child(4) {
    animation-delay: 180ms;
  }

  .home-page .entry-card {
    animation: rise 520ms var(--ease-out) 140ms both;
  }

  .home-page .rate-table--dark tbody tr {
    animation: fade 380ms var(--ease-out) both;
  }

  .home-page .rate-table--dark tbody tr:nth-child(1) { animation-delay: 220ms; }
  .home-page .rate-table--dark tbody tr:nth-child(2) { animation-delay: 270ms; }
  .home-page .rate-table--dark tbody tr:nth-child(3) { animation-delay: 320ms; }
  .home-page .rate-table--dark tbody tr:nth-child(4) { animation-delay: 370ms; }
  .home-page .rate-table--dark tbody tr:nth-child(5) { animation-delay: 420ms; }
  .home-page .rate-table--dark tbody tr:nth-child(6) { animation-delay: 470ms; }

  .home-page .index-strip {
    animation: fade 420ms var(--ease-out) 500ms both;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .spine {
      animation: spine-draw linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 82%;
    }
  }

  .entry .entry-no {
    animation: warm-paper linear both;
    animation-timeline: view();
    animation-range: entry 30% entry 90%;
  }

  .coming-entry .entry-no {
    animation: warm-dark linear both;
    animation-timeline: view();
    animation-range: entry 30% entry 90%;
  }
}

@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-edge linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 120px;
  }
}

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

  .index-row-arrow,
  .primary-action,
  .contact-phone-large {
    transition: none;
  }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 64rem) {
  .hero-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-card {
    max-width: 44rem;
  }

  .spine {
    display: none;
  }

  .catalog-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-heading > * {
    grid-column: 1;
  }

  .entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .entry-no {
    justify-self: start;
    padding-block: 0;
    font-size: 2.2rem;
  }

  .entry-sheet {
    max-width: 44rem;
  }

  .coming-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .coming-copy {
    padding-left: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-lead,
  .contact-details {
    grid-column: 1;
  }

  .contact-details {
    margin-left: 0;
  }

  .contact-lead::before,
  .contact-phone-large::before {
    display: none;
  }

  .notfound {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
  }
}

@media (max-width: 48rem) {
  .header-phone {
    display: none;
  }

  .index-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-nav {
    justify-self: start;
  }

  .footer-base {
    flex-direction: column;
    gap: 0.75rem;
  }

  .entry-facts {
    flex-wrap: wrap;
  }
}

@media (max-width: 25rem) {
  :root {
    --gutter: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.9rem;
  }

  .hero-call {
    width: 100%;
    justify-content: flex-start;
  }

  .rate-table td strong {
    font-size: 1.25rem;
  }

  .entry-sheet .rate-table td strong {
    font-size: 1.35rem;
  }
}

/* ------------------------------------------------------------------- print */

@media print {
  html,
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .skip-link,
  .index-row-arrow,
  .spine,
  .footer-nav,
  .hero-actions {
    display: none;
  }

  .hero,
  .catalog-section,
  .coming-section,
  .contact-section,
  .site-footer {
    background: #fff;
    color: #000;
    padding-block: 1.5rem;
  }

  .hero-copy h1,
  .entry-card-name,
  .entry-name,
  .catalog-heading h2,
  .coming-copy h2,
  .contact-lead h2,
  .rate-table td strong,
  .contact-phone-large {
    color: #000;
  }

  .rate-table td:last-child strong {
    color: #000;
  }
}
