:root {
  --ink: #151515;
  --muted: #697079;
  --paper: #ffffff;
  --wash: #f5f3ef;
  --line: #ddd6ca;
  --accent: #cc8c31;
  --accent-bright: #efc266;
  --accent-light: #f7dda7;
  --accent-soft: #fff7e8;
  --accent-dark: #8f5b18;
  --accent-ink: #17120b;
  --success: #28764b;
  --shadow: 0 28px 72px rgba(0,0,0,.24);
  --shadow-gold: 0 16px 34px rgba(204,140,49,.25);
  --oi-accent: var(--accent);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #0b0c0d; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b0c0d;
  overflow-x: hidden;
}
[hidden] { display: none !important; }

.site-background-video,
.site-background-scrim {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.site-background-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}
.site-background-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,6,7,.92) 0%, rgba(5,6,7,.76) 39%, rgba(5,6,7,.56) 64%, rgba(5,6,7,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.62));
}

.topbar,
.journey-shell,
footer {
  width: min(1440px, calc(100% - 52px));
  margin-inline: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
  padding: 14px 0 10px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  width: min(310px, 38vw);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,.35));
}
.language-switch {
  display: flex;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 13px;
  padding: 4px;
  background: rgba(13,14,15,.68);
  backdrop-filter: blur(12px);
}
.language-switch a {
  border-radius: 9px;
  padding: 8px 12px;
  color: rgba(255,255,255,.72);
  font-size: .74rem;
  font-weight: 900;
  text-decoration: none;
}
.language-switch a.active {
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  box-shadow: 0 4px 14px rgba(204,140,49,.24);
}

.journey-shell {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(560px, 1.08fr);
  gap: clamp(28px, 4vw, 72px);
  min-height: calc(100vh - 150px);
  align-items: center;
  padding: 10px 0 30px;
}
.journey-media,
.journey-workspace { min-width: 0; }
.media-stage {
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 32px 28px 30px;
}
.media-stage::before {
  content: "";
  position: absolute;
  inset: 8% 2% 8% 2%;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 45%, rgba(204,140,49,.14), transparent 54%);
  pointer-events: none;
}
.media-kicker {
  position: absolute;
  top: 22px;
  left: 28px;
  z-index: 3;
  color: var(--accent-bright);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.journey-lion {
  position: absolute;
  inset: 14px auto 0 50%;
  width: min(92%, 610px);
  height: calc(100% - 12px);
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 35px rgba(0,0,0,.42));
  transition: opacity .22s ease, transform .28s ease;
}
.journey-lion.is-entering { transform: translateX(-50%) translateY(8px); opacity: .2; }
.journey-video {
  position: absolute;
  inset: 42px 18px 118px;
  width: calc(100% - 36px);
  height: calc(100% - 160px);
  object-fit: cover;
  border: 1px solid rgba(204,140,49,.78);
  border-radius: 30px;
  box-shadow: var(--shadow), 0 0 0 5px rgba(204,140,49,.08);
  background: #101112;
}
.journey-video::cue { color: white; }
.media-copy {
  position: relative;
  z-index: 4;
  max-width: 470px;
  border-left: 4px solid var(--accent);
  padding: 14px 0 14px 18px;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}
.media-copy strong {
  display: block;
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  letter-spacing: -.04em;
  line-height: .98;
}
.media-copy p {
  max-width: 420px;
  margin: 9px 0 0;
  color: rgba(255,255,255,.84);
  font-size: .96rem;
  line-height: 1.5;
}
.media-trust {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.journey-workspace { width: 100%; max-width: 730px; justify-self: end; }
.welcome-card,
.intake-card {
  width: 100%;
  border: 1px solid rgba(204,140,49,.72);
  border-radius: 26px;
  background: rgba(255,255,255,.985);
  box-shadow: var(--shadow), 0 0 0 4px rgba(204,140,49,.08);
  backdrop-filter: blur(10px);
}
.welcome-card {
  padding: clamp(28px, 4vw, 46px);
  animation: card-in .3s ease both;
}
.welcome-eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .2em;
}
.welcome-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: .92;
  letter-spacing: -.04em;
}
.welcome-lead {
  margin: 18px 0 0;
  color: #383d43;
  font-size: 1.25rem;
  font-weight: 800;
}
.welcome-copy {
  max-width: 560px;
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.welcome-actions { display: grid; gap: 11px; }
.button {
  display: inline-flex;
  min-height: 50px;
  min-width: 118px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--accent-ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(180deg, #f6d27d 0%, var(--accent-bright) 43%, var(--accent) 100%);
  box-shadow: 0 10px 20px rgba(204,140,49,.2), inset 0 1px rgba(255,255,255,.55);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); filter: saturate(1.05); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .55; cursor: wait; }
.button.secondary {
  border-color: rgba(204,140,49,.55);
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}
.button.secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.contact-primary { font-size: 1.02rem; }
.contact-secondary { font-size: .97rem; }
.start-request { margin-top: 2px; font-size: 1.04rem; }
.contact-drawer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  border: 1px solid #dfc08a;
  border-radius: 13px;
  padding: 13px 15px;
  background: #fffaf0;
}
.contact-drawer small { display: block; color: #7b6d58; font-weight: 700; }
.contact-drawer strong { display: block; margin-top: 2px; font-size: 1.22rem; }
.contact-drawer-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.contact-drawer-actions a,
.contact-drawer-actions button {
  border: 1px solid #d8c3a0;
  border-radius: 8px;
  padding: 7px 10px;
  color: #25221d;
  font: inherit;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
  background: white;
  cursor: pointer;
}
.quick-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #e6dfd4;
  padding-top: 22px;
}
.quick-process > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-right: 1px solid #e6dfd4;
}
.quick-process > div:first-child { padding-left: 0; }
.quick-process > div:last-child { border-right: 0; padding-right: 0; }
.quick-process b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #151515;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  font-size: .75rem;
}
.quick-process span { font-size: .78rem; font-weight: 800; line-height: 1.25; }
.welcome-save {
  margin-top: 22px;
  border-radius: 11px;
  padding: 11px 13px;
  color: #245e40;
  font-size: .78rem;
  font-weight: 800;
  background: #edf7f1;
}

