:root {
  --ivory: #f4f0e8;
  --paper: #fbf8f1;
  --ink: #181b17;
  --deep: #0d1110;
  --deep-2: #151916;
  --muted: rgba(24, 27, 23, 0.64);
  --mist: rgba(251, 248, 241, 0.72);
  --line: rgba(24, 27, 23, 0.16);
  --dark-line: rgba(251, 248, 241, 0.16);
  --cedar: #936746;
  --lantern: #d8a15e;
  --moss: #74806e;
  --shadow: 0 34px 90px rgba(8, 12, 10, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
}

::selection {
  background: rgba(147, 103, 70, 0.2);
  color: var(--ink);
}

body.dark-page {
  background: var(--deep);
  color: var(--paper);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform 220ms ease;
}

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

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

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

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

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px clamp(28px, 5.5vw, 76px);
  color: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
  animation: header-settle 900ms ease-out both;
}

.brand,
.site-nav,
.menu-button {
  pointer-events: auto;
}

.brand {
  display: grid;
  gap: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 0.92;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(26px, 4vw, 58px);
  padding-top: 4px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  opacity: 0.66;
  transition: opacity 280ms ease, transform 280ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.36);
  transform-origin: center;
  transition: opacity 360ms ease, transform 360ms ease;
}

.site-nav a:hover,
.site-nav .active {
  opacity: 1;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav .active::after {
  opacity: 0.48;
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--paper);
  background: var(--deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.012);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.92) 0%, rgba(5, 7, 6, 0.58) 27%, rgba(5, 7, 6, 0.08) 57%, rgba(5, 7, 6, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.18), rgba(5, 7, 6, 0.38));
}

.home-calm {
  background: var(--paper);
}

.calm-hero {
  min-height: 94vh;
}

.calm-hero .hero-image {
  object-position: center;
  filter: saturate(0.9) contrast(0.98);
  animation: still-breath 24s ease-in-out infinite alternate;
}

.calm-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.74), rgba(5, 7, 6, 0.18) 50%, rgba(5, 7, 6, 0.2)),
    linear-gradient(180deg, rgba(5, 7, 6, 0.08), rgba(5, 7, 6, 0.34));
}

.calm-hero .hero-copy {
  width: min(620px, calc(100% - 56px));
  bottom: clamp(70px, 10vw, 122px);
}

.calm-hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.calm-hero p {
  width: min(420px, 100%);
  color: rgba(251, 248, 241, 0.76);
}

.hero-copy {
  position: absolute;
  left: clamp(28px, 5.5vw, 78px);
  bottom: clamp(66px, 11vw, 132px);
  width: min(470px, calc(100% - 56px));
  animation: quiet-arrival 1200ms 160ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 82px);
  line-height: 1.18;
}

