:root {
  --ink: #24202b;
  --muted: #716d77;
  --paper: #fbfaf7;
  --soft: #f2eff4;
  --purple: #762f91;
  --purple-dark: #542169;
  --green: #86be3f;
  --orange: #f3a12f;
  --line: #dfdbe2;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.58; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--purple); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 64px); background: rgba(251,250,247,.87); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: height .2s, border-color .2s; }
.site-header.scrolled { height: 72px; border-color: var(--line); }
.brand { position: relative; z-index: 2; width: 245px; }
.brand img { width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); }
.navigation a { text-decoration: none; font-size: .79rem; font-weight: 750; }
.navigation a:not(.nav-apply):hover { color: var(--purple); }
.nav-apply { padding: 12px 19px; border-radius: 999px; background: var(--purple); color: white; box-shadow: 0 8px 22px rgba(118,47,145,.17); }
.nav-apply:hover { background: var(--purple-dark); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); }
.menu-toggle > span:not(.sr-only) { display: block; width: 19px; height: 1.5px; margin: 4px auto; background: currentColor; }

.hero { width: min(1380px, calc(100% - 44px)); min-height: 760px; margin: 0 auto; padding: 126px 0 72px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 7vw, 110px); align-items: center; overflow: hidden; }
.hero-copy { padding-left: max(0px, calc((100vw - var(--max)) / 2 - 70px)); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--purple); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 26px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--purple) 0 50%, var(--green) 50%); }
.hero h1 { margin: 0; font-size: clamp(4rem, 7vw, 7.6rem); line-height: .9; letter-spacing: -.065em; }
.hero h1 em { color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 800; transition: .2s ease; }
.button-primary { background: var(--purple); color: white; box-shadow: 0 12px 30px rgba(118,47,145,.2); }
.button-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.button-secondary { border-color: var(--line); background: white; }
.button-secondary:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.hero-proof { display: flex; gap: clamp(20px, 3vw, 42px); margin-top: 62px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-size: .83rem; }
.hero-proof span { color: var(--muted); font-size: .68rem; }
.hero-visual { position: relative; min-height: 620px; }
.hero-visual > img { position: absolute; z-index: 2; inset: 28px 0 0 10%; width: 85%; height: 88%; object-fit: cover; object-position: 54% center; border-radius: 48% 48% 14% 48% / 37% 42% 18% 48%; filter: saturate(.82) contrast(.96); }
.blob { position: absolute; border-radius: 50%; }
.blob-one { z-index: 1; top: 0; right: -7%; width: 68%; aspect-ratio: 1; background: #e8dbec; }
.blob-two { z-index: 3; right: 2%; bottom: 0; width: 23%; aspect-ratio: 1; background: var(--green); opacity: .88; }
.hero-note { position: absolute; z-index: 4; bottom: 28px; left: 0; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; width: 260px; padding: 18px 20px; border-radius: 18px; background: white; box-shadow: 0 22px 65px rgba(54,35,61,.18); }
.hero-note img { width: 48px; height: 48px; object-fit: contain; }
.hero-note p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.35; }
.hero-note strong { color: var(--ink); font-size: .86rem; }

