:root {
  color-scheme: light;
  --ink: #6b3b25;
  --ink-deep: #38261e;
  --body: #403631;
  --muted: #8c6958;
  --paper: #fffaf5;
  --line: #ead8cd;
  --line-strong: #c99075;
  --terracotta: #cf7c61;
  --terracotta-dark: #aa6049;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Didot, "Bodoni 72", Georgia, serif;
  --sans: Montserrat, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f2f2f2;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  background: #f2f2f2;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  width: 932px;
  min-height: 1632px;
  margin: 0 auto;
  overflow: hidden;
  border-right: 1px solid #ddd7d2;
  border-left: 1px solid #ddd7d2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 245, 0.78) 42%, rgba(255, 255, 255, 0.9)),
    #fffaf5;
}

.hero-grid {
  display: grid;
  height: 478px;
  grid-template-columns: 219px 1fr;
  grid-template-rows: 70px 408px;
}

.brand-panel {
  position: relative;
  display: grid;
  grid-row: 1 / span 2;
  place-items: start center;
  overflow: hidden;
  padding-top: 17px;
  border-right: 1px solid rgba(226, 198, 181, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.98) 0 39%, rgba(255, 250, 245, 0.66) 54%, rgba(255, 250, 245, 0.12) 100%),
    linear-gradient(90deg, rgba(255, 250, 245, 0.86), rgba(255, 250, 245, 0.05)),
    url("assets/photos/hero-clean.png") left center / 930px auto no-repeat;
}

.brand-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0) 0 48%, rgba(255, 250, 245, 0.2) 68%, rgba(255, 250, 245, 0.02) 100%),
    radial-gradient(circle at 42% 25%, rgba(214, 151, 118, 0.16), transparent 112px);
}

.brand-panel img {
  position: relative;
  z-index: 1;
  width: 260px;
  max-width: none;
  height: auto;
  margin-top: -27px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  height: 70px;
  padding: 0 38px 0 31px;
  border-bottom: 1px solid rgba(226, 198, 181, 0.58);
  background: rgba(255, 250, 245, 0.94);
  color: #34302d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -19px;
  left: 0;
  height: 1px;
  content: "";
  background: transparent;
}

.site-nav a:hover::after,
.site-nav .active::after {
  background: var(--terracotta);
}

.site-nav .nav-cta {
  display: inline-flex;
  width: 100px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  color: var(--white);
  background: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
}

.site-nav .nav-cta::after {
  display: none;
}

.motif-button {
  position: relative;
  width: 24px;
  height: 34px;
  flex: 0 0 auto;
  border: 0;
  background: url("assets/ornaments/nav-motif.png") center / 24px 28px no-repeat;
  cursor: pointer;
}

.motif-button span,
.motif-button::before,
.motif-button::after {
  display: none;
}

.hero-panel {
  position: relative;
  display: grid;
  min-height: 408px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.56), rgba(255, 250, 245, 0.12) 35%, rgba(72, 45, 31, 0.18)),
    url("assets/photos/hero-clean.png") -219px center / 930px auto no-repeat;
  isolation: isolate;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(56, 33, 22, 0.04), rgba(56, 33, 22, 0.2)),
    radial-gradient(circle at 53% 48%, rgba(65, 38, 25, 0.1), transparent 228px);
}

.hero-copy {
  width: 590px;
  margin-top: 30px;
  transform: translateX(-140px);
  color: var(--white);
  text-align: center;
  text-shadow: 0 1px 16px rgba(40, 24, 17, 0.24);
}

.mobile-break {
  display: none;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.08;
}

.hero-copy p {
  width: 502px;
  margin: 11px auto 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  transform: translateX(44px);
}

