:root {
  --bg: #f2eee7;
  --bg-deep: #e8e0d3;
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: #fbf8f2;
  --text: #221a16;
  --text-soft: #5b4f47;
  --line: rgba(46, 30, 21, 0.14);
  --line-strong: rgba(46, 30, 21, 0.32);
  --accent: #b76a31;
  --accent-soft: rgba(183, 106, 49, 0.14);
  --hero-dark: #170f0d;
  --container: min(1240px, calc(100vw - 3rem));
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-h);
  font-family: "Crimson Text", serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(183, 106, 49, 0.04), transparent 18rem),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--text);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.84);
  border-bottom: 1px solid rgba(46, 30, 21, 0.1);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Limelight", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

.brand--footer {
  font-size: 1.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav__link {
  position: relative;
  font-family: "Limelight", serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  background: rgba(255, 252, 246, 0.8);
  font-family: "Crimson Text", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  overflow: clip;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 5, 0.68), rgba(8, 5, 5, 0.12) 50%, rgba(8, 5, 5, 0.62)),
    radial-gradient(circle at 50% 36%, rgba(220, 186, 115, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(9, 6, 6, 0.18), rgba(9, 6, 6, 0.34)),
    url("assets/images/viinamardi-main-hero.jpg");
  background-position: center center;
  background-size: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  align-content: center;
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  color: #f8f3ec;
}

.hero__content > * {
  grid-column: 1;
  max-width: 100%;
  margin-left: clamp(1.25rem, 7vw, 5rem);
}

.eyebrow,
.section-tag {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero h1,
.page-hero-alt__content h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 9.25em;
  font-size: clamp(2.6rem, 4.9vw, 4.8rem);
  line-height: 0.94;
  text-wrap: pretty;
}

.hero__lead {
  margin-top: 1.15rem;
  max-width: 31rem;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  color: rgba(248, 243, 236, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  font-family: "Crimson Text", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button--primary {
  color: #fffaf5;
  background: var(--accent);
  border-color: var(--accent);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #9e5825;
  border-color: #9e5825;
}

.button--ghost {
  color: #f8f3ec;
  border-color: rgba(248, 243, 236, 0.35);
  background: rgba(255, 252, 246, 0.05);
}

.button--ghost-dark {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 252, 246, 0.66);
}

.button--full {
  width: 100%;
}

.section {
  padding: clamp(3.5rem, 6vw, 5.25rem) 0;
}

.section--muted {
  background:
    linear-gradient(180deg, rgba(232, 224, 211, 0.34), rgba(232, 224, 211, 0.72));
}

.intro__grid,
.split-section,
.story-block,
.page-hero-alt__grid,
.booking-focus,
.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.section h2 {
  font-size: clamp(1.95rem, 3.1vw, 3.15rem);
  max-width: 20ch;
}

.intro__copy,
.split-section__content,
.story-block__lead,
.booking-focus__intro,
.split-highlight__content {
  display: grid;
  gap: 1rem;
}

.intro__copy p,
.split-section__content > p,
.story-block__lead > p,
.site-footer__note,
.section-heading__text,
.info-tile p,
.story-step p,
.contact-card p,
.contact-detail p,
.contact-form__intro,
.contact-highlight p,
.map-card__content p,
.hero-panel__intro,
.page-hero-alt__content p:not(.section-tag),
.lodging-card__body p,
.stat-card span,
.stat-card p {
  margin: 0;
  color: var(--text-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading__text {
  max-width: 25rem;
}

.info-tile,
.story-step,
.contact-card,
.contact-highlight,
.map-card,
.page-hero-alt__content,
.hero-panel,
.booking-panel,
.stat-card,
.page-preview,
.lodging-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 30, 21, 0.12);
  background: var(--surface-strong);
  box-shadow: 0 10px 30px rgba(32, 21, 16, 0.05);
}

.info-tile::before,
.story-step::before,
.contact-card::before,
.contact-highlight::before,
.page-hero-alt__content::before,
.hero-panel::before,
.booking-panel::before,
.stat-card::before,
.page-preview::before,
.lodging-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent 70%);
}

