:root {
  --pine: #0e2a20;
  --pine-soft: #1c4434;
  --parchment: #f5efe3;
  --surface: #fbf7ee;
  --ink: #23271f;
  --muted: #6b6f63;
  --gold: #c2a15e;
  --gold-deep: #a4854a;
  --swiss-red: #b6372b;
  --font-display: "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.58;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.section {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 3.35rem 1.15rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.section-eyebrow,
.hero-est {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
}

.hero {
  width: 100%;
  min-height: 84vh;
  color: var(--parchment);
  background: linear-gradient(180deg, #102f24 0%, #0e2a20 75%);
  text-align: center;
  padding: 3.7rem 1rem 11.6rem;
  position: relative;
  overflow: hidden;
}

.hero-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(194, 161, 94, 0.5);
  pointer-events: none;
}

.hero .eyebrow {
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 5rem);
  color: var(--parchment);
  margin-bottom: 0.7rem;
}

.hero h1::before,
.hero h1::after {
  content: "◆";
  display: block;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}

.hero h1::before {
  margin-bottom: 0.62rem;
}

.hero h1::after {
  margin-top: 0.55rem;
}

.hero__crest {
  width: 6.25rem;
  margin: 0 auto 0.95rem;
  animation: crest-enter 880ms ease forwards;
}

.hero__crest svg {
  width: 100%;
}

.crest-ring,
.crest-sprig,
.crest-bud {
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crest-bud {
  fill: var(--gold);
}

.crest-monogram {
  font-size: 27px;
  font-family: var(--font-display);
  fill: var(--gold);
}

.crest-shield {
  fill: var(--swiss-red);
}

.crest-cross {
  fill: #fff;
}

.subtitle,
.greeting {
  color: rgba(245, 239, 227, 0.78);
}

.subtitle {
  max-width: 34rem;
  margin: 0 auto 0.45rem;
  font-size: clamp(1rem, 3.6vw, 1.35rem);
}

.starline {
  color: var(--gold);
  letter-spacing: 0.2em;
  margin: 0.6rem 0 0;
}

.hero-est {
  color: var(--gold);
  margin: 0.35rem 0 1rem;
}

.greeting {
  max-width: 34rem;
  margin: 0 auto;
}

.guest-name {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.04em;
  font-size: 1.12em;
  text-shadow: 0 0 14px rgba(194, 161, 94, 0.18);
}

.badge-row {
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  color: rgba(245, 239, 227, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.71rem;
}

.badge-row span + span::before {
  content: "|";
  color: var(--gold);
  margin-right: 0.75rem;
}

.hero-panorama {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13rem;
  pointer-events: none;
}

.sun-disc {
  position: absolute;
  width: 4.4rem;
  right: 11%;
  bottom: 5.1rem;
  fill: rgba(194, 161, 94, 0.7);
}

.ridge {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}

.ridge-back {
  bottom: 1.8rem;
}

.ridge-back path {
  fill: #16382b;
}

.ridge-mid {
  bottom: 1rem;
}

.ridge-mid path {
  fill: #1c4434;
}

.ridge-front path {
  fill: #24523f;
}

main {
  padding: 0.35rem 0 0;
}

.section:not(.hero):not(.booking):not(.footer) {
  background: transparent;
}

.section-divider {
  width: min(100%, 72rem);
  margin: 0 auto;
  text-align: center;
  color: var(--gold-deep);
  position: relative;
  font-size: 0.8rem;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 1px;
  background: rgba(164, 133, 74, 0.55);
  transform: translate(-50%, -50%);
}

.section-divider span {
  display: inline-block;
  background: var(--parchment);
  padding: 0 0.7rem;
  position: relative;
}

.section-eyebrow {
  color: var(--gold-deep);
  margin: 0 0 0.25rem;
}

h2 {
  font-size: clamp(1.8rem, 7.5vw, 2.65rem);
}

.title-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.lead {
  max-width: 47rem;
  font-size: 1.06rem;
}

.amenities {
  margin-top: 1.3rem;
  display: grid;
  gap: 0;
}

.amenities article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(107, 111, 99, 0.2);
}

.amenities article:first-child {
  border-top: 1px solid rgba(107, 111, 99, 0.2);
}

.amenity-icon {
  width: 2.5rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amenity-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rates {
  text-align: center;
}

.rates .title-rule {
  margin-left: auto;
  margin-right: auto;
}

.tariff-plaque {
  margin: 1.1rem auto;
  padding: 1.45rem 1.25rem 1.2rem;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(194, 161, 94, 0.45);
  width: min(100%, 25rem);
  background: var(--surface);
}

.price {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 11vw, 4.1rem);
}

.price__unit {
  margin: 0.15rem 0 0;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
}

.rate-note {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.rates p:not(.price):not(.price__unit):not(.rate-note):not(.fine-print) {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.87rem;
}

.reviews {
  display: grid;
  gap: 0;
}

blockquote {
  margin: 0;
  padding: 1.25rem 0.2rem 1.2rem 2rem;
  border-top: 1px solid rgba(107, 111, 99, 0.2);
  border-radius: 2px;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
}

.review-mark {
  position: absolute;
  left: 0.1rem;
  top: 0.1rem;
  color: var(--gold);
  font-size: 2.9rem;
  line-height: 1;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
}

cite {
  display: block;
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-style: normal;
  color: var(--muted);
  font-size: 0.68rem;
}

.booking {
  width: 100%;
  margin-top: 1.2rem;
  background: var(--pine);
  color: var(--parchment);
  padding-top: 3.6rem;
  padding-bottom: 3.2rem;
}

.booking .section-eyebrow {
  color: var(--gold);
}

.booking h2,
.booking .lead {
  color: var(--parchment);
}

.booking .lead {
  opacity: 0.84;
}

.booking .guest-name {
  color: var(--parchment);
  text-shadow: 0 0 14px rgba(245, 239, 227, 0.14);
}

.booking-card {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 1.15rem;
  color: var(--ink);
}

form {
  display: grid;
  gap: 0.95rem;
}

.field-grid {
  display: grid;
  gap: 0.8rem;
}

label,
legend {
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
}

input,
select,
textarea,
button {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(35, 39, 31, 0.28);
  border-radius: 2px;
  background: #fffdf8;
  padding: 0.75rem 0.72rem;
  color: var(--ink);
  font: inherit;
}

/* iOS Safari: date inputs have an intrinsic width that overflows their
   container and collapse in height when empty */
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-width: 0;
  max-width: 100%;
  min-height: 3.1rem;
  text-align: left;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(194, 161, 94, 0.22);
}

fieldset {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(107, 111, 99, 0.3);
  border-radius: 2px;
}

fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.4rem 0;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.94rem;
}

