/* ==========================================================
   Yuval Vittorio Tayar & Co — Advocates
   עיצוב ראשי. הצבעים לקוחים מהלוגו ומכרטיס הביקור.
   ========================================================== */
:root {
  --navy: #13324F;
  --navy-deep: #0C2238;
  --navy-ink: #0A1B2C;
  --gold: #8A6E4B;
  --gold-light: #B59A72;
  --sand: #C9BCAA;
  --cream: #F6F2EC;
  --paper: #FFFFFF;
  --ink: #1D2733;
  --muted: #5E6A77;
  --line: #E3DDD3;
  --font-head: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body: "Assistant", "Heebo", Arial, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.en { font-family: var(--font-body); letter-spacing: .18em; text-transform: uppercase; direction: ltr; unicode-bidi: isolate; }

.skip-link { position: absolute; top: -60px; right: 16px; background: var(--gold); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Utility bar ---------- */
.topbar { background: var(--navy-ink); color: #C5CDD6; font-size: 14px; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.topbar a:hover { color: var(--gold-light); }
.topbar .social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }
.topbar .lang { border-inline-start: 1px solid #2B4058; padding-inline-start: 18px; letter-spacing: .08em; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; inset-inline: 0; z-index: 50; transition: background .35s var(--ease), box-shadow .35s; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 104px; transition: height .35s var(--ease); }
.brand img { height: 74px; width: auto; transition: height .35s var(--ease); }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  display: block; padding: 10px 18px; color: #fff; background: none; border: 0;
  font-size: 18px; font-weight: 500; letter-spacing: .02em; position: relative;
}
.nav > ul > li > a::after, .nav > ul > li > button::after {
  content: ""; position: absolute; bottom: 4px; right: 18px; left: 18px; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav > ul > li:hover > a::after, .nav > ul > li:hover > button::after,
.nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .has-sub > button::before { content: ""; display: inline-block; width: 6px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-3px); margin-inline-end: 8px; }
.submenu { list-style: none; margin: 0; padding: 14px 0; position: absolute; top: 100%; right: 0; min-width: 240px; background: #fff; box-shadow: 0 20px 40px rgba(10, 27, 44, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); border-top: 2px solid var(--gold); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 24px; color: var(--navy); font-size: 16px; }
.submenu a:hover { color: var(--gold); background: var(--cream); }
.icon-btn { background: none; border: 0; color: #fff; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.menu-toggle { display: none; }

/* scrolled / inner pages header */
.site-header.solid { position: fixed; top: 0; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10, 27, 44, .06); backdrop-filter: blur(8px); }
.site-header.solid .container { height: 80px; }
.site-header.solid .brand img { height: 54px; }
.site-header.solid .logo-light { display: none; }
.site-header.solid .logo-dark { display: block; }
.site-header.solid .nav > ul > li > a, .site-header.solid .nav > ul > li > button, .site-header.solid .icon-btn { color: var(--navy); }
.site-header.solid .nav > ul > li > a::after, .site-header.solid .nav > ul > li > button::after { background: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg {
  position: absolute; inset: -5%;
  background:
    radial-gradient(1200px 700px at 80% 20%, rgba(138, 110, 75, .28), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(19, 50, 79, .9), transparent 70%),
    linear-gradient(135deg, #0A1B2C 0%, #13324F 55%, #1A3E60 100%);
  animation: drift 24s ease-in-out infinite alternate;
}
.hero-lines { position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 160px); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.hero-mark { position: absolute; left: -6vw; top: 50%; width: min(64vw, 820px); transform: translateY(-50%); opacity: .05; animation: float 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 27, 44, .55), transparent 30%, transparent 65%, rgba(10, 27, 44, .7)); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, 1%); } }
@keyframes float { from { transform: translateY(-50%) rotate(-2deg); } to { transform: translateY(-46%) rotate(2deg); } }
.hero-content { position: relative; z-index: 2; padding-top: 120px; }
.hero-kicker { color: var(--gold-light); font-size: 15px; margin-bottom: 26px; display: flex; align-items: center; gap: 16px; }
.hero-kicker::before { content: ""; width: 56px; height: 1px; background: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 92px); font-weight: 400; max-width: 14ch; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: #D5DCE4; max-width: 46ch; margin-bottom: 40px; }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .8; }
.scroll-cue span { width: 1px; height: 54px; background: linear-gradient(#fff, transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px; border: 1px solid var(--gold); color: var(--navy); background: transparent; font-weight: 600; font-size: 16px; letter-spacing: .03em; position: relative; overflow: hidden; transition: color .35s var(--ease); z-index: 0; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); }
.btn .arrow { width: 22px; height: 10px; }
.btn-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-light:hover { border-color: var(--gold); }
.btn-solid { background: var(--gold); color: #fff; }
.btn-solid::before { background: var(--navy); }
.link-arrow { color: var(--gold); font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.link-arrow:hover { gap: 16px; }
.link-arrow, .link-arrow svg { transition: gap .3s var(--ease); }
.arrow { stroke: currentColor; fill: none; stroke-width: 1.4; width: 22px; height: 10px; flex: none; }
.link-arrow { white-space: nowrap; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.eyebrow { color: var(--gold); font-size: 14px; letter-spacing: .2em; margin-bottom: 14px; display: block; }
.section-title { font-size: clamp(34px, 3.6vw, 54px); margin: 0; }
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; }

/* News carousel */
.news { background: var(--paper); }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel-track::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--cream); padding: 34px 30px 30px; min-height: 340px; position: relative; transition: background .4s var(--ease), color .4s; border-top: 2px solid transparent; }
.news-card:hover { background: var(--navy); color: #fff; border-top-color: var(--gold); }
.news-card:hover h3 { color: #fff; }
.news-card .tag { font-size: 13px; color: var(--gold); letter-spacing: .12em; font-weight: 600; margin-bottom: 18px; }
.news-card h3 { font-size: 23px; transition: color .4s; flex: 1; }
.news-card time { font-size: 14px; color: var(--muted); }
.news-card:hover time { color: #AFBBC8; }
.news-card .more { position: absolute; bottom: 28px; left: 28px; color: var(--gold); opacity: 0; transform: translateX(10px); transition: .4s var(--ease); }
.news-card:hover .more { opacity: 1; transform: none; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 52px; height: 52px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; transition: .3s; }
.carousel-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-nav svg { width: 22px; height: 10px; }
.sample-note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* About split */
.about-split { background: var(--cream); overflow: hidden; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.split-visual { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%); display: grid; place-items: center; overflow: hidden; }
.split-visual::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(181, 154, 114, .5); }
.split-visual img.mark { width: 52%; opacity: .95; position: relative; }
.split-visual .caption { position: absolute; bottom: 52px; right: 52px; left: 52px; color: #C5CDD6; font-size: 14px; letter-spacing: .2em; text-align: center; }
.split-visual.has-photo img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(34px, 3.4vw, 50px); }
.split .big-en { font-size: clamp(36px, 4vw, 58px); font-family: var(--font-head); color: var(--navy); letter-spacing: 0; text-transform: none; line-height: 1.1; margin-bottom: 26px; display: block; direction: ltr; text-align: right; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; border-top: 1px solid var(--line); padding-top: 32px; }
.stats strong { display: block; font-family: var(--font-head); font-size: 44px; color: var(--gold); font-weight: 400; line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 15px; color: var(--muted); }

/* Practice areas */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.area { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 34px 40px; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; transition: color .4s; z-index: 0; }
.area::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.area:hover::before { transform: none; }
.area:hover, .area:hover h3 { color: #fff; }
.area svg.ic { width: 46px; height: 46px; stroke: var(--gold); fill: none; stroke-width: 1.2; margin-bottom: 30px; transition: stroke .4s; }
.area:hover svg.ic { stroke: var(--gold-light); }
.area h3 { font-size: 24px; transition: color .4s; }
.area p { font-size: 16px; color: var(--muted); transition: color .4s; flex: 1; }
.area:hover p { color: #C5CDD6; }
.area .num { position: absolute; top: 34px; left: 32px; font-family: var(--font-head); color: var(--sand); font-size: 18px; }
.areas-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; align-items: end; }

/* Stay updated */
.updated { background: var(--paper); padding: 0 0 120px; }
.updated-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.updated-box { padding: 64px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.updated-box h2 { color: #fff; font-size: 40px; }
.updated-box p { color: #C5CDD6; max-width: 44ch; }
.updated-box .watermark { position: absolute; left: -60px; bottom: -80px; width: 320px; opacity: .08; }
.follow-box { padding: 64px; background: var(--cream); }
.follow-box h3 { font-size: 30px; }
.social-big { display: flex; gap: 12px; margin-top: 24px; }
.social-big a { width: 56px; height: 56px; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); transition: .3s; }
.social-big a:hover { background: var(--gold); color: #fff; }
.social-big svg { width: 20px; height: 20px; fill: currentColor; }

/* Banner */
.banner { padding: 150px 0; background: var(--navy-ink); color: #fff; text-align: center; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 120%, rgba(138, 110, 75, .35), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 90px); }
.banner .container { position: relative; }
.banner h2 { color: #fff; font-size: clamp(36px, 4.6vw, 68px); font-weight: 400; max-width: 20ch; margin: 0 auto 40px; }
.banner h2 em { font-style: normal; color: var(--gold-light); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 190px 0 90px; background: linear-gradient(135deg, #0A1B2C, #13324F); color: #fff; position: relative; overflow: hidden; }
.page-hero .hero-mark { width: 520px; opacity: .06; left: -80px; animation: none; transform: translateY(-50%); }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 72px); font-weight: 400; margin: 0; }
.page-hero p { color: #C5CDD6; font-size: 20px; max-width: 60ch; margin: 18px 0 0; }
.crumbs { font-size: 14px; color: #93A3B4; margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { margin: 0 8px; }
.page-hero + .topfix { display: none; }
body.inner .site-header { position: fixed; top: 0; }
body.inner .site-header.solid { top: 0; }

/* Content / prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 36px; margin-top: 1.4em; }
.prose h3 { font-size: 26px; margin-top: 1.2em; }
.prose ul { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.side-card { background: var(--cream); padding: 40px; position: sticky; top: 120px; border-top: 2px solid var(--gold); }
.side-card h3 { font-size: 24px; }
.side-card a { color: var(--navy); font-weight: 600; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.side-card li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.value { padding: 40px 34px; border: 1px solid var(--line); }
.value .n { font-family: var(--font-head); font-size: 40px; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px; }
.value h3 { font-size: 24px; }
.value p { color: var(--muted); font-size: 16px; margin: 0; }

/* Area detail list (practice page) */
.area-detail { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 40px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 110px; }
.area-detail:first-child { border-top: 1px solid var(--line); }
.area-detail .num { font-family: var(--font-head); font-size: 40px; color: var(--gold); line-height: 1; }
.area-detail h2 { font-size: 34px; margin: 0; }
.area-detail ul { margin: 14px 0 0; padding-inline-start: 1.1em; color: var(--muted); font-size: 16px; }
.area-detail li::marker { color: var(--gold); }
.area-detail p { color: var(--ink); }

/* Team */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.filters input { flex: 1; min-width: 240px; padding: 14px 18px; border: 1px solid var(--line); font: inherit; font-size: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.person { display: block; }
.person .ph { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #1A3E60, var(--navy-ink)); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 20px; }
.person .ph img.mk { width: 40%; opacity: .25; transition: transform .6s var(--ease); }
.person .ph img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .ph img { transform: scale(1.05); }
.person .ph::after { content: ""; position: absolute; inset: 0; border-bottom: 3px solid var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.person:hover .ph::after { transform: scaleX(1); }
.person h3 { font-size: 24px; margin: 0 0 4px; }
.person span { color: var(--gold); font-size: 15px; }
.profile { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.profile .ph { aspect-ratio: 3 / 4; }

/* Media center */
.media-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { padding: 10px 20px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; transition: .3s; }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-grid .news-card { min-height: 300px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 40px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list b { color: var(--gold); font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.map { aspect-ratio: 16 / 10; border: 0; width: 100%; filter: grayscale(.4); }
form.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: auto; margin-top: 6px; accent-color: var(--gold); }
.form-msg { grid-column: 1 / -1; padding: 14px 18px; background: var(--cream); border-right: 3px solid var(--gold); display: none; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #AFBBC8; font-size: 16px; }
.footer-top { padding: 90px 0 60px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; }
.footer-top img { height: 92px; width: auto; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; letter-spacing: .14em; font-weight: 600; margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #1E3247; padding: 26px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 22px; }

/* ---------- Modal / search ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10, 27, 44, .96); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 24px 24px; opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; }
.overlay.open { opacity: 1; visibility: visible; }
.overlay .close { position: absolute; top: 24px; left: 24px; color: #fff; width: 52px; height: 52px; }
.search-box { width: min(820px, 100%); color: #fff; }
.search-box input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); color: #fff; font-family: var(--font-head); font-size: clamp(28px, 4vw, 50px); padding: 14px 0; }
.search-box input:focus { outline: none; border-color: var(--gold-light); }
.search-box .hint { color: #93A3B4; font-size: 14px; margin-top: 14px; }
.search-results { list-style: none; padding: 0; margin: 30px 0 0; }
.search-results a { display: block; padding: 14px 0; border-bottom: 1px solid #1E3247; font-size: 20px; }
.search-results a:hover { color: var(--gold-light); }
.modal { background: #fff; width: min(760px, 100%); padding: 56px; position: relative; border-top: 3px solid var(--gold); }
.modal h2 { font-size: 38px; margin-bottom: 6px; }
.modal .close { color: var(--navy); top: 12px; left: 12px; }
.topics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; padding: 18px; background: var(--cream); }

/* back to top */
.to-top { position: fixed; bottom: 26px; left: 26px; width: 50px; height: 50px; background: var(--gold); color: #fff; border: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .carousel-track { grid-auto-columns: calc((100% - 48px) / 3); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { gap: 50px; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .topbar .hide-sm { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav > ul { position: fixed; inset: 0; top: 0; background: var(--navy-ink); flex-direction: column; justify-content: center; padding: 40px; gap: 6px; transform: translateX(100%); transition: transform .45s var(--ease); z-index: 70; }
  .nav.open > ul { transform: none; }
  .nav > ul > li > a, .nav > ul > li > button { color: #fff !important; font-size: 28px; font-family: var(--font-head); padding: 10px 0; }
  .nav > ul > li > a::after, .nav > ul > li > button::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .submenu a { color: #AFBBC8; padding: 6px 0; font-size: 18px; }
  .submenu a:hover { background: none; }
  .nav .menu-toggle { position: relative; z-index: 80; }
  .nav.open .menu-toggle { color: #fff !important; }
  .site-header .container { height: 84px; }
  .brand img { height: 56px; }
  .section { padding: 84px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .carousel-track { grid-auto-columns: 78%; }
  .split, .areas-intro, .updated-grid, .two-col, .contact-grid, .profile { grid-template-columns: 1fr; gap: 44px; }
  .split-visual { aspect-ratio: 4 / 3; }
  .values, .media-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .area-detail { grid-template-columns: 1fr; gap: 14px; }
  .updated-box, .follow-box, .modal { padding: 40px 28px; }
  .side-card { position: static; }
  .page-hero { padding: 180px 0 70px; }
  .hero-mark { width: 120vw; left: -40vw; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .areas-grid { grid-template-columns: 1fr; }
  .area { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stats strong { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  form.form, .topics { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 90px 1fr; }
  .topbar ul { gap: 14px; }
  .banner { padding: 100px 0; }
}
@media (max-width: 900px) { .split-visual .caption { display: none; } .split-visual img.mark { width: 42%; } }

/* ---------- Hero film (YVT video) – centred, Gornitzky-style ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { align-items: flex-end; justify-content: center; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero.has-video .hero-media video { opacity: 1; }
.hero.has-video .hero-mark, .hero.has-video .hero-lines { display: none; }
.hero::after { background: linear-gradient(to bottom, rgba(10, 27, 44, .55) 0%, transparent 22%, transparent 55%, rgba(10, 27, 44, .85) 100%); }
.hero-content { text-align: center; padding: 0 0 13vh; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: none; margin-bottom: 10px; font-size: inherit; }
.hero-slogan { display: block; font-family: var(--font-body); font-weight: 400; font-size: clamp(26px, 3.4vw, 54px); letter-spacing: .04em; color: #fff; line-height: 1.15; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero-sub { color: var(--gold-light); font-family: var(--font-head); font-size: clamp(18px, 1.7vw, 24px); margin: 0 0 30px; max-width: none; }
.btn-hero { background: var(--gold); color: #fff; border-color: var(--gold); border-radius: 4px; padding: 13px 44px; font-size: 17px; }
.btn-hero::before { background: #fff; }
.btn-hero:hover { color: var(--navy); }
.scroll-cue { display: none; }
@media (max-width: 900px) { .hero-content { padding-bottom: 16vh; } }

/* header: menu on the right, logo on the left */
.site-header .brand { order: 2; }
.site-header .nav { order: 1; }

/* ==========================================================
   Luxury navigation – mega panels (desktop) + full-screen menu (mobile)
   ========================================================== */
.nav { align-self: stretch; }
.nav-list { align-self: stretch; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li.has-sub { position: static; }
.mobile-contact { display: none !important; }
.ic-close { display: none; }

@media (min-width: 901px) {
  .nav > ul > li.has-sub > a::before {
    content: ""; display: inline-block; width: 6px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg) translateY(-3px); margin-inline-end: 9px; transition: transform .4s var(--ease);
  }
  .nav > ul > li.has-sub:hover > a::before { transform: rotate(135deg) translate(-2px, 1px); }

  /* header turns deep navy while a panel is open */
  .site-header:has(.has-sub:hover), .site-header:has(.has-sub:focus-within) { background: var(--navy-ink); box-shadow: none; }
  .site-header:has(.has-sub:hover) .nav > ul > li > a, .site-header:has(.has-sub:hover) .icon-btn { color: #fff; }
  .site-header.solid:has(.has-sub:hover) .logo-dark { display: none; }
  .site-header.solid:has(.has-sub:hover) .logo-light { display: block; }

  .mega-panel {
    position: absolute; top: 100%; inset-inline: 0; overflow: hidden;
    background: linear-gradient(180deg, var(--navy-ink) 0%, #0E2640 100%);
    color: #fff; padding: 64px 0 72px;
    clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden;
    transition: clip-path .6s var(--ease), opacity .4s ease, visibility 0s linear .6s;
    box-shadow: 0 40px 80px rgba(5, 14, 24, .45);
  }
  .mega-panel::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); transform: scaleX(0); transition: transform .9s var(--ease) .1s; }
  .has-sub:hover .mega-panel, .has-sub:focus-within .mega-panel { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .6s var(--ease), opacity .4s ease, visibility 0s; }
  .has-sub:hover .mega-panel::before, .has-sub:focus-within .mega-panel::before { transform: scaleX(1); }
  .mega-mark { position: absolute; left: 4%; top: 50%; width: 360px; transform: translateY(-50%) scale(.95); opacity: 0; transition: opacity 1.2s ease .2s, transform 1.4s var(--ease) .2s; pointer-events: none; }
  .has-sub:hover .mega-mark { opacity: .05; transform: translateY(-50%) scale(1); }

  .mega-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 90px; align-items: start; position: relative; }
  .mega-intro { border-inline-start: 1px solid rgba(181, 154, 114, .35); padding-inline-start: 40px; opacity: 0; transform: translateY(14px); transition: .7s var(--ease) .15s; }
  .has-sub:hover .mega-intro { opacity: 1; transform: none; }
  .mega-intro .eyebrow { color: var(--gold-light); }
  .mega-intro h3 { color: #fff; font-size: 38px; font-weight: 400; margin-bottom: 14px; }
  .mega-intro p { color: #9FB0C2; font-size: 16px; line-height: 1.8; margin-bottom: 26px; max-width: 34ch; }
  .mega-intro .link-arrow { color: var(--gold-light); font-size: 15px; letter-spacing: .04em; }

  .mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 60px; }
  .mega-links.cols-2 { grid-template-columns: 1fr 1fr; }
  .mega-links li { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(.18s + var(--i) * .05s); }
  .has-sub:hover .mega-links li { opacity: 1; transform: none; }
  .mega-links a { display: flex; align-items: baseline; gap: 22px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; color: #E6EBF0; }
  .mega-links .mi-num { font-family: var(--font-head); font-size: 14px; color: var(--gold-light); opacity: .7; min-width: 22px; }
  .mega-links .mi-label { font-family: var(--font-head); font-size: 23px; font-weight: 400; transition: transform .45s var(--ease), color .3s; }
  .mega-links .mi-line { position: absolute; bottom: -1px; right: 0; height: 1px; width: 100%; background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
  .mega-links a:hover .mi-label { color: var(--gold-light); transform: translateX(-10px); }
  .mega-links a:hover .mi-line { transform: scaleX(1); }
  .mega-links a:hover .mi-num { opacity: 1; }
}

/* ---------- Mobile full-screen menu ---------- */
@media (max-width: 900px) {
  .nav > ul.nav-list {
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(138, 110, 75, .22), transparent 60%),
      linear-gradient(170deg, #0A1B2C 0%, #13324F 100%);
    justify-content: flex-start; align-items: stretch; padding: 120px 32px 40px; gap: 0; overflow-y: auto;
    clip-path: circle(0% at calc(100% - 40px) 42px); transform: none; transition: clip-path .8s cubic-bezier(.7, 0, .2, 1);
  }
  .nav.open > ul.nav-list { clip-path: circle(150% at calc(100% - 40px) 42px); }
  .nav > ul > li { display: block; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .6s var(--ease); }
  .nav.open > ul > li { opacity: 1; transform: none; }
  .nav.open > ul > li:nth-child(1) { transition-delay: .25s; } .nav.open > ul > li:nth-child(2) { transition-delay: .31s; }
  .nav.open > ul > li:nth-child(3) { transition-delay: .37s; } .nav.open > ul > li:nth-child(4) { transition-delay: .43s; }
  .nav.open > ul > li:nth-child(5) { transition-delay: .49s; } .nav.open > ul > li:nth-child(6) { transition-delay: .58s; }
  .nav > ul > li > a { font-size: 30px !important; padding: 18px 0 !important; font-weight: 400; }
  .mega-panel { display: block; }
  .mega-mark, .mega-intro { display: none; }
  .mega-links { list-style: none; margin: -6px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .mega-links a { display: flex; gap: 8px; align-items: baseline; padding: 5px 0; color: #9FB0C2; font-size: 15px; }
  .mega-links .mi-num { color: var(--gold-light); font-size: 11px; opacity: .8; }
  .mega-links .mi-line { display: none; }
  .mobile-contact { display: flex !important; flex-direction: column; gap: 6px; border-bottom: 0 !important; padding-top: 34px; color: #9FB0C2; font-size: 15px; }
  .mobile-contact .eyebrow { color: var(--gold-light); margin-bottom: 4px; }
  .mobile-contact a { color: #fff; font-size: 17px; }
  .nav.open .ic-open { display: none; }
  .nav.open .ic-close { display: inline-flex; }
  .menu-toggle span { display: inline-flex; }
  .menu-toggle span svg { width: 22px; height: 22px; }
  .nav.open ~ * , body:has(.nav.open) .brand { position: relative; z-index: 90; }
  body:has(.nav.open) .brand .logo-dark { display: none; }
  body:has(.nav.open) .brand .logo-light { display: block; }
  body:has(.nav.open) .site-header .icon-btn { color: #fff; }
}
.site-header .container.mega-inner { height: auto !important; display: grid; justify-content: normal; }
@media (max-width: 900px) {
  .site-header .container.mega-inner { display: block; width: 100%; }
  .mobile-contact { align-items: flex-start; }
  .nav > ul > li.mobile-contact a { font-family: var(--font-body); font-size: 17px !important; padding: 0 !important; }
  .nav > ul > li.mobile-contact span { font-size: 15px; }
}

/* ---------- Black menus ---------- */
@media (min-width: 901px) {
  .site-header:has(.has-sub:hover), .site-header:has(.has-sub:focus-within) { background: #000; }
  .mega-panel { background: linear-gradient(180deg, #000 0%, #0B0B0C 100%); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
  .mega-intro p { color: #A3A3A3; }
  .mega-links a { color: #EDEDED; border-bottom-color: rgba(255, 255, 255, .09); }
  .has-sub:hover .mega-mark { opacity: .06; }
}
@media (max-width: 900px) {
  .nav > ul.nav-list { background: radial-gradient(600px 400px at 100% 0%, rgba(138, 110, 75, .2), transparent 60%), #000; }
  .mega-links a, .mobile-contact { color: #A3A3A3; }
}
.nav > ul { gap: 0; }
.nav > ul > li > a, .nav > ul > li > button { padding-inline: 15px; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project { background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.project:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10, 27, 44, .12); }
.project-ph { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #1A1F26, #000); position: relative; overflow: hidden; display: grid; place-items: center; }
.project-ph img.mk { width: 34%; opacity: .14; transition: transform .8s var(--ease), opacity .5s; }
.project:hover .project-ph img.mk { transform: scale(1.08); opacity: .22; }
.project-ph::after { content: ""; position: absolute; bottom: 0; right: 0; left: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.project:hover .project-ph::after { transform: scaleX(1); }
.project-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-size: 22px; color: var(--gold-light); }
.project-body { padding: 28px 30px 30px; }
.project-body .tag { font-size: 13px; color: var(--gold); letter-spacing: .08em; font-weight: 600; display: block; margin-bottom: 10px; }
.project-body h3 { font-size: 26px; margin-bottom: 16px; }
.project-meta { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); display: grid; gap: 4px; }
.project-meta b { color: var(--navy); font-weight: 600; margin-inline-end: 10px; }
@media (max-width: 1100px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

/* menu colour matched to the hero film background */
:root { --film: #141C23; --film-2: #1B242C; }
@media (min-width: 901px) {
  .site-header:has(.has-sub:hover), .site-header:has(.has-sub:focus-within) { background: var(--film); }
  .mega-panel { background: linear-gradient(180deg, var(--film) 0%, var(--film-2) 100%); box-shadow: 0 40px 80px rgba(5, 10, 14, .45); }
  .mega-intro p { color: #9AA6AE; }
  .mega-links a { border-bottom-color: rgba(255, 255, 255, .08); }
}
@media (max-width: 900px) {
  .nav > ul.nav-list { background: radial-gradient(600px 400px at 100% 0%, rgba(138, 110, 75, .18), transparent 60%), linear-gradient(170deg, var(--film) 0%, var(--film-2) 100%); }
}
.site-header .container.mega-inner { align-items: start; }
@media (min-width: 901px) { .mega-intro { margin-top: 13px; } }
@media (min-width: 901px) {
  .mega-links a { align-items: center; padding: 17px 0; }
  .mega-links .mi-label { line-height: 30px; display: block; }
  .mega-intro h3 { line-height: 38px; margin: 0 0 16px; }
  .mega-intro { margin-top: 13px; }   /* 17 + 30/2 = 13 + 38/2 → centres line up */
}

/* inner-page heroes: same charcoal as the home film (instead of navy) */
.page-hero {
  background:
    linear-gradient(180deg, rgba(20, 28, 35, .78) 0%, rgba(20, 28, 35, .88) 60%, rgba(20, 28, 35, .97) 100%),
    url("../video/hero-poster.jpg") center 60% / cover no-repeat,
    var(--film);
}
.page-hero .hero-mark { opacity: .045; }
.page-hero p, .crumbs { color: #A9B3BA; }
.values.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .values.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values.four { grid-template-columns: 1fr; } }

/* only the hovered menu item is underlined (current page underline steps aside) */
@media (min-width: 901px) {
  .nav > ul.nav-list:hover > li > a[aria-current="page"]::after { transform: scaleX(0); }
  .nav > ul.nav-list:hover > li:hover > a::after,
  .nav > ul.nav-list:hover > li:hover > a[aria-current="page"]::after { transform: scaleX(1); }
}

/* 9 practice areas → 3 x 3 grid */
@media (min-width: 1101px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }

/* Hebrew hero slogan + rounded button */
.hero-slogan { font-family: var(--font-head); font-weight: 500; font-size: clamp(38px, 5vw, 76px); letter-spacing: 0; text-transform: none; line-height: 1.15; }
.hero-sub { font-family: var(--font-body); color: #D9C7A8; font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; max-width: 46ch; line-height: 1.6; }
.btn-hero { border-radius: 999px; padding: 14px 46px; }
.btn-hero::before { border-radius: 999px; }
.nav:not(.open) .menu-toggle .ic-close { display: none !important; }
.nav.open .menu-toggle .ic-open { display: none !important; }

/* two-column menus number top-to-bottom (right column first) */
.mega-links.cols-2 { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 5), auto); }
@media (max-width: 900px) { .mega-links { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 5), auto); } }

/* ---------- Article pages ---------- */
.article-hero h1 { max-width: 22ch; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; }
.article-tag { display: inline-block; color: var(--gold-light); font-size: 14px; letter-spacing: .12em; font-weight: 600; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; color: #A9B3BA; font-size: 15px; }
.article-meta span + span::before { content: "·"; margin-inline-end: 26px; color: var(--gold-light); }
.article-body { font-size: 18.5px; line-height: 1.9; }
.article-body .lead { font-size: 21px; color: var(--ink); font-family: var(--font-head); line-height: 1.7; margin-bottom: 1.4em; }
.article-body h2 { font-size: 30px; margin-top: 1.6em; padding-top: .4em; border-top: 1px solid var(--line); }
.article-body ul { margin-bottom: 1.2em; }
.article-body li { margin-bottom: .55em; }
.article-body strong { color: var(--navy); font-weight: 700; }
.callout { background: var(--cream); border-right: 3px solid var(--gold); padding: 22px 26px; margin: 28px 0; font-size: 17px; line-height: 1.8; }
.callout strong { color: var(--gold); }
.disclaimer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.7; }
.related { background: var(--cream); }
.related .news-card { background: #fff; }
.related .news-card:hover { background: var(--navy); }
@media (max-width: 600px) { .article-meta span + span::before { margin-inline-end: 14px; } .article-meta { gap: 6px 14px; } .article-body { font-size: 17.5px; } }

/* ---------- Project page ---------- */
.project { display: block; color: inherit; }
.project .link-arrow { margin-top: 18px; display: inline-flex; font-size: 15px; }
.project-ph.has-img img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project:hover .project-ph.has-img img.photo { transform: scale(1.05); }
.project-ph.has-img img.photo ~ img.mk { display: none; }
.project-ph.has-img .project-num { z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.project-hero-img { margin: 0 0 70px; position: relative; aspect-ratio: 16 / 7; background: linear-gradient(160deg, #1A1F26, #000); overflow: hidden; }
.project-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-img figcaption { position: absolute; bottom: 0; left: 0; background: rgba(0,0,0,.55); color: #ddd; font-size: 13px; padding: 6px 14px; }
.project-hero-img.noimg { display: none; }
.side-card ul.facts li { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.side-card ul.facts b { color: var(--gold); font-weight: 600; }
.side-card ul.facts span { text-align: left; }
.dev-link { margin: 18px 0 0; font-size: 14px; }
.dev-link a { color: var(--muted) !important; text-decoration: underline; font-weight: 400 !important; }
.project-layout .map { margin-top: 10px; }
@media (max-width: 900px) { .project-hero-img { aspect-ratio: 4 / 3; margin-bottom: 44px; } }
.project-hero-img img { object-position: center 30%; }

/* project timeline + developer CTA */
.timeline { list-style: none; padding: 0; margin: 20px 0 10px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 9px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 22px; padding-bottom: 22px; margin: 0; }
.timeline .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin-top: 6px; position: relative; z-index: 1; }
.timeline li.done .dot { background: var(--gold); border-color: var(--gold); }
.timeline li.now .dot { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 5px rgba(138, 110, 75, .2); }
.timeline h4 { font-family: var(--font-head); font-size: 21px; font-weight: 500; color: var(--navy); margin: 0 0 2px; }
.timeline h4 em { font-style: normal; font-family: var(--font-body); font-size: 13px; color: #fff; background: var(--gold); padding: 2px 10px; border-radius: 999px; margin-inline-start: 10px; vertical-align: middle; }
.timeline p { margin: 0; color: var(--muted); font-size: 16px; }
.timeline li:not(.done):not(.now) h4 { color: var(--muted); }
.dev-cta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.dev-cta h4 { font-family: var(--font-head); font-size: 20px; color: var(--navy); margin: 0 0 8px; font-weight: 500; }
.dev-cta p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid #2B4058; display: grid; place-items: center; color: #AFBBC8; transition: .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* profile page */
.profile-side { position: sticky; top: 110px; }
.profile-side .contact-list { margin: 10px 0 24px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); margin-bottom: 56px; background: var(--cream); }
.profile-stats > div { padding: 26px 24px; text-align: center; }
.profile-stats > div + div { border-inline-start: 1px solid var(--line); }
.profile-stats strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 40px; color: var(--gold); line-height: 1.1; margin-bottom: 6px; }
.profile-stats > div:last-child strong { font-size: 28px; padding: 6px 0; }
.profile-stats span { font-size: 15px; color: var(--muted); }
.profile-areas { columns: 2; column-gap: 40px; }
.profile-areas li { break-inside: avoid; }
.profile-areas a { color: var(--navy); }
.profile-areas a:hover { color: var(--gold); }
.prose .timeline h4 em { background: none; color: var(--gold); font-family: var(--font-body); font-size: 14px; padding: 0; margin-inline-start: 12px; }
@media (max-width: 900px) { .profile-side { position: static; } .profile-stats { grid-template-columns: 1fr; } .profile-stats > div + div { border-inline-start: 0; border-top: 1px solid var(--line); } .profile-areas { columns: 1; } }
/* founder section on about page */
.founder { scroll-margin-top: 90px; }
.founder-head { margin-bottom: 44px; }
.founder-head .lead { margin-top: 10px; }
.founder-sub { font-size: 30px; }

/* ---------- tighter vertical rhythm ---------- */
.section { padding: 76px 0; }
.founder { padding-top: 24px !important; }
.founder-head { margin-bottom: 32px; }
.section-head { margin-bottom: 40px; }
.areas-intro { margin-bottom: 44px; }
.updated { padding-bottom: 76px; }
.banner { padding: 100px 0; }
.page-hero { padding-bottom: 64px; }
.area-detail { padding: 40px 0; }
.values { margin-top: 40px; }
.profile-stats { margin-bottom: 40px; }
.prose h2 { margin-top: 1.1em; }
.project-hero-img { margin-bottom: 50px; }
.disclaimer { margin-top: 32px; }
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .banner { padding: 72px 0; }
  .page-hero { padding-bottom: 48px; }
}

/* mobile: full-screen menu must not be clipped by the scrolled (blurred) header */
@media (max-width: 900px) {
  .site-header.solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body:has(.nav.open) .site-header { background: transparent; box-shadow: none; }
  .nav > ul.nav-list { position: fixed; inset: 0; height: 100vh; height: 100dvh; }
}
