:root {
  --primary: #a6332a;
  --primary-dark: #87271f;
  --primary-soft: #f6e7e4;
  --dark: #13233d;
  --text: #4c5668;
  --light: #f7f3ee;
  --line: #e6dfd6;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 24px 50px -30px rgba(19, 35, 61, 0.4);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }
body.menu-open { overflow: hidden; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 108px 0; }
.section--cream { background: var(--light); }
.section--ink { background: var(--dark); color: #b9c2d1; }
.section--ink .h2 { color: var(--white); }
.section--ink .kicker { color: #e6a59c; }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.015em; color: var(--dark); }
.head { max-width: 660px; margin-bottom: 44px; }
.head > p:not(.kicker) { font-size: 17px; margin-top: 14px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.head--row > p { max-width: 400px; font-size: 15px; }
.small { font-size: 13px; margin-top: 12px; }
.link { color: var(--primary); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: var(--white); font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: var(--radius); transition: background 0.2s, transform 0.16s var(--ease); }
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(0.97); }
.btn:disabled { background: #c9b5b1; cursor: not-allowed; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--dark); }
.btn--line:hover { background: var(--dark); color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.header.sticky { border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 32px; height: 82px; }
.logo { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--dark); line-height: 1.05; display: grid; }
.logo small { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
.logo--light { color: var(--white); }
.logo--light small { color: #e6a59c; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--dark); }
.nav a { padding: 4px 0; border-bottom: 1.5px solid transparent; transition: border-color 0.2s; }
.nav a:hover { border-color: var(--primary); }
.burger { display: none; font-size: 26px; color: var(--dark); margin-left: auto; }

/* Hero */
.hero { padding: 48px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 4.9vw, 64px); line-height: 1.06; letter-spacing: -0.02em; color: var(--dark); }
.hero__lead { font-size: 18.5px; margin: 26px 0 32px; max-width: 560px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts dt { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--dark); line-height: 1.2; }
.hero__facts dd { font-size: 14px; }
.hero__portrait { position: relative; }
.hero__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.hero__portrait figcaption { display: grid; padding: 16px 0 0; border-bottom: 3px solid var(--primary); padding-bottom: 14px; }
.hero__portrait strong { font-family: var(--serif); font-size: 20px; color: var(--dark); }
.hero__portrait span { font-size: 14px; }

/* Pathways */
.paths { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-bottom: 0; background: var(--white); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.paths button { display: grid; justify-items: start; gap: 10px; padding: 20px 18px; text-align: left; font-weight: 600; color: var(--dark); font-size: 15px; line-height: 1.3; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background 0.2s; }
.paths button:last-child { border-right: 0; }
.paths button i { font-size: 22px; color: var(--primary); }
.paths button:hover { background: var(--light); }
.paths button.on { background: var(--dark); color: var(--white); border-bottom-color: var(--dark); }
.paths button.on i { color: #e6a59c; }
.path { display: grid; grid-template-columns: 1fr 340px; background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.path__main { padding: 44px; animation: fade 0.3s ease-out; }
.path h3 { font-family: var(--serif); font-size: 30px; color: var(--dark); font-weight: 600; margin-bottom: 12px; }
.path__main > p { font-size: 17px; max-width: 640px; }
.path__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; }
.path h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dark); margin-bottom: 12px; }
.path ul { list-style: none; display: grid; gap: 9px; }
.path li { display: flex; gap: 10px; color: var(--dark); font-size: 15.5px; }
.path li i { color: var(--primary); margin-top: 2px; }
.path__side { background: var(--light); margin: 16px; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.path__side span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.path__side strong { color: var(--dark); font-size: 17px; }
.path__side .path__fee { font-family: var(--serif); font-size: 38px; line-height: 1.1; display: block; }
.path__side small { font-size: 13px; }
.path__side .btn { margin-top: auto; }

/* Fees */
.fees { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.fees__intro > p:not(.kicker) { font-size: 17px; margin: 18px 0 24px; }
.fees__notes { list-style: none; display: grid; gap: 10px; }
.fees__notes li { display: flex; gap: 10px; color: var(--dark); }
.fees__notes i { color: var(--primary); }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; padding: 0 0 14px; border-bottom: 2px solid var(--dark); color: var(--dark); }
.fee-table td { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--dark); vertical-align: top; }
.fee-table th:not(:first-child), .fee-table td:not(:first-child) { text-align: right; padding-left: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table td:last-child { color: var(--text); }
.fee-table tr { transition: background 0.2s; }
.fee-table tbody tr:hover { background: var(--light); }

/* Process */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.process__lead { font-size: 17px; margin: 18px 0 30px; }
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: #33476a; }
.timeline li { position: relative; padding: 0 0 34px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--dark); border: 2px solid #e6a59c; }
.timeline span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e6a59c; }
.timeline strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--white); margin: 2px 0 6px; }

/* Results */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.case { padding: 34px 36px 36px 0; border-bottom: 1px solid var(--line); }
.case:nth-child(even) { padding: 34px 0 36px 36px; border-left: 1px solid var(--line); }
.case__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.case__tag { font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 4px; }
.case__ok { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: #1d7a4e; }
.case h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--dark); margin-bottom: 8px; line-height: 1.25; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.about__copy > p:not(.kicker) { font-size: 17px; margin-top: 18px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.creds dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.creds dd { color: var(--dark); font-weight: 500; }

/* Testimonials */
.quote { max-width: 900px; margin: 0 auto; text-align: center; min-height: 240px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; color: var(--dark); animation: fade 0.35s ease-out; }
.quote p { margin-top: 24px; }
.quote strong { color: var(--dark); }
.quote__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 24px; font-variant-numeric: tabular-nums; font-size: 14px; }
.quote__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--dark); font-size: 18px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.quote__nav button:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 18px; transition: opacity 0.2s; }
.post span { font-size: 13px; font-weight: 600; color: var(--primary); }
.post h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--dark); margin-top: 6px; }
.post:hover img { opacity: 0.88; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 72px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--dark); display: flex; justify-content: space-between; gap: 20px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 1; color: var(--primary); transition: transform 0.2s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 40px 24px 0; }

