/* Muscon Talent — shared styles */
:root {
  --navy: #1B3F66;
  --ink: #0F2742;
  --orange: #E8890C;
  --orange-deep: #B8650A; /* accessible orange for text on light */
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --line: #DCE3EC;
  --text: #2B3A4D;
  --muted: #5B6B80;
  --radius-s: 6px;
  --radius-l: 18px;
  --wrap: 1120px;
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 1.2rem; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #D5DFEB; }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink a { color: #FFC37A; }

.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: .02em; line-height: 1; }
.brand-name span { display: block; font-weight: 600; font-size: .62rem; letter-spacing: .32em; margin-top: 3px; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--orange); }
.nav a:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; font-family: var(--font-body); transition: background .15s, color .15s; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F59A22; color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.nav .btn { padding: 10px 18px; font-size: .95rem; color: var(--ink); }

/* Market status */
.status { display: inline-flex; gap: 18px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.status span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-live { background: #2E9E5B; }
.dot-soon { background: var(--white); border: 2px solid var(--orange); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: var(--paper); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 52ch; margin-bottom: 32px; }
.hero-path { position: absolute; right: -40px; bottom: -10px; width: min(62vw, 760px); height: auto; z-index: 0; pointer-events: none; }
.hero-path .road { fill: none; stroke: var(--orange); stroke-width: 34; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.6,.05,.3,1) .2s forwards; opacity: .9; }
.hero-path .sun { fill: var(--orange); opacity: 0; animation: appear .5s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin-bottom: 28px; }
.door { display: block; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); text-decoration: none; color: var(--text); }
.door strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.door:hover { border-color: var(--navy); color: var(--text); }
.door:hover strong { color: var(--navy); }

/* Page header (inner pages) */
.page-head { background: var(--paper); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 20ch; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 32px; }
.service p { color: var(--muted); margin-bottom: .6em; }
.tag { display: inline-block; font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #E7EEF6; color: var(--navy); margin-right: 6px; }
.tag-soon { background: #FDF0DD; color: var(--orange-deep); }

/* Promise band */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.promise-mark { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 10vw, 7.5rem); color: var(--orange); line-height: .9; }
.promise p { color: #D5DFEB; }

/* Steps (true sequence) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: var(--font-head); font-weight: 700; color: var(--orange-deep); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.1rem; margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* People */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.person img { border-radius: var(--radius-l); aspect-ratio: 1; object-fit: cover; }
.person .initials { width: 220px; aspect-ratio: 1; border-radius: var(--radius-l); background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; }
.person .role { color: var(--orange-deep); font-weight: 600; margin-bottom: .6em; }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-l); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); border: 1px solid #C3CDD9; border-radius: var(--radius-s); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,63,102,.18); }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); }
.check input { width: auto; margin-top: 5px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: #1F7A45; }
.form-status.err { color: #B3261E; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--ink); font-size: .9rem; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: #AFC0D3; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #DCE6F1; text-decoration: none; }
.site-footer a:hover { color: #FFC37A; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 30px; background: var(--white); border-radius: 6px; padding: 3px; }
.footer-brand b { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .84rem; color: #8FA3BA; }
.legal p { max-width: none; margin-bottom: .4em; }

/* Prose pages */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose { max-width: 760px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 28px 0; border-right: 0 !important; }
  .hero-path { opacity: .35; width: 110vw; right: -30vw; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .hero-path { display: none; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange-deep); }
  .nav .btn { margin-top: 8px; width: auto; }
  .section { padding: 64px 0; }
  .doors, .form-row, .steps { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; gap: 12px; }
  .person { grid-template-columns: 1fr; }
  .person img, .person .initials { width: 160px; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-path .road { animation: none; stroke-dashoffset: 0; }
  .hero-path .sun { animation: none; opacity: 1; }
}
