/* CWH Neuro Restoration — factory build from Abi design handoff */

:root {
  --cwh-paper: #f6f2e9;
  --cwh-paper-light: #fbf8f1;
  --cwh-paper-warm: #efe9dc;
  --cwh-sand: #eae3d6;
  --cwh-hairline: #dcd3c2;
  --cwh-hairline-warm: #e7e0d1;
  --cwh-rule: #b9a995;
  --cwh-border-mid: #8e8571;
  --cwh-ink: #1f1d1a;
  --cwh-ink-nav: #312f29;
  --cwh-body: #5a564e;
  --cwh-body-deep: #4e4a42;
  --cwh-olive: #6b7355;
  --cwh-olive-dark: #4b5240;
  --cwh-btn-olive: #7a8358;
  --cwh-btn-olive-hover: #697048;
  --cwh-sage: #a3ad8f;
  --cwh-sage-pale: #dee2d4;
  --cwh-error: #a85c42;
  --cwh-font-body: "Jost", system-ui, sans-serif;
  --cwh-font-display: "Cormorant Garamond", Georgia, serif;
  --cwh-font-script: "Parisienne", cursive;
  --cwh-ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cwh-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --cwh-section-x: clamp(24px, 7vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--cwh-paper);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--cwh-font-body);
  font-weight: 300;
  color: var(--cwh-body);
  background: var(--cwh-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

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

a {
  color: var(--cwh-olive);
  text-decoration: none;
}

a:hover {
  color: var(--cwh-ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--cwh-ink);
  color: var(--cwh-paper-light);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--cwh-olive);
  outline-offset: 2px;
}

.cwh-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.cwh-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Header */
.cwh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(246, 242, 233, 0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid rgba(107, 115, 85, 0);
  transition:
    background 500ms var(--cwh-ease-standard),
    backdrop-filter 500ms var(--cwh-ease-standard),
    border-color 500ms var(--cwh-ease-standard),
    padding 500ms var(--cwh-ease-standard);
}

.cwh-header.is-scrolled {
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(107, 115, 85, 0.14);
}

.cwh-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}

.cwh-header__nav--left {
  justify-content: flex-start;
}

.cwh-header__nav--right {
  justify-content: flex-end;
}

.cwh-nav-link {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cwh-ink-nav);
}

.cwh-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--cwh-olive);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 400ms var(--cwh-ease-standard);
}

.cwh-nav-link:hover::after,
.cwh-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.cwh-nav-link:focus-visible {
  outline: 2px solid var(--cwh-olive);
  outline-offset: 4px;
}

.cwh-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transform-origin: center top;
  transition: transform 500ms var(--cwh-ease-standard);
}

.cwh-header.is-scrolled .cwh-logo {
  transform: scale(0.85);
}

.cwh-logo img {
  height: clamp(58px, 8vw, 88px);
  width: auto;
}

.cwh-logo__wordmark {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cwh-olive-dark);
  line-height: 1.15;
  max-width: 10.5rem;
  text-align: center;
}

.cwh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background 400ms var(--cwh-ease-standard),
    border-color 400ms var(--cwh-ease-standard),
    color 400ms var(--cwh-ease-standard);
  cursor: pointer;
  border: none;
}

.cwh-btn--header {
  padding: 13px 24px;
  border: 1px solid var(--cwh-border-mid);
  color: var(--cwh-olive-dark);
  background: transparent;
}

.cwh-btn--header:hover,
.cwh-btn--header:focus-visible {
  background: var(--cwh-olive);
  border-color: var(--cwh-olive);
  color: var(--cwh-paper);
}

.cwh-btn--primary {
  padding: 19px 40px;
  background: var(--cwh-btn-olive);
  color: var(--cwh-paper-light);
  font-size: 10.5px;
  letter-spacing: 0.24em;
}

.cwh-btn--primary:hover,
.cwh-btn--primary:focus-visible {
  background: var(--cwh-btn-olive-hover);
}

.cwh-btn--submit {
  padding: 18px 38px;
  background: var(--cwh-paper);
  color: var(--cwh-olive);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  align-self: flex-start;
  margin-top: 8px;
}

