/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg:           #FAFAF8;
  --surface:      #F2EFE9;
  --text:         #1A1816;
  --text-muted:   #6B665F;
  --text-dim:     #B0AAA3;
  --accent:       #F09837;
  --accent-dark:  #C97820;
  --rule:         #E3DDD6;
  --rule-strong:  #D0C9C0;
  --max-w:        1100px;
  --narrow:       680px;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; object-fit: cover; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2.5rem;
}
.container--narrow {
  width: 100%;
  max-width: var(--narrow);
  margin-inline: auto;
  padding-inline: 2.5rem;
}

/* ============================================================
   DISAMBIGUATION BANNER
   ============================================================ */
.disambig-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 0.625rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 300;
  position: relative;
}
.disambig-bar a {
  color: var(--text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.2s;
}
.disambig-bar a:hover { text-decoration-color: var(--text); }
.disambig-dismiss {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
.disambig-dismiss:hover { color: var(--text); }
.disambig-bar.hidden { display: none; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.site-nav {
  padding: 1.375rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
.site-nav.scrolled {
  box-shadow: 0 1px 24px rgba(26, 24, 22, 0.06);
}
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  padding: 0.5625rem 1.375rem;
  transition: background 0.3s var(--ease);
}
.nav-cta:hover { background: var(--accent); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}
.lang-switch__current {
  color: var(--text);
}
.lang-switch__sep {
  color: var(--rule-strong);
}
.lang-switch__alt {
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.lang-switch__alt:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2.5rem 6rem 2.5rem;
  position: relative;
}
@media (min-width: 1180px) {
  .hero-text { padding-left: calc((100vw - var(--max-w)) / 2 + 2.5rem); }
}
.hero-ghost {
  position: absolute;
  bottom: -2%;
  right: -5%;
  font-family: var(--serif);
  font-size: clamp(10rem, 18vw, 20rem);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 24, 22, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-title em { font-style: italic; color: var(--text-muted); }
.hero-rule {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
.hero-body {
  max-width: 520px;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}
.hero-body strong { color: var(--text); font-weight: 400; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 18%);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.9375rem 2.25rem;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */
.section {
  padding-block: 8rem;
  border-top: 1px solid var(--rule);
}
.section--surface { background: var(--surface); }

.section-label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 2rem;
}
.section-title em { font-style: italic; color: var(--text-muted); }
.section-body {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}
.section-body p + p { margin-top: 1.5rem; }
.section-body strong { color: var(--text); font-weight: 400; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.problem-quote {
  margin-top: 1rem;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  border-left: 2px solid var(--accent);
  background: var(--bg);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
}
.problem-quote footer {
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ============================================================
   GUIDE / AUTHORITY
   ============================================================ */
.guide-image {
  margin-block: 4rem;
  width: 100%;
  height: 420px;
  overflow: hidden;
  position: relative;
}
.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.authority-grid { border-top: 1px solid var(--rule); }
.authority-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 3rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.authority-domain {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.authority-proof {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}
.authority-proof strong { color: var(--text); font-weight: 400; }
.authority-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(201, 120, 32, 0.4);
  transition: text-decoration-color 0.2s;
}
.authority-link:hover { text-decoration-color: var(--accent-dark); }

/* ============================================================
   PLAN
   ============================================================ */
.plan-steps { border-top: 1px solid var(--rule); }
.plan-step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.step-num {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--text-dim);
  padding-top: 0.1rem;
}
.step-verb {
  display: block;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.625rem;
  line-height: 1.2;
}
.step-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   ENGAGEMENTS (accordion)
   ============================================================ */
.engagements-list { border-top: 1px solid var(--rule); }
.engagement { border-bottom: 1px solid var(--rule); }
.engagement-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.875rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.engagement-name {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
  line-height: 1.2;
}
.engagement-arrow {
  font-size: 1rem;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.engagement-trigger:hover .engagement-name { color: var(--text); }
.engagement-trigger:hover .engagement-arrow { color: var(--accent); }
.engagement-trigger[aria-expanded="true"] .engagement-name { color: var(--text); }
.engagement-trigger[aria-expanded="true"] .engagement-arrow {
  color: var(--accent);
  transform: rotate(90deg);
}
.engagement-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.engagement-panel.is-open { max-height: 400px; }
.engagement-detail {
  padding: 0 0 2.25rem 0;
  max-width: 680px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}
.engagement-detail strong { color: var(--text); font-weight: 400; }

/* ============================================================
   TOOLS
   ============================================================ */
.tools-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}
.tool-card {
  background: var(--bg);
  padding: 2.5rem 2.5rem 2.75rem;
}
.tool-status {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--rule-strong);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1.25rem;
}
.tool-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.tool-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   STAKES
   ============================================================ */
.stakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 4rem;
}
.stakes-col {
  background: var(--bg);
  padding: 3rem;
}
.stakes-col--after { background: var(--surface); }
.stakes-col-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: block;
}
.stakes-state {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}
.stakes-items { border-top: 1px solid var(--rule); }
.stakes-items li {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0.875rem 0 0.875rem 1.375rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.stakes-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}
.stakes-items--success li::before { color: var(--accent); }
.stakes-items li strong { color: var(--text); font-weight: 400; }

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.cta-section {
  padding-block: 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.cta-image {
  position: relative;
  overflow: hidden;
}
.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.cta-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--bg) 100%);
}
.cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2.5rem 5rem 4rem;
}
.cta-text .section-title { margin-bottom: 1.5rem; }
.cta-oneliner {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.65;
  max-width: 440px;
}
.cta-oneliner strong { color: var(--accent); font-style: normal; font-weight: 400; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-field label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease);
  resize: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-submit { align-self: flex-start; margin-top: 0.25rem; }
.form-honeypot { display: none; }
.form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
}
.form-feedback strong { color: var(--text); font-weight: 400; }
.form-feedback.is-visible { display: block; }
.form-feedback--error { border-color: #c0392b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo { height: 28px; width: auto; }
.footer-address { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-email {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease);
}
.footer-email:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 55vw; min-height: 320px; order: -1; }
  .hero-image::before { display: none; }
  .hero-text { padding: 4rem 2rem 5rem; }
  .hero-ghost { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .authority-row { grid-template-columns: 7rem 1fr; gap: 2rem; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-image { height: 50vw; min-height: 280px; }
  .cta-image::after { background: linear-gradient(to bottom, transparent 70%, var(--bg) 100%); }
  .cta-text { padding: 4rem 2.5rem; }
}
@media (max-width: 720px) {
  .authority-row { grid-template-columns: 1fr; gap: 0.25rem; padding: 1.375rem 0; }
  .plan-step { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; }
  .stakes-grid { grid-template-columns: 1fr; }
  .stakes-col { padding: 2.5rem 1.75rem; }
  .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding-block: 5rem; }
  .site-nav { padding: 1rem 1.5rem; }
  .container, .container--narrow { padding-inline: 1.5rem; }
  .nav-right .nav-link { display: none; }
  .guide-image { height: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-text { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
