/* =========================================================================
   20 West Chester Street — Nantucket Summer Rental
   Design system + layout. No frameworks, no external requests.
   ========================================================================= */

:root {
  /* Palette: weathered shingle, sand, Atlantic navy, brass */
  --ink: #1b2430;
  --ink-soft: #46535f;
  --ink-faint: #6d7a86;
  --navy: #17324d;
  --navy-deep: #0f2337;
  --brass: #9a7b3f;
  --brass-bright: #b8944e;
  --sand: #f4efe7;
  --sand-deep: #e9e1d4;
  --shell: #fbf9f6;
  --paper: #ffffff;
  --line: #ddd5c8;
  --line-soft: #ebe4d9;

  --serif:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    "Times New Roman", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --measure: 68ch;
  --wrap: 1180px;
  --wrap-narrow: 780px;

  --step: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 7rem);

  --radius: 2px;
  --shadow: 0 1px 2px rgba(27, 36, 48, 0.06), 0 8px 24px rgba(27, 36, 48, 0.06);
  --shadow-lift:
    0 2px 4px rgba(27, 36, 48, 0.08), 0 18px 44px rgba(27, 36, 48, 0.12);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* The width/height attributes on every <img> reserve layout space and prevent
   CLS, but they also make height definite — and `aspect-ratio` is only honoured
   when one axis is auto. Without this the art-directed ratios below are ignored
   and tiles render at the source file's height. */
img[width][height] {
  height: auto;
}

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--brass);
}

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

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem);
}
h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.8vw, 2.6rem);
}
h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
}
h4 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.15em;
  max-width: var(--measure);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.fine {
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2.5rem, var(--wrap-narrow));
  margin-inline: auto;
}

section {
  padding-block: var(--section-y);
}

.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3.25rem);
}

.band-sand {
  background: var(--sand);
}
.band-paper {
  background: var(--paper);
}
.band-navy {
  background: var(--navy-deep);
  color: #dfe6ee;
}
.band-navy h2,
.band-navy h3 {
  color: #fff;
}
.band-navy a {
  color: #e8d9b4;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
}

.brand__place {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.2rem + 1.2vw, 1.75rem);
}

.nav a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--navy-deep);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }

  .nav .btn {
    margin-top: 0.85rem;
    text-align: center;
  }
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--navy-deep);
  background: var(--navy-deep);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.btn:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-deep);
}

.btn--ghost:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.btn--light:hover {
  background: var(--brass-bright);
  border-color: var(--brass-bright);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

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

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: 0;
}

.hero__media {
  position: relative;
  min-height: clamp(420px, 62vh, 700px);
  display: grid;
}

.hero__img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(420px, 62vh, 700px);
}

/* Two gradients, not one: the vertical pass seats the header and the CTA row,
   the horizontal pass protects the headline where the photograph is brightest. */
.hero__scrim {
  grid-area: 1 / 1;
  background:
    linear-gradient(
      100deg,
      rgba(11, 26, 41, 0.82) 0%,
      rgba(11, 26, 41, 0.55) 38%,
      rgba(11, 26, 41, 0.12) 68%,
      rgba(11, 26, 41, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 26, 41, 0.55) 0%,
      rgba(11, 26, 41, 0.2) 35%,
      rgba(11, 26, 41, 0.45) 75%,
      rgba(11, 26, 41, 0.8) 100%
    );
}

@media (max-width: 700px) {
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 26, 41, 0.55) 0%,
      rgba(11, 26, 41, 0.35) 30%,
      rgba(11, 26, 41, 0.82) 100%
    );
  }
}

.hero__content {
  grid-area: 1 / 1;
  align-self: end;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(2rem, 1rem + 4vw, 4rem);
  position: relative;
}

.hero h1 {
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.3);
}

.hero .eyebrow {
  color: #e8d9b4;
}

.hero__sub {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: #e4ebf2;
  max-width: 52ch;
  margin-bottom: 0;
}

/* ---------- Fact bar ---------- */

.factbar {
  background: var(--navy);
  color: #fff;
  padding-block: 0;
}

.factbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.fact {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.fact:last-child {
  border-right: 0;
}

.fact__value {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  color: #fff;
  line-height: 1.1;
}

.fact__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9bdd0;
  margin-top: 0.45rem;
}

/* ---------- Generic grids ---------- */

.grid {
  display: grid;
  gap: var(--gap);
}

/* Grid and flex children default to min-width:auto, which lets a wide child
   (a table inside .table-scroll, a long unbroken URL) push the whole document
   sideways instead of scrolling inside its own container. */