.cwh-btn--submit:hover,
.cwh-btn--submit:focus-visible {
  background: var(--cwh-sand);
}

.cwh-btn:focus-visible {
  outline: 2px solid var(--cwh-olive);
  outline-offset: 2px;
}

.cwh-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--cwh-hairline);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.cwh-nav-toggle__bars,
.cwh-nav-toggle__bars::before,
.cwh-nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cwh-ink-nav);
  position: relative;
  transition: transform 400ms var(--cwh-ease-standard), background 400ms var(--cwh-ease-standard);
}

.cwh-nav-toggle__bars::before,
.cwh-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.cwh-nav-toggle__bars::before {
  top: -6px;
}

.cwh-nav-toggle__bars::after {
  top: 6px;
}

.cwh-nav-toggle[aria-expanded="true"] .cwh-nav-toggle__bars {
  background: transparent;
}

.cwh-nav-toggle[aria-expanded="true"] .cwh-nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.cwh-nav-toggle[aria-expanded="true"] .cwh-nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.cwh-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  visibility: hidden;
}

.cwh-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cwh-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 29, 26, 0.35);
  opacity: 0;
  transition: opacity 400ms var(--cwh-ease-standard);
}

.cwh-drawer.is-open .cwh-drawer__backdrop {
  opacity: 1;
}

.cwh-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 360px);
  height: 100%;
  background: var(--cwh-paper);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 500ms var(--cwh-ease-soft);
  box-shadow: -20px 0 60px rgba(31, 29, 26, 0.12);
}

.cwh-drawer.is-open .cwh-drawer__panel {
  transform: translateX(0);
}

.cwh-drawer__link {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cwh-ink-nav);
}

/* Hero */
.cwh-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 184px var(--cwh-section-x) 90px;
  overflow: hidden;
}

.cwh-hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, var(--cwh-paper-light) 0%, var(--cwh-paper) 60%, var(--cwh-paper-warm) 100%);
  pointer-events: none;
}

.cwh-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.cwh-hero__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.cwh-hero__bg-picture .cwh-hero__bg-image {
  position: absolute;
  inset: 0;
}

.cwh-hero__inner {
  position: relative;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cwh-hero h1 {
  margin: 0;
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--cwh-ink);
  text-wrap: balance;
}

.cwh-hero h1 em {
  font-style: italic;
}

.cwh-hero__lede {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.85;
  text-wrap: pretty;
}

.cwh-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cwh-eyebrow-row span {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cwh-olive-dark);
}

.cwh-eyebrow-row .cwh-rule {
  width: 26px;
  height: 1px;
  background: var(--cwh-rule);
}

.cwh-hero__cta {
  margin-top: 36px;
}

.cwh-scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  width: 1px;
  height: 40px;
  margin-left: -0.5px;
  background: linear-gradient(var(--cwh-rule), rgba(185, 169, 149, 0));
  transform-origin: top center;
  animation: cwh-cue 3s var(--cwh-ease-standard) infinite;
}

@keyframes cwh-cue {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* Sections */
.cwh-section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) var(--cwh-section-x);
  overflow: hidden;
}

.cwh-section--approach {
  padding-top: clamp(100px, 13vw, 180px);
}

.cwh-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.cwh-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.cwh-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cwh-olive);
}

.cwh-section--approach .cwh-eyebrow {
  color: var(--cwh-olive);
}

.cwh-h2 {
  margin: 26px 0 0;
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  color: var(--cwh-ink);
}