.title-ornament {
  position: relative;
  display: inline-block;
  width: 126px;
  height: 18px;
  margin: 6px auto 0;
  color: inherit;
  background:
    linear-gradient(45deg, transparent 35%, currentColor 36% 46%, transparent 47% 53%, currentColor 54% 64%, transparent 65%),
    linear-gradient(-45deg, transparent 35%, currentColor 36% 46%, transparent 47% 53%, currentColor 54% 64%, transparent 65%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}

.title-ornament::before,
.title-ornament::after {
  position: absolute;
  top: 9px;
  width: 53px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.55;
}

.title-ornament::before {
  left: 0;
}

.title-ornament::after {
  right: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 21px;
  margin-top: 19px;
  transform: translateX(44px);
}

.btn {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.btn.primary {
  width: 160px;
  color: var(--white);
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.btn.ghost {
  width: 191px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(60, 36, 24, 0.08);
}

.btn.outline {
  width: 209px;
  color: var(--terracotta-dark);
  background: rgba(255, 250, 245, 0.78);
}

.section-pad {
  padding-right: 34px;
  padding-left: 34px;
}

.intro-section {
  display: grid;
  height: 253px;
  grid-template-columns: 436px 389px;
  align-items: center;
  justify-content: start;
  padding-top: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 198, 181, 0.56);
  background: rgba(255, 250, 245, 0.86);
}

.intro-copy {
  width: 310px;
  margin-left: 73px;
}

.small-ornament {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 14px;
  color: var(--terracotta);
  background: url("assets/ornaments/ornament-small.png") center / contain no-repeat;
}

.small-ornament::before,
.small-ornament::after {
  display: none;
}

.intro-copy h2,
.section-heading h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 0.98;
}

.intro-copy h2::after {
  display: block;
  width: 29px;
  height: 1px;
  margin-top: 14px;
  content: "";
  background: var(--terracotta);
}

.intro-copy p {
  margin-top: 10px;
  color: #463b35;
  font-size: 10px;
  line-height: 1.42;
}

.intro-copy p + p {
  margin-top: 0;
}

.intro-photo {
  width: 389px;
  height: 240px;
  overflow: hidden;
  border: 1px solid rgba(226, 198, 181, 0.66);
}

.intro-photo img {
  width: 389px;
  height: 240px;
  object-fit: cover;
}

.section-heading {
  display: grid;
  place-items: center;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.section-heading .title-ornament {
  width: 104px;
  height: 18px;
  margin-top: 2px;
  color: var(--terracotta-dark);
  background: url("assets/ornaments/ornament-section.png") center / contain no-repeat;
}

.section-heading .title-ornament::before,
.section-heading .title-ornament::after {
  display: none;
}

.rooms-section {
  height: 271px;
  padding-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 198, 181, 0.56);
  background: rgba(255, 250, 245, 0.78);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 263px);
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

.room-card {
  width: 263px;
  height: 202px;
  overflow: hidden;
  border: 1px solid rgba(226, 198, 181, 0.88);
  background: rgba(255, 250, 245, 0.95);
}

.room-card > img {
  width: 263px;
  height: 138px;
  object-fit: cover;
}

.room-body {
  height: 64px;
  padding: 8px 10px 7px;
}

.room-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.room-body ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0;
  margin: 0;
  color: #5f5048;
  font-size: 8px;
  line-height: 1;
  list-style: none;
}

.room-body li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.room-body li + li::after {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 2px;
  height: 2px;
  content: "";
  border-radius: 50%;
  background: var(--terracotta);
}

.room-icon {
  width: 11px;
  height: auto;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
}

.room-icon.area,
.room-icon.price {
  width: 12px;
}

.rooms-link,
.gallery-link {
  display: flex;
  width: 209px;
  margin: 10px auto 0;
}

.services-section {
  display: grid;
  height: 175px;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 56px;
  padding-bottom: 15px;
  background: rgba(255, 250, 245, 0.72);
  text-align: center;
}

.services-section article {
  min-height: 126px;
  padding: 0 52px;
}

.services-section article + article {
  border-left: 1px solid rgba(201, 150, 123, 0.48);
}

.services-section h3 {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.services-section p {
  margin-top: 5px;
  color: #5f5048;
  font-size: 8.5px;
  line-height: 1.35;
}

.service-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  object-fit: contain;
}

.service-icon {
  width: 74px;
  height: 54px;
  margin: 0 auto;
  object-fit: contain;
}

.quote-band {
  display: grid;
  grid-template-columns: 123px 1fr 255px;
  align-items: center;
  height: 103px;
  margin: 0 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 221, 207, 0.98), rgba(250, 237, 229, 0.92) 57%, rgba(250, 237, 229, 0.12)),
    #f5ddce;
}

.quote-motif {
  width: 92px;
  height: 88px;
  justify-self: center;
  object-fit: contain;
}

.quote-band p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.13;
}

.quote-band > img:last-child {
  width: 255px;
  height: 103px;
  object-fit: cover;
}

.gallery-section {
  height: 254px;
  padding-top: 12px;
  padding-bottom: 11px;
  background: rgba(255, 250, 245, 0.72);
}

.gallery-section .section-heading h2 {
  font-size: 29px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 216px 212px 203px 212px;
  justify-content: center;
  gap: 10px;
  margin-top: 17px;
}

.gallery-grid img {
  height: 83px;
  border: 1px solid rgba(226, 198, 181, 0.76);
  object-fit: cover;
}

