:root {
  --bg: #f4f1eb;
  --ink: #151410;
  --muted: #6c675f;
  --line: rgba(21, 20, 16, 0.12);
  --surface: rgba(255, 252, 246, 0.78);
  --surface-solid: #fffaf1;
  --accent: #2e7d62;
  --accent-ink: #f6fff9;
  --shadow: 0 28px 90px rgba(35, 29, 18, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --header-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(46, 125, 98, 0.12), transparent 27vw),
    radial-gradient(circle at 84% 72%, rgba(200, 153, 83, 0.14), transparent 29vw),
    linear-gradient(135deg, #f8f4ed 0%, #ebe4d9 100%);
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  min-height: 100vh;
  padding: 20px clamp(16px, 3vw, 44px) 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(18px, 3vw, 36px);
}

.site-header {
  min-height: var(--header-height);
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.5vw, 16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.62);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(40, 34, 22, 0.08);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  min-width: max-content;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px 8px 8px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff8eb;
  font-weight: 700;
}

.brand-text {
  font-weight: 720;
  font-size: 15px;
}

.header-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-button {
  flex: 0 1 auto;
  white-space: nowrap;
  padding: 0 17px;
  background: transparent;
  color: var(--ink);
}

.nav-button:hover,
.nav-button.is-active {
  background: var(--ink);
  color: #fff8eb;
}

.hero {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}

.hero-copy {
  padding: clamp(18px, 4vw, 40px) 0;
}

.eyebrow,
.sheet-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 9.4vw, 126px);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-media {
  min-height: clamp(380px, 63vh, 680px);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: min(56vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.05) 68%);
  filter: blur(2px);
}

.video-frame {
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.4);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  animation: float 7s ease-in-out infinite;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  background: #e9e1d2;
}

.page-note {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(21, 20, 16, 0.38);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 18, 14, 0.36);
  opacity: 0;
  transition: opacity 260ms ease;
}

.sheet-backdrop.is-open {
  opacity: 1;
}

.bottom-sheet {
  position: fixed;
  left: clamp(8px, 1.5vw, 20px);
  right: clamp(8px, 1.5vw, 20px);
  bottom: clamp(8px, 1.5vw, 20px);
  height: min(91vh, 860px);
  z-index: 50;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.93);
  backdrop-filter: blur(26px);
  box-shadow: 0 24px 120px rgba(12, 10, 6, 0.28);
  transform: translateY(calc(100% + 40px));
  transition: transform 420ms cubic-bezier(.2, .86, .2, 1);
  overflow: auto;
}

.bottom-sheet.is-open {
  transform: translateY(0);
}

.sheet-handle {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(21, 20, 16, 0.17);
}

.sheet-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.sheet-close:hover {
  background: var(--ink);
  color: #fff8eb;
}

.sheet-grid {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.sheet-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.sheet-copy p:not(.sheet-kicker) {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.sheet-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sheet-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.sheet-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  align-items: end;
  gap: clamp(12px, 2vw, 22px);
}

.gallery-card {
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: #eee2d1;
  overflow: hidden;
  box-shadow: 0 16px 52px rgba(35, 29, 18, 0.16);
}

.gallery-card-large {
  min-height: min(62vh, 620px);
}

.gallery-card:not(.gallery-card-large) {
  min-height: min(46vh, 430px);
  transform: translateY(-7%);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: contain;
}

body.sheet-open {
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

@media (max-width: 900px) {
  .page-shell {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-media {
    min-height: auto;
  }

  .video-frame {
    width: min(86vw, 520px);
  }

  .page-note {
    display: none;
  }

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

  .bottom-sheet {
    height: 92vh;
    padding-top: 64px;
  }

  .gallery-card-large,
  .gallery-card:not(.gallery-card-large) {
    min-height: 260px;
    transform: none;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 58px;
  }

  .page-shell {
    padding: 10px 10px 22px;
    gap: 16px;
  }

  .site-header {
    top: 8px;
    padding: 7px;
    gap: 3px;
  }

  .brand {
    gap: 0;
    padding: 4px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .brand-text {
    display: none;
  }

  .header-nav {
    gap: 2px;
  }

  .nav-button {
    min-height: 38px;
    padding-inline: clamp(8px, 2.6vw, 12px);
    font-size: 13px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 74px);
  }

  .lead {
    margin-top: 22px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding: 6px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-button {
    min-height: 36px;
    padding-inline: 7px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
