body:has(.wan-home),
.wan-home {
  --wan-paper: #f2eee3;
  --wan-paper-light: #fbf8f0;
  --wan-ink: #18231f;
  --wan-ink-soft: #34443e;
  --wan-teal: #176c65;
  --wan-teal-light: #4fb6aa;
  --wan-red: #cf4d34;
  --wan-gold: #bd8c3c;
  --wan-line: rgba(24, 35, 31, .16);
  background: var(--wan-paper-light);
  color: var(--wan-ink);
}

.wan-hero {
  position: relative;
  height: clamp(40rem, calc(100svh - var(--header-h)), 56rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 18%, rgba(74, 163, 153, .09), transparent 24rem),
    linear-gradient(125deg, #f8f4e9 0%, #eee8d9 72%, #e5dfd1 100%);
}

.wan-paper-grain {
  position: absolute;
  inset: 0;
  z-index: -5;
  opacity: .43;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(31, 49, 42, .07) 0 .6px, transparent .8px),
    radial-gradient(circle at 72% 61%, rgba(31, 49, 42, .05) 0 .55px, transparent .8px);
  background-size: 9px 11px, 13px 15px;
  mix-blend-mode: multiply;
}

.wan-ink-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .72;
}

.wan-glyph {
  position: absolute;
  right: clamp(1rem, 7vw, 9rem);
  top: 45%;
  z-index: -3;
  color: rgba(25, 53, 46, .04);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(19rem, 30vw, 33rem);
  font-weight: 900;
  line-height: .75;
  translate: 0 -50%;
  pointer-events: none;
}

