/* ==================================================================
   Vital Change Nexus — Post-Keynote Landing Page

   Visual language: deep navy field, layered tonal depth (navy /
   midnight slate / restrained teal), muted metallic gold used
   sparingly, Cormorant Garamond for display, Jost for body/UI.
   Depth comes from soft gradients, faint grain, and a handful of
   blurred gold "dust" points — never literal constellations,
   star maps, or connected-node graphics.
   ================================================================== */

:root {
  /* Brand palette */
  --navy: #111D30;
  --teal: #1F5C56;
  --gold: #CFA760;
  --gold-bright: #E4C989;
  --gold-soft: rgba(207, 167, 96, 0.5);
  --slate: #2B3A50;
  --cream: #F7F3EA;
  --cream-dim: rgba(247, 243, 234, 0.72);
  --cream-faint: rgba(247, 243, 234, 0.4);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --column: 640px;
  --edge: clamp(24px, 6vw, 48px);
}

/* ------------------------------------------------------------------
   Reset & base
------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* ----------------------------------------------------------------
     Atmosphere: material depth, not light effects. Two corner tonal
     washes (teal / midnight slate) anchored OFF the visible edges so
     they read as a gradient shift in the navy field rather than a
     floating shape, plus a soft photographic vignette. No radial
     "glow" is centered in open space anywhere on the page — nothing
     here should ever read as an orb, bokeh, or halo.
  ---------------------------------------------------------------- */
  background-color: var(--navy);
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 1300px 900px at 100% 0%, rgba(31, 92, 86, 0.16) 0%, rgba(31, 92, 86, 0) 62%),
    radial-gradient(ellipse 1300px 950px at 0% 100%, rgba(43, 58, 80, 0.42) 0%, rgba(43, 58, 80, 0) 60%),
    radial-gradient(ellipse 1600px 1300px at 50% 40%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.26) 100%);
  background-position: 100% 0%, 0% 100%, 50% 40%;
  background-size: auto, auto, auto;
}

/* Fine paper-like grain for material texture. Fixed to the viewport
   so it stays lightweight and doesn't shift during scroll. Sits
   strictly behind all content. Purely decorative. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* Extremely sparse gold dust — a handful of tiny, sharp-edged flecks
   tiled across a large pattern, not soft blurred circles. This is
   texture, not light: no blur, no glow, no visible "orb" shape. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><g fill='%23CFA760'><circle cx='38' cy='64' r='1.1' opacity='0.55'/><circle cx='214' cy='30' r='0.9' opacity='0.4'/><circle cx='356' cy='118' r='1.3' opacity='0.5'/><circle cx='120' cy='190' r='0.8' opacity='0.35'/><circle cx='300' cy='250' r='1' opacity='0.45'/><circle cx='60' cy='320' r='1.2' opacity='0.5'/><circle cx='380' cy='360' r='0.9' opacity='0.4'/><circle cx='200' cy='390' r='1' opacity='0.4'/></g></svg>");
  background-size: 420px 420px;
  background-repeat: repeat;
}

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

a {
  color: var(--gold);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

em {
  font-style: italic;
  color: var(--gold-bright);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------
   Ornamental divider — a fine line that fades at both ends rather
   than stopping hard, with a small rotated gold mark at center.
------------------------------------------------------------------ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 240px;
  margin: 26px auto;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}

.divider span:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.divider i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(207, 167, 96, 0.5);
}

.rule-fade {
  height: 1px;
  max-width: var(--column);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(207, 167, 96, 0.32) 50%, transparent);
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  padding: clamp(56px, 10vh, 108px) var(--edge) clamp(48px, 8vh, 84px);
  text-align: center;
  border-top: 1px solid rgba(207, 167, 96, 0.28);
  background: linear-gradient(180deg, rgba(43, 58, 80, 0.32) 0%, rgba(43, 58, 80, 0) 65%);
}

.hero__inner {
  max-width: var(--column);
  margin: 0 auto;
  opacity: 0;
  animation: fade-up 900ms ease-out 120ms forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner {
    opacity: 1;
    animation: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo {
  width: 108px;
  height: auto;
  margin: 0 auto 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 34px;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

.hero__copy {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.hero__copy .lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
  text-align: center;
  margin-bottom: 24px;
}

.hero__copy p:not(.lead) {
  font-size: 16.5px;
  color: var(--cream-dim);
  margin-bottom: 1.3em;
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.section {
  max-width: var(--column);
  margin: 0 auto;
  padding: clamp(52px, 9vh, 92px) var(--edge);
}

.section__heading {
  text-align: center;
  margin-bottom: 12px;
}

.section__heading h2 {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
}

.section > .divider {
  margin-top: 0;
  margin-bottom: 40px;
}

.section--contact {
  text-align: center;
}

#practice {
  position: relative;
  isolation: isolate;
}

#practice::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: linear-gradient(180deg, rgba(43, 58, 80, 0.28) 0%, rgba(43, 58, 80, 0.1) 50%, rgba(43, 58, 80, 0.28) 100%);
}

.section--contact p {
  color: var(--cream-dim);
  max-width: 440px;
  margin: 0 auto 26px;
}

.contact-email {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 4px;
  transition: border-color 220ms ease, color 220ms ease, gap 220ms ease;
}

.contact-email .arrow {
  font-style: normal;
  transition: transform 220ms ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
}

.contact-email:hover .arrow,
.contact-email:focus-visible .arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------
   Form — reflection prompts feel like a private journal, not a
   web survey. Fields are compact; the prompts carry the weight.
------------------------------------------------------------------ */
.form-wrap {
  margin-top: 4px;
}

