/* hpc-law.co.il — "statute book": graphite, oxblood, hairline Didone letters, § index in the margin */
@font-face { font-family: "David Libre"; font-weight: 400; font-display: swap; src: url(fonts/david-400-he.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "David Libre"; font-weight: 500; font-display: swap; src: url(fonts/david-500-he.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "David Libre"; font-weight: 700; font-display: swap; src: url(fonts/david-700-he.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "David Libre"; font-weight: 400 700; font-display: swap; src: url(fonts/david-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Assistant"; font-weight: 300 700; font-display: swap; src: url(fonts/assistant-he.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 300 700; font-display: swap; src: url(fonts/assistant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Didone"; font-weight: 400; font-display: swap; src: url(fonts/bodoni-hpc.woff2) format("woff2"); }

:root {
  --ink: #141416;
  --ink-2: #26262b;
  --text: #2a2a2f;
  --mute: #5c5b62;
  --paper: #f7f6f3;
  --stone: #ebe8e3;
  --rule: #cfcbc4;
  --wine: #7a1e2c;
  --wine-d: #5a1420;
  --wine-l: #d9a3ab;
  --serif: "David Libre", "Times New Roman", serif;
  --sans: "Assistant", Arial, sans-serif;
  --didone: "Didone", "Bodoni 72", "Didot", serif;
  --margin: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1200px) { :root { --margin: 196px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.075rem/1.75 var(--sans); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; inset-inline-start: 12px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 18px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.hero :focus-visible, .articles :focus-visible, .foot :focus-visible, .index :focus-visible { outline-color: #f0c4cb; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
main, .foot { padding-inline-end: var(--margin); }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; color: #fff; transition: background .35s, color .35s, box-shadow .35s; padding-inline-end: var(--margin); }
.bar-in { display: flex; align-items: center; gap: 18px; width: min(1120px, 100% - 48px); margin-inline: auto; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 74px; filter: invert(1); transition: filter .35s; }
.brand-text { font: 500 1.08rem/1.1 var(--serif); letter-spacing: .02em; }
.brand-text span { color: var(--wine-l); transition: color .35s; }
.bar-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; letter-spacing: .02em; padding: 8px 4px; }
.bar-call svg { width: 18px; height: 18px; }
.bar.solid { background: rgba(247, 246, 243, .96); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(8px); }
.bar.solid .brand img { filter: none; }
.bar.solid .brand-text span { color: var(--wine); }
.menu-btn { display: none; }

/* ---------- § index (main nav) ---------- */
.index { position: fixed; z-index: 45; top: 0; bottom: 0; inset-inline-end: 0; width: var(--margin); padding: 120px 26px 40px 0; border-inline-start: 1px solid rgba(255, 255, 255, .14); color: #d8d6d2; background: var(--ink); display: flex; flex-direction: column; }
.index-title { font: 600 .74rem var(--sans); letter-spacing: .14em; color: #9b99a0; margin-bottom: 22px; }
.index ol { list-style: none; padding: 0; display: grid; gap: 4px; }
.index a { display: grid; grid-template-columns: 38px 1fr; align-items: baseline; padding: 9px 0; text-decoration: none; font: 500 1.05rem var(--serif); color: inherit; position: relative; }
.index .sec { font: 400 .95rem var(--didone); color: #8c8a92; }
.index a::after { content: ""; position: absolute; inset-inline-start: 38px; inset-inline-end: 0; bottom: 4px; height: 1px; background: var(--wine-l); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.index a:hover::after, .index a[aria-current="true"]::after { transform: scaleX(1); }
.index a[aria-current="true"] { color: #fff; }
.index a[aria-current="true"] .sec { color: var(--wine-l); }
@media (max-width: 1199.98px) {
  .index { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; font: 600 1.02rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-d); }
.btn-line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #eceae6; padding: 140px 0 0; position: relative; overflow: hidden; }
.hero-grid { width: min(1120px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; min-height: min(78vh, 720px); }
.kicker { font: 600 .85rem var(--sans); letter-spacing: .16em; color: #a9a6ad; margin-bottom: 28px; }
.names { font: 500 clamp(3.2rem, 7.4vw, 6.4rem)/1.02 var(--serif); color: #fff; display: grid; gap: .1em; }
.name { display: block; position: relative; padding-bottom: .12em; }
.name::after { content: ""; position: absolute; inset-inline: 0 18%; bottom: 0; height: 1px; background: linear-gradient(to left, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); transform-origin: right; }
.name small { font-size: .42em; color: var(--wine-l); font-weight: 400; vertical-align: .55em; }
.hero-lead { max-width: 34em; margin-top: 36px; font-size: 1.16rem; color: #cfcdc8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; align-self: stretch; min-height: 420px; }
.hero-photo { position: absolute; inset: 6% 0 0 12%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(.35) contrast(1.05) brightness(.82); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0, rgba(20, 20, 22, 0) 45%), linear-gradient(to left, rgba(20, 20, 22, .55), rgba(20, 20, 22, 0) 40%); }
.hero-letters { position: absolute; inset-inline-end: -4%; bottom: 4%; direction: ltr; font: 400 clamp(7rem, 15vw, 13.5rem)/.8 var(--didone); color: #fff; display: flex; letter-spacing: -.06em; mix-blend-mode: difference; pointer-events: none; }
.hero-letters span:nth-child(2) { color: #9c9aa2; margin-inline: -.06em; }
.hero-facts { width: min(1120px, 100% - 48px); margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-facts > div { padding: 22px 0 30px; border-inline-start: 1px solid rgba(255, 255, 255, .16); padding-inline-start: 22px; }
.hero-facts > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.hero-facts dt { font: 600 .8rem var(--sans); letter-spacing: .1em; color: #9b99a0; }
.hero-facts dd { font: 400 2.3rem/1.2 var(--serif); color: #fff; margin-top: 4px; }
.hero-facts dd.small { font-size: 1.25rem; margin-top: 12px; }

/* ---------- sections ---------- */
.sect { padding: clamp(80px, 11vw, 140px) 0; }
.sect-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
.sect-no { font: 400 1.25rem var(--didone); color: var(--wine); margin-bottom: 10px; display: flex; align-items: center; gap: 14px; }
.sect-no::after { content: ""; width: 64px; height: 1px; background: currentColor; }
.sect h2 { font: 500 clamp(2.2rem, 4.4vw, 3.4rem)/1.1 var(--serif); color: var(--ink); }
.sect-intro { margin-top: 16px; color: var(--mute); font-size: 1.12rem; }

/* § 1 about */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-open { font: 400 1.42rem/1.6 var(--serif); color: var(--ink); }
.clauses { list-style: none; padding: 0; margin-top: 44px; border-top: 1px solid var(--rule); }
.clauses li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.clause-no { font: 400 1.2rem var(--didone); color: var(--wine); padding-top: 4px; direction: ltr; text-align: right; }
.clauses h2, .clauses h3 { font: 700 1.2rem var(--serif); color: var(--ink); margin-bottom: 4px; }
.clauses p { color: var(--text); }
.vision { position: sticky; top: 110px; background: var(--ink); color: #eceae6; padding: 64px 40px 40px; }
.vision::before { content: "§"; position: absolute; top: -.32em; inset-inline-start: 28px; font: 400 7rem/1 var(--didone); color: var(--wine-l); }
.vision blockquote p { font: 400 1.5rem/1.6 var(--serif); }
.vision figcaption { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font: 600 .82rem var(--sans); letter-spacing: .16em; color: var(--wine-l); }

/* practice — table of contents (each row links to its page) */
.practice { background: var(--stone); }
.toc { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.toc-row { border-bottom: 1px solid var(--rule); }
.toc-row a { display: grid; grid-template-columns: 76px auto 1fr 34px; align-items: baseline; gap: 14px; padding: 22px 4px; text-decoration: none; }
.toc-no { font: 400 1.05rem var(--didone); color: var(--mute); direction: ltr; text-align: right; }
.toc-t { font: 500 clamp(1.25rem, 2.3vw, 1.6rem)/1.3 var(--serif); color: var(--ink); transition: color .25s; }
.toc-sum { display: block; font: 400 1rem/1.6 var(--sans); color: var(--mute); margin-top: 4px; max-width: 34em; }
.toc-dots { align-self: end; margin-bottom: .55em; height: 2px; background-image: radial-gradient(circle, var(--mute) 1px, transparent 1.4px); background-size: 8px 2px; background-repeat: repeat-x; background-position: right; opacity: .65; transform-origin: right; }
.toc-go { position: relative; width: 34px; height: 34px; align-self: center; border: 1px solid var(--rule); border-radius: 50%; transition: background .25s, border-color .25s; }
.toc-go::after { content: "←"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1rem; color: var(--ink); transition: color .25s, transform .3s var(--ease); }
.toc-row a:hover .toc-t, .toc-row a:focus-visible .toc-t { color: var(--wine); }
.toc-row a:hover .toc-go { background: var(--wine); border-color: var(--wine); }
.toc-row a:hover .toc-go::after { color: #fff; transform: translateX(-3px); }

/* § 3 partners */
.partner-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.partner { padding: 36px 32px 44px; border-inline-start: 1px solid var(--rule); position: relative; }
.partner:first-child { border-inline-start: 0; padding-inline-start: 0; }
.partner:last-child { padding-inline-end: 0; }
.partner-letter { display: block; font: 400 clamp(6rem, 11vw, 9.5rem)/.9 var(--didone); color: var(--wine); margin-bottom: 26px; direction: ltr; text-align: right; }
.partner h3 { font: 700 1.45rem/1.3 var(--serif); color: var(--ink); }
.partner-role { margin-top: 8px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); font-weight: 600; color: var(--wine); font-size: 1rem; }
.partner-role:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.partner ul { list-style: none; padding: 0; display: grid; gap: 6px; color: var(--text); }
.partner li { padding-inline-start: 18px; position: relative; }
.partner li::before { content: "·"; position: absolute; inset-inline-start: 2px; color: var(--wine); font-weight: 700; }

/* § 4 articles */
.articles { background: var(--ink); color: #dddbd6; }
.articles h2 { color: #fff; }
.articles .sect-no { color: var(--wine-l); }
.articles .sect-intro { color: #a9a6ad; }
.article-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.article { padding: 40px 40px 44px 0; display: flex; flex-direction: column; align-items: flex-start; }
.article + .article { border-inline-start: 1px solid rgba(255, 255, 255, .18); padding-inline-start: 40px; padding-inline-end: 0; }
.article-meta { font: 600 .82rem var(--sans); letter-spacing: .1em; color: #a9a6ad; }
.article h3 { font: 500 clamp(1.6rem, 2.8vw, 2.2rem)/1.2 var(--serif); color: #fff; margin: 14px 0 12px; }
.article p:not(.article-meta) { color: #c9c7c2; max-width: 30em; }
.read { margin-top: 26px; background: none; border: 0; border-bottom: 1px solid var(--wine-l); color: #fff; padding: 6px 0; cursor: pointer; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.read::after { content: "←"; transition: transform .3s var(--ease); }
.read:hover::after { transform: translateX(-6px); }

html.modal-open { overflow: hidden; }

/* § 5 contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-lead { font: 400 1.4rem/1.55 var(--serif); color: var(--ink); max-width: 22em; }
.contact-dl { margin-top: 36px; border-top: 1px solid var(--rule); }
.contact-dl > div { display: grid; grid-template-columns: 88px 1fr; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-dl dt { font: 600 .82rem var(--sans); letter-spacing: .1em; color: var(--mute); padding-top: 4px; }
.contact-dl dd { font: 500 1.15rem var(--serif); color: var(--ink); }
.contact-dl a { text-decoration: none; border-bottom: 1px solid var(--wine); }
.contact-dl a:hover { color: var(--wine); }
.nav-links { display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.nav-links a { font-weight: 600; color: var(--wine); text-underline-offset: 5px; }
.form { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--ink); padding: clamp(26px, 4vw, 44px); }
.form-title { font: 500 1.6rem var(--serif); color: var(--ink); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label span { color: var(--wine); }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1.5px solid #8f8c94; background: var(--paper); padding: 12px 14px; font-size: 1.05rem; border-radius: 0; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--wine); box-shadow: 0 2px 0 var(--wine); }
.field textarea { resize: vertical; min-height: 110px; }
[aria-invalid="true"] { border-bottom-color: #b3261e !important; }
.err { color: #b3261e; font-size: .95rem; margin-top: 6px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 4px; }
.check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--wine); flex: none; }
.check label { font-size: .98rem; }
.check a { color: var(--wine); font-weight: 600; }
.form-note { font-size: .9rem; color: var(--mute); margin: 14px 0 20px; }
.form .btn { min-width: 180px; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.ok { color: #1d6b3a; }
.form-status.bad { color: #b3261e; }
.form-status a { color: inherit; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* footer */
.foot { background: var(--ink); color: #bdbab5; padding-top: 64px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 36px; align-items: center; }
.foot-mark { width: 150px; filter: invert(1); opacity: .9; grid-row: span 2; }
.foot-name { font: 500 1.5rem var(--serif); color: #fff; }
.foot-sub { font-size: .95rem; color: #9b99a0; }
.foot-addr, .foot-links, .foot-copy { grid-column: 1 / -1; }
.foot-addr { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot a { color: #fff; text-underline-offset: 4px; }
.foot-links { list-style: none; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.foot-copy { font-size: .9rem; color: #8f8d94; }


/* ---------- multi-page parts ---------- */
.index-foot { margin-top: auto; font-size: 1rem; letter-spacing: .03em; white-space: nowrap; color: #9b99a0; }
.index-foot a { display: block; text-align: right; color: inherit; text-decoration: none; }
.index-foot a:hover { color: #fff; }
.index a[aria-current="page"] { color: #fff; }
.index a[aria-current="page"] .sec { color: var(--wine-l); }
.index a[aria-current="page"]::after { transform: scaleX(1); }

.page-head { background: var(--ink); color: #fff; padding: 132px 0 64px; }
.page-head .sect-no { color: var(--wine-l); }
.page-head h1 { font: 500 clamp(2.3rem, 5vw, 3.8rem)/1.12 var(--serif); max-width: 22em; }
.page-sub { margin-top: 16px; color: #c9c7c2; font-size: 1.15rem; max-width: 40em; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 30px; font-size: .92rem; color: #9b99a0; }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: #6e6c73; }
.crumbs a { color: #d8d6d2; text-underline-offset: 4px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #a9a6ad; }

.more { margin-top: 30px; }
.more a { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--wine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.more a::after { content: "←"; transition: transform .3s var(--ease); }
.more a:hover::after { transform: translateX(-5px); }
.partners .more { margin-top: 40px; }
.article { position: relative; }
.article h3 a { color: inherit; text-decoration: none; }
.article h3 a::before { content: ""; position: absolute; inset: 0; }
.article:hover h3 a { text-decoration: underline; text-decoration-color: var(--wine-l); text-underline-offset: 6px; }
.article:hover .read::after { transform: translateX(-6px); }
.article h3 a:focus-visible { outline: none; }
.article:has(a:focus-visible) { outline: 3px solid #f0c4cb; outline-offset: 6px; }

/* prose: practice pages, articles, legal pages */
.prose { max-width: 760px; font-size: 1.1rem; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font: 700 1.55rem/1.3 var(--serif); color: var(--ink); margin-top: 40px; }
.prose h2 + * { margin-top: 10px; }
.prose ul, .prose ol { padding-inline-start: 24px; display: grid; gap: 8px; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul > li { position: relative; padding-inline-start: 24px; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 12px; height: 1px; background: var(--wine); }
.prose ol li::marker { color: var(--wine); font-weight: 700; }
.prose a { color: var(--wine); font-weight: 600; text-underline-offset: 3px; }
.practice-page .prose > p:first-child, .article-page .prose > p:first-child { font: 400 1.32rem/1.65 var(--serif); color: var(--ink); }
.prose-article { margin-inline: auto; max-width: 740px; }
.paper-sign { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid var(--ink); font: 500 1.08rem var(--serif); color: var(--ink); }
.paper-note { font-size: .92rem; color: var(--mute); }
.doc .prose h2 { font-size: 1.45rem; }
.card { margin-top: 20px; padding: 24px 28px; background: #fff; border: 1px solid var(--rule); border-inline-start: 4px solid var(--wine); }
.card p + p { margin-top: 6px; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.side { display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--rule); padding: 24px; }
.side-k { font: 600 .8rem var(--sans); letter-spacing: .12em; color: var(--mute); margin-bottom: 8px; }
.side-lead { position: relative; border-top: 4px solid var(--ink); padding-inline-end: 84px; }
.side-letter { position: absolute; inset-inline-end: 20px; top: 12px; font: 400 4.2rem/1 var(--didone); color: var(--wine); }
.side-name { font: 700 1.15rem/1.4 var(--serif); }
.side-name a { color: var(--ink); text-decoration: none; }
.side-name a:hover { color: var(--wine); text-decoration: underline; }
.side-cta { background: var(--ink); color: #dddbd6; border-color: var(--ink); }
.side-cta .side-k { color: var(--wine-l); }
.side-cta .btn { width: 100%; margin-top: 18px; }
.side-tel { display: block; text-align: center; margin-top: 12px; color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .03em; }
.side-cta :focus-visible { outline-color: #f0c4cb; }
.side-list ul { list-style: none; padding: 0; }
.side-list li { border-top: 1px solid var(--rule); }
.side-list a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); font-size: .98rem; }
.side-list a:hover { color: var(--wine); }
.side-list a[aria-current="page"] { color: var(--wine); font-weight: 700; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px !important; padding-top: 24px; border-top: 2px solid var(--ink); }
.pager a { display: block; text-decoration: none; color: var(--ink); font: 500 1.15rem/1.4 var(--serif); }
.pager a span { display: block; font: 600 .8rem var(--sans); letter-spacing: .1em; color: var(--mute); margin-bottom: 4px; }
.pager a:hover { color: var(--wine); }
.pager-next { text-align: left; }

.cta-band { background: var(--wine); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { font: 500 clamp(1.8rem, 3.4vw, 2.5rem)/1.2 var(--serif); }
.cta-band p { margin-top: 6px; color: #f6e4e7; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--wine-d); }
.btn-light:hover { background: var(--ink); color: #fff; }
.cta-tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 1.3rem var(--sans); text-decoration: none; letter-spacing: .03em; }
.cta-tel svg { width: 22px; height: 22px; }
.cta-band :focus-visible { outline-color: #fff; }

.foot-nav { grid-column: 1 / -1; margin-top: 18px; }
.foot-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-nav a { text-decoration: none; font: 500 1.08rem var(--serif); }
.foot-nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .page-head { padding: 112px 0 48px; }
}
@media (max-width: 600px) {
  .pager { grid-template-columns: 1fr; }
  .pager-next { text-align: right; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
}

/* ---------- reveal motion ---------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .name-t { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .name::after { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .hero.in .name-t { opacity: 1; transform: none; }
.js .hero.in .name::after { transform: scaleX(1); }
.js .hero.in .name:nth-child(2) .name-t, .js .hero.in .name:nth-child(2)::after { transition-delay: .12s; }
.js .hero.in .name:nth-child(3) .name-t, .js .hero.in .name:nth-child(3)::after { transition-delay: .24s; }
.js .hero-letters span { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .hero.in .hero-letters span { opacity: 1; transform: none; }
.js .hero.in .hero-letters span:nth-child(1) { transition-delay: .3s; }
.js .hero.in .hero-letters span:nth-child(2) { transition-delay: .45s; }
.js .hero.in .hero-letters span:nth-child(3) { transition-delay: .6s; }
.js .toc-row .toc-dots { transform: scaleX(0); transition: transform 1s var(--ease) .15s; }
.js .toc-row.in .toc-dots { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid currentColor; border-color: rgba(127, 127, 127, .5); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .index.open { display: flex; width: 100%; padding: 110px 32px 40px; border: 0; z-index: 39; }
  .index.open a { font-size: 1.7rem; grid-template-columns: 64px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .index.open a::after { display: none; }
  .bar.menu-open { background: var(--ink); color: #fff; box-shadow: none; }
  .bar.menu-open .brand img { filter: invert(1); }
  .bar.menu-open .brand-text span { color: var(--wine-l); }
}
@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .hero-art { min-height: 300px; margin-inline: -24px; }
  .hero-photo { inset: 0; }
  .hero-letters { inset-inline-end: 18px; bottom: 8px; font-size: 7.5rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-top: 8px; }
  .hero-facts > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .vision { position: relative; top: 0; }
  .partner-list { grid-template-columns: 1fr; }
  .partner { border-inline-start: 0; padding: 32px 0 36px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; }
  .partner-letter { grid-row: span 3; font-size: 6rem; margin: 0; }
  .article-list { grid-template-columns: 1fr; }
  .article, .article + .article { padding: 32px 0 36px; border-inline-start: 0; }
  .article + .article { border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 600px) {
  body { font-size: 1.04rem; }
  .brand img { width: 58px; }
  .brand-text { display: none; }
  .bar-call span { display: none; }
  .bar-call { width: 48px; height: 48px; justify-content: center; border: 1px solid rgba(127, 127, 127, .5); }
  .names { font-size: clamp(2.9rem, 15vw, 4rem); }
  .hero-facts dd { font-size: 1.9rem; }
  .toc-row a { grid-template-columns: 50px 1fr 30px; gap: 10px; }
  .toc-dots { display: none; }
  .toc-go { width: 30px; height: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .partner { grid-template-columns: 1fr; }
  .partner-letter { grid-row: auto; font-size: 5rem; margin-bottom: 12px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-mark { grid-row: auto; width: 120px; }
  .contact-dl > div { grid-template-columns: 70px 1fr; }
}

/* ---------- accessibility widget ---------- */
.a11y-btn { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; background: var(--wine); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.a11y-btn svg { width: 30px; height: 30px; }
.a11y-btn:hover { background: var(--ink); }
.a11y-panel { position: fixed; inset-inline-start: 18px; bottom: 84px; z-index: 61; width: min(340px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-top: 5px solid var(--wine); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); padding: 18px; font-size: 16px; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.a11y-head h2 { font: 700 1.1rem var(--sans); }
.a11y-close { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); width: 40px; height: 40px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid > button { min-height: 52px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 600 .9rem var(--sans); cursor: pointer; padding: 6px; }
.a11y-grid > button[aria-pressed="true"] { background: var(--wine); color: #fff; border-color: var(--wine); }
.a11y-size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--rule); padding: 6px; }
.a11y-size button { width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; font-size: 1.4rem; cursor: pointer; }
.a11y-size span { font-weight: 600; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.a11y-foot a { color: var(--wine); font-weight: 600; }
.a11y-reset { border: 1px solid var(--ink); background: none; padding: 8px 14px; cursor: pointer; font-weight: 600; }

html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .hero, html.a11y-contrast .articles, html.a11y-contrast .foot, html.a11y-contrast .vision, html.a11y-contrast .index, html.a11y-contrast .page-head, html.a11y-contrast .cta-band, html.a11y-contrast .side-cta { background: #000; color: #fff; }
html.a11y-contrast .hero *, html.a11y-contrast .articles *, html.a11y-contrast .foot *, html.a11y-contrast .vision *, html.a11y-contrast .page-head *, html.a11y-contrast .cta-band *, html.a11y-contrast .side-cta * { color: #fff !important; }
html.a11y-contrast .practice { background: #fff; }
html.a11y-contrast .sect h2, html.a11y-contrast .toc-t, html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast dd { color: inherit; }
html.a11y-contrast .hero-photo { display: none; }
html.a11y-contrast .bar.solid { background: #fff; }
html.a11y-gray body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff6a8; color: #000 !important; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .names, html.a11y-readable .toc-t, html.a11y-readable blockquote p { font-family: Arial, sans-serif !important; }
html.a11y-spacing body { letter-spacing: .06em; word-spacing: .14em; line-height: 2.1; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 2.1; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { transition: none !important; animation: none !important; }
html.a11y-noanim .rise, html.a11y-noanim .name-t, html.a11y-noanim .hero-letters span { opacity: 1 !important; transform: none !important; }
html.a11y-noanim .name::after, html.a11y-noanim .toc-dots { transform: none !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-focus :focus { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px #000 !important; }