.wan-landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wan-mountain { transform-origin: 50% 100%; transition: transform .25s ease-out; }
.mountain-far { fill: url(#wanMountainFade); opacity: .55; }
.mountain-near { fill: rgba(22, 65, 57, .08); opacity: .75; }
.wan-cloud-layer path { fill: none; stroke: rgba(255,255,255,.76); stroke-width: 30; stroke-linecap: round; filter: url(#wanSoft); }
.wan-cloud-layer.cloud-back { animation: wan-cloud 28s ease-in-out infinite alternate; }
.wan-cloud-layer.cloud-front { opacity: .72; animation: wan-cloud 36s ease-in-out -8s infinite alternate-reverse; }
.wan-river-base { fill: none; stroke: rgba(23,108,101,.14); stroke-width: 9; stroke-linecap: round; }
.wan-river-signal { fill: none; stroke: url(#wanRiverGradient); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 12 88; animation: wan-river-flow 7s linear infinite; }
.wan-signal-bead { fill: var(--wan-red); }
.wan-signal-bead.bead-two { fill: var(--wan-teal-light); }
.wan-house-line path:first-child { fill: rgba(250,247,238,.91); }
.wan-house-line path:last-child { fill: none; stroke: rgba(27,42,36,.34); stroke-width: 2; }

.wan-hero-shell { position: relative; height: 100%; }
.wan-hero-topline {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.2rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(25, 41, 35, .13);
  color: rgba(24,35,31,.46);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  letter-spacing: .14em;
}
.wan-hero-topline > span { display: inline-flex; align-items: center; gap: .6rem; }
.wan-hero-topline i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--wan-red); box-shadow: 0 0 0 .28rem rgba(207,77,52,.08); animation: wan-pulse 2s ease-in-out infinite; }
.wan-hero-topline b { color: var(--wan-red); }
.wan-hero-topline time { color: var(--wan-teal); }

.wan-hero-copy {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  z-index: 3;
  width: min(45rem, 61%);
  translate: 0 -51%;
}
.wan-eyebrow { display: inline-flex; align-items: center; gap: .7rem; color: rgba(24,35,31,.64); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.wan-eyebrow b { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid rgba(207,77,52,.45); color: var(--wan-red); font-family: "Noto Serif SC", serif; font-size: 1rem; }
.wan-hero h1 { margin-top: 1rem; color: var(--wan-ink); font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(3.25rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.075em; }
.wan-hero h1 > span { display: block; }
.wan-title-overline { margin-bottom: .45rem; color: var(--wan-teal); font-family: "Inter", "Noto Sans SC", sans-serif; font-size: .25em; font-weight: 800; letter-spacing: .16em; }
.wan-hero h1 em { position: relative; color: var(--wan-red); font-style: normal; }
.wan-hero h1 em::after { content: ""; position: absolute; left: .02em; right: -.07em; bottom: -.1em; height: .08em; background: linear-gradient(90deg, var(--wan-red), transparent); transform-origin: left; animation: wan-brush 1.25s .3s both cubic-bezier(.2,.8,.2,1); }
.wan-hero-copy > p { max-width: 38rem; margin-top: 1.4rem; color: rgba(32,49,42,.67); font-size: clamp(.94rem, 1.35vw, 1.08rem); line-height: 1.8; }
.wan-hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.65rem; }
.wan-primary { display: inline-flex; align-items: center; gap: 1rem; min-height: 3.25rem; padding: .75rem 1.35rem .75rem 1.55rem; border: 1px solid var(--wan-ink); background: var(--wan-ink); color: #fffaf0; font-size: .84rem; font-weight: 900; transition: translate .2s ease, box-shadow .2s ease; }
.wan-primary span { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--wan-red); }
.wan-primary:hover { translate: 0 -2px; box-shadow: 8px 8px 0 rgba(207,77,52,.16); }
.wan-text-link { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .2rem; border-bottom: 1px solid rgba(24,35,31,.28); color: rgba(24,35,31,.73); font-size: .82rem; font-weight: 800; }
.wan-text-link:hover { color: var(--wan-red); border-color: var(--wan-red); }
.wan-hero-trust { display: flex; gap: clamp(1rem, 3vw, 2.4rem); margin-top: 1.65rem; padding-top: .9rem; border-top: 1px solid rgba(24,35,31,.14); }
.wan-hero-trust span { display: flex; align-items: baseline; gap: .42rem; color: rgba(24,35,31,.47); font-size: .62rem; }
.wan-hero-trust strong { color: var(--wan-ink); font-size: .8rem; }

.wan-question-scroll {
  position: absolute;
  right: 1.25rem;
  top: 49%;
  z-index: 4;
  width: min(22.5rem, 34%);
  min-height: 22.5rem;
  padding: 1.35rem 1.35rem 1.2rem 2rem;
  border: 1px solid rgba(28,45,38,.2);
  background: rgba(252,249,241,.82);
  box-shadow: 1rem 1.4rem 0 rgba(21,82,74,.08), 0 1.5rem 4rem rgba(40,49,45,.09);
  backdrop-filter: blur(10px);
  translate: 0 -52%;
  transition: transform .35s ease, border-color .35s ease;
}
.wan-question-scroll::before,
.wan-question-scroll::after { content: ""; position: absolute; top: -.5rem; bottom: -.5rem; width: 1rem; border: 1px solid rgba(28,45,38,.17); background: #e6dfcf; }
.wan-question-scroll::before { left: -.75rem; }
.wan-question-scroll::after { right: -.75rem; }
.wan-scroll-knot { position: absolute; left: .45rem; top: 1rem; bottom: 1rem; width: 1px; background: repeating-linear-gradient(to bottom, rgba(207,77,52,.5) 0 5px, transparent 5px 10px); }
.wan-seal { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 2px solid rgba(207,77,52,.58); color: var(--wan-red); font-family: "Noto Serif SC", serif; rotate: -5deg; opacity: .8; }
.wan-seal span { font-size: 1.25rem; line-height: 1; }
.wan-seal small { font-size: .48rem; letter-spacing: .2em; }
.wan-scroll-meta { display: flex; align-items: center; justify-content: space-between; padding-right: 4rem; color: rgba(24,35,31,.43); font-family: ui-monospace, monospace; font-size: .52rem; letter-spacing: .11em; }
.wan-scroll-meta b { color: var(--wan-red); }
.wan-question-scroll > small { display: block; margin-top: 3.2rem; color: var(--wan-teal); font-size: .65rem; font-weight: 800; }
.wan-question-scroll h2 { margin-top: .65rem; color: var(--wan-ink); font-family: "Noto Serif SC", serif; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.4; letter-spacing: -.035em; }
.wan-question-scroll > p { margin-top: .85rem; color: rgba(32,49,42,.62); font-size: .78rem; line-height: 1.7; }
.wan-proof-line { margin-top: 1.25rem; padding: .75rem 0; border-top: 1px solid rgba(24,35,31,.12); border-bottom: 1px solid rgba(24,35,31,.12); }
.wan-proof-line span,
.wan-proof-line strong { display: block; }
.wan-proof-line span { color: rgba(24,35,31,.4); font-size: .55rem; }
.wan-proof-line strong { margin-top: .22rem; color: var(--wan-teal); font-size: .66rem; }
.wan-scroll-status { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; color: rgba(24,35,31,.4); font-family: ui-monospace, monospace; font-size: .53rem; }
.wan-scroll-status i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--wan-red); box-shadow: 0 0 0 .25rem rgba(207,77,52,.08); animation: wan-pulse 1.7s ease-in-out infinite; }
.wan-home.is-changing .wan-question-scroll { transform: translateY(-.35rem) rotate(.3deg); border-color: rgba(207,77,52,.4); }
.wan-home.is-changing .wan-question-scroll > * { animation: wan-scroll-in .45s ease both; }

.wan-scene-nav {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(24,35,31,.22);
  border-bottom: 1px solid rgba(24,35,31,.15);
  background: rgba(246,242,231,.64);
  backdrop-filter: blur(9px);
}
.wan-scene-nav button { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .65rem; min-height: 4.2rem; padding: .7rem .95rem; border-right: 1px solid rgba(24,35,31,.13); color: rgba(24,35,31,.48); text-align: left; transition: color .25s ease, background .25s ease; }
.wan-scene-nav button:last-child { border-right: 0; }
.wan-scene-nav button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px; background: var(--wan-red); transition: right .35s ease; }
.wan-scene-nav button:hover,
.wan-scene-nav button.is-active { color: var(--wan-ink); background: rgba(255,252,245,.66); }
.wan-scene-nav button.is-active::after { right: 0; }
.wan-scene-nav span { color: var(--wan-red); font-family: ui-monospace, monospace; font-size: .52rem; }
.wan-scene-nav strong { font-family: "Noto Serif SC", serif; font-size: .9rem; }
.wan-scene-nav em { overflow: hidden; color: rgba(24,35,31,.43); font-size: .57rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

.wan-questions,
.wan-structure,
.wan-results,
.wan-faq,
.wan-contact { padding-block: clamp(3.4rem, 5vw, 4.5rem); }

.wan-questions { background: var(--wan-paper-light); }
.wan-section-head { max-width: 46rem; margin-bottom: clamp(2rem, 3vw, 2.65rem); }
.wan-section-head > span,
.wan-structure-copy > span,
.wan-faq-copy > span,
.wan-contact-copy > span { display: block; margin-bottom: .8rem; color: var(--wan-red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.wan-section-head h2,
.wan-structure-copy h2,
.wan-faq-copy h2,
.wan-contact-copy h2 { color: var(--wan-ink); font-family: "Noto Serif SC", serif; font-size: clamp(2rem, 3.1vw, 3.1rem); line-height: 1.14; letter-spacing: -.045em; }
.wan-section-head > p,
.wan-structure-copy > p,
.wan-faq-copy > p { max-width: 55ch; margin-top: 1rem; color: rgba(32,49,42,.63); font-size: .95rem; line-height: 1.8; }

.wan-question-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--wan-line); border-left: 1px solid var(--wan-line); }
.wan-question-grid article { position: relative; display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.1rem; min-height: 12.5rem; padding: 1.25rem; border-right: 1px solid var(--wan-line); border-bottom: 1px solid var(--wan-line); background: rgba(255,255,255,.38); overflow: hidden; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.wan-question-grid article:hover { z-index: 2; background: #fffdf7; transform: translateY(-4px); box-shadow: 0 20px 45px rgba(42,52,47,.08); }
.wan-card-city { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 5.5rem; border: 1px solid rgba(207,77,52,.35); color: var(--wan-red); }
.wan-card-city span { font-family: "Noto Serif SC", serif; font-size: 1.75rem; font-weight: 900; }
.wan-card-city small { margin-top: .2rem; font-family: ui-monospace, monospace; font-size: .42rem; letter-spacing: .12em; }
.wan-question-grid article > div:nth-child(2) { align-self: center; }
.wan-question-grid em { color: var(--wan-teal); font-size: .62rem; font-style: normal; font-weight: 800; }
.wan-question-grid h3 { margin-top: .4rem; font-family: "Noto Serif SC", serif; font-size: 1.16rem; line-height: 1.38; }
.wan-question-grid p { margin-top: .6rem; color: rgba(32,49,42,.61); font-size: .8rem; line-height: 1.72; }
.wan-question-grid article > i { position: absolute; right: .8rem; bottom: -1rem; color: rgba(24,35,31,.035); font-size: 5.8rem; font-style: normal; font-weight: 900; line-height: 1; }

.wan-structure { position: relative; overflow: hidden; background: #17312b; color: #f9f5ea; }
.wan-structure-landscape { position: absolute; inset: 0; pointer-events: none; opacity: .3; }
.wan-structure-landscape span { position: absolute; left: -5%; right: -5%; height: 9rem; border-radius: 50%; border-top: 1px solid rgba(124,208,194,.19); }
.wan-structure-landscape span:nth-child(1) { top: 12%; transform: rotate(-4deg); }
.wan-structure-landscape span:nth-child(2) { top: 31%; transform: rotate(3deg); }
.wan-structure-landscape span:nth-child(3) { bottom: 8%; transform: rotate(-2deg); }
.wan-structure-grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2.5rem, 5.5vw, 5rem); align-items: center; }
.wan-structure-copy > span { color: #e87358; }
.wan-structure-copy h2 { color: #fffaf0; }
.wan-structure-copy > p { color: rgba(235,246,240,.56); }
.wan-structure-copy > a { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.25rem; padding-bottom: .2rem; border-bottom: 1px solid rgba(255,250,240,.25); color: #fffaf0; font-size: .78rem; font-weight: 800; }
.wan-wall-system { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: .8rem; }
.wan-wall-system article { position: relative; min-height: 20.5rem; padding: 5.9rem 1.05rem 1.2rem; background: #f7f2e7; color: var(--wan-ink); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.12); overflow: hidden; }
.wan-wall-system article:nth-child(2) { min-height: 23.5rem; }
.wan-wall-roof { position: absolute; left: 0; right: 0; top: 0; height: 4.6rem; background: #24322d; clip-path: polygon(0 100%,0 42%,24% 42%,24% 18%,46% 18%,46% 42%,100% 42%,100% 100%); }
.wan-wall-roof::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: .35rem; background: repeating-linear-gradient(90deg, #0d1512 0 7px, #3e4a46 7px 13px); }
.wan-wall-roof.roof-high { height: 5.7rem; clip-path: polygon(0 100%,0 38%,20% 38%,20% 12%,43% 12%,43% 38%,100% 38%,100% 100%); }
.wan-wall-system article > span { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(207,77,52,.4); color: var(--wan-red); font-family: "Noto Serif SC", serif; font-size: .9rem; font-weight: 900; }
.wan-wall-system article > strong { display: block; margin-top: 1.8rem; font-family: "Noto Serif SC", serif; font-size: .96rem; line-height: 1.5; }
.wan-wall-system article > p { margin-top: .65rem; color: rgba(32,49,42,.61); font-size: .74rem; line-height: 1.7; }
.wan-wall-system article > small { position: absolute; left: 1.15rem; bottom: 1.15rem; color: rgba(24,35,31,.35); font-family: ui-monospace, monospace; font-size: .48rem; letter-spacing: .1em; }

.wan-results { background: #e9e3d6; }
.wan-section-row { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; max-width: none; }
.wan-section-row > div:first-child { max-width: 44rem; }
.wan-section-row > div:last-child { max-width: 25rem; font-size: .94rem; }
.wan-section-row > div:last-child p { color: rgba(32,49,42,.62); }
.wan-section-row > div:last-child a { display: inline-block; margin-top: 1rem; color: var(--wan-teal); font-size: .78rem; font-weight: 800; }
.wan-result-rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(24,35,31,.18); border-left: 1px solid rgba(24,35,31,.18); }
.wan-result-rail article { position: relative; min-height: 15.5rem; padding: 1.2rem; border-right: 1px solid rgba(24,35,31,.18); border-bottom: 1px solid rgba(24,35,31,.18); background: rgba(255,253,247,.34); overflow: hidden; transition: background .25s ease, translate .25s ease; }
.wan-result-rail article:hover { z-index: 1; background: #fffaf0; translate: 0 -4px; }
.wan-result-rail article > span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgba(207,77,52,.38); color: var(--wan-red); font-family: "Noto Serif SC", serif; font-size: .88rem; font-weight: 900; }
.wan-result-rail article > strong { display: block; margin-top: 3.8rem; font-family: "Noto Serif SC", serif; font-size: .98rem; line-height: 1.45; }
.wan-result-rail article > p { margin-top: .6rem; color: rgba(32,49,42,.61); font-size: .76rem; line-height: 1.72; }
.wan-result-rail article > i { position: absolute; right: .9rem; top: 1.2rem; color: rgba(24,35,31,.25); font-family: ui-monospace, monospace; font-size: .48rem; font-style: normal; letter-spacing: .1em; }

.wan-faq { background: var(--wan-paper-light); }
.wan-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2.5rem, 5.5vw, 5rem); align-items: start; }
.wan-faq-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.wan-faq-copy > a { display: inline-block; margin-top: 1.4rem; color: var(--wan-teal); font-size: .8rem; font-weight: 800; }
.wan-faq .faq-list { border-top: 1px solid rgba(24,35,31,.16); }
.wan-faq .faq-item { border-color: rgba(24,35,31,.16); }

.wan-contact { position: relative; overflow: hidden; background: #e5ded0; }
.wan-contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 40%, rgba(24,35,31,.06) 0 .6px, transparent .8px); background-size: 11px 13px; opacity: .4; }
.wan-contact-mark { position: absolute; left: -3rem; bottom: -9rem; color: rgba(207,77,52,.055); font-family: "Noto Serif SC", serif; font-size: 30rem; font-weight: 900; line-height: 1; }
.wan-contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5.5vw, 5rem); align-items: center; }
.wan-contact-copy > p { max-width: 38rem; margin-top: 1rem; color: rgba(32,49,42,.62); font-size: .94rem; line-height: 1.8; }
.wan-contact-copy ul { display: grid; gap: .62rem; margin-top: 1.35rem; }
.wan-contact-copy li { display: flex; align-items: center; gap: .75rem; color: rgba(24,35,31,.74); font-size: .82rem; }
.wan-contact-copy li i { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid rgba(207,77,52,.4); color: var(--wan-red); font-family: "Noto Serif SC", serif; font-size: .64rem; font-style: normal; }
.wan-contact-copy > a { display: inline-flex; flex-direction: column; margin-top: 1.45rem; }
.wan-contact-copy > a small { color: rgba(24,35,31,.43); font-size: .6rem; }
.wan-contact-copy > a strong { color: var(--wan-teal); font-size: 1.35rem; }

.wan-form-wrap { position: relative; padding: clamp(1.35rem, 2.4vw, 2rem); border: 1px solid rgba(24,35,31,.2); background: rgba(253,250,242,.78); box-shadow: 1rem 1rem 0 rgba(23,108,101,.09); backdrop-filter: blur(12px); }
.wan-form-wrap::before { content: ""; position: absolute; inset: .55rem; border: 1px solid rgba(24,35,31,.08); pointer-events: none; }
.wan-form-seal { position: absolute; right: 1.4rem; top: 1.2rem; display: grid; place-items: center; width: 3rem; height: 3rem; border: 2px solid rgba(207,77,52,.56); color: var(--wan-red); font-family: "Noto Serif SC", serif; font-size: 1.15rem; font-weight: 900; rotate: 4deg; }
.wan-form-head { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.2rem; padding-right: 4rem; }
.wan-form-head span { font-family: "Noto Serif SC", serif; font-size: 1.15rem; font-weight: 900; }
.wan-form-head em { color: rgba(24,35,31,.38); font-family: ui-monospace, monospace; font-size: .52rem; font-style: normal; letter-spacing: .1em; }
.wan-form-wrap .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.wan-form-wrap .form-group { margin-bottom: .85rem; }
.wan-form-wrap label { display: block; margin-bottom: .38rem; color: rgba(24,35,31,.68); font-size: .67rem; font-weight: 800; }
.wan-form-wrap label em { color: var(--wan-red); font-style: normal; }
.wan-form-wrap input,
.wan-form-wrap textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(24,35,31,.25); border-radius: 0; background: transparent; color: var(--wan-ink); outline: 0; transition: border-color .2s ease, background .2s ease; }
.wan-form-wrap input { height: 2.6rem; padding: .1rem .25rem; }
.wan-form-wrap textarea { min-height: 4.6rem; padding: .6rem .25rem; resize: vertical; }
.wan-form-wrap input::placeholder,
.wan-form-wrap textarea::placeholder { color: rgba(24,35,31,.34); }
.wan-form-wrap input:focus,
.wan-form-wrap textarea:focus { border-color: var(--wan-red); background: rgba(207,77,52,.025); }
.wan-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 3.2rem; margin-top: .35rem; padding: .75rem 1rem; border: 0; background: var(--wan-ink); color: #fffaf0; font-size: .82rem; font-weight: 900; transition: background .2s ease, translate .2s ease; }
.wan-submit:hover { background: var(--wan-teal); translate: 0 -2px; }
.wan-form-wrap .form-status { min-height: 1.3rem; margin-top: .7rem; color: var(--wan-teal); font-size: .72rem; text-align: center; }
.wan-form-wrap .form-status.err { color: var(--wan-red); }
.wan-form-wrap .form-privacy { margin-top: .6rem; color: rgba(24,35,31,.38); font-size: .58rem; text-align: center; }

.js .wan-home .reveal-l,
.js .wan-home .reveal-r { transform: translateY(18px); }
.wan-home .reveal-l.in-view,
.wan-home .reveal-r.in-view { transform: none; }

@keyframes wan-cloud { from { transform: translateX(-2.5%); } to { transform: translateX(2.5%); } }
@keyframes wan-river-flow { to { stroke-dashoffset: -100; } }
@keyframes wan-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }
@keyframes wan-brush { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wan-scroll-in { from { opacity: .4; transform: translateY(.35rem); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .wan-hero { height: auto; min-height: 0; padding-bottom: 1.25rem; }
  .wan-hero-shell { height: auto; padding-top: 1rem; }
  .wan-hero-topline,
  .wan-hero-copy,
  .wan-question-scroll,
  .wan-scene-nav { position: relative; left: auto; right: auto; top: auto; bottom: auto; translate: none; }
  .wan-hero-topline { margin-inline: 0; }
  .wan-hero-copy { width: min(46rem, 100%); margin-top: 3.2rem; }
  .wan-question-scroll { width: min(42rem, calc(100% - 2rem)); margin: 3rem 0 2rem auto; }
  .wan-scene-nav { margin-top: 1.5rem; }
  .wan-glyph { top: 26rem; }
  .wan-structure-grid,
  .wan-faq-grid,
  .wan-contact-grid { grid-template-columns: 1fr; }
  .wan-structure-copy { max-width: 47rem; }
  .wan-wall-system { max-width: 48rem; }
  .wan-faq-copy { position: static; max-width: 44rem; }
  .wan-contact-copy { max-width: 48rem; }
  .wan-result-rail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wan-hero { padding-bottom: .9rem; }
  .wan-hero-topline { font-size: .5rem; letter-spacing: .08em; }
  .wan-hero-topline span:first-child { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wan-hero-copy { margin-top: 2.5rem; }
  .wan-hero h1 { font-size: clamp(2.75rem, 13.5vw, 4rem); }
  .wan-hero-copy > p { font-size: .92rem; }
  .wan-hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .wan-primary { width: 100%; justify-content: space-between; }
  .wan-hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .wan-hero-trust span { align-items: flex-start; flex-direction: column; gap: .05rem; }
  .wan-question-scroll { width: calc(100% - 1rem); min-height: 0; margin-top: 3.5rem; padding: 1.2rem 1.1rem 1.1rem 1.55rem; }
  .wan-question-scroll > small { margin-top: 2.7rem; }
  .wan-question-scroll h2 { font-size: 1.35rem; }
  .wan-scene-nav { grid-template-columns: 1fr 1fr; }
  .wan-scene-nav button { min-height: 4rem; }
  .wan-scene-nav button:nth-child(2) { border-right: 0; }
  .wan-scene-nav button:nth-child(-n+2) { border-bottom: 1px solid rgba(24,35,31,.13); }
  .wan-scene-nav em { display: none; }
  .wan-landscape { height: 62rem; }
  .wan-glyph { right: -5rem; top: 34rem; font-size: 19rem; }
  .wan-questions,
  .wan-structure,
  .wan-results,
  .wan-faq,
  .wan-contact { padding-block: 3.25rem; }
  .wan-section-head { margin-bottom: 1.9rem; }
  .wan-section-head h2,
  .wan-structure-copy h2,
  .wan-faq-copy h2,
  .wan-contact-copy h2 { font-size: clamp(1.9rem, 9.2vw, 2.2rem); line-height: 1.16; }
  .wan-question-grid { grid-template-columns: 1fr; }
  .wan-question-grid article { grid-template-columns: 3.8rem 1fr; min-height: 11.75rem; padding: 1.05rem; }
  .wan-card-city { height: 5rem; }
  .wan-card-city span { font-size: 1.5rem; }
  .wan-question-grid h3 { font-size: 1.08rem; }
  .wan-wall-system { grid-template-columns: 1fr; }
  .wan-wall-system article,
  .wan-wall-system article:nth-child(2) { min-height: 15.5rem; }
  .wan-wall-system article { padding-top: 5.3rem; }
  .wan-wall-system article > strong { margin-top: 1.25rem; }
  .wan-section-row { display: block; }
  .wan-section-row > div:last-child { margin-top: 1.2rem; }
  .wan-result-rail { grid-template-columns: 1fr; }
  .wan-result-rail article { min-height: 11.75rem; }
  .wan-result-rail article > strong { margin-top: 2.35rem; }
  .wan-form-wrap .form-row { grid-template-columns: 1fr; gap: 0; }
  .wan-contact-mark { left: -6rem; font-size: 23rem; }
}

@media (max-width: 420px) {
  .wan-hero h1 { font-size: 2.72rem; }
  .wan-scroll-meta { padding-right: 3.3rem; font-size: .46rem; }
  .wan-seal { width: 2.7rem; height: 2.7rem; }
  .wan-scene-nav button { grid-template-columns: auto 1fr; }
  .wan-scene-nav strong { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wan-cloud-layer,
  .wan-river-signal,
  .wan-hero-topline i,
  .wan-scroll-status i,
  .wan-hero h1 em::after { animation: none !important; }
  .wan-mountain { transform: none !important; }
}