.field {
  margin-bottom: 22px;
}

.prompt-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.45;
}

textarea {
  width: 100%;
  resize: none;
  overflow: hidden;
  background: rgba(43, 58, 80, 0.38);
  border: 1px solid rgba(207, 167, 96, 0.22);
  border-bottom: 2px solid rgba(207, 167, 96, 0.5);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.6;
  padding: 13px 15px;
  min-height: 76px;
  box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.18);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

textarea::placeholder {
  color: var(--cream-faint);
}

textarea:hover {
  border-bottom-color: var(--gold);
}

textarea:focus {
  outline: none;
  border-color: rgba(31, 92, 86, 0.7);
  border-bottom-color: var(--gold);
  background: rgba(43, 58, 80, 0.5);
  box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.22), 0 0 0 3px rgba(207, 167, 96, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 34px;
}

.field--compact label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(207, 167, 96, 0.32);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  padding: 6px 2px 9px;
  border-radius: 0;
  transition: border-color 200ms ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: var(--cream-faint);
}

input[type="text"]:hover,
input[type="email"]:hover {
  border-bottom-color: var(--gold-soft);
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 30px;
}

.field--checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  border: 1px solid rgba(207, 167, 96, 0.45);
  border-radius: 2px;
  background: rgba(247, 243, 234, 0.03);
  cursor: pointer;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}

.field--checkbox input[type="checkbox"]:hover {
  border-color: var(--gold);
}

.field--checkbox input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.field--checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5px;
  width: 4px;
  height: 8px;
  border: solid var(--navy);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.field--checkbox label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--cream-faint);
  margin-bottom: 0;
  cursor: pointer;
}

.btn {
  display: block;
  width: fit-content;
  margin: 6px auto 0;
  background: rgba(207, 167, 96, 0.06);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 24px rgba(207, 167, 96, 0.3);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.form-success {
  text-align: center;
  padding: 36px var(--edge);
  border-top: 1px solid rgba(207, 167, 96, 0.22);
  border-bottom: 1px solid rgba(207, 167, 96, 0.22);
}

.form-success p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cream);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.footer {
  text-align: center;
  padding: 44px var(--edge) 60px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer__ncs {
  font-size: 13px;
  color: var(--cream-faint);
  margin-bottom: 20px;
}

.footer__ncs a {
  color: var(--cream-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__ncs a:hover,
.footer__ncs a:focus-visible {
  color: var(--gold);
}

.footer__copyright {
  font-size: 11.5px;
  color: var(--cream-faint);
  margin: 0;
  opacity: 0.7;
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__logo {
    width: 92px;
  }

  textarea {
    min-height: 68px;
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }

  input[type="text"],
  input[type="email"] {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }
}

@media (min-width: 900px) {
  body {
    font-size: 18px;
  }
}
