/*
Theme Name: SPACE Reset
Theme URI: https://windwaterwellness.com
Author: Wind Water Wellness
Author URI: https://windwaterwellness.com
Description: Editorial wellness/feng-shui marketing theme for Wind Water Wellness — SPACE Reset method, RESET toolkit, and free element quiz.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: space-reset
*/

:root {
  --bg: #F7F7F5;
  --bg-2: #EFEFEB;
  --line: #E8E9EB;
  --teal: #0C6F7A;
  --teal-deep: #095661;
  --sage: #4A6F5A;
  --burgundy: #7D343F;
  --navy: #001A33;
  --ink: #0E1620;
  --muted: #5B6168;
  --serif: "Italiana", "Cormorant Garamond", "Times New Roman", serif;
  --label: "Tenor Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:  "Questrial", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --emph:  "Spectral", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }
.eyebrow { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11.5px; color: var(--teal); }
.rule { height: 1px; background: var(--line); width: 100%; }
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: saturate(120%) blur(12px); -webkit-backdrop-filter: saturate(120%) blur(12px); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; color: var(--teal); object-fit: contain; mix-blend-mode: multiply; }
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; color: var(--navy); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11.5px; color: var(--ink); list-style: none; margin: 0; padding: 0; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { border: 1px solid var(--navy); padding: 11px 18px; border-radius: 999px; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: var(--navy); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.nav-cta:hover { background: var(--navy); color: var(--bg); }
@media (max-width: 880px) { .nav-links li:not(.nav-cta-item) { display: none; } }
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--teal); color: #FBFBF8; padding: 18px 26px; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 12.5px; border-radius: 2px; transition: background .25s ease, transform .25s ease; }
.btn:hover { background: var(--teal-deep); }
.btn .arrow { width: 20px; height: 1px; background: currentColor; position: relative; transition: width .25s ease; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 30px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11.5px; border-bottom: 1px solid var(--navy); padding: 6px 0; transition: color .2s ease, border-color .2s ease; }
.btn-ghost:hover { color: var(--teal); border-color: var(--teal); }
.hero { position: relative; z-index: 0; padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy); }
h1.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 32px; text-wrap: balance; }
h1.hero-title em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--teal); }
.hero-sub { font-family: var(--body); font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 540px; margin: 0 0 44px; }
.hero-sub b { font-weight: 400; background: linear-gradient(transparent 70%, color-mix(in oklab, var(--teal) 18%, transparent) 70%); padding: 0 2px; }
.hero-cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; font-family: var(--emph); font-style: italic; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-meta .pip { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; }
.hero-portrait { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line); overflow: hidden; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,26,51,0.55)); pointer-events: none; }
.hero-portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-portrait .caption { position: absolute; left: 22px; bottom: 22px; right: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; z-index: 2; }
.hero-portrait .caption .name { font-family: var(--serif); font-size: 22px; color: #F4F1EB; line-height: 1.1; }
.hero-portrait .caption .role { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; color: rgba(244,241,235,0.75); margin-top: 4px; }
.hero-portrait .caption .badge { font-family: var(--emph); font-style: italic; font-size: 12.5px; color: #F4F1EB; border-left: 1px solid color-mix(in oklab, var(--burgundy) 70%, white); padding-left: 10px; line-height: 1.25; text-align: left; max-width: 130px; }
.hero-photo-grid { position: absolute; right: 140px; top: 60px; width: 420px; height: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; z-index: 0; }
.hero-photo-grid img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 980px) { .hero-photo-grid { display: none; } }
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--bg-2); }
.ticker-track { display: flex; gap: 60px; white-space: nowrap; animation: tick 38s linear infinite; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px; color: var(--navy); }
.ticker-track span { display: inline-flex; align-items: center; gap: 60px; }
.ticker-track span::after { content: "✺"; color: var(--burgundy); opacity: .7; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
section.block { padding: 110px 0; position: relative; }
@media (max-width: 720px) { section.block { padding: 80px 0; } }
.section-num { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.section-num .bar { flex: 1; height: 1px; background: var(--line); max-width: 80px; }
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
@media (max-width: 980px) { .problem-grid { grid-template-columns: 1fr; gap: 32px; } }
.problem h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.005em; color: var(--navy); margin: 0; text-wrap: balance; }
.problem p.lede { font-family: var(--body); font-size: 22px; line-height: 1.5; color: var(--ink); margin: 0 0 28px; max-width: 640px; }
.problem p.lede em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--burgundy); }
.problem .signal-head { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; color: var(--teal); margin-top: 28px; margin-bottom: 14px; }
.problem .signal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .problem .signal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .problem .signal { grid-template-columns: 1fr; } }
.signal-item { border-top: 1px solid var(--navy); padding-top: 14px; }
.signal-item .v { font-family: var(--emph); font-style: italic; font-weight: 300; font-size: 17.5px; color: var(--ink); line-height: 1.35; }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.1fr; gap: 90px; align-items: center; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-portrait { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line); overflow: hidden; }
.about-portrait-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 28px; text-wrap: balance; }
.about-copy h2 em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--sage); }
.about-copy p { font-family: var(--body); font-size: 17.5px; line-height: 1.6; color: var(--ink); margin: 0 0 18px; max-width: 540px; }
.about-copy .sig { margin-top: 32px; display: flex; align-items: center; gap: 18px; font-family: var(--emph); font-style: italic; font-size: 22px; color: var(--navy); }
.about-copy .sig::before { content: ""; width: 50px; height: 1px; background: var(--navy); }
.about-copy .credits { margin-top: 28px; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 36px; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10.5px; color: var(--muted); }
.about-copy .credits .v { color: var(--ink); letter-spacing: 0.04em; text-transform: none; font-family: var(--body); font-size: 13.5px; }
.final { background: radial-gradient(120% 80% at 80% 0%, color-mix(in oklab, var(--teal) 14%, var(--bg)) 0%, var(--bg) 60%), var(--bg); position: relative; overflow: hidden; }
.final-inner { text-align: center; max-width: 880px; margin: 0 auto; padding: 30px 0; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: 0.98; color: var(--navy); margin: 0 0 28px; letter-spacing: -0.01em; text-wrap: balance; }
.final h2 em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--teal); }
.final p.sub { font-family: var(--body); font-size: 20px; color: var(--ink); max-width: 580px; margin: 0 auto 44px; line-height: 1.5; }
.final .meta-row { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px; color: var(--muted); }
.final .meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--burgundy); opacity: .8; }
.optin { margin: 70px auto 0; max-width: 560px; padding: 28px; background: var(--bg); border: 1px solid var(--line); text-align: left; }
.optin .label { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px; color: var(--burgundy); margin-bottom: 8px; }
.optin h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); margin: 0 0 8px; line-height: 1.15; }
.optin p { font-family: var(--body); font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.optin form { display: flex; gap: 8px; flex-wrap: wrap; }
.optin input[type=email] { flex: 1 1 220px; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--body); font-size: 14.5px; color: var(--ink); border-radius: 2px; outline: none; transition: border-color .2s ease, background .2s ease; }
.optin input[type=email]:focus { border-color: var(--teal); background: var(--bg); }
.optin button[type=submit] { background: var(--navy); color: #FBFBF8; padding: 14px 22px; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 11.5px; border-radius: 2px; transition: background .2s ease; }
.optin button[type=submit]:hover { background: var(--teal); }
.optin .fineprint { margin-top: 12px; font-family: var(--emph); font-style: italic; font-size: 12.5px; color: var(--muted); }
.optin.success { background: color-mix(in oklab, var(--teal) 10%, var(--bg)); border-color: var(--teal); }
.optin.success .label { color: var(--teal); }
footer.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h5 { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px; color: var(--muted); margin: 0 0 18px; font-weight: 400; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; font-size: 14.5px; }
.foot ul li a:hover { color: var(--teal); }
.foot .blurb { font-family: var(--emph); font-style: italic; font-size: 16px; line-height: 1.5; max-width: 320px; color: var(--ink); margin-top: 14px; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10.5px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
::selection { background: color-mix(in oklab, var(--teal) 35%, transparent); color: var(--navy); }
.five { padding: 96px 0; }
@media (max-width: 720px) { .five { padding: 70px 0; } }
.five.dark { background: var(--navy); color: #EAEEF2; }
.five.dark .section-num { color: #8A98A8; }
.five.dark .section-num .bar { background: rgba(255,255,255,0.2); }
.five.dark .five-eyebrow { color: color-mix(in oklab, var(--teal) 65%, white); }
.five.bg2 { background: var(--bg-2); }
.five-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
@media (max-width: 880px) { .five-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; } }
.five-eyebrow { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11.5px; color: var(--teal); margin-bottom: 14px; }
.five h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--navy); margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.five.dark h2 { color: #F4F1EB; }
.five h2 em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--burgundy); }
.five.dark h2 em { color: color-mix(in oklab, var(--teal) 60%, white); }
.five-lede { font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; max-width: 420px; }
.five.dark .five-lede { color: #BFC9D2; }
.five-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.five.dark .five-row { border-color: rgba(255,255,255,0.18); }
@media (max-width: 880px) { .five-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .five-row { grid-template-columns: 1fr; } }
.five-cell { padding: 28px 22px 26px; border-right: 1px solid var(--line); position: relative; transition: background .25s ease; }
.five.dark .five-cell { border-right-color: rgba(255,255,255,0.14); }
.five-cell:last-child { border-right: none; }
@media (max-width: 880px) { .five-cell { border-right: none; border-bottom: 1px solid var(--line); } .five.dark .five-cell { border-bottom-color: rgba(255,255,255,0.14); } .five-cell:last-child { border-bottom: none; } }
.five-cell:hover { background: color-mix(in oklab, var(--teal) 4%, transparent); }
.five.dark .five-cell:hover { background: rgba(255,255,255,0.04); }
.five-num { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.five.dark .five-num { color: rgba(255,255,255,0.45); }
.five-letter { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 0.95; color: var(--cell-color, var(--teal)); letter-spacing: -0.01em; margin-bottom: 10px; display: block; }
.five-name { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--navy); margin: 0 0 4px; line-height: 1.15; }
.five.dark .five-name { color: #F4F1EB; }
.five-cell .sub { font-family: var(--emph); font-style: italic; font-weight: 300; font-size: 13px; color: var(--cell-color, var(--muted)); margin: 0; line-height: 1.35; }
.five.dark .five-cell .sub { color: color-mix(in oklab, var(--cell-color, var(--teal)) 60%, white); }
.page-hero { padding: 90px 0 60px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px,5.6vw,76px); line-height: 1.02; color: var(--navy); margin: 0 0 22px; text-wrap: balance; }
.page-hero h1 em { font-family: var(--emph); font-style: italic; font-weight: 300; color: var(--rm-accent, var(--teal)); }
.page-hero p { font-family: var(--body); font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 620px; margin: 0; }
.page-cta-row { margin-top: 40px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.rm-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rm-item { display: grid; grid-template-columns: 140px 1fr; gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding-left .25s ease; }
.rm-item:hover { padding-left: 12px; }
.rm-letter { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 0.9; color: var(--rm-accent, var(--burgundy)); letter-spacing: -0.01em; }
.rm-body h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--navy); margin: 0 0 8px; }
.rm-body p { font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; max-width: 640px; }
@media (max-width: 720px) { .rm-item { grid-template-columns: 64px 1fr; gap: 18px; } .rm-letter { font-size: 44px; } .rm-body h4 { font-size: 22px; } }
