/* ==========================================================================
   Tsai Therapy — site styles
   Palette pulls from Hui-Meng's portraits: persimmon (red shirt), jade (mural),
   poppy gold, on a warm rice-paper ground. Pride spectrum used as a quiet accent.
   ========================================================================== */

:root {
  --paper: #fbf6ee;
  --paper-deep: #f3eadc;
  --card: #fffdf9;
  --ink: #1d2729;
  --ink-soft: #4b575a;
  --ink-faint: #7a8386;
  --line: #e4d9c8;

  --persimmon: #c2442a;
  --persimmon-dark: #a13721;
  --persimmon-tint: #f8e2d8;
  --jade: #2b6b64;
  --jade-dark: #1f4f4a;
  --jade-tint: #e1eee9;
  --poppy: #e9a23b;

  --pride: linear-gradient(90deg, #d8483a 0%, #ec8f3a 18%, #f0c64a 34%, #4f9c6b 52%, #3a78b8 70%, #7b58a8 86%, #c05c9a 100%);

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(29, 39, 41, .04), 0 12px 32px -12px rgba(29, 39, 41, .14);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  /* keeps the footer at the bottom on short pages, e.g. the form confirmation */
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--jade-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.zh { font-family: var(--font-zh); font-weight: 500; letter-spacing: .04em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--poppy); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--persimmon);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.lede { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.65; }

.pride-rule { height: 4px; background: var(--pride); border: 0; margin: 0; opacity: .9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--persimmon); color: #fff; }
.btn-primary:hover { background: var(--persimmon-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 2.4vw, 1.95rem); letter-spacing: -0.025em; }
.brand-name .dot { color: var(--persimmon); }
.brand-sub { font-size: .78rem; color: var(--ink-faint); letter-spacing: .04em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--paper-deep); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--persimmon); }
.nav .btn { padding: 11px 20px; margin-left: 10px; font-size: .95rem; }
.nav .btn:hover { background: var(--persimmon-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:hover { background: none; }
  .nav .btn { margin: 18px 0 0; padding: 16px; border: 0; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--jade); }
.hero .lede { max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.tag .swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tag .swatch.pride { background: conic-gradient(#d8483a, #ec8f3a, #f0c64a, #4f9c6b, #3a78b8, #7b58a8, #d8483a); }

/* Moon-gate arch portrait */
.portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait .arch {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--jade-tint);
  box-shadow: var(--shadow);
}
.portrait .arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait::before {
  content: ""; position: absolute; inset: -18px -18px 40px 18px;
  border: 2px solid var(--poppy); border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.portrait-note {
  position: absolute; left: -28px; bottom: 34px;
  background: var(--card); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.4; max-width: 230px;
}
.portrait-note strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.portrait-note span { color: var(--ink-faint); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(78%, 340px); margin-top: 8px; }
  .portrait-note { left: auto; right: -14px; bottom: 18px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--paper-deep); }
.section-ink { background: var(--ink); color: #e9ece9; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: var(--poppy); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.section-ink .section-head p:not(.eyebrow) { color: #b9c2c1; }

/* Who I work with */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; position: relative; overflow: hidden;
}
.who-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.who-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; line-height: 1.6; }
.who-card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; background: var(--jade-tint); color: var(--jade);
}
.who-card .icon svg { width: 24px; height: 24px; }
.who-card.accent-persimmon .icon { background: var(--persimmon-tint); color: var(--persimmon); }
.who-card.accent-poppy .icon { background: #fbecd2; color: #a8660c; }
.who-card.accent-pride::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pride);
}
.who-card.accent-pride .icon { background: #efe6f5; color: #6b4a98; }
.adults-note { margin-top: 26px; color: var(--ink-faint); font-size: .95rem; }

@media (max-width: 960px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .who-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-photo figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-faint); }
.pull {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.02em;
  margin: 0 0 30px; padding-left: 22px; border-left: 4px solid var(--persimmon);
}
.about-body p:not(.eyebrow):not(.pull) { color: var(--ink-soft); }
.about-body .pull + p { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 34px 0; }
.fact { background: var(--card); padding: 18px 18px 16px; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.fact span { font-size: .85rem; color: var(--ink-faint); line-height: 1.4; display: block; margin-top: 4px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 420px; }
  .facts { grid-template-columns: 1fr; }
}