.cwh-h2--upper {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.cwh-rule-draw {
  width: 64px;
  height: 1px;
  margin-top: 34px;
  background: var(--cwh-rule);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1200ms var(--cwh-ease-soft);
}

.cwh-rule-draw.is-drawn {
  transform: scaleX(1);
}

.cwh-copy {
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.cwh-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 560px;
}

.cwh-pullquote {
  margin: 22px 0 0;
  padding-left: 28px;
  border-left: 1px solid var(--cwh-sage);
  font-family: var(--cwh-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  color: var(--cwh-ink);
}

.cwh-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 10px;
}

.cwh-divider__line {
  width: min(24vw, 180px);
  height: 1px;
  background: var(--cwh-hairline);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1200ms var(--cwh-ease-soft);
}

.cwh-divider__line.is-drawn {
  transform: scaleX(1);
}

.cwh-divider img {
  width: 42px;
}

.cwh-section--services {
  margin-top: clamp(60px, 8vw, 110px);
  padding: clamp(90px, 11vw, 150px) var(--cwh-section-x);
  background: var(--cwh-sand);
}

.cwh-section--services .cwh-h2 {
  margin-top: 24px;
  text-align: center;
}

.cwh-section--services .cwh-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cwh-sprig {
  position: absolute;
  color: var(--cwh-olive);
  opacity: 0.1;
  pointer-events: none;
}

.cwh-sprig--services {
  bottom: -22%;
  left: -20%;
  width: min(52vw, 620px);
  transform: scaleX(-1);
}

.cwh-sprig--sanctuary {
  top: -14%;
  right: -22%;
  width: min(56vw, 680px);
}

.cwh-cards {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.cwh-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(30px, 3vw, 44px);
  background: var(--cwh-paper);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(31, 29, 26, 0.05);
  transition:
    transform 400ms var(--cwh-ease-standard),
    box-shadow 400ms var(--cwh-ease-standard);
}

.cwh-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -34px rgba(31, 29, 26, 0.32);
}

.cwh-card h3 {
  margin: 0;
  font-family: var(--cwh-font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--cwh-ink);
}

.cwh-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
}

.cwh-card__link {
  position: relative;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cwh-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--cwh-olive);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms var(--cwh-ease-standard);
}

.cwh-card__link:hover::after {
  transform: scaleX(1);
}

.cwh-signals {
  padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 72px);
  background: var(--cwh-paper);
}

.cwh-signals__grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.cwh-signal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 12px;
  border-left: 1px solid var(--cwh-hairline);
}

.cwh-signal:first-child {
  border-left-color: transparent;
}

@media (max-width: 639px) {
  .cwh-signals__grid .cwh-signal:nth-child(odd) {
    border-left-color: transparent;
  }
}

@media (min-width: 640px) {
  .cwh-signals__grid .cwh-signal:nth-child(4n + 1) {
    border-left-color: transparent;
  }
}

.cwh-signal svg {
  width: 26px;
  height: 26px;
  color: var(--cwh-olive);
}

.cwh-signal span {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
}

.cwh-familiar {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 100px) clamp(90px, 11vw, 150px);
}

.cwh-familiar__arc {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 18%;
  bottom: 0;
  background: var(--cwh-sage);
  opacity: 0.28;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
  pointer-events: none;
}

.cwh-familiar__card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 76px);
  background: var(--cwh-paper);
  border-radius: 14px;
  box-shadow: 0 30px 70px -50px rgba(31, 29, 26, 0.35);
}

.cwh-familiar__card h2 {
  margin: 0;
  text-align: center;
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--cwh-ink);
}

.cwh-familiar__list {
  margin: clamp(32px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
}

.cwh-familiar__list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--cwh-hairline-warm);
  font-size: 15.5px;
  line-height: 1.75;
}

.cwh-familiar__list li:last-child {
  border-bottom: none;
}

.cwh-familiar__list img {
  width: 26px;
  flex: none;
}

.cwh-familiar__close {
  margin: clamp(32px, 4vw, 48px) 0 0;
  text-align: center;
  font-family: var(--cwh-font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.6;
  color: var(--cwh-ink);
}

.cwh-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: clamp(90px, 24vw, 180px) clamp(90px, 24vw, 180px) 6px 6px;
  background: var(--cwh-sand);
}

.cwh-portrait img[data-inner] {
  position: absolute;
  inset: -2% 0 -14% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 6%;
  will-change: transform;
}

.cwh-welcome {
  display: block;
  font-family: var(--cwh-font-script);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  color: var(--cwh-olive);
}

.cwh-welcome.is-written {
  animation: cwh-write 1800ms var(--cwh-ease-soft) forwards;
}

