:root {
  --mineral: #243f3c;
  --terra: #c46b4a;
  --stone: #f3f6f4;
  --foam: #ffffff;
  --ink: #1c2e2c;
  --mute: #51615e;
  --line: #c9d4d0;
  --radius: 13px;
  --wall: 17.5rem;
  --measure: 38rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--stone);
  background-image:
    radial-gradient(circle at 92% 88%, rgba(196, 107, 74, 0.08) 0 9%, transparent 10%),
    radial-gradient(circle at 92% 88%, rgba(36, 63, 60, 0.06) 0 17%, transparent 18%),
    radial-gradient(circle at 92% 88%, rgba(196, 107, 74, 0.05) 0 26%, transparent 27%);
  background-repeat: no-repeat;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--mineral);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--terra); }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--mineral);
}

h1 { font-size: clamp(2.05rem, 4vw, 2.9rem); margin: 0 0 1rem; }
h2,
.block-title { font-size: 1.45rem; margin: 0 0 0.75rem; }
h3,
.slip__title { font-size: 1.18rem; margin: 0 0 0.4rem; }

.block-title,
.slip__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--mineral);
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--foam);
  padding: 0.4rem 0.7rem;
}

.skip:focus { left: 0.5rem; z-index: 8; }

.deck {
  display: grid;
  grid-template-columns: var(--wall) 1fr;
  min-height: 100vh;
}

.bath-wall {
  background: var(--mineral);
  color: var(--stone);
  padding: 1.6rem 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border-right: 13px solid var(--terra);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--stone);
}

.brand:hover { color: var(--terra); }

.brand__name {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.28rem;
}

.brand__sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7c8c4;
}

.menu-btn {
  display: none;
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--stone);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nav a {
  text-decoration: none;
  color: #c9d8d4;
  padding-left: 0.7rem;
  border-left: 2px solid transparent;
}

.nav a:hover,
.nav a.is-on {
  color: #fff;
  border-left-color: var(--terra);
}

.wall-art {
  margin-top: auto;
}

.wall-basin {
  width: 100%;
  max-width: 11rem;
  height: auto;
}

.steam-tick { animation: steam-rise 0.9s ease both; }
.steam-tick:nth-child(2) { animation-delay: 0.12s; }
.steam-tick:nth-child(3) { animation-delay: 0.24s; }

@keyframes steam-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wall-ticks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wall-ticks li {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7c0b4;
}

.pool {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.reading {
  flex: 1;
  min-width: 0;
}

.page-home .slip-stack {
  padding-top: 2.8rem;
}

.cistern {
  padding: 3.2rem 2rem 2rem;
  max-width: 44rem;
}

.page-home .cistern {
  padding-top: 1.8rem;
}

.cistern__brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  color: var(--terra);
  margin-bottom: 0.3rem;
}

.cistern__lead { color: var(--mute); }

.cistern__note {
  margin: 0 0 1.1rem;
  padding: 0 0 0 1.1rem;
  border-left: 4px solid var(--terra);
  color: var(--mute);
}

.ladder-block,
.descent,
.slip-stack,
.plate,
.leaf,
.prose,
.slip-stack--page {
  padding: 1.4rem 2rem 0.2rem;
  max-width: 44rem;
}

.block__lead,
.leaf__lead { color: var(--mute); }

.ladder {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0 0 0 0.85rem;
  border-left: 2px solid var(--terra);
}

.rung {
  position: relative;
  padding: 0 0 1.15rem 1.1rem;
}

.rung::before {
  content: "";
  position: absolute;
  left: -0.72rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--stone);
  border: 2px solid var(--terra);
}

.rung__meta {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.2rem;
}

.rung a {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  text-decoration: none;
}

.rung p { margin: 0.25rem 0 0; color: var(--mute); }

.descent__list,
.steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  counter-reset: descent;
}

.descent__list li,
.steps li {
  counter-increment: descent;
  padding: 0.55rem 0 0.55rem 2.4rem;
  border-bottom: 1px dashed var(--line);
  position: relative;
}

.descent__list li::before,
.steps li::before {
  content: counter(descent);
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--terra);
}

.slip {
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.slip p { margin: 0; color: var(--mute); }

.plate {
  margin: 1.6rem 2rem 2.4rem;
  padding: 1.4rem 1.3rem 1.5rem;
  max-width: 40rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-left: 6px solid var(--mineral);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cta {
  display: inline-block;
  background: var(--terra);
  color: #fff8f4;
  text-decoration: none;
  border: 1px solid var(--terra);
  border-radius: var(--radius);
  padding: 0.64rem 1.2rem;
  font: inherit;
  cursor: pointer;
}

.cta:hover {
  background: var(--mineral);
  border-color: var(--mineral);
  color: var(--stone);
}

.cta--ghost {
  background: transparent;
  color: var(--mineral);
  border-color: var(--mineral);
}

.cta--ghost:hover {
  background: var(--mineral);
  color: var(--stone);
}

.text-link { color: var(--mineral); }

.dot { margin: 0 0.4rem; color: var(--line); }

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}

.leaf { padding-top: 2.4rem; }

.prose { padding-top: 0.3rem; padding-bottom: 2.6rem; }

.fields { margin: 0 0 1.4rem; }

.fields > div {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
}

.fields dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.2rem;
}

.fields dd { margin: 0; }

.link-list,
.prose ul { padding-left: 1.15rem; }

.faq-item {
  border-top: 1px dashed var(--line);
  padding: 1rem 0 0.4rem;
}

.faq-item h2 { font-size: 1.2rem; }

.inquiry {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.inquiry label { display: grid; gap: 0.3rem; }

.inquiry input,
.inquiry textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--foam);
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--ink);
}

.inquiry input:focus,
.inquiry textarea:focus {
  outline: 2px solid var(--terra);
  border-color: var(--terra);
}

.fine { font-size: 0.92rem; color: var(--mute); }

.threshold {
  margin-top: auto;
  padding: 1.8rem 2rem 1.6rem;
  border-top: 6px solid var(--mineral);
  background: #e8eeeb;
  color: var(--mute);
  font-size: 0.95rem;
}

.threshold__name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  color: var(--mineral);
  margin-bottom: 0.4rem;
}

.threshold__warn { font-size: 0.92rem; }

.threshold__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.8rem 0 1rem;
}

.threshold__links a { text-decoration: none; }

.threshold__copy { color: #6d7c79; font-size: 0.86rem; }

@media (max-width: 860px) {
  .deck { grid-template-columns: 1fr; }

  .bath-wall {
    border-right: 0;
    border-bottom: 8px solid var(--terra);
    padding: 1rem 1.15rem 1.1rem;
  }

  .bath-wall__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .menu-btn { display: inline-block; }

  .nav {
    display: none;
    padding-top: 0.7rem;
  }

  .nav.is-open { display: flex; }

  .wall-art { display: none; }

  .cistern,
  .ladder-block,
  .descent,
  .slip-stack,
  .leaf,
  .prose,
  .plate {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    margin-left: 0;
    margin-right: 0;
  }

  .threshold { padding-left: 1.15rem; padding-right: 1.15rem; }
}