/* Book */
.book { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: start; }
.book__info > p:not(.kicker) { font-size: 17px; margin: 18px 0 32px; }
.office { list-style: none; display: grid; gap: 16px; }
.office li { display: flex; gap: 12px; color: var(--dark); }
.office i { color: var(--primary); font-size: 19px; }
.office a:hover { color: var(--primary); }
.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label > span, .form__label, .ctype legend { font-size: 14px; font-weight: 600; color: var(--dark); }
.form input:not([type=radio]), .form select { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #d8d0c5; border-radius: var(--radius); background: var(--white); outline: none; transition: border-color 0.2s; }
.form input:focus, .form select:focus { border-color: var(--dark); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ctype { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ctype legend { margin-bottom: 8px; }
.ctype label { position: relative; cursor: pointer; }
.ctype input { position: absolute; opacity: 0; }
.ctype label > span { display: grid; padding: 14px 16px; border: 1.5px solid #d8d0c5; border-radius: var(--radius); transition: border-color 0.2s, background 0.2s; }
.ctype strong { color: var(--dark); }
.ctype em { font-style: normal; font-size: 14px; }
.ctype input:checked + span { border-color: var(--primary); background: var(--primary-soft); }
.ctype input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 2px; }
.bdays { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: -8px; }
.bdays button { display: grid; justify-items: center; padding: 8px 0; border: 1px solid #d8d0c5; border-radius: var(--radius); font-size: 12px; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.bdays strong { font-size: 18px; color: var(--dark); line-height: 1.2; }
.bdays button:hover { border-color: var(--dark); }
.bdays button.on { background: var(--dark); border-color: var(--dark); color: #c9d2e0; }
.bdays button.on strong { color: var(--white); }
.btimes { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.btimes button { padding: 10px 0; border: 1px solid #d8d0c5; border-radius: var(--radius); font-weight: 600; color: var(--dark); font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.btimes button:hover { border-color: var(--primary); }
.btimes button.on { background: var(--primary); border-color: var(--primary); color: var(--white); }
.form__ok { display: flex; gap: 10px; align-items: flex-start; background: #e8f4ee; color: #1d5e3f; padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; }
.form__ok i { font-size: 18px; }

/* Footer */
.footer { background: var(--dark); color: #9aa6ba; padding: 64px 0 0; font-size: 15px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; }
.footer__in p { margin-top: 14px; max-width: 360px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer__nav a:hover, .footer__legal a:hover { color: var(--white); }
.footer__legal { border-top: 1px solid #2a3c5c; padding: 22px 0; font-size: 13px; }

@keyframes fade { from { opacity: 0; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hero__grid, .about, .process { gap: 56px; }
  .paths { grid-template-columns: repeat(3, 1fr); }
  .paths button:nth-child(3) { border-right: 0; }
  .path { grid-template-columns: 1fr 300px; }
  .fees, .book { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: 82px 0 0; background: var(--white); flex-direction: column; gap: 0; padding: 12px 16px; font-size: 20px; transform: translateX(100%); transition: transform 0.3s var(--ease); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  body.menu-open .nav { transform: none; }
  .hero__grid, .about, .process, .faq { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 460px; }
  .path { grid-template-columns: 1fr; }
  .path__main { padding: 30px 24px 10px; }
  .head--row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cases { grid-template-columns: 1fr; }
  .case, .case:nth-child(even) { padding: 28px 0; border-left: 0; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post:last-child { display: none; }
  .faq { gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .header__in { height: 70px; }
  .nav { inset: 70px 0 0; }
  .logo { font-size: 22px; }
  .hero { padding: 28px 0 72px; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__facts div:last-child { grid-column: 1 / -1; }
  .paths { grid-template-columns: 1fr 1fr; }
  .paths button:nth-child(3) { border-right: 1px solid var(--line); }
  .paths button:nth-child(even) { border-right: 0; }
  .paths button { padding: 16px 14px; font-size: 14px; }
  .path__cols { grid-template-columns: 1fr; gap: 24px; }
  .path__side { margin: 12px; padding: 22px; }
  .fee-table th:last-child, .fee-table td:last-child { display: none; }
  .creds { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .posts .post:last-child { display: block; }
  .card { padding: 22px; }
  .form__row, .ctype { grid-template-columns: 1fr; }
  .bdays { grid-template-columns: repeat(4, 1fr); }
  .acc summary { font-size: 18px; }
  .acc details p { padding-right: 0; }
}

/* Motion */
.hero__copy > *, .hero__facts > div { opacity: 0; transform: translateY(22px); animation: up 0.9s var(--ease) forwards; }
.hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.hero__copy > :nth-child(2) { animation-delay: 0.15s; }
.hero__copy > :nth-child(3) { animation-delay: 0.3s; }
.hero__copy > :nth-child(4) { animation-delay: 0.42s; }
.hero__copy > :nth-child(5) { opacity: 1; transform: none; animation: none; }
.hero__facts > div:nth-child(1) { animation-delay: 0.55s; }
.hero__facts > div:nth-child(2) { animation-delay: 0.65s; }
.hero__facts > div:nth-child(3) { animation-delay: 0.75s; }
.hero__portrait img { clip-path: inset(100% 0 0 0); transform: scale(1.08); animation: unveil 1.3s 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.hero__portrait figcaption { opacity: 0; animation: up 0.8s 1.1s var(--ease) forwards; }
.hero__portrait figcaption { border-bottom: 0; position: relative; }
.hero__portrait figcaption::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; animation: line 0.9s 1.3s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes line { to { transform: scaleX(1); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; border-radius: var(--radius); }
.reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), transform 1.6s var(--ease); }
.reveal-img.in img { clip-path: inset(0 0 0 0); transform: scale(1); }

.path__main > *, .path__side > * { animation: up 0.55s var(--ease) both; }
.path__main > *, .path__side > * { opacity: 0; transform: translateY(12px); }
.path__main > :nth-child(2), .path__side > :nth-child(2) { animation-delay: 0.06s; }
.path__main > :nth-child(3), .path__side > :nth-child(3) { animation-delay: 0.12s; }
.paths button { transition: background 0.25s, color 0.25s; }
.paths button i { transition: transform 0.3s var(--ease), color 0.25s; }
.paths button:hover i { transform: translateY(-3px); }

.timeline::before { transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 0.15s linear; background: #e6a59c; }
.timeline li::before { transition: background 0.3s, transform 0.3s var(--ease); }
.timeline li.lit::before { background: #e6a59c; transform: scale(1.15); }

.case { transition: background 0.3s; }
.case h3 { transition: color 0.2s; }
.case:hover h3 { color: var(--primary); }
.post img { transition: transform 0.7s var(--ease), opacity 0.2s; }
.post:hover img { transform: scale(1.04); opacity: 1; }
.post { display: block; }
.post > div { overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.post > div img { margin-bottom: 0; }

.quote blockquote { animation: qin 0.6s var(--ease); }
@keyframes qin { from { opacity: 0; filter: blur(6px); transform: translateY(10px); } }
.btn i { transition: transform 0.25s var(--ease); }
.btn:hover i.ri-arrow-down-line { transform: translateY(3px); }
.link i { transition: transform 0.25s var(--ease); }
.link:hover i { transform: translateX(4px); }
.bdays button, .btimes button { transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.16s var(--ease); }
.bdays button:active, .btimes button:active { transform: scale(0.95); }
.form__ok:not([hidden]) { animation: up 0.5s var(--ease) both; opacity: 0; transform: translateY(8px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-img img { opacity: 1; transform: none; clip-path: none; }
}
.timeline { background: linear-gradient(#33476a, #33476a) 6px 8px / 1px calc(100% - 16px) no-repeat; }