.grid > *,
.room > *,
.site-footer__grid > * {
  min-width: 0;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

@media (max-width: 860px) {
  .grid--split {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

@media (max-width: 940px) {
  .grid--sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card--flush .card__body {
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
}

.card h3 {
  margin-bottom: 0.35em;
}

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

.card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--sand-deep);
}

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

a.card:hover h3 {
  color: var(--brass);
}

.card__meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}

/* ---------- Price panel ---------- */

.price-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.price-panel__rate {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  color: var(--navy-deep);
  line-height: 1;
}

.price-panel__unit {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-top: 0.55rem;
}

.price-panel .btn {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

.price-panel dl {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  font-size: 0.9rem;
}

.price-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.4rem;
}

.price-panel dt {
  color: var(--ink-faint);
}

.price-panel dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

@media (max-width: 940px) {
  .price-panel {
    position: static;
  }
}

/* ---------- Feature list ---------- */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.15rem 2rem;
}

.features li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  font-size: 0.95rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- Rooms ---------- */

.room {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
}

.room:last-child {
  border-bottom: 0;
}

.room:nth-child(even) .room__media {
  order: 2;
}

.room__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand-deep);
  border-radius: var(--radius);
}

@media (max-width: 800px) {
  .room {
    grid-template-columns: 1fr;
  }
  .room:nth-child(even) .room__media {
    order: 0;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem 0.9rem;
  /* dense backfills the hole a span-2 tile leaves at the end of a row */
  grid-auto-flow: dense;
  align-items: start;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--sand-deep);
  border-radius: var(--radius);
}

.gallery figcaption {
  font-size: 0.82rem;
  color: var(--ink-faint);
  padding-top: 0.5rem;
}

.gallery figure.is-wide {
  grid-column: span 2;
}

@media (max-width: 620px) {
  .gallery figure.is-wide {
    grid-column: span 1;
  }
}

/* ---------- Rates table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line-soft);
}

th,
td {
  text-align: left;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

thead th {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  background: var(--sand);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pill--open {
  background: #e3efe6;
  color: #23623a;
}

.pill--held {
  background: #f6ecd8;
  color: #7d5c16;
}

.pill--booked {
  background: #eee9e4;
  color: #7a6d61;
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 0.35rem 0;
}

.faq summary {
  cursor: pointer;
  padding: 1rem 2.5rem 1rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--navy-deep);
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brass);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details > div {
  padding: 0 2.5rem 1.15rem 0;
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Prose (guide page) ---------- */

.prose h2 {
  margin-top: 2.5em;
  padding-top: 0.2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.9em;
}

.prose ul,
.prose ol {
  max-width: var(--measure);
  padding-left: 1.25rem;
  margin: 0 0 1.15em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--brass);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy-deep);
}

.toc {
  background: var(--sand);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.toc h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.85rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.93rem;
}

@media (max-width: 620px) {
  .toc ol {
    columns: 1;
  }
}

.toc li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  font-size: 0.8rem;
  color: var(--ink-faint);
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brass);
}

/* ---------- Form ---------- */

.form {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  outline: 2px solid rgba(154, 123, 63, 0.25);
  outline-offset: 0;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 560px) {
  .field--row {
    grid-template-columns: 1fr;
  }
}

.form__note {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- CTA band ---------- */

.cta {
  text-align: center;
}

.cta p {
  margin-inline: auto;
}

.cta .btn-row {
  justify-content: center;
}

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

.site-footer {
  background: var(--navy-deep);
  color: #b9c7d5;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  font-size: 0.9rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8d9b4;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #dbe4ec;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--gap);
}

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8ea1b3;
}

.site-footer p {
  max-width: 40ch;
}

/* ---------- Utilities ---------- */

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

.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.center {
  text-align: center;
}

/* ---------- Inquiry form status ---------- */

.form__status {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--line);
  background: var(--sand);
  font-size: 0.93rem;
  color: var(--ink);
  max-width: none;
}

.form__status[data-kind="ok"] {
  border-left-color: #2f7a4a;
  background: #eaf3ec;
  color: #1d5231;
}

.form__status[data-kind="error"] {
  border-left-color: #a4442f;
  background: #f7ece8;
  color: #7c3020;
}

.form__status[data-kind="error"] a {
  color: #7c3020;
  font-weight: 600;
}

.form__status[data-kind="pending"] {
  border-left-color: var(--brass);
}