.promise { padding: 105px max(5vw, calc((100vw - var(--max)) / 2)); background: var(--purple); color: white; text-align: center; }
.promise p { margin: 0 0 25px; color: #dac4e2; font-size: .74rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.promise h2 { max-width: 1040px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.4vw, 4.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }

.section { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .advantages h2, .candidates h2, .contact h2 { margin: 0; font-size: clamp(2.7rem, 4.9vw, 5.3rem); line-height: .98; letter-spacing: -.05em; }
.section-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 500px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; background: white; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 55px rgba(55,39,60,.09); }
.service-card-featured { background: var(--purple); color: white; }
.service-number { color: #aaa4ad; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.service-card-featured .service-number { color: #d8c4e0; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 48px 0 40px; border-radius: 18px; background: var(--soft); color: var(--purple); font-family: Georgia, serif; font-size: 1.8rem; }
.service-card-featured .service-icon { background: rgba(255,255,255,.13); color: #d9edb9; }
.service-card h3 { margin: 0 0 16px; font-size: 1.65rem; line-height: 1.1; }
.service-card p { margin: 0; color: var(--muted); }
.service-card-featured p { color: #e2d6e7; }
.service-card ul { margin: auto 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card-featured ul { border-color: rgba(255,255,255,.18); }
.service-card li { position: relative; padding: 4px 0 4px 20px; color: #55515a; font-size: .82rem; }
.service-card-featured li { color: #f2ebf4; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.advantages { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--soft); }
.advantages-image { position: relative; min-height: 600px; }
.advantages-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.75); }
.advantages-image > span { position: absolute; right: 26px; bottom: 25px; padding: 12px 16px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--purple); font-size: .72rem; font-weight: 850; }
.advantages-copy { display: flex; flex-direction: column; justify-content: center; padding: 95px clamp(35px, 8vw, 120px); }
.advantages h2 { font-size: clamp(2.5rem, 4.2vw, 4.7rem); }
.advantage-list { margin-top: 42px; border-top: 1px solid #d4ced7; }
.advantage-list article { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 21px 0; border-bottom: 1px solid #d4ced7; }
.advantage-list article > span { padding-top: 4px; color: var(--purple); font-size: .7rem; font-weight: 800; }
.advantage-list h3 { margin: 0 0 3px; font-size: 1rem; }
.advantage-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.text-link { align-self: flex-start; margin-top: 32px; color: var(--purple); font-size: .8rem; font-weight: 850; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.candidates { padding-top: 120px; padding-bottom: 120px; }
.candidate-card { min-height: 570px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 34px; overflow: hidden; background: #25212b; color: white; }
.candidate-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 88px); }
.candidate-copy .eyebrow { color: #be95cc; }
.candidate-copy h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.candidate-copy > p:not(.eyebrow) { max-width: 520px; margin: 26px 0 32px; color: #c7c1ca; }
.button-light { align-self: flex-start; background: white; color: var(--purple-dark); }
.button-light:hover { background: #e5f3ce; transform: translateY(-2px); }
.candidate-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78); }

.contact { padding-top: 40px; }
.contact-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; margin-bottom: 65px; }
.contact-heading .eyebrow { margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.contact-card { position: relative; min-height: 205px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; text-decoration: none; }
.contact-card > span { margin-bottom: auto; color: var(--purple); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.35; }
.contact-card i { position: absolute; right: 26px; top: 25px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--purple); font-style: normal; }
.contact-card[href]:hover { border-color: #b895c5; box-shadow: 0 14px 38px rgba(55,39,60,.07); }

.site-footer { width: min(var(--max), calc(100% - 44px)); min-height: 125px; margin: 0 auto; display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-brand { width: 190px; margin-right: auto; }
.footer-brand img { width: 100%; height: auto; }
.site-footer p { margin: 0; }
.footer-link { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; cursor: pointer; }
.prototype-badge { padding: 4px 8px; border: 1px solid #c7b4cf; border-radius: 99px; color: var(--purple); }

.legal-dialog { width: min(720px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(38,21,43,.42); }
.legal-dialog::backdrop { background: rgba(35,25,39,.68); backdrop-filter: blur(7px); }
.legal-content { padding: clamp(32px, 6vw, 70px); }
.legal-content h2 { margin: 0 0 35px; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -.05em; }
.legal-content h3 { margin: 28px 0 8px; color: var(--purple); font-size: .79rem; letter-spacing: .07em; text-transform: uppercase; }
.legal-content p { color: #66616a; }
.legal-content a { color: var(--purple); }
.legal-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; }
.dialog-close { position: sticky; z-index: 2; top: 14px; float: right; width: 44px; height: 44px; margin: 14px 14px -58px 0; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; font-size: 1.5rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .site-header { height: 72px; }
  .brand { width: 205px; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .navigation { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 100px 30px; background: rgba(251,250,247,.98); visibility: hidden; opacity: 0; transition: .2s; }
  .navigation.open { visibility: visible; opacity: 1; }
  .navigation a:not(.nav-apply) { padding: 10px; font-size: 1.4rem; }
  .nav-apply { margin-top: 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 780px; padding-left: 3vw; }
  .hero-visual { min-height: 590px; }
  .hero-visual > img { left: 8%; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; }
  .advantages { grid-template-columns: 1fr; }
  .advantages-image { min-height: 560px; }
  .candidate-card { grid-template-columns: 1fr; }
  .candidate-image { min-height: 430px; }
}

@media (max-width: 700px) {
  .hero { width: calc(100% - 32px); min-height: auto; padding: 120px 0 75px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 6rem); }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 470px; }
  .hero-visual > img { inset: 15px 0 0 4%; width: 91%; height: 88%; }
  .hero-note { left: 0; bottom: 0; width: 230px; }
  .blob-two { right: 0; }
  .promise { padding: 80px 22px; }
  .section { width: calc(100% - 32px); padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .service-card { padding: 26px; }
  .advantages-image { min-height: 430px; }
  .advantages-copy { padding: 80px 24px; }
  .candidate-card { border-radius: 24px; }
  .candidate-copy { padding: 48px 25px; }
  .candidate-image { min-height: 330px; }
  .contact-heading { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 180px; }
  .site-footer { min-height: 180px; flex-wrap: wrap; padding: 34px 0; }
  .footer-brand { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
