/* SHAXLO AND PARTNERS mocks: one stylesheet for every page. */
/* Palette supplied by the client: ivory ground, deep emerald, warm beige, antique gold, graphite. */
:root {
  --ivory: #F5F1E8; --beige: #E6DED0; --emerald: #103D32; --emerald-2: #0B2E26; --emerald-3: #1B5545;
  --gold: #A88B50; --gold-hi: #CDB27A; --gold-ink: #7A6232; --ink: #252822; --muted: #6B665D; --line: #D9D0BF;
  --on-em: #F5F1E8; --on-em-muted: #B7C5BC; --em-line: rgba(245, 241, 232, .16);
  --serif: "EB Garamond", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
  --wrap: 1360px; --gutter: clamp(20px, 4vw, 56px); --ease: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "cv11", "ss01"; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
/* Focus: no browser-blue ring. Keyboard users get a gold ring, mouse and touch get none. */
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p, h1, h2, h3, figure, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(42px, 4.9vw, 74px); line-height: 1.05; letter-spacing: -.015em; color: var(--emerald); }
h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -.015em; }
h3 { font: 600 20px/1.3 var(--sans); letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.4vw, 20px); color: var(--muted); max-width: 54ch; }
.kick { display: block; font: 600 13px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--emerald); color: var(--on-em); font: 600 16px/1 var(--sans); padding: 18px 28px; border-radius: 8px; text-decoration: none; border: 0; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .16s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--emerald-3); }
.btn:active { transform: scale(.97); }
.btn i { transition: transform .2s var(--ease); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn.outline:hover { background: var(--emerald); color: var(--on-em); box-shadow: none; }
.btn.gold { background: var(--gold-hi); color: var(--emerald-2); }
.btn.gold:hover { background: var(--ivory); }
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.tlink i { transition: transform .2s var(--ease); }


/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); height: 84px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 54px; height: 54px; overflow: hidden; flex: none; }
.brand .mark img { width: 108px; height: 108px; max-width: none; transform: translate(-27px, -23px); mix-blend-mode: multiply; }
.brand span { display: grid; gap: 5px; }
.brand b { font: 500 19px/1 var(--serif); letter-spacing: .1em; }
.brand small { font: 600 10px/1 var(--sans); letter-spacing: .3em; color: var(--gold-ink); }
nav.main { display: flex; gap: clamp(14px, 1.4vw, 20px); margin-left: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
nav.main a { min-width: 44px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
nav.main a:hover { border-color: var(--gold); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding-left: 20px; border-left: 1px solid var(--line); cursor: pointer; }
.lang span { display: none; }
.lang .on { display: inline; }
.lang i { font-size: 14px; color: var(--gold-ink); }
.btn.hdr { min-height: 44px; padding: 14px 20px; font-size: 15px; white-space: nowrap; }
.burger { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); font-size: 28px; cursor: pointer; }
.dock { display: none; }

/* Hero, shared */
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: min(780px, calc(100vh - 118px)); overflow: hidden; }
.hero-copy { padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero .lede { margin-top: 26px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.trio { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 600px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.trio i { display: block; font-size: 36px; color: var(--gold); margin-bottom: 12px; }
.trio li { animation: rise .7s var(--ease) both; }
.trio li:nth-child(1) { animation-delay: .36s; } .trio li:nth-child(2) { animation-delay: .43s; } .trio li:nth-child(3) { animation-delay: .5s; }
.hero-art { position: relative; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: wipe 1.2s var(--ease-in-out) both; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes line { from { outline-color: transparent; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }

/* Hero photo sits inside a large arc with a gold line */
.hero-photo { border-radius: 48% 0 0 48% / 50% 0 0 50%; outline: 1.5px solid var(--gold); outline-offset: 12px; animation: line .9s .7s var(--ease) both; }
.hero-art { margin-left: 14px; }



.proof { border-bottom: 1px solid var(--line); background: var(--beige); }
.proof ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { display: flex; gap: 14px; align-items: center; padding: 26px 20px 26px 0; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof i { font-size: 34px; color: var(--gold); flex: none; }
.proof b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.proof span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* On beige grounds the palette grey and gold fall under 4.5:1 for text, so both step one shade darker there */
.proof, .voices, .plans-sec, #plist a, .also, .acct-sec { --muted: #5E5A52; --gold-ink: #6B5529; --gold: #96793F; }
.acct-price { --muted: #6B665D; --gold-ink: #7A6232; --gold: #A88B50; }


/* ---------- Motion ----------
   Every scroll reveal runs once. Elements that enter together are staggered by --d.
   Without JS (no .js on <html>) nothing is hidden. */
header.site::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
header.site::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; background: linear-gradient(rgba(11, 46, 38, .1), transparent); opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
header.site.scrolled::after { opacity: 1; }
@supports (animation-timeline: scroll()) {
  header.site::before { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
  .abroad { overflow: clip; }
  .abroad > img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
}

html.js [data-r] { opacity: 0; transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms), clip-path .8s var(--ease-in-out) var(--d, 0ms); }
html.js [data-r="rise"] { transform: translateY(26px); }
html.js [data-r="card"] { transform: translateY(34px) scale(.97); }
html.js [data-r="wipe"] { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(.3em); }
html.js [data-r="img"] { opacity: 1; clip-path: inset(0 0 100% 0); }
html.js [data-r="side"] { transform: translateX(-22px); }
html.js [data-r].in { opacity: 1; transform: none; clip-path: inset(-12% 0 -12% 0); }
/* Service cards: the icon and the price follow the card, so the eye lands on each service in turn */
html.js #plist a > i:first-child { transition: color .3s var(--ease), opacity .6s var(--ease) calc(var(--d, 0ms) + .22s), transform .6s var(--ease) calc(var(--d, 0ms) + .22s); }
html.js #plist .fee { transition: color .3s var(--ease), border-color .3s var(--ease), opacity .6s var(--ease) calc(var(--d, 0ms) + .34s); }
html.js #plist li[data-r]:not(.in) a > i:first-child { opacity: 0; transform: translateY(10px) scale(.86); }
html.js #plist li[data-r]:not(.in) .fee { opacity: 0; }
/* Process: the gold line draws from one step to the next */
html.js .steps li::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-in-out) calc(var(--d, 0ms) + .25s); }
html.js .steps li.in::before, html.js .steps li.done::before { transform: scaleX(1); }
html.js .steps li[data-r] .ic { transform: scale(.86); transition: transform .6s var(--ease) var(--d, 0ms); }
html.js .steps li.in .ic { transform: none; }

/* Pointer-only hover motion */
@media (hover: hover) and (pointer: fine) {
  .btn:hover i { transform: translateX(4px); }
  .tlink:hover i { transform: translateX(4px); }
  #plist a:hover { background: var(--emerald); color: var(--on-em); transform: translateY(-4px); }
  #plist a:hover p, #plist a:hover .fee { color: var(--on-em-muted); border-color: var(--em-line); }
  #plist a:hover .fee b { color: var(--on-em); }
  #plist a:hover > i:first-child, #plist a:hover .go, #plist a:hover .cat { color: var(--gold-hi); }
  #plist a:hover .go { transform: translateX(4px); }
  .also a:hover { background: var(--emerald); color: var(--on-em); }
  .also a:hover small { color: var(--on-em-muted); }
  .also a:hover i { color: var(--gold-hi); }
  .ways a:hover > i:last-child { opacity: 1; transform: translateX(4px); }
  .abroad li { transition: background .3s var(--ease), transform .3s var(--ease); }
  .abroad li:hover { background: rgba(27, 85, 69, .9); transform: translateY(-4px); }
  .plan { transition: transform .3s var(--ease); }
  .plan:hover { transform: translateY(-4px); }
}
/* Touch: a press, not a sticky hover */
@media (hover: none) {
  #plist a:active, .also a:active { transform: scale(.98); }
}

section { padding: clamp(64px, 8vw, 128px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }

/* Practice areas as cards */
#plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#plist a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ic ic" "cat cat" "h h" "p p" "fee go"; grid-template-rows: auto auto auto 1fr auto; gap: 0 16px; height: 100%; min-height: 290px; padding: 30px 28px 26px; background: var(--beige); border-radius: var(--r); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
#plist a > i:first-child { grid-area: ic; font-size: 46px; color: var(--gold); transition: color .3s var(--ease); }
#plist .cat { grid-area: cat; margin-top: 22px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); transition: color .3s var(--ease); }
#plist h3 { grid-area: h; font: 400 27px/1.15 var(--serif); letter-spacing: -.01em; margin-top: 8px; }
#plist p { grid-area: p; color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 10px; transition: color .3s var(--ease); }
#plist .fee { grid-area: fee; align-self: end; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.35; transition: color .3s var(--ease), border-color .3s var(--ease); }
#plist .fee b { display: block; font: 400 24px/1.2 var(--serif); color: var(--ink); transition: color .3s var(--ease); }
#plist .go { grid-area: go; align-self: end; font-size: 22px; color: var(--gold-ink); transition: transform .2s var(--ease), color .3s var(--ease); }
.also { margin-top: 16px; padding: 28px; background: var(--beige); border-radius: var(--r); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px 32px; align-items: start; }
.also h3 { font: 400 27px/1.15 var(--serif); letter-spacing: -.01em; }
.also ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.also a { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; height: 100%; min-height: 64px; padding: 10px 14px; background: var(--ivory); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.also a small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); transition: color .2s var(--ease); }
.also a i { font-size: 24px; color: var(--gold); transition: color .2s var(--ease); }
.more { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.more span { color: var(--muted); }


/* Accounting: what is included on the left, price by type of company on the right */
.acct-sec { background: var(--beige); }
.acct { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; align-items: stretch; }
.acct-inc { background: var(--emerald); color: var(--on-em); border-radius: var(--r); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; }
.acct-inc h3 { font: 400 28px/1.15 var(--serif); letter-spacing: -.01em; }
.acct-inc ul { margin: 24px 0 32px; display: grid; gap: 14px; line-height: 1.4; }
.acct-inc li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.acct-inc li i { font-size: 20px; color: var(--gold-hi); margin-top: 1px; }
.acct-inc .btn { margin-top: auto; }
.acct-price { background: var(--ivory); border-radius: var(--r); padding: clamp(20px, 2.6vw, 40px); min-width: 0; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-tabs button { font: 600 15px/1 var(--sans); padding: 13px 16px; min-height: 44px; border: 0; border-radius: 8px; background: var(--beige); color: var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.acct-tabs button:active { transform: scale(.97); }
.acct-tabs button[aria-selected="true"] { background: var(--emerald); color: var(--on-em); }
.acct-panel[hidden] { display: none; }
.acct-main { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-main > div { border-top: 2px solid var(--gold); padding-top: 16px; }
.acct-main dt { font-weight: 600; line-height: 1.3; }
.acct-main dt small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.acct-main dd { margin-top: 14px; font: 400 clamp(30px, 3vw, 44px)/1 var(--serif); white-space: nowrap; }
.acct-main dd small { font: 500 14px/1 var(--sans); color: var(--muted); }
.acct-main dd.req { font: 500 18px/1.4 var(--sans); color: var(--muted); padding-top: 12px; }
.acct-price h4 { margin: 32px 0 4px; font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.acct-add { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.acct-add li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.acct-add small { display: block; font-size: 13px; color: var(--muted); }
.acct-add b { font-weight: 600; white-space: nowrap; }
html.js .acct-panel.swap { animation: swap .28s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

/* Investors band */
.abroad { position: relative; color: var(--on-em); padding: clamp(72px, 9vw, 144px) 0; isolation: isolate; }
.abroad > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.abroad::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 46, 38, .96) 0%, rgba(11, 46, 38, .86) 45%, rgba(11, 46, 38, .45) 100%); }
.abroad .kick { color: var(--gold-hi); }
.abroad h2 { max-width: 16ch; }
.abroad .lede { color: var(--on-em-muted); margin-top: 24px; }
.abroad ul { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; }
.abroad li { background: rgba(16, 61, 50, .82); border: 1px solid var(--em-line); border-radius: var(--r); padding: 26px; }
.abroad li i { font-size: 36px; color: var(--gold-hi); }
.abroad li h3 { margin: 16px 0 8px; }
.abroad li p { font-size: 15px; line-height: 1.55; color: var(--on-em-muted); }
.abroad li b { display: block; margin-top: 16px; font: 400 23px/1.2 var(--serif); color: var(--gold-hi); }
.abroad li b small { font: 400 13px/1 var(--sans); color: var(--on-em-muted); }
.abroad .plus { margin-top: 28px; max-width: 72ch; font-size: 16px; color: var(--on-em-muted); }
.abroad .btn { margin-top: 32px; }

/* Reviews */
.voices { background: var(--beige); }
.voices-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.q { margin: 0; display: flex; flex-direction: column; }
.q blockquote { margin: 0; }
.q figcaption { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; margin-top: auto; padding-top: 28px; }
.q .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 500 20px/1 var(--serif); background: var(--beige); color: var(--gold-ink); }
.q figcaption b { display: block; font-weight: 600; line-height: 1.3; }
.q figcaption small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.q.big { background: var(--emerald); color: var(--on-em); border-radius: var(--r); padding: clamp(28px, 3.4vw, 56px); }
.q.big > i { font-size: 44px; color: var(--gold-hi); }
.q.big blockquote { margin-top: 20px; font: 400 clamp(22px, 2.1vw, 30px)/1.35 var(--serif); letter-spacing: -.005em; }
.q.big .av { background: var(--emerald-2); color: var(--gold-hi); }
.q.big figcaption small { color: var(--on-em-muted); }
.voices-side { display: grid; gap: 16px; }
.q.card { background: var(--ivory); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); }
.q.card blockquote { font-size: 16px; line-height: 1.65; color: var(--muted); }
.q.card blockquote strong { display: block; font: 500 22px/1.3 var(--serif); color: var(--ink); margin-bottom: 12px; letter-spacing: -.005em; }
.voices-more { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q.line { border-top: 1px solid var(--line); padding-top: 24px; }
.q.line blockquote { font: 400 20px/1.45 var(--serif); }
.q.line figcaption { grid-template-columns: 1fr; padding-top: 16px; }
.voices .src { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.steps li { position: relative; padding: 0 28px 0 0; }
.steps li::before { content: ""; position: absolute; left: 64px; right: 0; top: 32px; height: 1px; background: var(--gold); opacity: .5; }
.steps li:last-child::before { display: none; }
.steps .ic { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; font-size: 30px; color: var(--gold-ink); }
.steps h3 { margin: 24px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Plans */
.plans-sec { background: var(--beige); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--ivory); border-radius: var(--r); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; }
.plan.hot { background: var(--emerald); color: var(--on-em); }
.plan .tag { align-self: flex-start; justify-self: start; white-space: nowrap; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 6px; background: var(--beige); color: var(--gold-ink); margin-bottom: 20px; }
.plan.hot .tag { background: var(--gold-hi); color: var(--emerald-2); }
.plan h3 { font: 400 32px/1.1 var(--serif); }
.plan .for { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 48px; line-height: 1.5; }
.plan.hot .for { color: var(--on-em-muted); }
.plan .price { margin-top: 24px; font: 400 clamp(36px, 3.2vw, 48px)/1 var(--serif); white-space: nowrap; }
.plan .price small { font: 500 14px/1 var(--sans); color: var(--muted); }
.plan.hot .price small { color: var(--on-em-muted); }
.plan .per { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan.hot .per { color: var(--on-em-muted); }
.plan ul { margin: 28px 0; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.plan li i { font-size: 20px; color: var(--gold-ink); margin-top: 1px; }
.plan.hot li i { color: var(--gold-hi); }
.plan li.no, .plan li.no i { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan:not(.hot) .btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.plan:not(.hot) .btn:hover { background: var(--emerald); color: var(--on-em); box-shadow: none; }

/* Firm */
.firm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.firm figure { position: relative; padding: 0 15% 12% 0; }
.firm figure > img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; object-position: 50% 24%; border-radius: var(--r); outline: 1.5px solid var(--gold); outline-offset: 10px; }
.firm figure > img + img { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-position: 50% 30%; outline: 0; border: 6px solid var(--ivory); box-shadow: 0 24px 48px -24px rgba(11, 46, 38, .55); }
.firm p { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.facts > div { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts i { font-size: 24px; color: var(--gold); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-weight: 600; line-height: 1.35; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq .lede { margin: 20px 0 28px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 600 19px/1.35 var(--sans); }
summary::-webkit-details-marker { display: none; }
summary i { font-size: 22px; color: var(--gold-ink); transition: transform .25s var(--ease); flex: none; }
details[open] summary i { transform: rotate(45deg); }
details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 68ch; }

/* Contact */
.contact { background: var(--emerald); color: var(--on-em); }
.contact .kick { color: var(--gold-hi); }
.contact .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); }
.contact .lede { color: var(--on-em-muted); margin-top: 20px; }
.contact .hint { margin-top: 16px; display: flex; gap: 10px; align-items: center; font-size: 15px; }
.contact .hint i { font-size: 20px; color: var(--gold-hi); flex: none; }
.ways { margin-top: 36px; display: grid; gap: 4px; }
.ways a { display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--em-line); text-decoration: none; }
.ways a > i:first-child { width: 48px; height: 48px; border-radius: 50%; background: var(--emerald-3); display: grid; place-items: center; font-size: 22px; color: var(--gold-hi); }
.ways small { display: block; font-size: 13px; color: var(--on-em-muted); }
.ways b { font-weight: 600; font-size: 18px; }
.ways a > i:last-child { opacity: .5; transition: transform .2s var(--ease), opacity .2s; }
form { background: var(--ivory); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form h3 { grid-column: 1 / -1; font: 400 28px/1.2 var(--serif); margin-bottom: 4px; }
form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
form .full { grid-column: 1 / -1; }
input, select, textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #8F8778; border-radius: 8px; padding: 14px; width: 100%; transition: border-color .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
form small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }

footer { background: var(--emerald-2); color: var(--on-em-muted); padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; }

@media (max-width: 1400px) { .lang { display: none; } }
/* Tablet and phone: the nav folds into a menu under the header, the button stays until the phone dock takes over */
@media (max-width: 1300px) {
  .burger { display: grid; }
  .btn.hdr { margin-left: auto; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 46, 38, .35); font-size: 18px; white-space: normal; }
  nav.main a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  header.site::after { display: none; }
  header.site.open nav.main { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
@media (max-width: 1100px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plan .for { min-height: 72px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px var(--gutter) 40px; }
  .hero-art { height: clamp(380px, 62vw, 580px); margin: 0 0 0 var(--gutter); }
  .hero-photo img { object-position: 50% 78%; }
  .abroad::before { background: linear-gradient(180deg, rgba(11, 46, 38, .95), rgba(11, 46, 38, .88)); }
  .firm figure { max-width: 560px; }
  .also { grid-template-columns: 1fr; }
  .also ul { grid-template-columns: 1fr 1fr; }
  .sec-head, .firm, .faq, .contact .cols, .voices-grid, .voices-more { grid-template-columns: 1fr; }
  .acct { grid-template-columns: minmax(0, 1fr); }
  #plist { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li::before { display: none; }
}
/* Tablet portrait: investor cards stay three across; each plan lays out as summary left, list right */
@media (min-width: 601px) and (max-width: 960px) {
  .abroad li { padding: 20px; }
  .plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(5, auto) 1fr; gap: 0 clamp(24px, 4vw, 48px); }
  .plan > * { grid-column: 1; }
  .plan ul { grid-column: 2; grid-row: 1 / -1; margin: 0; align-content: start; }
  .plan .btn { align-self: end; margin-top: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .abroad ul { grid-template-columns: 1fr; }
  .btn.hdr { display: none; }
  .burger { margin-left: auto; }
  .dock { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
  .dock .btn { padding: 16px 10px; font-size: 15px; }
  .dock.away { transform: translateY(110%); }
  header.site .wrap { height: 72px; gap: 12px; }
  .brand .mark { width: 42px; height: 42px; } .brand .mark img { width: 84px; height: 84px; transform: translate(-21px, -18px); }
  .brand b { font-size: 15px; letter-spacing: .08em; } .brand small { font-size: 10px; letter-spacing: .18em; }
  .hero-cta .btn { flex: 1 1 100%; }
  .trio { gap: 12px; font-size: 13px; } .trio i { font-size: 30px; }
  .proof ul, .steps, .facts, form, #plist { grid-template-columns: 1fr; }
  .proof li, .proof li + li { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof li:first-child { border-top: 0; }
  .more .btn { flex: 1 1 100%; }
  .also { padding: 20px; }
  .acct-main, .acct-add { grid-template-columns: 1fr; }
  .acct-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .acct-tabs button { flex: none; }
  .also ul { grid-template-columns: 1fr; }
  #plist a { min-height: 0; }
  details p { padding-right: 0; }
  .hero-art { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  html.js [data-r] { opacity: 0; transform: none !important; clip-path: none !important; transition: opacity .3s ease !important; }
  html.js [data-r].in { opacity: 1; }
  html.js #plist li[data-r]:not(.in) a > i:first-child { transform: none; }
  html.js .steps li::before { transform: none; transition: none; }
  html.js .steps li[data-r] .ic { transform: none; }
  #plist a:hover, .plan:hover, .abroad li:hover, .btn:active { transform: none; }
  nav.main { transform: none !important; }
}
@media print { html.js [data-r] { opacity: 1 !important; transform: none !important; clip-path: none !important; } }


/* ====================================================================
   Inner pages. Everything below uses its own class names, so the home
   page renders exactly as before; only the footer links are shared.
   ==================================================================== */

/* Footer links, on every page */
.foot-top { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 40px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--em-line); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; color: var(--on-em); font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .2s var(--ease); }
.foot-social a:hover { text-decoration-color: var(--gold-hi); }
.foot-social i { font-size: 20px; color: var(--gold-hi); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-em); font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .2s var(--ease); }
.foot-nav a:hover { text-decoration-color: var(--gold-hi); }

/* Beige grounds on inner pages take the same darker grey and gold as the home page ones */
.areas, .art-card:not(.feature):not(.planned), .med-sec, .fact-panel, .scope-sec { --muted: #5E5A52; --gold-ink: #6B5529; --gold: #96793F; }

/* Mock-only annotations. A dashed gold box marks content the firm has not supplied yet,
   or an assumption it must confirm. They are removed before launch, never styled away. */
.slot { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; padding: 16px 20px; border: 1.5px dashed var(--gold); border-radius: var(--r); font-size: 15px; line-height: 1.5; color: var(--muted); text-align: left; }
.slot > i { grid-row: span 2; font-size: 22px; line-height: 1.1; color: var(--gold-ink); }
.slot b { font: 600 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.slot.inline { display: inline-flex; gap: 8px; padding: 4px 10px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.slot.inline > i { font-size: 16px; }
.contact .slot, .tax .slot, .aside-cta .slot, .art-card.feature .slot { border-color: var(--gold-hi); color: var(--on-em-muted); }
.contact .slot > i, .contact .slot b, .tax .slot > i, .tax .slot b { color: var(--gold-hi); }

/* Review cards on an ivory section */
.q.card.on-beige { background: var(--beige); --muted: #5E5A52; --gold-ink: #6B5529; --gold: #96793F; }
.q.card.on-beige .av { background: var(--ivory); }
.q .av i { font-size: 24px; }

/* Visually hidden, still read by screen readers */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Current page in the main menu */
nav.main a[aria-current="page"] { border-color: var(--gold); }

/* Links inside fact lists get a 44px hit area without changing the row height */
.facts dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

/* Russian and Uzbek: the longer menu and button need the folded menu earlier than English (measured on /type-check/) */
html:lang(ru) .brand small { letter-spacing: .2em; }
@media (min-width: 1301px) and (max-width: 1560px) {
  html:not(:lang(en)) .burger { display: grid; }
  html:not(:lang(en)) .btn.hdr { margin-left: auto; }
  html:not(:lang(en)) nav.main { position: absolute; top: 100%; left: 0; right: 0; display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 46, 38, .35); font-size: 18px; white-space: normal; }
  html:not(:lang(en)) nav.main a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  html:not(:lang(en)) header.site.open nav.main { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
/* English with the language switcher fits inline only from 1401px */
@media (min-width: 1301px) and (max-width: 1400px) {
  html:lang(en) .burger { display: grid; }
  html:lang(en) .btn.hdr { margin-left: auto; }
  html:lang(en) nav.main { position: absolute; top: 100%; left: 0; right: 0; display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11, 46, 38, .35); font-size: 18px; white-space: normal; }
  html:lang(en) nav.main a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  html:lang(en) header.site.open nav.main { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s var(--ease); }
.crumbs a:hover { text-decoration-color: var(--gold); }
.crumbs i { font-size: 12px; color: var(--gold-ink); }

/* Inner hero: the home arc, a little shorter, with breadcrumbs on top */
.hero.inner { min-height: min(700px, calc(100vh - 118px)); }
.hero.inner .hero-copy { padding-top: clamp(16px, 2.4vw, 40px); }
.hero.inner .crumbs { margin-bottom: clamp(20px, 2.6vw, 40px); }
.hero.inner h1 { font-size: clamp(40px, 4.4vw, 66px); }
.hero.inner .trio { max-width: 640px; }
.hero.inner .trio b { display: block; font: 400 22px/1.2 var(--serif); margin-bottom: 4px; }
.hero-photo.pos-top img { object-position: 50% 30%; }

/* Compact page head for pages without a photo */
.phead { padding: clamp(8px, 1.4vw, 20px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.phead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-top: clamp(16px, 2.6vw, 40px); }
.phead h1 { font-size: clamp(40px, 4.4vw, 66px); }
.phead .lede { margin-top: 22px; }
.phead .hero-cta { margin-top: 32px; }
.phead .crumbs, .phead-grid > * > * { animation: rise .7s var(--ease) both; }
.phead-grid > * > :nth-child(2) { animation-delay: .06s; } .phead-grid > * > :nth-child(3) { animation-delay: .12s; } .phead-grid > * > :nth-child(4) { animation-delay: .18s; }
.phead-grid > aside > * { animation-delay: .24s; }

/* Service page: what the work covers */
.scope-sec { background: var(--beige); }
.scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.scope-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.scope-list li > i { font-size: 24px; color: var(--gold); }
.scope-list b { display: block; font-weight: 600; }
.scope-list span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.scope .note { margin-top: 28px; }

/* Fee tables. Desktop: service, unit, fee. Phone: the service on one line, unit and fee under it. */
.ftab { width: 100%; border-collapse: collapse; font-size: 16px; }
.ftab th { padding: 0 20px 12px 0; text-align: left; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.ftab td { padding: 16px 20px 16px 0; border-top: 1px solid var(--line); vertical-align: baseline; line-height: 1.4; }
.ftab th:last-child, .ftab td:last-child { padding-right: 0; text-align: right; }
.ftab td:first-child { font-weight: 500; }
.ftab td:first-child small { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }
.ftab .unit { width: 1%; white-space: nowrap; font-size: 15px; color: var(--muted); }
.ftab .amt { width: 1%; white-space: nowrap; }
.ftab .amt b { display: block; font: 400 24px/1.2 var(--serif); }
.ftab .amt b.other { color: var(--muted); }
.ftab .amt small { display: block; font-size: 13px; color: var(--muted); }
.ftab .amt .req, .ftab .amt b.req { font: 500 15px/1.4 var(--sans); color: var(--muted); }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.slot.note, .note > .slot { margin-top: 28px; }
.fine + .slot.note { margin-top: 12px; }
/* Fees page: every group's table lines up on the same columns */
.ftab.fixed { table-layout: fixed; }
.ftab.fixed th:nth-child(2), .ftab.fixed .unit { width: 160px; }
.ftab.fixed th:last-child, .ftab.fixed .amt { width: 220px; }

/* Fees page: a bar with group links and the currency switch stays under the header */
html:has(.feebar) { scroll-padding-top: 176px; }
.feebar { position: sticky; top: 85px; z-index: 10; background: var(--ivory); border-bottom: 1px solid var(--line); }
.feebar .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.chips { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.feebar .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
.chips::-webkit-scrollbar { display: none; }
.chips a, .chips button { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--beige); color: var(--ink); font: 600 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.chips a:active, .chips button:active { transform: scale(.97); }
.chips button[aria-pressed="true"] { background: var(--emerald); color: var(--on-em); }
.seg { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.seg span { margin-right: 8px; font-size: 14px; color: var(--muted); }
.seg button { min-height: 44px; min-width: 64px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--gold); transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--emerald); color: var(--on-em); box-shadow: none; }
.ftab-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 5vw, 88px); padding: clamp(40px, 4.4vw, 64px) 0; border-top: 1px solid var(--line); }
.ftab-group:first-child { border-top: 0; }
.ftab-group > div:first-child { position: sticky; top: 184px; align-self: start; }
.ftab-group h2 { font-size: clamp(30px, 2.8vw, 40px); }
.ftab-group .count { margin-top: 10px; font-size: 15px; color: var(--muted); }
.fees-list { padding-top: clamp(16px, 2vw, 32px); }

/* Mediation: dispute type in tabs, stages down, claim amount across */
.med-sec { background: var(--beige); }
.mtab { width: 100%; margin-top: 24px; border-collapse: collapse; }
.mtab th { padding: 0 0 12px 16px; text-align: right; vertical-align: bottom; font: 600 12px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.mtab th:first-child { padding-left: 0; text-align: left; }
.mtab tbody th { padding: 16px 16px 16px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; font: 600 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.mtab tbody th small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.mtab td { padding: 16px 0 16px 16px; border-top: 1px solid var(--line); text-align: right; vertical-align: baseline; font: 400 22px/1.2 var(--serif); white-space: nowrap; }
.mtab td.req { font: 500 15px/1.4 var(--sans); color: var(--muted); }

/* Foreign founders and IT Park: six areas of work */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.areas > li { padding: 30px 28px; background: var(--beige); border-radius: var(--r); }
.areas > li > i { font-size: 44px; color: var(--gold); }
.areas h3 { margin: 18px 0 14px; font: 400 27px/1.15 var(--serif); letter-spacing: -.01em; }
.areas ul { display: grid; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.areas ul li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.areas ul li::before { content: ""; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--gold); }
.steps.six { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.steps.six li:nth-child(3n)::before { display: none; }
.tax { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 5vw, 88px); padding: clamp(28px, 3.4vw, 56px); background: var(--emerald); color: var(--on-em); border-radius: var(--r); }
.tax .kick { color: var(--gold-hi); }
.tax h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.15 var(--serif); letter-spacing: -.01em; }
.tax ul { display: grid; gap: 12px; line-height: 1.45; }
.tax li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.tax li i { font-size: 20px; color: var(--gold-hi); margin-top: 1px; }
.tax .slot { margin-top: 20px; }

/* About */
.fact-panel { padding: clamp(24px, 2.6vw, 40px); background: var(--beige); border-radius: var(--r); }
.fact-panel.ivory { background: var(--ivory); }
.fact-panel .facts { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.fact-panel .facts > div:first-child { border-top: 0; padding-top: 0; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.founder p { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.founder .slot { margin-top: 24px; }
.portrait { aspect-ratio: 4 / 5; display: grid; place-content: center; gap: 12px; padding: 24px; border: 1.5px dashed var(--gold); border-radius: var(--r); text-align: center; color: var(--muted); font-size: 15px; }
.portrait i { font-size: 56px; color: var(--gold); }
.portrait b { font: 600 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; border: 1.5px dashed var(--gold); border-radius: var(--r); color: var(--muted); font-size: 15px; line-height: 1.45; }
.team li > i { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--beige); font-size: 28px; color: var(--gold-ink); }
.team b { display: block; color: var(--ink); font-weight: 600; }

/* Contact */
.ways .slot { margin-top: 12px; }
.office { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.office .facts { grid-template-columns: minmax(0, 1fr); }
.office .tlink { margin-top: 20px; }
.slot.map { min-height: 340px; align-content: center; justify-items: start; }

/* Articles */
.art-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.art-list > li[hidden] { display: none; }
.art-list > .wide { grid-column: 1 / -1; }
.art-card { height: 100%; display: flex; flex-direction: column; min-height: 300px; padding: 30px 28px 26px; background: var(--beige); border-radius: var(--r); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.art-card .cat { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.art-card h2, .art-card h3 { margin-top: 14px; font: 400 27px/1.15 var(--serif); letter-spacing: -.01em; }
.art-card p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.art-card .meta { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.art-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-card.feature { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 5vw, 88px); padding: clamp(28px, 3.4vw, 56px); background: var(--emerald); color: var(--on-em); }
.art-card.feature .cat { color: var(--gold-hi); }
.art-card.feature h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.art-card.feature p, .art-card.feature .meta { color: var(--on-em-muted); }
.art-card.feature .meta { padding-top: 0; margin-top: 0; align-self: end; }
.art-card.feature .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; color: var(--gold-hi); }
.art-card.planned { background: transparent; border: 1.5px dashed var(--gold); }
.art-head .meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.art-head .meta > span { display: inline-flex; align-items: center; gap: 8px; }
.art-head .meta i { font-size: 18px; color: var(--gold-ink); }
.art { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(30px, 2.6vw, 38px); }
.prose > p:first-child { font: 400 clamp(22px, 1.9vw, 26px)/1.5 var(--serif); color: var(--ink); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose a:not(.btn) { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose blockquote { margin: 1.8em 0; padding-left: 24px; border-left: 2px solid var(--gold); font: 400 clamp(22px, 2vw, 27px)/1.45 var(--serif); }
.prose blockquote .by { display: block; margin-top: 12px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.prose .ftab { margin-top: 1.4em; }
.prose .slot { margin-top: 1.6em; font-size: 15px; }
.prose details summary { font-size: 18px; }
.prose details p { font-size: 17px; }
.prose .faq-block { margin-top: 1.4em; }
.art-aside { position: sticky; top: 117px; display: grid; gap: 16px; }
.toc { padding-top: 16px; border-top: 2px solid var(--gold); }
.toc b { display: block; margin-bottom: 4px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; text-decoration: none; transition: color .2s var(--ease); }
.toc a:hover { color: var(--emerald-3); }
.aside-cta { padding: 28px; background: var(--emerald); color: var(--on-em); border-radius: var(--r); }
.aside-cta h3 { font: 400 26px/1.2 var(--serif); }
.aside-cta p { margin: 10px 0 22px; font-size: 15px; line-height: 1.55; color: var(--on-em-muted); }
.aside-cta .btn { width: 100%; }
.related { margin-top: clamp(40px, 5vw, 72px); }

@media (hover: hover) and (pointer: fine) {
  .chips a:hover { background: var(--emerald); color: var(--on-em); }
  .seg button:not([aria-pressed="true"]):hover { background: var(--beige); }
  a.art-card:not(.feature):not(.planned):hover { background: var(--emerald); color: var(--on-em); transform: translateY(-4px); }
  a.art-card:not(.feature):hover p, a.art-card:not(.feature):hover .meta { color: var(--on-em-muted); }
  a.art-card:not(.feature):hover .cat { color: var(--gold-hi); }
  a.art-card.feature:hover { background: var(--emerald-3); }
  a.art-card.feature:hover .go i { transform: translateX(4px); }
  .art-card .go i { transition: transform .2s var(--ease); }
}

@media (max-width: 1100px) {
  .areas, .art-list, .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .scope-list, .ftab-group, .tax, .founder, .office, .art, .art-card.feature, .phead-grid { grid-template-columns: minmax(0, 1fr); }
  .ftab-group > div:first-child, .art-aside { position: static; }
  .steps.six { grid-template-columns: 1fr 1fr; }
  .portrait { aspect-ratio: auto; min-height: 260px; }
  .founder > :first-child { max-width: 420px; }
  .feebar .wrap { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
  .chips { flex: 1 1 100%; order: 2; }
  html:has(.feebar) { scroll-padding-top: 230px; }
}
@media (max-width: 600px) {
  .areas, .art-list, .team, .steps.six { grid-template-columns: minmax(0, 1fr); }
  /* On a phone a sticky two-row bar would take a quarter of the screen, so it scrolls away */
  .feebar { position: static; }
  html:has(.feebar) { scroll-padding-top: 96px; }
  .chips { margin: 0 -20px; padding: 0 20px; }
  .ftab thead, .mtab thead th:not(:first-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ftab tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
  .ftab td { display: block; padding: 0; border: 0; }
  .ftab td:first-child { grid-column: 1 / -1; }
  .ftab .unit, .ftab .amt { width: auto; align-self: end; }
  .ftab.fixed { table-layout: auto; }
  .ftab.fixed .unit, .ftab.fixed .amt { width: auto; }
  .ftab .unit { white-space: normal; }
  .ftab .amt b { font-size: 22px; }
  .mtab thead tr { display: block; }
  .mtab tbody tr { display: block; padding: 14px 0 6px; border-top: 1px solid var(--line); }
  .mtab tbody th { display: block; padding: 0 0 6px; border: 0; }
  .mtab td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; border: 0; font-size: 20px; }
  .mtab td::before { content: attr(data-label); font: 400 14px/1.4 var(--sans); color: var(--muted); white-space: normal; text-align: left; }
  .prose { font-size: 17px; }
  .slot.map { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  a.art-card:hover { transform: none !important; }
}


/* Release: blocks that lose a placeholder column fall back to one column; the honeypot field stays invisible */
.founder:has(> :only-child), .office:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.founder > :only-child, .office > :only-child { max-width: 760px; }
@media (min-width: 1101px) { .proof ul:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 8px; font-size: 15px; line-height: 1.5; background: var(--beige); color: var(--ink); }
.form-status.ok { background: #E3EEE7; }
.form-status.err { background: #F4E4DC; }
.form-status a { font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Language switcher: last group of the main menu. Inline on wide screens, a row inside the folded menu. */
.nav-langs { display: inline-flex; gap: 4px; margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--line); }
nav.main .nav-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 10px 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
nav.main .nav-langs a[aria-current="true"] { color: var(--ink); border-color: var(--gold); }
@media (max-width: 1300px) {
  .nav-langs { margin: 8px 0 0; padding: 0; border: 0; gap: 8px; }
  nav.main .nav-langs a { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
}

/* Wide screens: the switcher lists only the other languages; the folded menu shows all three */
@media (min-width: 1301px) {
  nav.main .nav-langs a[aria-current="true"] { display: none; }
  .nav-langs { margin-left: 4px; padding-left: 12px; gap: 0; }
}