.intake-card {
  min-height: 610px;
  padding: clamp(24px, 4vw, 38px);
  animation: card-in .28s ease both;
}
.intake-card[data-journey-hidden="1"] { display: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
.resume-notice {
  margin-bottom: 18px;
  border: 1px solid #bad1c4;
  border-radius: 11px;
  padding: 11px 13px;
  color: #215c3c;
  font-size: .82rem;
  font-weight: 800;
  background: #edf7f1;
}
.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}
.save-status[data-state="saving"] { color: #7a5913; }
.save-status[data-state="local"] { color: #9a3c2e; }
.save-status[data-state="saved"] { color: var(--success); }
.progress-track {
  height: 7px;
  margin: 10px 0 30px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8df;
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-bright));
  box-shadow: 0 1px 7px rgba(204,140,49,.28);
  transition: width .25s ease;
}
.question { scroll-margin-top: 20px; animation: question-in .22s ease both; }
@keyframes question-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.question-heading { margin-bottom: 22px; }
.question-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.25vw, 2.55rem);
  letter-spacing: -.045em;
  line-height: 1.04;
}
.question-heading p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.intake-choice-field .oi-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.question-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 15px;
}
.question-fields-grid .oi-field:first-child:nth-last-child(4) { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.form-actions .secondary { margin-right: auto; }
.review-list { display: grid; gap: 10px; }
.review-list article {
  display: grid;
  gap: 5px;
  border: 1px solid #e1d8c9;
  border-radius: 12px;
  padding: 14px 15px;
  background: linear-gradient(180deg, #fff, #fcfaf6);
}
.review-list strong { font-size: .86rem; }
.review-list span { color: var(--muted); font-size: .83rem; line-height: 1.45; }
.completion {
  display: grid;
  min-height: 500px;
  place-content: center;
  justify-items: start;
  text-align: left;
}
.completion-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  place-items: center;
  color: #17120b;
  font-size: 1.5rem;
  font-weight: 950;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  box-shadow: var(--shadow-gold);
}
.completion h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.completion p { max-width: 560px; margin: 0 0 24px; color: var(--muted); line-height: 1.65; }
.completion-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.oi-input:focus,
.oi-textarea:focus,
.oi-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(204,140,49,.16) !important;
}
.oi-choice-card {
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.oi-choice-card:hover { transform: translateY(-1px); background: #fffdf9; }
.oi-choice-card:has(.oi-choice-input:checked) {
  border-color: var(--accent) !important;
  background: var(--accent-soft) !important;
  box-shadow: 0 0 0 2px rgba(204,140,49,.12) !important;
}
.oi-choice-input:checked ~ .oi-choice-copy strong { color: var(--accent-dark) !important; }

.mobile-media { display: none; }
footer {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 0 0 24px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .journey-shell { grid-template-columns: .8fr 1.2fr; gap: 26px; }
  .media-stage { min-height: 620px; padding-inline: 10px; }
  .media-copy { margin-left: 10px; }
}

@media (max-width: 840px) {
  body { background: #f4f2ee; }
  .site-background-video,
  .site-background-scrim { display: none; }
  .topbar,
  .journey-shell,
  footer { width: min(100% - 24px, 760px); }
  .topbar { min-height: 70px; padding: 9px 0; }
  .brand-logo { width: 205px; max-height: 50px; }
  .language-switch { border-color: #d9d3c8; background: white; }
  .language-switch a { color: #646970; }
  .journey-shell { display: block; min-height: auto; padding-top: 10px; }
  .journey-media { display: none; }
  .journey-workspace { max-width: none; }
  .welcome-card,
  .intake-card { border-radius: 20px; border-color: rgba(204,140,49,.46); box-shadow: 0 18px 45px rgba(44,38,28,.11); }
  .welcome-card { padding: 24px 20px; }
  .welcome-card h1 { font-size: 2.7rem; }
  .quick-process { grid-template-columns: 1fr; gap: 9px; }
  .quick-process > div { border: 0; padding: 0; }
  .mobile-media {
    position: relative;
    display: block;
    height: 150px;
    margin: -4px 0 23px;
    overflow: hidden;
    border: 1px solid rgba(204,140,49,.55);
    border-radius: 15px;
    background: #111;
  }
  .mobile-media[hidden] { display: none !important; }
  .mobile-media video { width: 100%; height: 100%; object-fit: cover; }
  footer { color: #777c81; padding-top: 16px; }
}

@media (max-width: 620px) {
  .brand-logo { width: 175px; }
  .language-switch a { padding: 7px 10px; }
  .welcome-card h1 { font-size: 2.25rem; }
  .welcome-copy { font-size: .94rem; }
  .contact-drawer { align-items: flex-start; flex-direction: column; }
  .contact-drawer-actions { justify-content: flex-start; }
  .intake-card { min-height: 560px; padding: 20px 16px; }
  .question-heading h2 { font-size: 2rem; }
  .question-fields-grid { grid-template-columns: 1fr; }
  .form-actions { position: sticky; bottom: 0; z-index: 5; margin-inline: -4px; padding: 16px 4px 3px; background: linear-gradient(180deg, rgba(255,255,255,.86), #fff 26%); backdrop-filter: blur(8px); }
  .button { min-width: 106px; }
  footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .site-background-video { display: none; }
}
