:root {
  color-scheme: light;
  --ink: #24182a;
  --muted: #574958;
  --paper: #fcf9f7;
  --plum: #160e1d;
  --plum-light: #291632;
  --lavender: #edbbf9;
  --purple: #744181;
  --line: #e0d3df;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
[id] { scroll-margin-top: 1.25rem; }

:focus-visible {
  outline: 2px solid #a04bb5;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .55rem 1rem;
  transform: translateY(-180%);
  background: var(--lavender);
  color: var(--plum);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100% - 6.5rem, 82rem);
  margin-inline: auto;
}

.site-header, .hero, .contact { background: var(--plum); color: var(--paper); }

.site-header {
  border-bottom: 1px solid #ffffff20;
  font-size: .875rem;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 5.25rem;
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}

.brand img { width: 5.2rem; height: auto; }

.brand span {
  padding-inline-start: .9rem;
  border-inline-start: 1px solid #ffffff36;
  color: #e3d2e6;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 3vw, 2.7rem);
}

.main-nav a, .site-footer a {
  text-decoration: none;
  text-underline-offset: .3em;
}

.main-nav a { color: #eadfea; }
.main-nav a:hover, .site-footer a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  width: fit-content;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s;
}

.button span { font-size: 1.125rem; line-height: 1; }
.button-primary { background: var(--lavender); color: var(--plum); }
.button-primary:hover { background: #f8d8ff; }

.header-action {
  min-height: 2.65rem;
  justify-self: end;
  border-color: #ffffff50;
  color: var(--paper);
}

.header-action:hover { border-color: var(--lavender); color: var(--lavender); }

.hero {
  background: radial-gradient(ellipse at 78% 100%, #33213a 0%, var(--plum) 65%);
  padding-block: clamp(2.5rem, 4.5vw, 4.75rem) clamp(2.5rem, 4.2vw, 4.1rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy { padding-bottom: 1.5rem; }

.eyebrow {
  color: var(--purple);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .eyebrow, .contact .eyebrow { color: var(--lavender); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.05;
}

h1 {
  margin-top: 1.2rem;
  font-size: clamp(3.15rem, 5.5vw, 6.1rem);
}

h2 {
  margin-top: .9rem;
  font-size: clamp(2.4rem, 4.35vw, 4.8rem);
}

h1 em, h2 em { font-weight: 500; }
h2 em { color: var(--purple); }

.hero h1 em, .contact h2 em { color: var(--lavender); }

.hero-copy > p:not(.eyebrow), .contact p:not(.eyebrow) {
  max-width: 33ch;
  margin-top: 1.65rem;
  color: #decfe1;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero .button { margin-top: 1.85rem; }

.hero-photo img, .room-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: .28rem;
}

.hero-photo img { aspect-ratio: 1.36; object-position: center 66%; }
.room-photo img { aspect-ratio: 1.64; object-position: center 64%; }

figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .025em;
  line-height: 1.45;
}

.hero-photo figcaption { color: #d1bfd5; }

.concept, .faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.3rem, 8vw, 7.25rem);
}

.concept { align-items: center; }
.concept h2 { max-width: 12ch; }

.concept-copy > p:not(.eyebrow), .section-intro > p {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.concept-copy > p:not(.eyebrow) { margin-top: 1.45rem; }

.model {
  padding-block: clamp(3.25rem, 6.6vw, 6.15rem);
  border-block: 1px solid #ebddeb;
  background: #f3eaf5;
}

.section-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: end;
  gap: clamp(1.25rem, 4.5vw, 4.5rem);
}

.section-intro > p { padding-bottom: .3rem; }

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.3rem, 3.1vw, 3.1rem);
  margin: clamp(2rem, 4.2vw, 4.35rem) 0 0;
  padding: 0;
  list-style: none;
}

.support-list li { padding-top: 1rem; border-top: 1px solid #ab87b3; }
.support-list h3 { font-size: 1.125rem; font-weight: 700; }
.support-list p { max-width: 31ch; margin-top: .4rem; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq-heading h2 { max-width: 12ch; }

.faq summary {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  display: grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple);
  content: '+' / '';
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
}

.faq details[open] summary::after { content: '−' / ''; }
.faq summary:hover { color: var(--purple); }
.faq details p { max-width: 57ch; padding: 0 2rem 1.1rem 0; color: var(--muted); }

.contact { background: linear-gradient(115deg, var(--plum), var(--plum-light)); }

.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3.25rem, 6.6vw, 6.25rem);
}

.contact p:not(.eyebrow) { max-width: 45ch; }
.contact .button { flex-shrink: 0; }

.site-footer {
  border-top: 1px solid #ffffff25;
  background: var(--plum);
  color: #decfe1;
  font-size: .79rem;
}

.footer-inner, .site-footer nav { display: flex; align-items: center; gap: 1.3rem; }
.footer-inner { justify-content: space-between; padding-block: 1.45rem; }

@media (max-width: 65rem) {
  .shell { width: calc(100% - 4rem); }

  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.8rem; }
  .hero-photo img { aspect-ratio: 1.15; }
  h1 { font-size: clamp(2.75rem, 5.9vw, 4.1rem); }
}

@media (max-width: 49rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
    reading-flow: grid-rows;
    gap: .65rem 1rem;
    padding-block: .85rem .65rem;
  }

  .main-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .15rem 1.4rem;
    padding-top: .35rem;
    border-top: 1px solid #ffffff20;
  }

  .main-nav a { padding-block: .3rem; }
  .header-action { grid-column: 2; grid-row: 1; }

  .hero-grid, .concept, .faq { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo img { aspect-ratio: 1.43; }
  h1 { font-size: clamp(3.5rem, 10vw, 5.25rem); }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 34rem) {
  .shell { width: calc(100% - 2.5rem); }
  .brand { gap: .55rem; }
  .brand img { width: 4.35rem; }
  .brand span { padding-inline-start: .55rem; font-size: .63rem; }
  .header-action { padding-inline: .65rem; gap: .55rem; }
  .main-nav { gap: .15rem 1rem; font-size: .81rem; }
  h1 { font-size: clamp(2.75rem, 11vw, 4rem); }
  .hero-copy > p:not(.eyebrow) { margin-top: 1.15rem; }
  .hero .button { margin-top: 1.3rem; }
  .concept, .faq { row-gap: 1.6rem; }
  .section-intro, .support-list { grid-template-columns: 1fr; }
  .section-intro { gap: .9rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .site-footer nav { flex-wrap: wrap; gap: .45rem 1.3rem; }
}

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