.page-hero-alt {
  padding: 4rem 0 3rem;
}

.page-hero-alt--contact {
  background:
    radial-gradient(circle at top right, rgba(183, 106, 49, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(232, 224, 211, 0.28), rgba(242, 238, 231, 0));
}

.page-hero-alt--contact.page-hero-alt--fit {
  padding: 1.1rem 0 1.85rem;
}

.page-hero-alt--fit {
  padding: 1.5rem 0 2.5rem;
}

.page-hero-alt__content,
.hero-panel,
.contact-card,
.story-step,
.booking-panel,
.lodging-card__body,
.stat-card {
  padding: 1.6rem;
  min-width: 0;
}

.page-hero-alt__content h1 {
  max-width: min(18ch, 100%);
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}

.page-hero-alt--fit .page-hero-alt__grid {
  min-height: clamp(28rem, calc(100svh - var(--header-h) - 2rem), 42rem);
  align-items: center;
}

.page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__grid {
  min-height: clamp(30rem, calc(100svh - var(--header-h) - 1.25rem), 42rem);
  gap: clamp(1.1rem, 2.6vw, 2rem);
}

.page-hero-alt--fit .page-hero-alt__content,
.page-hero-alt--fit .hero-panel {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.page-hero-alt--fit .page-hero-alt__content h1 {
  max-width: min(18ch, 100%);
  font-size: clamp(2.1rem, 3.25vw, 3.5rem);
}

.page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__content,
.page-hero-alt--contact.page-hero-alt--fit .hero-panel {
  gap: 0.85rem;
}

.page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__content h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.page-hero-alt--contact.page-hero-alt--fit .hero__actions {
  margin-top: 1.1rem;
}

.page-hero-alt--contact.page-hero-alt--fit .detail-list {
  gap: 0.45rem;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.98), rgba(232, 224, 211, 0.88));
}

.detail-list,
.contact-list,
.lodging-card__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.page-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-preview {
  --preview-image: none;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 13.5rem;
  padding: 1.35rem;
  color: #fbf7f0;
  background-image:
    linear-gradient(180deg, rgba(22, 15, 12, 0.08), rgba(22, 15, 12, 0.72)),
    var(--preview-image);
  background-position: center;
  background-size: cover;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.page-preview:hover,
.page-preview:focus-visible,
.lodging-card:hover,
.lodging-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(183, 106, 49, 0.28);
}

.page-preview--wide {
  grid-column: span 2;
  min-height: 17rem;
}

.page-preview__tag,
.lodging-card__eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.page-preview--majutus {
  --preview-image: url("assets/images/majutus-farmhouse.jpg");
}

.page-preview--seminar {
  --preview-image: url("assets/images/vanamoisa-lake.jpg");
}

.page-preview--galerii {
  --preview-image: url("assets/images/kakerdi-lake.jpg");
}

.page-preview--ajalugu {
  --preview-image: url("assets/images/saaremaa-village.jpg");
}

.page-preview--kontaktid {
  --preview-image: url("assets/images/saaremaa-cottage.jpg");
}

.page-preview .page-preview__tag {
  color: #f0c79d;
}

.page-preview strong,
.lodging-card__body h3,
.info-tile h3,
.story-step h3,
.contact-card h3,
.map-card__content strong,
.stat-card strong {
  margin: 0;
  letter-spacing: 0.02em;
}

.page-preview strong {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.06;
}

.page-preview__title {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.contact-aside-stack {
  display: grid;
  gap: 1.25rem;
}

.contact-card--accent {
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.98), rgba(232, 224, 211, 0.76));
}

.contact-detail-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.contact-detail {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(46, 30, 21, 0.1);
  background: rgba(255, 252, 246, 0.56);
}

