:root {
  --sand: #efe7db;
  --paper: #fbf7f0;
  --ink: #24301f;
  --muted: #4a5644;
  --green: #2c4627;
  --green-dark: #16250f;
  --leaf: #d9e3b8;
  --radius: 28px;
  --wrap: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

a { color: var(--green); }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

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

h1, h2 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: 24px; font-weight: 500; line-height: 1.2; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 16px; top: -60px; padding: 12px 18px;
  background: var(--green); color: var(--paper); border-radius: 12px; z-index: 20;
}
.skip:focus { top: 16px; color: var(--paper); }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--green);
  border-radius: 30px; background: var(--green); color: var(--paper);
  font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--green-dark); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn--light:hover { background: var(--leaf); border-color: var(--leaf); color: var(--green-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; padding-top: 16px; }
.nav {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center;
  padding: 10px 12px 10px 28px; background: var(--paper); border-radius: 40px;
  box-shadow: 0 6px 24px rgba(36, 48, 31, 0.08);
}
.brand { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.nav ul a { display: block; padding: 12px 0; font-size: 16px; text-decoration: none; color: var(--ink); }
.nav ul a:hover { color: var(--green); text-decoration: underline; }
.nav .btn { padding: 12px 24px; font-size: 16px; }

/* Hero */
.hero { padding-top: 80px; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.hero h1 { max-width: 900px; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.pill { padding: 8px 18px; border: 1px solid var(--green); border-radius: 30px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center; }

.hero-photos {
  padding-top: 72px; padding-bottom: 104px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.hero-photos figure, .room { display: flex; flex-direction: column; gap: 14px; }
.hero-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 15%; border-radius: var(--radius); }
.hero-photos figcaption { text-align: center; font-size: 16px; color: var(--muted); }

/* Sections */
.section { padding-block: 96px; }
.band-paper { background: var(--paper); }
.band-paper--top { border-radius: 48px 48px 0 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-head p { max-width: 420px; color: var(--muted); }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.room { text-decoration: none; color: var(--ink); }
.room img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); transition: transform 0.3s ease; }
.room:hover img { transform: translateY(-4px); }
.room strong { font-size: 24px; font-weight: 500; }
.room span { font-size: 16px; color: var(--muted); }

/* Collection */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 8px 20px; border: 1px solid var(--green); border-radius: 30px;
  background: transparent; color: var(--green); font: inherit; font-size: 16px; cursor: pointer;
}
.chip:hover { background: var(--leaf); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; }
.card[hidden] { display: none; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px 22px; }
.card-code { font-size: 15px; font-weight: 600; color: var(--green); letter-spacing: 0.04em; }
.card-name { font-size: 20px; font-weight: 500; }
.card-size { font-size: 16px; color: var(--muted); }
.card-ask { margin-top: 8px; padding: 10px 0; font-size: 16px; font-weight: 500; align-self: flex-start; }

/* Bowls */
.band-green { background: var(--green); color: var(--paper); }
.bowls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px 64px; align-items: center; }
.bowls-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.bowls-text .codes { font-size: 16px; color: var(--leaf); }
.bowls-text .body { color: #e4e9da; max-width: 420px; }
.bowls-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bowls-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.bowls-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* Care */
.care { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.care > div { display: flex; flex-direction: column; gap: 14px; padding: 36px; background: var(--paper); border-radius: var(--radius); }
.care p { font-size: 17px; color: var(--muted); }

/* Contact */
.contact {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px 64px; align-items: center;
  padding: 56px; background: var(--leaf); border-radius: 48px;
}
.contact img { aspect-ratio: 1 / 1; object-fit: cover; mix-blend-mode: multiply; }
.contact-text { display: flex; flex-direction: column; gap: 18px; }
.contact-text p { color: #33402d; max-width: 460px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-weight: 500; }
.contact-links a { padding: 12px 0; }

.site-footer { padding: 32px 24px 56px; text-align: center; font-size: 15px; color: var(--muted); }

/* Smaller screens */
@media (max-width: 980px) {
  .rooms, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bowls { grid-template-columns: minmax(0, 1fr); }
  .care { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 16px; }
  .site-header { position: static; }
  .nav { padding: 14px 18px; border-radius: 28px; }
  .nav ul { order: 3; width: 100%; gap: 0 20px; }
  .hero { padding-top: 56px; }
  .hero-photos { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 72px; }
  .rooms, .grid { gap: 14px; }
  .card-body { padding: 14px 16px 16px; }
  .card-name { font-size: 17px; }
  .contact { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; border-radius: 32px; }
  .contact img { max-width: 200px; }
  .band-paper--top { border-radius: 32px 32px 0 0; }
}

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

section[id] { scroll-margin-top: 96px; }