.hero p {
  width: min(330px, 100%);
  margin-top: 28px;
  color: rgba(251, 248, 241, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.scroll-cue {
  position: relative;
  display: inline-block;
  margin-top: clamp(56px, 9vw, 104px);
  padding-bottom: 58px;
  color: rgba(251, 248, 241, 0.68);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 44px;
  background: rgba(251, 248, 241, 0.62);
}

.calm-statement {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(92px, 13vw, 168px) 0 clamp(72px, 10vw, 126px);
  text-align: center;
}

.calm-statement .small-title,
.calm-pair .small-title {
  color: rgba(147, 103, 70, 0.84);
}

.calm-statement h2,
.calm-pair h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.calm-statement > p:not(.small-title) {
  width: min(620px, 100%);
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.calm-pair {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto clamp(80px, 12vw, 150px);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 0.78fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  padding-top: clamp(28px, 5vw, 72px);
  border-top: 1px solid rgba(24, 27, 23, 0.1);
}

.calm-pair figure {
  margin: 0;
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 1.18 / 1;
}

.calm-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calm-pair p:not(.small-title) {
  max-width: 440px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.text-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(24, 27, 23, 0.38);
  padding-bottom: 8px;
  transition: border-color 320ms ease, color 320ms ease, transform 320ms ease;
}

.text-link:hover {
  color: var(--cedar);
  border-color: currentColor;
  transform: translateX(3px);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.motion-ready .image-reveal {
  opacity: 0;
  clip-path: inset(6% 0 0 0);
  transition:
    opacity 1100ms cubic-bezier(0.19, 1, 0.22, 1),
    clip-path 1100ms cubic-bezier(0.19, 1, 0.22, 1);
}

.motion-ready .image-reveal.is-visible {
  opacity: 1;
  clip-path: inset(0);
}

@keyframes quiet-arrival {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes header-settle {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@keyframes still-breath {
  from {
    transform: scale(1.012);
  }

  to {
    transform: scale(1.026);
  }
}

.small-title {
  margin-bottom: 22px;
  color: var(--cedar);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hairline {
  width: 52px;
  height: 1px;
  margin: 28px 0;
  background: currentColor;
  opacity: 0.44;
}

.essence-section {
  display: grid;
  grid-template-columns: minmax(320px, 41.5%) 1fr;
  min-height: 620px;
}

.essence-copy {
  position: relative;
  padding: clamp(66px, 9vw, 112px) clamp(34px, 6vw, 88px);
  background:
    radial-gradient(circle at 78% 86%, rgba(24, 27, 23, 0.06), transparent 18%),
    var(--paper);
}

.essence-copy h2,
.visit-feature h2,
.visit-panel h1 {
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.35;
}

.essence-copy p:not(.small-title),
.visit-feature p,
.visit-panel > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.essence-copy p + p {
  margin-top: 26px;
}

.botanical-mark {
  position: absolute;
  right: 72px;
  bottom: 34px;
  width: 138px;
  height: 180px;
  opacity: 0.16;
}

.botanical-mark::before,
.botanical-mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 68px;
  width: 1px;
  height: 170px;
  background: var(--ink);
  transform: rotate(-18deg);
}

.botanical-mark::after {
  left: 64px;
  height: 120px;
  transform: rotate(28deg);
}

.essence-image,
.visit-feature figure,
.garden-mosaic figure,
.visit-image {
  margin: 0;
  overflow: hidden;
  background: var(--deep);
}

.essence-image img,
.visit-feature img,
.garden-mosaic img,
.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.balance-section {
  position: relative;
  padding: clamp(70px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 89% 58%, rgba(216, 161, 94, 0.08), transparent 26%),
    linear-gradient(90deg, #101411, #181c18 52%, #101411);
  color: var(--paper);
}

.balance-section::after {
  content: "";
  position: absolute;
  right: clamp(20px, 7vw, 104px);
  bottom: 54px;
  width: 180px;
  height: 260px;
  border-right: 1px solid rgba(216, 161, 94, 0.14);
  border-radius: 50%;
  opacity: 0.52;
}

.balance-section.standalone {
  padding-top: 0;
}

.balance-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.balance-gallery {
  display: grid;
  gap: 16px;
}

.balance-gallery img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}

.balance-gallery img:first-of-type {
  object-position: center;
}

.balance-timeline {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--dark-line);
}

.balance-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
  padding: 22px 0 22px 48px;
}

.balance-timeline article::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 32px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lantern);
  box-shadow: 0 0 0 5px rgba(216, 161, 94, 0.08);
}

.balance-timeline time {
  padding-top: 5px;
  color: rgba(251, 248, 241, 0.62);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.balance-timeline h3 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.08em;
  text-transform: none;
}

.balance-timeline p {
  max-width: 380px;
  color: rgba(251, 248, 241, 0.58);
  font-size: 13px;
  line-height: 1.75;
}

.visit-feature {
  display: grid;
  grid-template-columns: minmax(300px, 35.5%) 1fr;
  min-height: 650px;
}

.visit-feature-copy {
  padding: clamp(60px, 8vw, 96px) clamp(34px, 5.8vw, 76px);
  background: var(--paper);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 34px;
  border: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
    background 320ms ease,
    color 320ms ease,
    border-color 320ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 248, 241, 0.1);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.button:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.button:disabled::before {
  opacity: 0;
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
}

.button.dark:hover {
  background: transparent;
  color: var(--ink);
}

.button.dark:focus-visible {
  outline-color: var(--cedar);
}

.page {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 134px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 8vw, 112px);
  align-items: end;
  padding: clamp(50px, 7vw, 96px) 0;
}

.page-hero.narrow {
  display: block;
  max-width: 940px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
}

.page-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.dark-page .page-hero p,
.dark-page .small-title {
  color: rgba(251, 248, 241, 0.62);
}

.garden-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: 300px 300px;
  gap: 18px;
}

