:root {
  --ink: #252526;
  --ink-soft: #3a3a3a;
  --muted: #77756f;
  --line: #d9d4ca;
  --paper: #f4f0e7;
  --paper-deep: #e9e3d7;
  --white: #fffdf8;
  --accent: #bf980a;
  --accent-soft: #e4cf72;
  --accent-pale: #f2e8ba;
  --dark: #1b1b1c;
  --max: 1220px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(37, 37, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-shell { padding: 88px 0 76px; }
.section-light { background: var(--paper); }
.section-white { background: var(--white); }
.section-cream { background: #eee8dc; }
.section-dark { background: var(--dark); color: #f7f2e9; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  transform: translateY(-150%); padding: 10px 14px; background: var(--accent); color: #111; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,240,231,.92);
  border-bottom: 1px solid rgba(37,37,38,.09);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 156px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 650; }
.main-nav a { text-decoration: none; position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .22s ease;
}
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--ink); color: #fff; padding: 11px 17px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -200px; top: -170px;
  background: rgba(191,152,10,.1); filter: blur(1px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 76px; align-items: center; position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 800; color: var(--accent); margin-bottom: 18px; }
.eyebrow-dark { color: var(--accent-soft); }
.hero h1, .section h2 {
  margin: 0; letter-spacing: -.045em; line-height: .98; font-weight: 760;
}
.hero h1 { font-size: clamp(3.25rem, 6.3vw, 6.4rem); max-width: 880px; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: clamp(1.08rem, 1.65vw, 1.35rem); max-width: 760px; color: #4b4944; margin: 30px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #171717; }
.button-primary:hover { background: #cfa610; }
.button-ghost { border: 1px solid #bdb8ad; background: rgba(255,255,255,.38); }
.button-light { background: #f7f2e9; color: var(--ink); margin-top: 14px; }
.availability { margin-top: 32px; display: flex; gap: 12px; align-items: flex-start; max-width: 760px; font-size: .92rem; color: #5b5852; }
.availability-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; margin-top: 7px; background: var(--accent); box-shadow: 0 0 0 5px rgba(191,152,10,.12); }

.hero-visual { position: relative; padding: 22px 0 22px 22px; }
.portrait-frame { position: relative; border-radius: 38px 38px 120px 38px; overflow: hidden; box-shadow: var(--shadow); background: #d8d0c2; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: .92/1; object-fit: cover; object-position: 50% 22%; filter: saturate(.88) contrast(1.01); }
.hero-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 74%; height: 76%; background: var(--accent); border-radius: 32px 32px 100px 32px; transform: rotate(-2deg); z-index: -1; }
.hero-note { position: absolute; left: -28px; bottom: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 15px 18px; box-shadow: 0 16px 45px rgba(37,37,38,.13); min-width: 200px; }
.hero-note span, .hero-note strong { display: block; }
.hero-note .note-label { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; font-weight: 800; margin-bottom: 4px; }
.hero-note strong { font-size: 1.04rem; }
.hero-note > span:last-child { color: var(--muted); font-size: .82rem; }

.experience-strip { background: var(--ink); color: #eee9df; }
.experience-inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding-block: 22px; }
.experience-inner p { margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #bcb6aa; }
.experience-names { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 22px; font-weight: 760; letter-spacing: -.015em; }

.section-heading { margin-bottom: 52px; }
.two-col-heading { display: grid; grid-template-columns: 1.15fr .75fr; gap: 80px; align-items: end; }
.section h2 { font-size: clamp(2.45rem, 4.5vw, 4.8rem); }
.two-col-heading > p { color: #5c5953; font-size: 1.08rem; margin: 0 0 6px; }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route-card { position: relative; min-height: 520px; border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgba(37,37,38,.12); }
.route-audit { background: var(--white); }
.route-freelance { background: var(--ink); color: #f5efe4; }
.route-number { position: absolute; top: 18px; right: 26px; font-size: 5.5rem; line-height: 1; font-weight: 800; letter-spacing: -.08em; opacity: .07; }
.card-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: var(--accent); margin: 0 0 8px; }
.route-card h3, .service-card h3, .case-card h3 { font-size: 2rem; line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; }
.route-card p { max-width: 590px; }
.route-freelance .card-kicker { color: var(--accent-soft); }
.route-freelance p, .route-freelance li { color: #d4cec2; }
.plain-list { list-style: none; padding: 0; margin: 24px 0 0; }
.plain-list li { position: relative; padding: 9px 0 9px 25px; border-top: 1px solid rgba(37,37,38,.11); }
.plain-list li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.route-freelance .plain-list li { border-color: rgba(255,255,255,.12); }
.text-link { display: inline-flex; gap: 10px; align-items: center; width: fit-content; text-decoration: none; font-weight: 800; margin-top: 30px; }
.text-link span { color: var(--accent); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.pragmatic-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 88px; align-items: center; }
.pragmatic-copy h2 { margin-bottom: 28px; }
.pragmatic-copy p { color: #cdc6ba; max-width: 650px; font-size: 1.03rem; }
.diagnostic-card { background: #242425; border: 1px solid #39393b; border-radius: 24px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.diagnostic-top { display: flex; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid #39393b; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; color: #aaa398; }
.status { color: var(--accent-soft); }
.diagnostic-flow { padding: 14px 22px; }
.flow-row { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 20px 8px; border-bottom: 1px solid #353537; }
.flow-row:last-child { border-bottom: 0; }
.flow-index { font-family: ui-monospace, monospace; color: #736e66; }
.flow-row strong, .flow-row span { display: block; }
.flow-row div > span { color: #aaa398; margin-top: 3px; font-size: .9rem; }
.flow-row.active { background: rgba(191,152,10,.11); border-radius: 14px; }
.flow-row.active .flow-index, .flow-row.active strong { color: var(--accent-soft); }
.diagnostic-foot { padding: 14px 22px; border-top: 1px solid #39393b; color: #857f76; font-size: .78rem; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 300px; background: rgba(255,255,255,.62); border: 1px solid #d6d0c5; border-radius: 20px; padding: 26px; }
.service-marker { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-weight: 800; margin-bottom: 48px; }
.service-card h3 { font-size: 1.45rem; }
.service-card p { color: #666159; margin: 0; }
.case-card { margin-top: 22px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); color: #f6f0e6; border-radius: 26px; overflow: hidden; }
.case-image img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; filter: saturate(.84) contrast(1.02); }
.case-copy { padding: clamp(34px, 5vw, 70px); align-self: center; }
.case-copy h3 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.case-copy p { color: #cec7bb; }
.case-copy .text-link { color: #fff; }

.profile-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 92px; align-items: start; }
.profile-lead { font-size: 1.35rem; line-height: 1.55; margin-top: 0; }
.profile-copy > p:last-child { color: #5f5a53; }
.profile-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 34px 0; }
.profile-facts div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.profile-facts strong { font-size: 1.2rem; color: var(--accent); }
.profile-facts span { color: #6d675e; }

.section-process { background: #ded8cd; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #bcb5aa; border: 1px solid #bcb5aa; border-radius: 22px; overflow: hidden; }
.process-step { background: #e9e4db; padding: 30px 26px 34px; min-height: 300px; }
.process-step > span { font-size: 3.7rem; font-weight: 800; letter-spacing: -.08em; color: rgba(37,37,38,.12); }
.process-step h3 { font-size: 1.25rem; line-height: 1.15; margin: 24px 0 12px; }
.process-step p { color: #69635b; margin: 0; }

.section-cta { background: var(--ink); color: #f7f2e9; }
.cta-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: center; }
.cta-grid h2 { font-size: clamp(3rem, 6vw, 6.2rem); }
.cta-grid > div:first-child p { color: #c8c1b5; font-size: 1.08rem; max-width: 680px; }
.cta-panel { background: #2a2a2c; border: 1px solid #3b3b3d; border-radius: 24px; padding: 32px; }
.cta-panel p { color: #c9c2b6; }
.email-link { display: block; color: var(--accent-soft); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; margin: 20px 0 28px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-meta span { border: 1px solid #464648; border-radius: 999px; padding: 8px 11px; color: #aaa399; font-size: .78rem; }

.site-footer { background: #111; color: #d4cdc1; padding: 48px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 44px; align-items: start; }
.footer-brand img { width: 145px; filter: brightness(0) invert(1); opacity: .88; }
.footer-brand p { color: #888278; font-size: .86rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 6px; font-size: .87rem; }
.footer-grid strong { color: #fff; margin-bottom: 6px; }
.footer-grid a { color: #d4cdc1; }
.footer-end { text-align: right; color: #777168; }

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .86rem; }
  .hero-grid { gap: 40px; grid-template-columns: 1.08fr .92fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-end { text-align: left; grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-wrap { min-height: 74px; }
  .brand img { width: 132px; }
  .menu-toggle { display: block; z-index: 103; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 20px; right: 20px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid, .two-col-heading, .pragmatic-grid, .profile-grid, .cta-grid, .case-card { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(100%, 560px); margin-inline: auto; }
  .hero-note { left: 8px; }
  .experience-inner { grid-template-columns: 1fr; gap: 8px; }
  .experience-names { justify-content: flex-start; }
  .two-col-heading { gap: 24px; }
  .route-grid { grid-template-columns: 1fr; }
  .pragmatic-grid, .profile-grid, .cta-grid { gap: 42px; }
  .case-image img { min-height: 340px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .section-shell { padding: 56px 0 58px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.6rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { padding-left: 10px; }
  .hero-note { position: relative; left: auto; bottom: auto; margin: -28px 18px 0; }
  .experience-names { font-size: .9rem; }
  .route-card { min-height: auto; padding: 26px; }
  .service-grid, .profile-facts, .process-grid { grid-template-columns: 1fr; }
  .service-marker { margin-bottom: 30px; }
  .profile-facts div { grid-template-columns: 90px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-end { grid-column: auto; }
}