fieldset input {
  width: 1rem;
  min-width: 1rem;
  margin: 0.22rem 0 0;
  accent-color: var(--pine);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

button {
  position: relative;
  height: 3.2rem;
  border: 1px solid var(--gold);
  background: var(--pine);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  overflow: hidden;
  cursor: pointer;
}

button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 420ms ease;
}

button:hover::before,
button:focus-visible::before {
  transform: translateX(0);
}

button:hover,
button:focus-visible {
  color: var(--pine);
}

button span,
button {
  z-index: 1;
}

button:disabled {
  opacity: 0.74;
  cursor: not-allowed;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.86rem;
  color: #8d3f34;
}

.form-message.success {
  color: var(--pine);
}

.hidden {
  display: none;
}

.confirmation {
  margin-top: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(164, 133, 74, 0.55);
  border-radius: 2px;
  background: #fffdf8;
  position: relative;
  overflow: hidden;
}

.confirmation h3 {
  font-family: var(--font-display);
  color: var(--pine);
}

.reference-card {
  position: relative;
  display: inline-block;
  margin: 0.25rem 0 0.8rem;
  max-width: 100%;
  padding: 0.8rem 2.25rem 0.75rem 0.85rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(194, 161, 94, 0.4);
}

#booking-reference {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.75rem);
  letter-spacing: 0.045em;
  font-weight: 600;
  white-space: nowrap;
}

.ticket-seal {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
}

#confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 10px;
  top: -16px;
  opacity: 0.85;
  animation: drop 1700ms linear forwards;
}

@keyframes drop {
  to {
    transform: translateY(185px) rotate(240deg);
    opacity: 0;
  }
}

.footer {
  width: 100%;
  background: var(--pine);
  text-align: center;
  color: rgba(245, 239, 227, 0.85);
  padding-top: 2.4rem;
  padding-bottom: 2.6rem;
}

.footer-crest {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  margin-bottom: 0.35rem;
}

.footer-crest text {
  fill: var(--gold);
  stroke: none;
  font-size: 18px;
  font-family: var(--font-display);
}

.footer-rule {
  width: 88px;
  height: 1px;
  background: rgba(194, 161, 94, 0.65);
  margin: 0 auto 0.8rem;
}

.footer small {
  display: block;
  margin-top: 0.52rem;
  color: rgba(245, 239, 227, 0.68);
}

@keyframes crest-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 700px) {
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.8rem;
  }

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

  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-card {
    padding: 1.5rem;
  }

  .hero {
    min-height: 92vh;
    padding-top: 5.2rem;
    padding-bottom: 16.5rem;
  }

  .hero__crest {
    width: 6.7rem;
    margin-bottom: 1.1rem;
  }

  .hero-panorama {
    height: 16rem;
  }

  .sun-disc {
    right: 14%;
    bottom: 6.2rem;
    width: 4rem;
  }

  #booking-reference {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .badge-row {
    display: grid;
    gap: 0.35rem;
  }

  .badge-row span + span::before {
    content: none;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 2.75rem);
  }

  .hero .eyebrow,
  .hero-est,
  .badge-row {
    font-size: 0.62rem;
  }

  .subtitle,
  .greeting {
    font-size: 0.94rem;
  }

  #booking-reference {
    font-size: clamp(0.86rem, 3.6vw, 1rem);
    letter-spacing: 0.025em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section,
  .hero__crest,
  .confetti-piece {
    transition: none !important;
    animation: none !important;
  }

  .ridge {
    transform: none !important;
  }
}