.contact-detail__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.contact-detail__value {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  color: var(--text);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.contact-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-highlight {
  padding: 1.3rem;
}

.contact-highlight strong {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.lodging-card__media {
  --lodging-image: none;
  min-height: 16rem;
  background-image:
    linear-gradient(180deg, rgba(21, 13, 10, 0.12), rgba(21, 13, 10, 0.62)),
    var(--lodging-image);
  background-size: cover;
  background-position: center;
}

.lodging-card__media--one {
  --lodging-image: url("assets/images/majutus-farmhouse.jpg");
}

.lodging-card__media--two {
  --lodging-image: url("assets/images/kakerdi-lake.jpg");
}

.lodging-card__media--three {
  --lodging-image: url("assets/images/saaremaa-cottage.jpg");
}

.lodging-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.booking-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.booking-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field span {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(46, 30, 21, 0.16);
  background: rgba(255, 252, 246, 0.72);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(183, 106, 49, 0.5);
  box-shadow: inset 0 0 0 1px rgba(183, 106, 49, 0.18);
}

.form-note,
.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.form-feedback.is-error {
  color: #8f2e16;
}

.form-feedback.is-success {
  color: #49643a;
}

.info-tiles,
.story-timeline {
  display: grid;
  gap: 1rem;
}

.info-tile h3,
.story-step h3,
.contact-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.55rem;
}

.atmosphere-card {
  --atmosphere-image: url("assets/images/vanamoisa-lake.jpg");
  --atmosphere-glow: rgba(231, 197, 145, 0.4);
  --atmosphere-overlay-start: rgba(10, 7, 6, 0.18);
  --atmosphere-overlay-end: rgba(10, 7, 6, 0.72);
  min-height: 34rem;
  border: 1px solid rgba(255, 252, 246, 0.12);
  background:
    linear-gradient(180deg, var(--atmosphere-overlay-start), var(--atmosphere-overlay-end)),
    radial-gradient(circle at top left, var(--atmosphere-glow), transparent 24%),
    var(--atmosphere-image);
  background-position: center;
  background-size: cover;
}

.atmosphere-card--seminar-room {
  --atmosphere-image: url("assets/images/seminariruum.jpg");
  --atmosphere-glow: rgba(231, 197, 145, 0.22);
  --atmosphere-overlay-start: rgba(10, 7, 6, 0.2);
  --atmosphere-overlay-end: rgba(10, 7, 6, 0.74);
}

.atmosphere-card__overlay {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 2rem;
  color: #fbf7f0;
}

.atmosphere-card__overlay p {
  margin: 0 0 0.5rem;
  letter-spacing: 0.12em;
}

.atmosphere-card__overlay strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.gallery-grid--photos {
  align-items: stretch;
}

.gallery-photo {
  position: relative;
  margin: 0;
  min-height: 16rem;
  overflow: hidden;
  border: 1px solid rgba(46, 30, 21, 0.1);
  background: var(--surface-strong);
}

.gallery-photo--large {
  grid-row: span 2;
  min-height: 32rem;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 11, 9, 0.02), rgba(16, 11, 9, 0.55));
}

.gallery-photo figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  color: #fffaf4;
  font-family: "Limelight", serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-step {
  padding-left: 2rem;
}

.story-step::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.65rem;
  bottom: 0;
  width: 1px;
  background: rgba(183, 106, 49, 0.18);
}

.story-step:last-child::after {
  bottom: 1.5rem;
}

.story-step h3::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
}

.story-step h3 {
  position: relative;
  margin-bottom: 0.6rem;
}

.map-card {
  margin-top: 1.5rem;
  min-height: 18rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.82), rgba(232, 224, 211, 0.96));
}

.map-card--contact {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 24rem;
}

.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7) sepia(0.08) contrast(0.95);
}

.map-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(183, 106, 49, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 106, 49, 0.08) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.14));
}

.map-card__content {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  padding: 1.6rem;
  margin: 1.25rem;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(6px);
}

