:root {
  --bg: #f6f5ef;
  --text: #18211d;
  --muted: #4d5d53;
  --line: rgba(24, 33, 29, 0.16);
  --card: rgba(255, 255, 249, 0.9);
  --surface-1: #fffdfa;
  --surface-2: #edf4ef;
  --surface-3: #dfece5;
  --bg-glow-1: #dcefe5;
  --bg-glow-2: #f1e2ca;
  --accent: #315f4d;
  --accent-2: #b98546;
  --button-text: #ffffff;
  --shadow: 0 10px 26px rgba(20, 16, 11, 0.08);
  --radius: 8px;
}

html[data-theme="dark"] {
  --bg: #071111;
  --text: #f5fbf7;
  --muted: #c7d9ce;
  --line: rgba(245, 251, 247, 0.18);
  --card: rgba(12, 25, 24, 0.88);
  --surface-1: #0d1d1b;
  --surface-2: #132b27;
  --surface-3: #1c3a34;
  --bg-glow-1: #173b34;
  --bg-glow-2: #3b2d19;
  --accent: #7ac7aa;
  --accent-2: #d6ad64;
  --button-text: #06110d;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .concept-trust {
  --bg: #120d09;
  --text: #fff2e5;
  --muted: #ddc3af;
  --line: rgba(255, 242, 229, 0.2);
  --card: rgba(30, 21, 16, 0.96);
  --surface-1: rgba(32, 23, 17, 0.93);
  --surface-2: rgba(28, 20, 15, 0.91);
  --surface-3: rgba(24, 17, 13, 0.89);
  --bg-glow-1: #38261a;
  --bg-glow-2: #4a3122;
  --accent: #e2a074;
  --accent-2: #ffc58f;
  --button-text: #1c1008;
}

html[data-theme="dark"] .concept-modern {
  --bg: #120d09;
  --text: #fff2e5;
  --muted: #ddc3af;
  --line: rgba(255, 242, 229, 0.2);
  --card: rgba(30, 21, 16, 0.96);
  --surface-1: rgba(32, 23, 17, 0.93);
  --surface-2: rgba(28, 20, 15, 0.91);
  --surface-3: rgba(24, 17, 13, 0.89);
  --bg-glow-1: #38261a;
  --bg-glow-2: #4a3122;
  --accent: #e2a074;
  --accent-2: #ffc58f;
  --button-text: #1c1008;
}

html[data-theme="dark"] .concept-neighborhood {
  --bg: #120d09;
  --text: #fff2e5;
  --muted: #ddc3af;
  --line: rgba(255, 242, 229, 0.2);
  --card: rgba(30, 21, 16, 0.96);
  --surface-1: rgba(32, 23, 17, 0.93);
  --surface-2: rgba(28, 20, 15, 0.91);
  --surface-3: rgba(24, 17, 13, 0.89);
  --bg-glow-1: #38261a;
  --bg-glow-2: #4a3122;
  --accent: #e2a074;
  --accent-2: #ffc58f;
  --button-text: #1c1008;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, var(--bg-glow-1), transparent 40%),
              radial-gradient(circle at 90% 5%, var(--bg-glow-2), transparent 35%),
              var(--bg);
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 70%, white 30%);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -42px;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.08rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--button-text);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background 180ms ease, border-color 180ms ease;
}
a.button,
.button,
a.button:visited,
a.button:hover,
a.button:active {
  color: var(--button-text);
}
.button.alt {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
a.button.alt,
a.button.alt:visited,
a.button.alt:hover,
a.button.alt:active {
  color: var(--text);
}
.button:hover {
  opacity: 0.98;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 16, 11, 0.14);
}
.button:active { transform: translateY(0); }

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.site-shell {
  width: min(1150px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.2rem 0 2.4rem;
}
.topbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0.9rem 0.6rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--surface-2) 92%, white 8%);
}
.topbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.topbar-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
.topbar a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.42rem 0.58rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}
.topbar a.button {
  color: var(--button-text);
}
.topbar-cta {
  padding-inline: 1.05rem;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 26%, transparent);
}
.topbar a.button.alt {
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .topbar nav a:not(.button):hover,
  .topbar nav a:not(.button):focus-visible {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    outline: none;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
}
.site-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  object-fit: cover;
  flex: 0 0 auto;
}
.brand-wrap {
  display: grid;
  gap: 0.08rem;
}
.brand-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.build-version {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  background: color-mix(in srgb, var(--surface-1) 90%, white 10%);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: center;
}
.panel {
  border: 1px solid color-mix(in srgb, var(--line) 58%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 93%, white 7%);
  box-shadow: 0 18px 40px rgba(20, 16, 11, 0.07);
}
.hero-copy {
  padding: clamp(1.6rem, 3vw, 3rem);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 36%),
    linear-gradient(155deg, color-mix(in srgb, var(--surface-1) 96%, white 4%), color-mix(in srgb, var(--surface-2) 95%, transparent));
}
.hero-copy h1 {
  margin: 0.35rem 0 1rem;
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 11ch;
  font-size: 3.9rem;
}
.hero-copy p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  max-width: 50ch;
  font-size: 1.02rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  background: color-mix(in srgb, var(--surface-1) 82%, white 18%);
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
  font-size: 0.79rem;
  font-weight: 700;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-primary {
  padding: 0.9rem 1.28rem;
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 22%, transparent);
}
.hero-side {
  display: grid;
  gap: 1.15rem;
  align-content: center;
  padding-block: 0.35rem;
}
.hero-support,
.hero-quote-block {
  padding: 1.05rem 1rem 1.05rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--line) 42%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 94%, transparent);
  box-shadow: 0 12px 26px rgba(20, 16, 11, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.hero-support .eyebrow {
  margin-bottom: 0.45rem;
}
.hero-support h3 {
  margin: 0 0 0.75rem;
  max-width: 18ch;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--text);
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.hero-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
}
.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent);
}
.hero-quote-block {
  margin: 0;
  border-left-color: color-mix(in srgb, var(--accent) 26%, var(--line));
}
.hero-quote-block .quote {
  color: var(--text);
}
.hero-quote-block .small {
  margin-top: 0.8rem;
}
.resource-links {
  margin-top: 0.75rem;
}
.resource-links .button {
  font-size: 0.85rem;
}
.profile-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}
.profile-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.profile-shot figcaption {
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.credential-note {
  padding: 0.72rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
  font-weight: 700;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}
section[id] {
  scroll-margin-top: 10rem;
}
.whoami-row {
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
}
.whoami-row > .whoami-photo {
  grid-column: 1;
}
.whoami-row > .whoami-copy {
  grid-column: 2;
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }
.section {
  padding: 1.35rem;
}
.section h2, .section h3 {
  margin-top: 0;
}
.cards {
  display: grid;
  gap: 0.9rem;
}
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-num {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.card {
  border: 1px solid color-mix(in srgb, var(--line) 45%, transparent);
  border-radius: 8px;
  padding: 1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-1) 45%, var(--surface-2) 55%), color-mix(in srgb, var(--surface-2) 92%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.card h3 { margin-bottom: 0.3rem; }
.card p, .card li { color: var(--muted); }
.card li { color: var(--text); }

.section-intro {
  max-width: 66ch;
  color: var(--muted);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.fact-card {
  min-height: 100%;
}

.fact-card p {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-fee-note {
  margin: auto 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--text) !important;
  font-size: 0.88rem;
  font-weight: 700;
}

.fee-clarity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 1rem 2rem;
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-1));
}