.garden-mosaic .mosaic-large {
  grid-row: span 2;
}

.garden-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(70px, 9vw, 116px) 0;
  background: var(--line);
}

.garden-grid article {
  min-height: 300px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--ivory);
}

.garden-grid span {
  color: var(--cedar);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.garden-grid h2 {
  margin: 70px 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0.09em;
}

.garden-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.rituals-page {
  width: 100%;
  padding-top: 134px;
}

.rituals-page .page-hero {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
}

.visit-page {
  padding-top: 0;
}

.visit-composition {
  display: grid;
  grid-template-columns: minmax(320px, 35.5%) 1fr;
  min-height: calc(100vh - 72px);
}

.visit-panel {
  padding: clamp(92px, 11vw, 150px) clamp(32px, 5.5vw, 72px) 58px;
  background: var(--paper);
}

.visit-form {
  display: grid;
  gap: 17px;
  margin-top: 30px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(24, 27, 23, 0.66);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

label span {
  color: rgba(24, 27, 23, 0.46);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 27, 23, 0.18);
  border-radius: 0;
  background: rgba(244, 240, 232, 0.34);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  padding: 11px 12px;
  outline: none;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(24, 27, 23, 0.28);
  background: rgba(251, 248, 241, 0.44);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cedar);
  background: rgba(251, 248, 241, 0.62);
  box-shadow: 0 0 0 3px rgba(147, 103, 70, 0.07);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  color: rgba(24, 27, 23, 0.54);
  font-size: 12px;
  line-height: 1.6;
  transition: color 260ms ease, opacity 260ms ease;
}

.visit-form.is-sent .form-note {
  color: var(--cedar);
}

.visit-form.is-sent .button {
  border-color: var(--cedar);
}

.visit-image img {
  object-position: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(28px, 5.5vw, 76px);
  color: rgba(24, 27, 23, 0.62);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  gap: clamp(20px, 4vw, 58px);
}

.site-footer a {
  position: relative;
  transition: color 260ms ease, opacity 260ms ease;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 320ms ease, transform 320ms ease;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--cedar);
}

.site-footer a:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
}

.site-footer.dark-footer {
  background: var(--deep);
  color: rgba(251, 248, 241, 0.62);
}

@media (max-width: 860px) {
  .site-header {
    padding: 24px 22px;
  }

  .menu-button {
    display: inline-grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    transition: transform 260ms ease, background 260ms ease;
  }

  .menu-button span {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 260ms ease;
  }

  .menu-button:hover {
    background: rgba(251, 248, 241, 0.08);
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(28deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-28deg);
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 22px;
    display: grid;
    min-width: 230px;
    padding: 22px;
    background: rgba(9, 12, 10, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition:
      opacity 260ms ease,
      transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
      visibility 0s linear 260ms;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
      opacity 260ms ease,
      transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
      visibility 0s;
  }

  .hero-copy {
    left: 24px;
    bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 60px);
  }

  .calm-hero {
    min-height: 86vh;
  }

  .calm-hero .hero-copy {
    bottom: 58px;
  }

  .calm-statement {
    text-align: left;
    padding: 76px 0 58px;
  }

  .calm-pair {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

  .calm-pair figure {
    aspect-ratio: 1 / 1.08;
  }

  .essence-section,
  .balance-inner,
  .visit-feature,
  .page-hero,
  .garden-mosaic,
  .garden-grid,
  .visit-composition {
    grid-template-columns: 1fr;
  }

  .essence-section,
  .visit-feature,
  .visit-composition {
    min-height: 0;
  }

  .essence-image,
  .visit-feature figure,
  .visit-image {
    min-height: 420px;
  }

  .balance-timeline article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 34px;
  }

  .garden-mosaic {
    grid-template-rows: auto;
  }

  .garden-mosaic figure,
  .garden-mosaic .mosaic-large {
    min-height: 310px;
    grid-row: auto;
  }

  .garden-grid {
    gap: 0;
  }

  .garden-grid article {
    border-bottom: 1px solid var(--line);
  }

  .page,
  .rituals-page {
    padding-top: 96px;
  }

  .visit-panel {
    padding-top: 110px;
  }

  .site-footer,
  .site-footer nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .motion-ready .reveal,
  .motion-ready .image-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
