:root {
  --paper: #f5f1e8;
  --paper-soft: #fbf8f1;
  --linen: #e6ddcf;
  --olive: #6f7a65;
  --olive-dark: #202820;
  --charcoal: #171915;
  --muted: #6d7168;
  --line: rgba(32, 40, 32, 0.16);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(42, 38, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 2px;
  background: var(--olive-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(23, 25, 21, 0.72);
}

.site-nav a:hover {
  color: var(--charcoal);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(4rem, 8vw, 8rem) 5vw 4rem;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 9.5ch;
  margin-bottom: 1.3rem;
  font-size: clamp(4.5rem, 10vw, 9.4rem);
  line-height: 0.88;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.6vw, 5.8rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.motion-item {
  opacity: 0;
  transform: translateY(28px);
  animation: editorialRise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.motion-item:nth-child(2) {
  animation-delay: 110ms;
}

.motion-item:nth-child(3) {
  animation-delay: 220ms;
}

.motion-item:nth-child(4) {
  animation-delay: 330ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--charcoal);
  color: var(--paper-soft);
}

.button.secondary {
  color: var(--charcoal);
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  clip-path: inset(7% 0 7% 0);
  opacity: 0;
  transform: translateY(24px);
  animation: imageReveal 1100ms 240ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  will-change: transform;
}

.hero-media img {
  transform: scale(1.04);
  animation: slowDrift 16s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 25, 21, 0.34));
}

.hero-note {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1;
  width: min(260px, calc(100% - 2.8rem));
  padding: 1rem;
  background: rgba(251, 248, 241, 0.9);
  color: var(--charcoal);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(10px);
  animation: noteReveal 800ms 820ms ease forwards;
}

.hero-note span,
.tag,
.find-card span,
.method-list span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--olive);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.disclosure {
  margin: 0 5vw;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.room-grid,
.featured,
.finds,
.method {
  padding: clamp(5rem, 9vw, 8rem) 5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.2rem;
}

.section-heading.narrow {
  max-width: 980px;
}

.rooms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.room-card {
  min-height: 280px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.room-card:hover {
  background: rgba(255, 253, 248, 0.48);
  box-shadow: 0 18px 42px rgba(42, 38, 30, 0.08);
  transform: translateY(-7px);
}

.room-card span {
  display: block;
  margin-bottom: 5rem;
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 800;
}

.room-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.room-card p,
.guide-card p,
.find-card p,
.method-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.guide-card {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.44);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.guide-card:hover {
  background: rgba(255, 253, 248, 0.66);
  box-shadow: 0 18px 52px rgba(42, 38, 30, 0.08);
  transform: translateY(-5px);
}

.guide-card.large {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  gap: 1.5rem;
}

.guide-card.large .image-frame {
  min-height: 320px;
}

.guide-card h3,
.find-card h3,
.method-list h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.finds {
  background: var(--olive-dark);
  color: var(--paper-soft);
}

.finds .eyebrow,
.finds .find-card span {
  color: #b9c5b1;
}

.finds h2 {
  color: var(--paper-soft);
}

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

.find-card {
  display: grid;
  grid-template-rows: 280px auto;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.22);
}

.image-frame {
  overflow: hidden;
  border-radius: 3px;
  will-change: transform;
}

.image-frame img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 700ms ease;
}

.guide-card:hover .image-frame img,
.find-card:hover .image-frame img {
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.045);
}

.find-card .image-frame {
  min-height: 280px;
}

.find-card img {
  border-radius: 3px;
  filter: saturate(0.92);
}

.find-card p {
  color: rgba(251, 248, 241, 0.68);
}

.method {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.method-list {
  display: grid;
  gap: 1rem;
}

.method-list div {
  padding: 1.35rem;
  border-top: 1px solid var(--line);
  transition: transform 220ms ease, background 220ms ease;
}

.method-list div:hover {
  background: rgba(255, 253, 248, 0.38);
  transform: translateX(8px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.2fr;
  gap: 2rem;
  padding: 3rem 5vw;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-disclosure {
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 850ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes editorialRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageReveal {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes noteReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1.04) translate3d(-0.6%, -0.4%, 0);
  }

  to {
    transform: scale(1.08) translate3d(0.8%, 0.6%, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .guide-layout,
  .method,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-media {
    min-height: 460px;
  }

  .rooms,
  .find-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .menu-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
  }

  .menu-button span {
    width: 18px;
    height: 1px;
    background: var(--charcoal);
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 5vw;
    right: 5vw;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--paper-soft);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .hero-media {
    min-height: 360px;
  }

  .rooms,
  .find-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    min-height: 230px;
  }

  .room-card span {
    margin-bottom: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-item,
  .hero-media,
  .hero-note,
  .reveal {
    opacity: 1;
    transform: none !important;
    clip-path: none;
  }
}