/* Ways to meet */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 28px; }
.way .icon { color: var(--poppy); margin-bottom: 18px; }
.way .icon svg { width: 34px; height: 34px; }
.way h3 { margin-bottom: 6px; }
.way p { color: #b9c2c1; margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Contact block + form ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-aside .lede { margin-bottom: 30px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--jade-tint); color: var(--jade);
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.contact-list a, .contact-list address { color: var(--ink); font-style: normal; font-weight: 500; text-decoration: none; line-height: 1.5; }
.contact-list a:hover { color: var(--persimmon); }

.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-intro { color: var(--ink-soft); font-size: .98rem; margin-bottom: 26px; }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.form-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.form-label .req { color: var(--persimmon); margin-left: 2px; }
.sublabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form-input {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: #a39d93; }
.form-input:hover { border-color: #d3c6b1; }
.form-input:focus { outline: none; border-color: var(--jade); background: #fff; box-shadow: 0 0 0 4px rgba(43, 107, 100, .15); }
textarea.form-input { min-height: 160px; resize: vertical; }

#emailFeedback { display: block; color: var(--persimmon); font-size: .88rem; margin-top: 6px; min-height: 0; }
#emailFeedback:empty { display: none; }

.check {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--jade-tint); border-radius: 14px; padding: 16px 18px; cursor: pointer;
}
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--jade); flex: none; cursor: pointer; }
.check label { cursor: pointer; line-height: 1.45; }
.check label b { display: block; font-weight: 600; }
.check label span { font-size: .9rem; color: var(--ink-soft); }

.req-note { font-size: .85rem; color: var(--ink-faint); margin: 0 0 18px; }
.recaptcha-wrap { margin: 6px 0 22px; min-height: 78px; }
.form-submit { width: 100%; padding: 17px 26px; font-size: 1.05rem; border: 0; }
.privacy-note { font-size: .82rem; color: var(--ink-faint); margin: 14px 0 0; text-align: center; line-height: 1.5; }

.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
/* reCAPTCHA is a fixed 304px widget; shrink it on narrow phones so it never overflows */
@media (max-width: 420px) {
  .form-card { padding: 24px 18px; border-radius: var(--radius); }
  .recaptcha-wrap { transform: scale(.9); transform-origin: 0 0; margin-bottom: 14px; }
}

/* ---------- Map / locations ---------- */
.map-card { display: grid; grid-template-columns: 1.3fr .7fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.8); }
.map-info { padding: clamp(28px, 4vw, 44px); }
.map-info h3 { font-size: 1.5rem; }
.loc-list { list-style: none; margin: 0 0 24px; padding: 0; }
.loc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-list li:last-child { border-bottom: 0; }
.loc-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; display: block; }
.loc-list span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .map-card { grid-template-columns: 1fr; } .map-card iframe { min-height: 280px; } }

/* ---------- Inner page header ---------- */
.page-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 16ch; }
.page-hero .lede { max-width: 38em; }

/* ---------- How it works ---------- */
.prose p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.prose p.big { font-size: 1.28rem; color: var(--ink); line-height: 1.6; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.callout {
  background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line); position: relative;
}
.callout .quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--persimmon); display: block; margin-bottom: 8px; }
.callout p { color: var(--ink-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout .punch { color: var(--ink); font-weight: 600; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--jade); margin-top: 3px; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spec {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 32px 30px; position: relative; overflow: hidden;
}
.spec .num { font-family: var(--font-display); color: var(--poppy); font-weight: 600; font-size: .95rem; letter-spacing: .08em; }
.spec h3 { font-size: 1.45rem; margin: 10px 0 12px; }
.spec p { color: #c3cbca; margin: 0; font-size: 1rem; }
.spec.pride::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pride); }
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } }

.ready {
  text-align: center; max-width: 820px; margin: 0 auto;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; letter-spacing: -0.025em;
}
.ready + p { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 22px auto 0; font-size: 1.08rem; }

.fees { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.fee-price { background: var(--jade); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.fee-price .amount { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.fee-price .per { color: #cfe3de; font-size: 1.05rem; margin-top: 8px; }
.fee-price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fee-price li { display: flex; gap: 10px; color: #e6f1ee; font-size: .98rem; line-height: 1.45; }
.fee-price li::before { content: "✓"; color: var(--poppy); font-weight: 700; }
.fee-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.fee-detail h3 { font-size: 1.3rem; }
.fee-detail p { color: var(--ink-soft); }
.fee-detail p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .fees { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--persimmon); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { margin: 0; color: #fbe3da; font-size: 1.08rem; max-width: 36em; }
.cta-band .btn { background: #fff; color: var(--persimmon-dark); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c2c1; padding: 64px 0 34px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-sub { color: #8f9a99; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe5e3; text-decoration: none; }
.site-footer a:hover { color: var(--poppy); }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-affirm { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: #dfe5e3; }
.footer-affirm .bar { width: 36px; height: 6px; border-radius: 6px; background: var(--pride); }
.crisis { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .88rem; color: #8f9a99; }
.crisis strong { color: #dfe5e3; font-weight: 600; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Reveal on scroll (progressive) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Form confirmation page (contact-submit.php) ---------- */
.result-card { margin: 34px 0 10px; }
.result {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
  border-top: 5px solid var(--jade);
}
.result-warn { border-top-color: var(--persimmon); }
.result h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.result p { color: var(--ink-soft); margin: 0 0 .8em; }
.result p:last-child { margin-bottom: 0; }
.result-meta { font-size: .92rem; color: var(--ink-faint); }
.result-actions { margin-top: 20px; }
.result-icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--jade-tint); color: var(--jade);
}
.result-warn .result-icon { background: var(--persimmon-tint); color: var(--persimmon); }
.result-icon svg { width: 26px; height: 26px; }
@media (max-width: 560px) {
  .result { flex-direction: column; gap: 16px; padding: 26px 20px; }
}

/* ---------- Phone numbers ---------- */
/* Keep a phone number on one line: browsers are allowed to break after a hyphen,
   which would otherwise split "415-857-5638" across two lines in narrow columns. */
a[href^="tel:"], .nowrap { white-space: nowrap; }
