:root {
  color-scheme: light;
  --navy: #071828;
  --navy-soft: #10253a;
  --gold: #b78d49;
  --gold-deep: #8f6b35;
  --paper: #f7f0e6;
  --paper-deep: #efe3d1;
  --ink: #2d2119;
  --ink-soft: #604839;
  --line: rgba(122, 85, 34, 0.24);
  --shadow: 0 24px 60px rgba(7, 24, 40, 0.18);
  --header-offset: 6.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(233, 216, 188, 0.28), transparent 30%),
    linear-gradient(180deg, #fbf7f0 0%, #f2e7d7 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

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

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

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(7, 24, 40, 0.96);
  color: #f8f2e7;
  border-bottom: 1px solid rgba(183, 141, 73, 0.25);
}

.brand-lockup {
  line-height: 1;
}

.brand-lockup h1,
.hero-copy h2,
.section-heading h2,
.story-copy h2,
.booking-intro h2,
.room-card h3,
.amenities-grid h3,
.card h3 {
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand-kicker,
.brand-meta,
.eyebrow,
.rate-card-label,
.rate-card-suffix,
.site-nav a,
button,
.button-link,
.ghost-link {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.brand-kicker {
  margin: 0 0 0.2rem;
  color: var(--gold);
  font-size: 0.8rem;
}

.brand-lockup h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
}

.brand-meta {
  margin: 0.25rem 0 0;
  color: #d9bd85;
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-size: 0.72rem;
}

.button-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(180deg, #bf9655 0%, #a2773a 100%);
  color: #fffaf0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button-link:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  filter: brightness(1.04);
}

.ghost-link {
  color: #f7ead2;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background: center / cover no-repeat url("./images/att.CJwLwQRBYjdeVuOEJRBfaKnBe9BFmOLb3QR_R9jkZ8I.png.JPEG");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 12, 21, 0.8) 0%, rgba(3, 12, 21, 0.42) 48%, rgba(3, 12, 21, 0.12) 100%),
    linear-gradient(180deg, rgba(3, 12, 21, 0.25) 0%, rgba(3, 12, 21, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 280px);
  gap: 2rem;
  align-items: end;
  padding: 4rem 0 3rem;
  color: #fff7eb;
}

.hero-copy {
  max-width: 38rem;
}

.hero-copy h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 32rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.eyebrow {
  margin: 0;
  color: #dbb979;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.rate-card {
  justify-self: end;
  padding: 1.5rem 1.4rem;
  background: rgba(20, 18, 14, 0.44);
  border: 1px solid rgba(213, 182, 125, 0.55);
  backdrop-filter: blur(4px);
  text-align: center;
}

.rate-card-label,
.rate-card-suffix {
  margin: 0;
  font-size: 0.7rem;
  color: #ecd8b3;
}

.rate-card-price {
  margin: 0.35rem 0;
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.section {
  padding: 4.75rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.story-copy h2,
.booking-intro h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  color: var(--gold-deep);
}

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

.room-card {
  display: block;
  padding: 0 0 1.4rem;
  background: rgba(255, 251, 244, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.room-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1);
  transition: transform 320ms ease, filter 320ms ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(7, 24, 40, 0.24);
}

.room-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.room-card h3 {
  margin: 1.2rem 1rem 0.5rem;
  font-size: 1.5rem;
  color: var(--ink-soft);
}

.room-card p {
  margin: 0 1.25rem;
  line-height: 1.65;
}

.story-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(180deg, rgba(236, 224, 204, 0.82), rgba(245, 237, 225, 0.92)),
    #f1e6d6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.story-copy p:last-child {
  line-height: 1.8;
  color: var(--ink-soft);
}

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

.gallery-item {
  display: block;
  min-height: 260px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.gallery-dialog {
  width: min(100vw - 4rem, 1100px);
  max-width: none;
  padding: 0;
  background: var(--navy);
  border: 1px solid rgba(213, 182, 125, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

.gallery-dialog::backdrop {
  background: rgba(3, 12, 21, 0.84);
}

.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: center;
  min-height: min(76vh, 760px);
  padding: 5rem 1.5rem 1.5rem;
}

.gallery-carousel-image {
  width: 100%;
  height: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
}

.gallery-close,
.gallery-previous,
.gallery-next {
  z-index: 1;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  background: rgba(7, 24, 40, 0.9);
  border-color: rgba(213, 182, 125, 0.65);
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.gallery-caption {
  grid-column: 1 / -1;
  margin: 0.85rem 0 0;
  color: #f8f2e7;
  text-align: center;
}

@media (max-width: 1024px) {
  .gallery-item {
    cursor: default;
  }

  .gallery-item:hover img,
  .gallery-item:focus-visible img {
    transform: none;
    filter: none;
  }

  .gallery-dialog {
    display: none;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  .gallery-item {
    aspect-ratio: 3 / 4;
  }

  .room-card img {
    aspect-ratio: 3 / 4;
  }

  .gallery-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1rem) / 2);
    justify-self: center;
  }

  .room-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1.4rem) / 2);
    justify-self: center;
  }
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.amenities-grid article {
  padding: 0 1rem;
  border-left: 1px solid var(--line);
}

.amenities-grid article:first-child {
  border-left: 0;
}

.amenities-grid h3 {
  margin: 0 0 0.75rem;
  color: var(--gold-deep);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amenities-grid p {
  margin: 0;
  line-height: 1.7;
}

.booking-band {
  padding: 4.75rem 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 40, 0.95), rgba(5, 18, 30, 0.98)),
    var(--navy);
  color: #efe0c6;
}

.booking-page {
  min-height: 100vh;
}

.booking-page-main {
  padding: 3rem 0 4.75rem;
}

.booking-page-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.booking-page-intro p:last-child {
  line-height: 1.8;
  color: var(--ink-soft);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.booking-intro p:last-child {
  line-height: 1.8;
}

.card {
  background: rgba(247, 240, 230, 0.98);
  color: var(--ink);
  border: 1px solid rgba(183, 141, 73, 0.28);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.booking-card h3 {
  margin-top: 0;
  color: var(--gold-deep);
  font-size: 1.6rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.row,
.actions {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  background: #fffdf9;
  color: var(--ink);
  border: 1px solid rgba(96, 72, 57, 0.28);
}

textarea {
  resize: vertical;
}

.message {
  margin-top: 0.75rem;
  min-height: 1.5rem;
  line-height: 1.6;
}

.message a {
  color: var(--gold-deep);
  text-decoration: underline;
}

.success {
  color: #0b6a2c;
}

.error {
  color: #962020;
}

.reserve-callout {
  padding-top: 0;
}

.reserve-callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 251, 244, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.reserve-callout-card h2 {
  margin: 0.45rem 0 0.6rem;
  color: var(--gold-deep);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.reserve-callout-card p:last-child {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  :root {
    --header-offset: 1.5rem;
  }

  .site-header,
  .hero-content,
  .story-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    padding: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .rate-card {
    justify-self: start;
  }

  .reserve-callout-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .room-grid,
  .amenities-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-tall {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 1.25rem, 100%);
  }

  .hero {
    min-height: 68vh;
  }

  .hero-copy h2 {
    font-size: 2.5rem;
  }

  .room-grid,
  .amenities-grid,
  .gallery-grid,
  .row,
  .actions {
    grid-template-columns: 1fr;
  }

  .amenities-grid article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }

  .amenities-grid article:first-child {
    border-top: 0;
    padding-top: 0;
  }
}
