:root {
  color-scheme: light;
  --ink: #172d28;
  --deep: #10231f;
  --sage: #adc5b2;
  --gold: #e4d0a4;
  --paper: #f8f6ef;
  --muted: #4f6057;
  --light-muted: #d2e0d3;
  --line: #d6dbcd;
  --glass: #142c25c9;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: clamp(22px, 3.1vw, 48px);
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg:not(.symbols) { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.symbols, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { border: 0; position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px 18px; color: var(--deep); background: var(--gold); border-radius: 999px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.shell { width: min(1376px, calc(100% - clamp(44px, 10vw, 144px))); margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(3.5rem, 7.8vw, 7.6rem); line-height: .89; letter-spacing: -.035em; }
h3 { font-size: clamp(2.35rem, 4.3vw, 4.2rem); line-height: .98; letter-spacing: -.025em; }
em { font-weight: 400; }
section[id], article[id] { scroll-margin-top: 102px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 5; color: var(--paper); pointer-events: none; }
.header-wrap { position: relative; min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; display: inline-block; width: 157px; }
.brand img { width: 100%; height: auto; }
button.brand, .hero-meta button, .footer-base button, .service > button { background-color: transparent; color: inherit; }
button.brand, .hero-meta button, .footer-base button { border: 0; padding: 0; }
.header-wrap > * { pointer-events: auto; }
.site-header .brand { filter: drop-shadow(0 1px 8px #10231f); }
nav, .header-call, .menu-toggle, .case-tabs {
  background: var(--glass);
  border: 1px solid #adc5b23b;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  border-radius: 999px;
}
nav { display: flex; align-items: center; padding: 3px; gap: 1px; }
nav button { border: 0; background: transparent; text-align: start; padding: 11px 15px; border-radius: 999px; color: #f3f6ed; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s; }
nav button:hover { background: #adc5b22b; }
.header-call { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.header-call:hover { background: var(--gold); color: var(--deep); }
.header-call svg { width: 15px; height: 15px; }
.menu-toggle { display: none; }
.site-header.is-scrolled .brand { padding: 9px 13px; margin-inline-start: -13px; border-radius: 999px; background: var(--deep); width: 183px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 76% 34%, #3b5f52 0%, #223b33 35%, var(--deep) 77%);
  color: var(--paper);
}
.hero-visual {
  position: absolute;
  inset: 0 -7% 0 19%;
  z-index: -2;
  pointer-events: none;
  transform: translateY(var(--hero-offset, 0px));
  opacity: var(--hero-opacity, 1);
  mask-image: linear-gradient(90deg, transparent, #000 21%, #000 91%, transparent);
  mix-blend-mode: luminosity;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 39%;
  filter: grayscale(1) contrast(1.12) brightness(.9);
  animation: sculpture-in 1.35s var(--ease) both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--deep) 0%, #10231fd1 16%, #10231f35 43%, transparent 76%), linear-gradient(0deg, #10231f 1%, #10231fc7 12%, #10231f4b 35%, transparent 64%, #10231f36);
}
.hero-wrap {
  min-height: clamp(650px, 91svh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-top: 210px;
  padding-bottom: 24px;
}
.hero-intro { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 12px; animation: arrival .7s .1s var(--ease) both; }
.eyebrow { font: 800 11px/1.35 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sage); margin-bottom: 11px; }
.hero-summary { color: #f1f4eb; font-size: clamp(.95rem, 1.25vw, 1.18rem); line-height: 1.45; }
h1 { width: fit-content; font-size: clamp(5rem, 21vw, 20rem); line-height: .77; letter-spacing: -.055em; margin-left: -.043em; margin-bottom: clamp(24px, 4vw, 58px); text-shadow: 0 4px 32px #10231f55; animation: arrival .9s .2s var(--ease) both; }
h1 span { color: var(--sage); }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #adc5b24a; padding-top: 10px; color: var(--light-muted); font-size: 13px; font-weight: 700; }
.hero-meta > * { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.hero-meta > button:hover { color: var(--gold); }
.hero-meta svg { width: 16px; height: 16px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1.35; transition: background .24s, color .24s, border-color .24s; }
.button-gold { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.button-gold:hover { background: #f4e3bf; border-color: #f4e3bf; }
.button svg, .text-link svg { width: 17px; height: 17px; transition: transform .26s var(--ease); }
.button:hover svg, .text-link:hover svg { transform: translate(2px,-2px); }
.section { padding-block: clamp(76px, 10.2vw, 158px); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr); align-items: end; gap: 26px 62px; margin-bottom: clamp(43px, 6vw, 80px); }
.section-intro .eyebrow, .firm .eyebrow, .faq .eyebrow, .consult .eyebrow { margin-bottom: 19px; }
.section-intro > p { max-width: 390px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.19rem); }
.service-grid { display: grid; }
.service { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .89fr) auto; gap: 5px 24px; align-items: center; padding: clamp(20px, 3vw, 39px) 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-icon { width: 42px; height: 36px; display: grid; place-items: center start; color: #31554a; grid-column: 1; }
.service-icon svg { width: 30px; height: 30px; stroke-width: 1.3; }
.service h3 { grid-column: 1; grid-row: 2 / 4; }
.service > p { color: var(--muted); font-size: 15px; grid-column: 2; grid-row: 2; }
.service ul { grid-column: 2; grid-row: 3; padding: 0; list-style: none; display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.service li { border-bottom: 1px solid var(--line); }
.service > button { grid-column: 3; grid-row: 2 / 4; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid #9fb2a2; transition: background .22s, color .22s; }
.service > button:hover { background: var(--ink); color: var(--paper); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.case { background: radial-gradient(ellipse at 0% 20%, #315249, var(--ink) 55%, var(--deep)); color: var(--paper); }
.case .eyebrow { color: var(--sage); }
.case .section-intro > p { color: var(--light-muted); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 6.6vw, 94px); }
.case-photo { position: relative; background: #344b42; border-radius: var(--radius); overflow: hidden; min-height: 398px; }
.case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.57); transition: transform .7s var(--ease); }
.case-grid[data-stage="1"] img { transform: scale(1.06) translateX(1.5%); }
.case-grid[data-stage="2"] img { transform: scale(1.12) translateX(-2%); }
.case-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 58%, #101f1ae3); pointer-events: none; }
.case-photo figcaption { position: absolute; z-index: 1; bottom: 19px; left: 24px; right: 24px; color: white; font-size: 12px; font-weight: 700; }
.case-ui { display: flex; flex-direction: column; min-width: 0; padding: 13px 0; }
.case-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; overflow: hidden; }
.case-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 999px; color: var(--light-muted); background: none; min-height: 45px; padding: 6px; font-size: 13px; font-weight: 800; transition: background .25s, color .25s; }
.case-tabs span { font-size: 10px; }
.case-tabs button[aria-selected="true"] { color: var(--deep); background: var(--sage); }
.case-tabs button[aria-selected="false"]:hover { background: #adc5b221; }
.case-tabs button:focus-visible { outline-offset: -5px; }
.case-panel { flex: 1; min-height: 262px; padding-block: 30px 20px; animation: arrival .35s var(--ease) both; }
.case-panel > p { margin-top: 14px; color: var(--light-muted); }
.case-note { margin-top: 17px; border-top: 1px solid #adc5b258; padding-top: 13px; font-size: 14px; }
.case-note strong { color: var(--sage); }
.case-note p { color: var(--light-muted); }
.button-outline { color: var(--paper); border-color: #adc5b27a; background: #adc5b214; }
.button-outline:hover { background: var(--sage); color: var(--deep); }
.firm-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1fr); gap: clamp(34px, 9vw, 140px); align-items: center; }
.firm-grid > img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: .97; object-fit: cover; filter: saturate(.45); }
.firm h2 { font-size: clamp(3.4rem, 6.7vw, 7rem); }
.firm h2 em { color: #476b5e; }
.firm h2 + p { color: var(--muted); margin: 24px 0 14px; max-width: 465px; }
.faq { background: #e9eee4; }
.faq-grid, .consult-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 40px clamp(34px,8vw,122px); align-items: start; }
.faq h2 { font-size: clamp(3.2rem, 6vw, 5.7rem); }
details { border-top: 1px solid #bdcabc; }
details:last-child { border-bottom: 1px solid #bdcabc; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 12px 0; cursor: pointer; font-weight: 800; }
summary::marker, summary::-webkit-details-marker { display: none; content: ""; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dce6da; font-size: 22px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 35px 20px 0; font-size: 15px; color: var(--muted); }
.consult { background: radial-gradient(ellipse at 84% 43%, #35594d, #223b33 48%, var(--ink)); color: var(--paper); }
.consult h2 { font-size: clamp(4.35rem, 10vw, 10rem); }
.consult h2 em, .consult .eyebrow { color: var(--sage); }
.consult h2 + p { max-width: 365px; color: var(--light-muted); margin: 22px 0 10px; }
.consult-grid { align-items: center; }
.consult-form { display: grid; gap: 14px; padding: clamp(22px,4vw,48px); background: #10231f63; border-radius: var(--radius); }
.consult-form label { font-weight: 800; }
.consult-form select { width: 100%; min-height: 54px; padding: 10px 17px; color: var(--deep); border: 1px solid #b6c4b3; border-radius: 16px; background: var(--paper); font-size: 16px; }
.consult-form select:focus-visible { outline-color: var(--gold); }
.consult-form .button { margin-top: 4px; justify-content: space-between; }
.consult-form small { font-size: 13px; color: var(--light-muted); }
.footer { background: var(--deep); color: var(--light-muted); padding: 56px 0 19px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr .78fr; gap: 35px; }
.footer .brand { margin-bottom: 12px; }
.footer p, address, .footer a { font-size: 14px; }
.footer h2 { color: var(--paper); font: 800 14px/1.4 var(--body); letter-spacing: normal; margin-bottom: 12px; }
.footer address { font-style: normal; margin-bottom: 4px; }
.footer-grid > :last-child a { display: table; min-height: 30px; }
.footer svg { vertical-align: middle; width: 15px; height: 15px; }
.footer a:hover { color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #adc5b24a; color: var(--sage); margin-top: 38px; padding-top: 10px; font-size: 12px; }
.footer-base button { font-size: inherit; min-height: 44px; display: inline-flex; align-items: center; gap: 5px; }
.arrow-up { transform: rotate(180deg); }
.will-reveal { opacity: .65; transform: translateY(16px); }
.revealed { opacity: 1; transform: none; transition: opacity .62s var(--ease), transform .62s var(--ease); }
@keyframes arrival { from { opacity: .38; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sculpture-in { from { opacity: .3; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .header-wrap { min-height: 76px; }
  .brand { width: 141px; }
  .site-header.is-scrolled .brand { width: 167px; }
  .menu-toggle { order: 3; display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; padding: 0; color: inherit; flex: none; }
  .menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .header-call { margin-left: auto; }
  nav { display: none; position: absolute; top: calc(100% - 2px); right: 0; width: min(288px,100%); padding: 10px; background: #142c25f0; border-radius: 24px; }
  nav.open { display: grid; animation: arrival .24s var(--ease) both; }
  nav button { display: block; padding: 12px 15px; min-height: 44px; }
  .hero-wrap { min-height: clamp(575px, 86svh, 770px); }
  .hero-visual { inset-inline-start: 8%; inset-inline-end: -17%; }
  .section-intro { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .case-grid { gap: 25px; }
  .case-tabs button { font-size: 12px; }
  .firm-grid { gap: 32px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .header-wrap { min-height: 72px; gap: 8px; }
  .brand { width: 126px; }
  .site-header.is-scrolled .brand { width: 150px; margin-inline-start: -10px; padding-inline: 12px; }
  .header-call { padding-inline: 12px; }
  .hero-visual { inset: 0 -20% 13% -23%; mask-image: linear-gradient(0deg, transparent, #000 22%); }
  .hero-visual img { object-position: 61% 34%; }
  .hero::after { background: linear-gradient(0deg, var(--deep) 3%, #10231f 12%, #10231f9e 32%, transparent 62%, #10231f44 90%); }
  .hero-wrap { min-height: clamp(590px, 92svh, 745px); padding-top: 320px; padding-bottom: 12px; }
  .hero-intro { display: grid; justify-items: start; gap: 15px; margin-bottom: 19px; }
  .hero-intro .button { min-height: 46px; padding-inline: 15px; font-size: 13px; }
  h1 { font-size: clamp(4.3rem, 21.95vw, 9.35rem); margin-bottom: 22px; }
  .hero-meta { font-size: 12px; padding-top: 0; }
  .service { grid-template-columns: minmax(0,1fr) auto; gap: 6px 14px; }
  .service h3, .service > p, .service ul, .service > button { grid-row: auto; }
  .service h3 { grid-row: 2; }
  .service > p, .service ul { grid-column: 1; }
  .service > button { grid-column: 2; grid-row: 2 / 4; width: 44px; height: 44px; }
  .case-grid, .firm-grid, .faq-grid, .consult-grid { grid-template-columns: minmax(0,1fr); }
  .case-photo { min-height: 250px; aspect-ratio: 1.4; }
  .case-ui { padding-block: 0; }
  .case-panel { min-height: 246px; }
  .case-tabs button { gap: 5px; }
  .firm-grid > img { aspect-ratio: 1.45; }
  .consult-grid { gap: 25px; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 25px 13px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .footer-grid > :last-child a { overflow-wrap: anywhere; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 32px); }
  .brand { width: 105px; }
  .site-header.is-scrolled .brand { width: 129px; }
  .case-tabs span { display: none; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-visual, .case-photo img, .will-reveal { transform: none !important; opacity: 1 !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  nav, .header-call, .menu-toggle, .case-tabs, .consult-form { background: var(--deep); backdrop-filter: none; }
  .will-reveal { opacity: 1; }
}