@keyframes cwh-write {
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

.cwh-welcome {
  -webkit-mask-image: linear-gradient(90deg, #000 0 42%, transparent 58% 100%);
  mask-image: linear-gradient(90deg, #000 0 42%, transparent 58% 100%);
  -webkit-mask-size: 240% 100%;
  mask-size: 240% 100%;
  -webkit-mask-position: -140% 0;
  mask-position: -140% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.cwh-role {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cwh-olive);
}

.cwh-rule-short {
  width: 48px;
  height: 1px;
  margin: 30px 0;
  background: var(--cwh-rule);
}

.cwh-signoff {
  margin: 22px 0 0;
  font-family: var(--cwh-font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--cwh-ink);
}

.cwh-section--sanctuary {
  background: var(--cwh-sage-pale);
}

.cwh-section--sanctuary .cwh-copy {
  color: var(--cwh-body-deep);
  max-width: 520px;
  margin-top: 26px;
}

.cwh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.cwh-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--cwh-paper);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cwh-chip svg {
  width: 15px;
  height: 15px;
  color: var(--cwh-olive);
  flex: none;
}

.cwh-chip img {
  width: 18px;
}

.cwh-sanctuary__images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cwh-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cwh-sand);
}

.cwh-frame--square {
  aspect-ratio: 1 / 1;
}

.cwh-frame--wide {
  aspect-ratio: 16 / 9;
}

.cwh-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cwh-frame--square img[data-inner] {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 30%;
  will-change: transform;
}

.cwh-frame--wide img[data-inner] {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.cwh-section--contact {
  background: var(--cwh-olive);
  color: var(--cwh-paper-light);
  padding: clamp(100px, 12vw, 170px) var(--cwh-section-x);
}

.cwh-section--contact .cwh-h2 {
  color: var(--cwh-paper-light);
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.22;
  margin: 0;
}

.cwh-section--contact .cwh-copy {
  color: rgba(251, 248, 241, 0.82);
  font-size: 15.5px;
  max-width: 440px;
  margin-top: 30px;
}

.cwh-section--contact .cwh-eyebrow-row span {
  color: rgba(251, 248, 241, 0.7);
  font-size: 10px;
}

.cwh-section--contact .cwh-eyebrow-row .cwh-rule {
  width: 20px;
  background: rgba(251, 248, 241, 0.4);
}

.cwh-contact-grid {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.cwh-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cwh-field {
  position: relative;
  padding-top: 20px;
}

.cwh-field label {
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(251, 248, 241, 0.72);
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 400ms var(--cwh-ease-standard),
    opacity 400ms var(--cwh-ease-standard);
}

.cwh-field input,
.cwh-field textarea {
  width: 100%;
  padding: 4px 0 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(251, 248, 241, 0.35);
  color: var(--cwh-paper-light);
  font-size: 14px;
  outline: none;
  resize: none;
  line-height: 1.7;
}

.cwh-field__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cwh-sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms var(--cwh-ease-standard);
}

.cwh-field.is-focused label,
.cwh-field.is-filled label {
  transform: translateY(-19px) scale(0.72);
  opacity: 0.8;
}

.cwh-field.is-focused .cwh-field__underline,
.cwh-field.is-filled .cwh-field__underline {
  transform: scaleX(1);
}

.cwh-field input:focus-visible,
.cwh-field textarea:focus-visible {
  outline: 2px solid var(--cwh-sand);
  outline-offset: 4px;
}

.cwh-field-error {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #e8b4a8;
}

.cwh-form-note {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 241, 0.6);
}

.cwh-form-success {
  padding: 24px 0;
  color: var(--cwh-paper-light);
}

.cwh-form-success h3 {
  margin: 0 0 12px;
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 32px);
}

.form-error {
  color: #e8b4a8;
  font-size: 13px;
}

.cwh-footer {
  padding: clamp(48px, 5vw, 68px) var(--cwh-section-x) 40px;
  background: var(--cwh-paper);
}

.cwh-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}

.cwh-footer__logo img {
  height: 72px;
}

.cwh-footer__logo span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cwh-olive-dark);
}

.cwh-footer__social {
  display: flex;
  gap: 16px;
}

.cwh-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--cwh-hairline);
  border-radius: 50%;
  color: var(--cwh-olive);
  transition: border-color 400ms var(--cwh-ease-standard);
}

.cwh-footer__social a:hover {
  border-color: var(--cwh-olive);
}