.map-card--contact .map-card__content {
  margin-left: auto;
  margin-right: 1.25rem;
}

.map-card__content strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.85rem;
}

.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.split-highlight {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.stat-card {
  padding: 1.3rem;
  height: 100%;
  text-align: left;
}

.stat-card strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.stat-card__home-title {
  margin: 0 0 0.3rem;
}

.stat-card__title {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.site-footer {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(46, 30, 21, 0.12);
  background:
    linear-gradient(180deg, rgba(232, 224, 211, 0.34), rgba(232, 224, 211, 0.56));
}

.site-footer__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(46, 30, 21, 0.1);
}

.site-footer__brand-block {
  max-width: 40rem;
}

.site-footer__lead {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.3;
  color: var(--text);
}

.site-footer__note {
  max-width: 40rem;
  margin-top: 0.8rem;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer__icon-link {
  display: grid;
  place-items: center;
  width: 3.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(46, 30, 21, 0.26);
  color: var(--text-soft);
  background: rgba(251, 248, 242, 0.58);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-footer__icon-link svg {
  width: 1.3rem;
  height: 1.3rem;
}

.site-footer__icon-link:hover,
.site-footer__icon-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer__content {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 0.9fr 1.15fr;
  gap: 2rem;
  padding-top: 2rem;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 1.15rem;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: #766a61;
}

.site-footer__nav {
  display: grid;
  gap: 0.75rem;
}

.site-footer__nav a,
.site-footer__text-link {
  color: var(--accent);
  transition: color 180ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__text-link:hover,
.site-footer__text-link:focus-visible {
  color: #8f4c1d;
}

.site-footer__text {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
}

.site-footer__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}

.site-footer__badge {
  position: relative;
  min-height: 10.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(46, 30, 21, 0.12);
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.92), rgba(244, 238, 230, 0.86));
}

.site-footer__badge::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent 70%);
}

.site-footer__badge-label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.site-footer__badge strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
  line-height: 1.08;
  color: var(--text);
}

.site-footer__badge p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer__badge--wink {
  grid-column: 1 / -1;
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(34, 26, 22, 0.92), rgba(34, 26, 22, 0.92));
}

.site-footer__badge--wink strong {
  color: #f3e6d5;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(46, 30, 21, 0.1);
  color: var(--text-soft);
}

