:root {
  color-scheme: dark;
  --page: #0c100f;
  --surface: #131917;
  --surface-strong: #1b2420;
  --text: #edf1ed;
  --muted: #aab5ae;
  --line: rgba(237, 241, 237, 0.16);
  --accent: #a5c69a;
  --accent-ink: #102016;
  --danger-soft: #31362c;
  --shadow: 0 24px 80px rgba(3, 8, 6, 0.38);
  --radius: 18px;
  --font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #f2f5f2;
  --surface: #e7ece8;
  --surface-strong: #dbe4dd;
  --text: #17201b;
  --muted: #536159;
  --line: rgba(23, 32, 27, 0.16);
  --accent: #4f704b;
  --accent-ink: #f4f7f4;
  --danger-soft: #d7ded3;
  --shadow: 0 24px 80px rgba(25, 41, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  transition: background-color 220ms ease, color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-current {
  color: var(--text);
}

.theme-button,
.menu-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.theme-button {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
}

.menu-button {
  display: none;
}

.hero,
.section,
.site-footer {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  min-height: calc(100dvh - 72px);
  padding-top: 48px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h4 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lead {
  max-width: 480px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.text-link {
  color: var(--text);
  font-size: 15px;
  text-underline-offset: 5px;
}

.hero-visual {
  margin: 0;
}

.hero-visual img,
.product-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption,
.image-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-top: clamp(96px, 11vw, 160px);
  padding-bottom: clamp(96px, 11vw, 160px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 64px;
}

.section-heading p,
.product-copy > p,
.launch-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.direction {
  display: flex;
  min-height: 340px;
  padding: clamp(28px, 4vw, 54px);
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.direction-cornish {
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 90%, var(--accent)), var(--surface));
}

.direction-bathhouse {
  background: var(--surface);
}

.direction-label,
.content-preview article > span,
.product-gap span,
.launch-grid article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direction p {
  max-width: 500px;
  color: var(--muted);
}

.direction a {
  width: fit-content;
  font-weight: 700;
  text-underline-offset: 5px;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line);
}

.system-flow div {
  min-height: 140px;
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
}

.system-flow div:not(:first-child) {
  padding-left: 24px;
}

.system-flow div:last-child {
  border-right: 0;
}

.system-flow strong,
.system-flow span {
  display: block;
}

.system-flow span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.product-section {
  border-top: 1px solid var(--line);
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.fact-row div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fact-row strong,
.fact-row span {
  display: block;
}

.fact-row strong {
  font-size: 20px;
}

.fact-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  margin-top: 100px;
}

.audience-main,
.validation-card {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.audience-main {
  background: var(--surface);
}

.audience-switch {
  display: flex;
  width: fit-content;
  gap: 6px;
  margin: 30px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.audience-tab {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.audience-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.audience-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.audience-panel > p:not(.audience-kicker) {
  max-width: 580px;
  color: var(--muted);
}

.flow-line {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.flow-line span {
  margin: 0 6px;
  color: var(--accent);
}

.validation-card {
  background: var(--danger-soft);
}

.validation-card h3 {
  font-size: 26px;
}

.validation-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.validation-card li {
  position: relative;
  padding: 9px 0 9px 22px;
}

.validation-card li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.content-preview {
  margin-top: 100px;
}

.storyboard {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 36px;
}

.storyboard article {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.storyboard article:first-child {
  grid-row: span 2;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, var(--surface-strong), color-mix(in srgb, var(--surface) 80%, var(--accent)));
}

.storyboard article p {
  color: var(--muted);
}

.bathhouse-section {
  border-top: 1px solid var(--line);
}

.bathhouse-visual {
  position: relative;
  min-height: min(720px, 74dvh);
  overflow: hidden;
  border-radius: var(--radius);
}

.bathhouse-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 10, 0.86), rgba(7, 11, 10, 0.14) 70%);
}

.bathhouse-visual img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.bathhouse-message {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 6vw, 88px);
  max-width: 620px;
  color: #edf1ed;
  transform: translateY(-50%);
}

.bathhouse-message h2 {
  font-size: clamp(42px, 5.6vw, 76px);
}

.bathhouse-message > p:last-child {
  max-width: 430px;
  color: #c6cec8;
  font-size: 19px;
}

.bathhouse-details {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 20px;
  margin-top: 70px;
}

.price-block,
.extras-grid {
  min-height: 240px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-block {
  background: var(--accent);
  color: var(--accent-ink);
}

.price-block p,
.price-block strong,
.price-block span,
.extras-grid strong,
.extras-grid span {
  display: block;
}

.price-block p {
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 700;
}

.price-block strong {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-block span {
  margin-top: 12px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
  background: var(--surface);
}

.extras-grid div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.extras-grid strong {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.extras-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.scenario-strip {
  margin-top: 110px;
}

.scenario-strip > div {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.scenario-strip span {
  min-width: max-content;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  scroll-snap-align: start;
}

.channel-map {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 120px);
  margin-top: 110px;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.channel-copy p {
  color: var(--muted);
}

.channel-list div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.channel-list div:last-child {
  border-bottom: 0;
}

.channel-list span {
  color: var(--muted);
}

.product-gap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-top: 110px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.product-gap p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.launch-section {
  border-top: 1px solid var(--line);
}

.launch-heading {
  max-width: 820px;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.launch-grid article {
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.launch-grid article:nth-child(2),
.launch-grid article:nth-child(3) {
  background: var(--surface-strong);
}

.launch-grid h3 {
  margin-top: 52px;
  font-size: 29px;
}

.launch-grid p {
  color: var(--muted);
}

.meeting-close {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 110px;
  padding: clamp(36px, 6vw, 74px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
}

.meeting-close h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.meeting-close p {
  max-width: 620px;
  margin-bottom: 0;
}

.meeting-close .button-primary {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--accent-ink) 22%, transparent);
  background: var(--accent-ink);
  color: var(--accent);
}

.site-footer {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  opacity: 0;
  transform: translateY(18px);
}

body.is-ready .hero .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-ready .hero .hero-visual {
  transition-delay: 100ms;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .menu-button {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    align-items: center;
    border-radius: 12px;
  }

  .primary-nav {
    position: absolute;
    top: 71px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 84px;
  }

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

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .product-hero,
  .audience-layout,
  .bathhouse-details,
  .channel-map,
  .product-gap {
    grid-template-columns: 1fr;
  }

  .direction-grid {
    grid-template-columns: 1fr 1fr;
  }

  .system-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-flow div:nth-child(2) {
    border-right: 0;
  }

  .extras-grid {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero,
  .section,
  .site-footer {
    padding-inline: 20px;
  }

  .hero {
    gap: 46px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 65px);
  }

  h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .direction-grid,
  .system-flow,
  .fact-row,
  .storyboard,
  .extras-grid,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .direction {
    min-height: 300px;
  }

  .system-flow div,
  .system-flow div:not(:first-child) {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .storyboard article:first-child {
    grid-row: auto;
    min-height: 310px;
  }

  .bathhouse-visual {
    min-height: 620px;
  }

  .bathhouse-visual::after {
    background: linear-gradient(0deg, rgba(7, 11, 10, 0.9), rgba(7, 11, 10, 0.08) 84%);
  }

  .bathhouse-message {
    top: auto;
    right: 24px;
    bottom: 32px;
    left: 24px;
    transform: none;
  }

  .extras-grid div {
    padding: 16px 0;
  }

  .channel-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .meeting-close {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero .reveal,
  body.is-ready .hero .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    color-scheme: light;
    --page: #ffffff;
    --surface: #f3f5f3;
    --surface-strong: #e8ece8;
    --text: #17201b;
    --muted: #536159;
    --line: rgba(23, 32, 27, 0.18);
    --accent: #4f704b;
    --accent-ink: #ffffff;
  }

  .site-header,
  .hero-actions,
  .audience-switch {
    display: none;
  }

  .hero,
  .section {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .direction,
  .audience-main,
  .validation-card,
  .storyboard article,
  .price-block,
  .extras-grid,
  .channel-map,
  .launch-grid article,
  .meeting-close {
    break-inside: avoid;
  }
}