.gallery-grid img:nth-child(1) {
  width: 216px;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(4) {
  width: 212px;
}

.gallery-grid img:nth-child(3) {
  width: 203px;
}

.gallery-link {
  margin-top: 9px;
  height: 20px;
}

.site-footer {
  display: grid;
  height: 98px;
  grid-template-columns: 314px 1fr 314px;
  align-items: start;
  padding: 14px 52px 9px;
  border-top: 1px solid rgba(226, 198, 181, 0.62);
  background: linear-gradient(180deg, #f7e5d8, #f1d7c7);
  color: #765241;
  font-size: 8px;
  line-height: 1.4;
}

.footer-contact {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 26px;
}

.footer-contact > div {
  position: relative;
  padding-left: 30px;
}

.footer-icon {
  position: absolute;
  top: -2px;
  left: 0;
  width: 19px;
  height: auto;
  max-width: none;
}

.footer-contact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 9px;
  text-transform: uppercase;
}

.footer-contact p {
  margin-top: 3px;
}

.footer-brand {
  display: grid;
  justify-items: center;
}

.footer-brand img {
  width: 90px;
  margin-top: -8px;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  order: 0;
}

.email-link .footer-icon {
  position: static;
  width: 18px;
}

.socials {
  display: flex;
  gap: 9px;
  order: 1;
}

.socials a {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
}

.socials img {
  width: 22px;
  height: 22px;
  max-width: none;
  object-fit: contain;
}

.footer-actions > a:first-child {
  order: 0;
}

.footer-reserve {
  order: 2;
  width: 122px;
  height: 28px;
}

.copyright {
  align-self: end;
  color: #8e6b5c;
}

.legal-links {
  display: flex;
  grid-column: 3;
  align-self: end;
  justify-content: flex-end;
  gap: 24px;
  color: #8e6b5c;
}

@media (max-width: 820px) {
  .site-shell {
    width: 100%;
    min-height: 0;
    border: 0;
  }

  .hero-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .brand-panel {
    grid-row: auto;
    height: 174px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 198, 181, 0.7);
    background:
      linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 250, 245, 0.9)),
      url("assets/photos/hero-clean.png") center / cover no-repeat;
  }

  .brand-panel img {
    width: 150px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    min-height: 70px;
    gap: 12px 18px;
    padding: 14px 18px;
  }

  .site-nav .nav-cta {
    order: 2;
  }

  .hero-panel {
    min-height: 430px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-top: 0;
    transform: none;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    width: min(100%, 520px);
    transform: none;
  }

  .hero-actions {
    transform: none;
  }

  .intro-section,
  .rooms-section,
  .services-section,
  .gallery-section,
  .site-footer {
    height: auto;
  }

  .intro-section,
  .room-grid,
  .services-section,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-section {
    gap: 24px;
    padding: 26px 22px;
  }

  .intro-copy {
    width: auto;
    margin-left: 0;
  }

  .intro-photo,
  .intro-photo img {
    width: 100%;
    height: auto;
  }

  .room-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .room-card {
    width: min(100%, 520px);
    height: auto;
  }

  .room-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.9 / 1;
  }

  .room-body {
    height: auto;
    padding: 12px 12px 14px;
  }

  .room-body ul {
    flex-wrap: wrap;
    gap: 8px 13px;
    font-size: 10px;
  }

  .services-section article {
    padding: 18px 32px;
  }

  .services-section article + article {
    border-top: 1px solid rgba(201, 150, 123, 0.48);
    border-left: 0;
  }

  .quote-band {
    grid-template-columns: 82px minmax(0, 1fr);
    height: auto;
    min-height: 120px;
    margin: 0 22px;
  }

  .quote-band > img:last-child {
    display: none;
  }

  .site-footer {
    justify-items: center;
    gap: 20px;
    padding: 26px 22px 18px;
    text-align: center;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact > div {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding-left: 0;
  }

  .footer-icon {
    position: static;
    width: 24px;
  }

  .footer-actions {
    justify-items: center;
  }

  .email-link {
    justify-content: center;
  }

  .legal-links {
    grid-column: auto;
    justify-content: center;
  }
}

@media (min-width: 821px) {
  body {
    --visual-width: clamp(941px, 72vw, 1360px);
    --visual-height: clamp(1632px, 124.9vw, 2359px);

    min-height: var(--visual-height);
    background: #f2f2f2 url("assets/reference/template-content.png") top center / var(--visual-width) auto no-repeat;
  }

  .site-shell {
    width: var(--visual-width);
    min-height: var(--visual-height);
    border: 0;
    background: transparent;
    opacity: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .site-nav a:not(.nav-cta),
  .motif-button {
    display: none;
  }

  .hero-panel {
    min-height: 440px;
  }

  .hero-copy {
    max-width: 340px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .mobile-break {
    display: block;
  }

  .hero-copy p {
    font-size: 12px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn,
  .btn.primary,
  .btn.ghost,
  .btn.outline {
    width: 100%;
    max-width: 286px;
  }

  .intro-copy h2,
  .section-heading h2 {
    font-size: 30px;
  }

  .quote-band {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    text-align: center;
  }

  .quote-motif {
    display: none;
  }

  .quote-band p {
    font-size: 24px;
  }

  .legal-links {
    flex-direction: column;
    gap: 8px;
  }
}