.home-page .hero {
  height: calc(100dvh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.home-page .hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: calc(100dvh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(0.85rem, 2vh, 1.5rem) 0;
}

.home-page .hero__content > * {
  margin-left: 0;
}

.home-page .hero__home-frame {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-content: end;
  width: min(44rem, 100%);
  margin: 0 auto 0 clamp(1rem, 4vw, 3rem);
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(15, 10, 9, 0.52), rgba(15, 10, 9, 0.7));
  backdrop-filter: blur(10px);
}

.home-page .eyebrow {
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
}

.home-page .hero__home-copy {
  max-width: 34rem;
}

.home-page .hero h1 {
  max-width: 9em;
  font-size: clamp(2rem, 3.15vw, 3.05rem);
  line-height: 0.94;
  letter-spacing: 0.035em;
}

.home-page .hero__lead {
  max-width: 30rem;
  margin-top: 0.75rem;
  font-size: clamp(0.96rem, 1.02vw, 1.02rem);
  color: rgba(248, 243, 236, 0.82);
}

.home-page .hero__actions {
  margin-top: 0.35rem;
  gap: 0.75rem;
  align-self: end;
}

.home-page .button {
  min-height: 3rem;
  padding: 0.72rem 1rem;
}

.home-page .section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.home-page .intro__grid,
.home-page .split-highlight {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.home-page .section h2 {
  max-width: 22ch;
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.home-page .section-heading {
  align-items: start;
  margin-bottom: 1.25rem;
}

.home-page .section-heading__text {
  max-width: 22rem;
  font-size: 0.98rem;
}

.home-page .page-preview-grid {
  gap: 0.85rem;
}

.home-page .page-preview {
  min-height: 12.5rem;
  padding: 1.15rem;
}

.home-page .page-preview--wide {
  min-height: 15rem;
}

.home-page .page-preview__title {
  max-width: 18ch;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.home-page .stat-card--home {
  padding: 1.15rem;
}

.home-page .stat-card__home-title {
  font-size: 1.15rem;
  line-height: 1.08;
  letter-spacing: 0.05em;
}

.home-page .stat-card--home p {
  margin: 0;
  color: var(--text-soft);
}

.home-page .info-tile h3 {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
}

@media (max-width: 1080px) {
  .hero__content {
    grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
  }

  .hero__content > * {
    margin-left: clamp(1rem, 5vw, 3rem);
  }

  .hero h1 {
    max-width: 9.5em;
    font-size: clamp(2.35rem, 4.5vw, 4rem);
  }

  .page-hero-alt__content h1,
  .page-hero-alt--fit .page-hero-alt__content h1 {
    max-width: 16ch;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
  }

  .home-page .hero h1 {
    font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  }

  .home-page .section h2 {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
  }

  .home-page .hero__home-frame {
    width: min(40rem, 100%);
    margin-left: clamp(1rem, 3vw, 2rem);
  }
}

@media (max-width: 960px) {
  .intro__grid,
  .split-section,
  .story-block,
  .page-hero-alt__grid,
  .booking-focus,
  .split-highlight,
  .contact-layout,
  .contact-form__grid,
  .contact-highlights,
  .gallery-grid,
  .page-preview-grid,
  .lodging-grid,
  .booking-panel__grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero-alt__content h1,
  .page-hero-alt--fit .page-hero-alt__content h1 {
    text-wrap: pretty;
  }

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

  .home-page .hero {
    height: auto;
    min-height: calc(100svh - var(--header-h));
  }

  .home-page .hero__content {
    height: auto;
    min-height: calc(100svh - var(--header-h));
    align-content: center;
  }

  .home-page .hero__home-frame {
    width: min(34rem, 100%);
    margin: 0;
  }

  .home-page .hero__home-copy {
    max-width: 100%;
  }

  .home-page .intro__grid,
  .home-page .split-highlight {
    gap: 1.5rem;
  }

  .home-page .intro__copy,
  .home-page .split-highlight__content {
    gap: 0.85rem;
  }

  .home-page .stats-row {
    gap: 0.85rem;
  }

  .home-page .page-preview__title {
    max-width: 100%;
  }

  .page-preview--wide {
    grid-column: auto;
    min-height: 15rem;
  }

  .page-hero-alt--fit .page-hero-alt__grid {
    min-height: auto;
  }

  .page-hero-alt--fit .hero-panel {
    align-content: start;
  }

  .page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__grid {
    min-height: calc(100svh - var(--header-h) - 1rem);
    align-content: center;
    gap: 1rem;
  }

  .page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__content,
  .page-hero-alt--contact.page-hero-alt--fit .hero-panel {
    gap: 0.75rem;
  }

  .gallery-photo--large {
    grid-row: auto;
    min-height: 22rem;
  }

  .booking-panel__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .map-card--contact .map-card__content {
    max-width: min(24rem, calc(100% - 2.5rem));
  }

  .site-footer__content {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__cards {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    max-height: calc(100svh - var(--header-h) - 1.5rem);
    border: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.98);
    overflow-y: auto;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .section-heading {
    display: grid;
  }

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 1.5rem, 1240px);
    --header-h: 76px;
  }

  .brand {
    font-size: 1.28rem;
  }

  .page-hero-alt--fit {
    padding: 1rem 0 2rem;
  }

  .page-hero-alt--contact.page-hero-alt--fit {
    padding: 0.85rem 0 1.4rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 3.5rem);
  }

  .home-page .hero__content {
    padding: 1rem 0 1.25rem;
  }

  .home-page .hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
  }

  .home-page .hero__home-frame {
    padding: 1rem;
  }

  .home-page .section h2 {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
    max-width: 100%;
    line-height: 1.18;
    letter-spacing: 0.03em;
  }

  .home-page .intro.section,
  .home-page .section:last-of-type {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .home-page .intro__grid,
  .home-page .split-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .home-page .section-tag {
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
  }

  .home-page .intro__grid > div,
  .home-page .split-highlight__content,
  .home-page .stats-row {
    width: 100%;
    min-width: 0;
  }

  .home-page .intro__copy,
  .home-page .split-highlight__content {
    gap: 0.7rem;
  }

  .home-page .intro__copy p,
  .home-page .split-highlight__content > p,
  .home-page .stat-card--home p {
    font-size: 1.04rem;
    line-height: 1.52;
  }

  .home-page .page-preview,
  .home-page .page-preview--wide {
    min-height: 13rem;
  }

  .home-page .page-preview__title,
  .home-page .stat-card__home-title,
  .home-page .info-tile h3 {
    font-size: 1.2rem;
  }

  .home-page .stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero__content > * {
    max-width: 100%;
    margin-left: 0;
  }

  .page-hero-alt__content h1,
  .page-hero-alt--fit .page-hero-alt__content h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__grid {
    min-height: calc(100svh - var(--header-h) - 0.75rem);
    align-content: start;
  }

  .page-hero-alt--contact.page-hero-alt--fit .page-hero-alt__content h1 {
    font-size: clamp(1.72rem, 7.2vw, 2.3rem);
  }

  .page-hero-alt--contact.page-hero-alt--fit .hero__actions {
    margin-top: 0.9rem;
    gap: 0.7rem;
  }

  .page-hero-alt--contact.page-hero-alt--fit .detail-list {
    gap: 0.35rem;
    padding-left: 1rem;
  }

  .lodging-card__media,
  .atmosphere-card,
  .gallery-photo {
    min-height: 14rem;
  }

  .page-hero-alt__content,
  .hero-panel,
  .contact-card,
  .contact-highlight,
  .story-step,
  .booking-panel,
  .lodging-card__body,
  .stat-card,
  .page-preview,
  .map-card__content,
  .site-footer__badge {
    padding: 1.2rem;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__cards {
    grid-template-columns: 1fr;
  }

  .site-footer__badge--wink {
    grid-column: auto;
  }

  .map-card--contact .map-card__content {
    margin-right: 0.75rem;
  }
}

@media (max-height: 820px) and (min-width: 961px) {
  .home-page .hero__content {
    padding: 0.5rem 0 0.9rem;
  }

  .home-page .hero h1 {
    font-size: clamp(1.55rem, 2.35vw, 2.3rem);
  }

  .home-page .hero__home-frame {
    gap: 0.7rem;
    padding: 0.95rem;
  }

  .home-page .hero__lead {
    font-size: 0.92rem;
  }

  .home-page .button {
    min-height: 2.75rem;
    padding: 0.65rem 0.9rem;
  }
}

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

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

/* Typography schema */
body,
p,
li,
dd,
dt,
.hero__lead,
.section-heading__text,
.site-footer__note,
.site-footer__text,
.form-note,
.form-feedback {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

strong,
b,
.page-preview strong,
.map-card__content strong,
.stat-card strong,
.site-footer__badge strong,
.atmosphere-card__overlay strong {
  font-family: "Crimson Text", serif;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
}

blockquote {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: italic;
}

h1,
.hero h1,
.page-hero-alt__content h1 {
  font-family: "Limelight", serif;
  font-weight: 400;
  text-transform: none;
}

h2,
h3,
.brand,
.site-nav__link,
.eyebrow,
.section-tag,
.page-preview__tag,
.lodging-card__eyebrow,
.contact-detail__label,
.field span,
.atmosphere-card__overlay p,
.stat-card__title,
.site-footer__title,
.site-footer__badge-label {
  font-family: "Limelight", serif;
  font-weight: 400;
  text-transform: uppercase;
}