.cwh-footer__social svg {
  width: 16px;
  height: 16px;
}

.cwh-footer__fine {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: auto;
  text-align: right;
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.cwh-footer__fine a {
  color: var(--cwh-body);
}

.cwh-rise {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--cwh-ease-soft),
    transform 900ms var(--cwh-ease-soft);
}

.cwh-rise.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cwh-studio-credit {
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cwh-hairline);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}

.cwh-studio-credit a {
  color: var(--cwh-body);
}

.cwh-page {
  padding: 140px var(--cwh-section-x) 80px;
  min-height: 60vh;
}

.cwh-page .cwh-inner {
  max-width: 720px;
}

.cwh-page h1 {
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--cwh-ink);
}

.cwh-prose h2 {
  font-family: var(--cwh-font-display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--cwh-ink);
  margin: 2rem 0 0.75rem;
}

.cwh-prose p,
.cwh-prose li {
  line-height: 1.85;
}

.cwh-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--cwh-section-x);
  border-bottom: 1px solid var(--cwh-hairline);
}

.cwh-page-header a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .cwh-header__nav--desktop {
    display: none;
  }

  .cwh-nav-toggle {
    display: inline-flex;
  }

  .cwh-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .cwh-header.is-scrolled {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .cwh-logo {
    justify-self: center;
    grid-column: 1;
    grid-row: 1;
  }

  .cwh-nav-toggle {
    position: absolute;
    right: max(20px, env(safe-area-inset-right, 0px));
    top: 50%;
    margin-left: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 720px) {
  .cwh-btn--header.cwh-header__cta-desktop {
    display: none;
  }

  .cwh-eyebrow-row {
    display: block;
    text-align: center;
    line-height: 1.9;
  }

  .cwh-eyebrow-row .cwh-rule {
    display: none;
  }

  .cwh-eyebrow-row > span:not(.cwh-rule) {
    display: inline;
    white-space: normal;
  }

  .cwh-eyebrow-row > span:not(.cwh-rule):not(:first-child)::before {
    content: "·";
    margin: 0 0.55em;
    letter-spacing: 0;
    opacity: 0.75;
  }

  /* Mobile hero layout: option 3 (mid-hero band) — Deliverables/2026-08-31-cwh-mobile-hero-layout-options */
  .cwh-hero {
    min-height: min(100svh, 820px);
    padding: 0 var(--cwh-section-x) 40px;
    justify-content: flex-start;
  }

  .cwh-hero h1 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .cwh-hero__lede {
    margin-top: 14px;
    font-size: 15px;
  }

  .cwh-eyebrow-row {
    margin-top: 22px;
  }

  .cwh-hero__cta {
    margin-top: 28px;
  }

  .cwh-hero__bg-gradient {
    background: linear-gradient(
      180deg,
      rgba(246, 242, 233, 0.08) 0%,
      rgba(246, 242, 233, 0.42) 42%,
      rgba(246, 242, 233, 0.88) 68%,
      var(--cwh-paper) 100%
    );
  }

  .cwh-hero__bg-picture,
  .cwh-hero__bg-image {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
  }

  .cwh-hero__inner {
    position: relative;
    width: 100%;
    /* Headline band ~38–40% viewport; clears fixed header logo */
    padding-top: clamp(172px, 38svh, 360px);
    transform: none;
  }

  .cwh-scroll-cue {
    bottom: 24px;
  }

  .cwh-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .cwh-footer__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cwh-footer__inner .cwh-eyebrow-row {
    justify-content: center;
  }

  .cwh-footer__social {
    justify-content: center;
  }

  .cwh-footer__fine {
    margin-left: 0;
    align-items: center;
    text-align: center;
    max-width: 22rem;
    line-height: 1.7;
    letter-spacing: 0.1em;
  }
}

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

  .cwh-scroll-cue {
    animation: none;
    opacity: 0.5;
    transform: scaleY(1);
  }

  .cwh-rise,
  .cwh-card:hover {
    transition: opacity 300ms linear;
    transform: none !important;
  }

  .cwh-welcome {
    -webkit-mask-image: none;
    mask-image: none;
    animation: none !important;
  }

  [data-parallax],
  [data-inner] {
    transform: none !important;
  }
}