.fee-clarity h3,
.fee-clarity p {
  margin-top: 0;
}

.fee-clarity ul {
  margin: 0;
  padding-left: 1.2rem;
}

.fee-clarity li + li {
  margin-top: 0.35rem;
}

.book-call-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1rem;
  align-items: stretch;
}
.async-contact {
  border: 1px solid color-mix(in srgb, var(--line) 52%, transparent);
  border-radius: 8px;
  overflow: auto;
  background: color-mix(in srgb, var(--surface-2) 92%, white 8%);
  padding: 1rem;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--line) 48%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 78%, var(--surface-2) 22%);
}

.channel-card h3,
.channel-card p {
  margin: 0;
}

.channel-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.response-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.inquiry-safety {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.inquiry-safety h3,
.inquiry-safety p {
  margin: 0;
}

.inquiry-safety p {
  margin-top: 0.35rem;
}

.inquiry-form {
  padding: 1rem;
  background: color-mix(in srgb, var(--surface-2) 92%, white 8%);
}

.form-heading h3,
.form-heading p {
  margin-top: 0;
}

.form-heading h3 {
  margin-bottom: 0.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 94%, white 6%);
  color: var(--text);
  font: inherit;
  font-weight: 500;
}

.form-grid textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-caution {
  margin: 0.9rem 0;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-status {
  min-height: 1.4em;
  margin: 0.7rem 0 0;
}
.book-call-note {
  margin-top: 0.7rem;
}

.two-col-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.two-col-split > section h2 {
  margin-top: 0;
}

@media (max-width: 950px) {
  .two-col-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  background: color-mix(in srgb, var(--surface-1) 90%, white 10%);
  color: var(--text);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease;
}

.theme-toggle:hover {
  background: var(--surface-3);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.concept-neighborhood {
  --bg: #f6f5ef;
  --text: #18211d;
  --muted: #4d5d53;
  --line: rgba(24, 33, 29, 0.16);
  --card: rgba(255, 255, 249, 0.9);
  --surface-1: #fffdfa;
  --surface-2: #edf4ef;
  --surface-3: #dfece5;
  --accent: #315f4d;
  --accent-2: #b98546;
  --button-text: #ffffff;
}

.site-footer {
  width: min(1150px, calc(100% - 1.5rem));
  margin: 1.2rem auto 2.4rem;
  color: var(--muted);
}

.visible-version-pill {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 88%, white 12%);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(20, 16, 11, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--line) 58%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-1) 90%, white 10%);
  box-shadow: 0 12px 26px rgba(20, 16, 11, 0.06);
}

.footer-brand {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.8rem;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.footer-note a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-note a:hover,
.footer-note a:focus-visible {
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
  }
  .hero-support:hover,
  .hero-quote-block:hover {
    border-left-color: color-mix(in srgb, var(--accent) 36%, var(--line));
    border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .topbar,
  .hero-copy,
  .hero-support,
  .hero-quote-block {
    animation: soft-rise 560ms ease both;
  }
  .hero-support { animation-delay: 90ms; }
  .hero-quote-block { animation-delay: 160ms; }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    max-width: 12ch;
  }
  .hero-side {
    padding-top: 0;
  }
  .section-grid > * {
    grid-column: span 12 !important;
  }
  .whoami-row {
    grid-template-columns: 1fr;
  }
  .section-grid.whoami-row > .whoami-photo,
  .section-grid.whoami-row > .whoami-copy {
    grid-column: 1 !important;
  }
  .cards.cols-3,
  .cards.cols-4,
  .fact-grid,
  .fee-clarity,
  .book-call-grid,
  .channel-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .visible-version-pill {
    bottom: 5rem;
  }
  section[id] {
    scroll-margin-top: 15rem;
  }
  .cards.cols-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-wide {
    grid-column: auto;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-top {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-controls {
    align-self: flex-end;
  }
  .topbar nav {
    margin-left: 0;
  }
  .hero-support,
  .hero-quote-block {
    padding-left: 0.9rem;
  }
}
