:root {
  --bg: #f4f0e9;
  --bg-elev: #fbf8f2;
  --panel: rgba(255,255,255,.64);
  --text: #111318;
  --muted: #66645f;
  --line: rgba(17,19,24,.13);
  --accent: #9b7a48;
  --accent-2: #c3a36c;
  --ink-inverse: #f4f0e9;
  --shadow: 0 30px 80px rgba(28,25,20,.10);
  --radius: 26px;
  --container: 1240px;
}

html[data-theme="dark"] {
  --bg: #0b0e12;
  --bg-elev: #10141a;
  --panel: rgba(255,255,255,.055);
  --text: #f1eee8;
  --muted: #a7a39c;
  --line: rgba(255,255,255,.12);
  --accent: #c6a36b;
  --accent-2: #e0c795;
  --ink-inverse: #0b0e12;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background .35s ease, color .35s ease;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-180%); background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 999px; z-index: 9999; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { position: relative; padding: 110px 0; }
.section.compact { padding: 54px 0; }
.eyebrow { margin: 0 0 24px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--accent); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(3.25rem, 7vw, 7.7rem); font-weight: 600; margin-bottom: 30px; }
h1 span { color: var(--accent); font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 560; margin-bottom: 0; }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 600; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.hero-specialties { margin: 0 0 14px; color: var(--accent); font-weight: 700; letter-spacing: .22em; font-size: .82rem; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--panel) 92%, transparent); padding: 7px; overflow: hidden; flex-shrink: 0; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-logo-for-dark { display: none; }
html[data-theme="dark"] .brand-logo-for-light { display: none; }
html[data-theme="dark"] .brand-logo-for-dark { display: block; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: .88rem; letter-spacing: .12em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: .55rem; letter-spacing: .13em; }
.footer-brand .brand-mark { width: 50px; height: 50px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .88rem; }
.desktop-nav a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 9px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: transparent; }
.lang-btn { font-size: .72rem; font-weight: 850; letter-spacing: .08em; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.lang-btn:hover { transform: translateY(-1px); background: var(--panel); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.theme-icon { grid-area: 1/1; transition: opacity .25s, transform .25s; }
html[data-theme="light"] .theme-icon-moon { opacity: 0; transform: rotate(90deg) scale(.7); }
html[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(-90deg) scale(.7); }
.menu-btn { display: none; gap: 5px; }
.menu-btn span { width: 17px; height: 1px; background: currentColor; display: block; transition: .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 82px 0 auto 0; height: calc(100dvh - 82px); background: var(--bg); border-top: 1px solid var(--line); }
.mobile-menu-inner { padding: 32px 0 60px; display: grid; gap: 4px; }
.mobile-menu-inner > a:not(.btn) { padding: 17px 0; font-size: 1.5rem; border-bottom: 1px solid var(--line); }
.mobile-menu-inner .btn { margin-top: 24px; }

.btn { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .92rem; transition: transform .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-small { min-height: 42px; padding: 0 17px; font-size: .82rem; }
.btn-full { width: 100%; }

.hero { min-height: calc(100dvh - 82px); display: flex; align-items: center; overflow: hidden; padding-top: 70px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
.hero-actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 11px; }
.trust-row { margin-top: 65px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.trust-row > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 9px; }
.trust-row strong { color: var(--accent); font-size: .72rem; letter-spacing: .1em; }
.trust-row span { color: var(--muted); font-size: .8rem; }
.hero-media { position: relative; justify-self: end; width: min(100%, 450px); }
.portrait-frame { position: relative; aspect-ratio: .8; overflow: hidden; border-radius: 130px 130px var(--radius) var(--radius); box-shadow: var(--shadow); background: var(--bg-elev); }
.portrait-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.82) contrast(1.01); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,12,.28), transparent 42%); pointer-events: none; }
.portrait-card { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; gap: 12px; align-items: center; padding: 17px 18px; color: #fff; background: rgba(10,12,16,.64); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); border-radius: 18px; }
.portrait-card .dot { width: 10px; height: 10px; border-radius: 50%; background: #8fd3a8; box-shadow: 0 0 0 6px rgba(143,211,168,.12); }
.portrait-card div { display: grid; }
.portrait-card strong { font-size: .82rem; }
.portrait-card small { color: rgba(255,255,255,.72); font-size: .72rem; }
.vertical-label { position: absolute; right: -60px; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right center; font-size: .65rem; letter-spacing: .22em; color: var(--muted); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .18; pointer-events: none; }
.hero-glow-a { width: 600px; height: 600px; background: var(--accent); left: -250px; top: -200px; }
.hero-glow-b { width: 480px; height: 480px; background: #6d809c; right: -220px; bottom: -120px; }

.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto p { margin: 0; max-width: 1100px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3.2vw, 3.2rem); line-height: 1.2; letter-spacing: -.025em; }
.manifesto strong { color: var(--accent); font-weight: 500; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 80px; align-items: end; margin-bottom: 62px; }
.section-heading > p { color: var(--muted); margin: 0; }

.practice-grid { border-top: 1px solid var(--line); }
.practice-card { position: relative; display: grid; grid-template-columns: 70px 1fr 50px; gap: 20px; align-items: start; padding: 34px 8px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.practice-card:hover { padding-left: 22px; padding-right: 22px; background: var(--panel); }
.practice-number { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.practice-card h3 { margin-bottom: 10px; }
.practice-card p { margin: 0; max-width: 770px; color: var(--muted); }
.practice-card .arrow { justify-self: end; font-size: 1.4rem; color: var(--muted); }

.about-section { background: var(--text); color: var(--bg); }
html[data-theme="dark"] .about-section { background: #e9e3d8; color: #111318; }
.about-section .eyebrow { color: var(--accent-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.about-sticky { align-self: start; position: sticky; top: 125px; }
.about-copy { padding-top: 85px; }
.large-copy { font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 4rem); line-height: 1.16; letter-spacing: -.035em; }
.about-copy > p:not(.large-copy) { max-width: 720px; color: color-mix(in srgb, currentColor 68%, transparent); font-size: 1.05rem; }
.about-metrics { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.about-metrics div { padding: 24px 18px 0 0; display: grid; gap: 4px; }
.about-metrics strong { font-size: 1.1rem; }
.about-metrics span { color: color-mix(in srgb, currentColor 60%, transparent); font-size: .78rem; }


.team-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; justify-items: center; }
.team-card { grid-column: span 4; width: 100%; max-width: 320px; }
.team-card:nth-child(1), .team-card:nth-child(5) { grid-column: span 6; max-width: 360px; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; border-radius: 22px; background: var(--bg-elev); filter: saturate(.78); transition: filter .3s, transform .3s; max-height: 390px; }
.team-card:hover img { filter: saturate(1); transform: translateY(-4px); }
.team-card div { padding-top: 15px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.team-card p { color: var(--muted); font-size: .84rem; }

.insights-section { background: var(--bg-elev); border-block: 1px solid var(--line); }
.text-link { color: var(--accent); font-weight: 700; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.article-card { min-height: 390px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.article-card.featured { background: var(--text); color: var(--bg); }
.article-meta { display: flex; justify-content: space-between; gap: 14px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article-card.featured .article-meta { color: color-mix(in srgb, var(--bg) 63%, transparent); }
.article-card h3 { margin: 55px 0 20px; }
.article-card p { color: var(--muted); }
.article-card.featured p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.article-link { margin-top: auto; padding: 0; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; text-align: left; font-weight: 750; }
.legal-note { margin: 22px 0 0; color: var(--muted); font-size: .78rem; }

.contact-section { overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 85px; align-items: start; }
.contact-intro > p:not(.eyebrow) { max-width: 550px; color: var(--muted); }
.contact-list { margin-top: 50px; border-top: 1px solid var(--line); }
.contact-list a, .contact-list .contact-item { padding: 17px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 20px; }
.contact-list span { color: var(--muted); font-size: .77rem; }
.contact-item strong small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.contact-list strong { font-weight: 600; }
.social-row { display: flex; gap: 8px; margin-top: 28px; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.contact-panel { padding: 36px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line); box-shadow: var(--shadow); }
form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; font-size: .76rem; font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 14px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea { resize: vertical; min-height: 140px; }
.privacy-check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; color: var(--muted); }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.inline-button { border: 0; padding: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.qr-strip { margin-top: 90px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: var(--panel); }
.qr-strip h3 { margin-bottom: 10px; }
.qr-strip p:not(.eyebrow) { max-width: 650px; color: var(--muted); margin-bottom: 0; }
.qr-card { display: grid; justify-items: center; gap: 8px; padding: 13px; border-radius: 20px; background: #fff; color: #111; }
.qr-card img { width: 140px; height: 140px; }
.qr-card span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .7fr; gap: 60px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 450px; color: var(--muted); font-size: .78rem; }
.footer-links { display: grid; align-content: start; gap: 9px; font-size: .82rem; color: var(--muted); }
.footer-link-button { width: fit-content; padding: 0; border: 0; background: transparent; color: inherit; }
.footer-links a:hover, .footer-link-button:hover { color: var(--text); }
.footer-bottom { margin-top: 50px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .7rem; }

.privacy-banner { position: fixed; z-index: 500; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(calc(100% - 28px), 920px); display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elev) 94%, transparent); backdrop-filter: blur(16px); border-radius: 18px; box-shadow: var(--shadow); }
.privacy-banner p { margin: 0; color: var(--muted); font-size: .8rem; }
.privacy-banner p strong { color: var(--text); }
.privacy-banner > div { display: flex; gap: 8px; }

.modal { width: min(calc(100% - 30px), 760px); max-height: min(86dvh, 850px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-elev); color: var(--text); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(2,5,10,.62); backdrop-filter: blur(5px); }
.modal-inner { position: relative; padding: 42px; overflow: auto; }
.modal h2 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 28px; }
.modal h3 { margin-top: 28px; font-size: 1.2rem; }
.modal p { color: var(--muted); }
.modal-close { position: sticky; top: 0; float: right; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); font-size: 1.4rem; z-index: 2; }
.article-modal .modal-inner { min-height: 420px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .delay-1 { transition-delay: .08s; }
.js .delay-2 { transition-delay: .16s; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .desktop-cta { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { padding-top: 40px; }
  .hero-media { justify-self: start; width: min(78%, 460px); margin-left: auto; margin-right: auto; }
  .vertical-label { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-sticky { position: static; }
  .about-copy { padding-top: 0; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: 1 / -1; min-height: 320px; }
  .team-card { grid-column: span 6; max-width: 300px; }
  .team-card:nth-child(1), .team-card:nth-child(5) { grid-column: span 6; max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .section.compact { padding: 40px 0; }
  .nav-wrap { min-height: 72px; }
  .mobile-menu { top: 72px; height: calc(100dvh - 72px); }
  .brand-text strong { font-size: .74rem; }
  .brand-text small { display: none; }
  .hero { min-height: auto; padding: 65px 0 80px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.4rem); }
  .hero-actions { display: grid; }
  .trust-row { grid-template-columns: 1fr; gap: 11px; margin-top: 46px; }
  .hero-media { width: min(100%, 360px); }
  .portrait-frame { border-radius: 90px 90px 20px 20px; }
  .portrait-card { left: 14px; right: 14px; bottom: 14px; }
  .practice-card { grid-template-columns: 42px 1fr; }
  .practice-card .arrow { display: none; }
  .about-metrics { grid-template-columns: 1fr; }
  .about-metrics div { border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); padding-bottom: 16px; }
  .team-grid { gap: 16px; }
  .team-card, .team-card:nth-child(1), .team-card:nth-child(5) { grid-column: span 12; }
  .team-card img { aspect-ratio: 1 / 1.08; max-height: 320px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: auto; }
  .article-card { min-height: 350px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px; }
  .contact-list a, .contact-list .contact-item { grid-template-columns: 1fr; gap: 3px; }
  .qr-strip { grid-template-columns: 1fr; padding: 24px; }
  .qr-card { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .privacy-banner { grid-template-columns: 1fr; }
  .privacy-banner > div { flex-wrap: wrap; }
  .modal-inner { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 350px) {
  .brand-text { display: none; }
  .nav-actions { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .brand-mark { width: 40px; height: 40px; padding: 5px; border-radius: 12px; }
}


/* Premium / minimal refinement */
:root {
  --bg: #f7f5f0;
  --bg-elev: #fcfbf8;
  --panel: rgba(255,255,255,.5);
  --text: #151514;
  --muted: #6f6c65;
  --line: rgba(21,21,20,.11);
  --accent: #856a43;
  --accent-2: #b79a6b;
  --shadow: 0 24px 70px rgba(31,26,18,.075);
  --radius: 18px;
  --container: 1200px;
}
html[data-theme="dark"] {
  --bg: #0e0f10;
  --bg-elev: #131415;
  --panel: rgba(255,255,255,.035);
  --text: #f2efe8;
  --muted: #aaa69e;
  --line: rgba(255,255,255,.105);
  --accent: #c0a373;
  --accent-2: #ddc393;
  --shadow: 0 24px 70px rgba(0,0,0,.26);
}
body { letter-spacing: .002em; }
.section { padding: 128px 0; }
.eyebrow { font-size: .66rem; letter-spacing: .21em; margin-bottom: 20px; }
h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.2vw, 6rem); line-height: 1.02; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.15rem); line-height: 1.04; }
h3 { letter-spacing: -.025em; }
.site-header { background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(20px); }
.nav-wrap { min-height: 88px; }
.brand-mark { width: 44px; height: 44px; border: 0; border-radius: 0; background: transparent; padding: 2px; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: .92rem; letter-spacing: .10em; }
.brand-text small { letter-spacing: .18em; }
.desktop-nav { gap: 34px; font-size: .8rem; letter-spacing: .035em; }
.icon-btn { border-radius: 0; width: 40px; height: 40px; }
.btn { border-radius: 2px; min-height: 48px; padding-inline: 21px; font-size: .8rem; letter-spacing: .035em; }
.hero { padding-top: 92px; min-height: calc(100dvh - 88px); }
.hero-grid { grid-template-columns: 1.03fr .97fr; gap: 74px; }
.hero-specialties { font-size: .7rem; letter-spacing: .27em; }
.hero-glow { opacity: .08; filter: blur(130px); }
.hero-media { width: min(100%, 620px); }
.portrait-frame { border-radius: 2px; box-shadow: 0 28px 70px rgba(0,0,0,.12); aspect-ratio: 16 / 10; }
.portrait-card { left: 16px; right: 16px; bottom: 16px; border-radius: 2px; padding: 13px 14px; }
.trust-row { margin-top: 72px; }
.manifesto { border-color: var(--line); }
.manifesto p { max-width: 980px; font-size: clamp(1.8rem,3vw,3rem); }
.section-heading { gap: 110px; margin-bottom: 72px; }
.practice-card { padding: 30px 0; grid-template-columns: 62px 1fr 40px; }
.practice-card:hover { padding-left: 14px; padding-right: 14px; background: transparent; }
.about-section { background: #181817; }
html[data-theme="dark"] .about-section { background: #e9e5dc; }
.team-section { background: var(--bg); }
.team-grid-verified { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; align-items: start; }
.team-grid-verified .team-card { grid-column: auto !important; max-width: none !important; }
.team-photo { overflow: hidden; background: var(--bg-elev); aspect-ratio: 4/5; }
.team-card img { border-radius: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; object-fit: cover; object-position: 50% 18%; filter: saturate(.6) contrast(1.02); transition: filter .3s ease, transform .45s ease; }
.team-card:hover img { filter: saturate(.9) contrast(1.02); transform: scale(1.012); }
.team-meta { padding-top: 16px !important; border-top: 1px solid transparent; }
.team-card h3 { font-size: 1.32rem; margin: 0 0 6px; }
.team-card p { font-size: .74rem; letter-spacing: .035em; text-transform: uppercase; }
.founder-card { margin-top: 82px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; display: grid; grid-template-columns: 1.18fr .82fr; gap: 64px; align-items: center; }
.founder-image { overflow: hidden; aspect-ratio: 16/9; background: var(--bg-elev); }
.founder-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; filter: saturate(.65) contrast(1.02); }
.founder-copy h3 { font-size: clamp(2rem,3.2vw,3.6rem); margin-bottom: 10px; }
.founder-role { color: var(--accent); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.founder-copy > p:last-child { color: var(--muted); max-width: 520px; }
.article-card { border-radius: 2px; min-height: 360px; padding: 30px; box-shadow: none; }
.contact-panel { border-radius: 2px; box-shadow: none; padding: 38px; }
input, textarea, select { border-radius: 1px; background: transparent; }
.qr-strip { border-radius: 2px; background: transparent; padding: 32px 0; border-left: 0; border-right: 0; }
.qr-card { border-radius: 2px; }
.social-row-premium { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.social-row-premium a { width: auto; height: auto; border: 0; border-radius: 0; padding: 13px 22px 13px 0; margin-right: 22px; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .045em; }
.social-row-premium a:hover { color: var(--text); }
.social-row-premium b { font-weight: 400; color: var(--accent); }
.privacy-banner, .modal { border-radius: 2px; }
.site-footer { padding-top: 82px; }

@media (max-width: 1000px) {
  .hero-media { width: min(92%, 620px); }
  .team-grid-verified { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .founder-card { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 680px) {
  .section { padding: 88px 0; }
  .nav-wrap { min-height: 74px; }
  .hero { padding-top: 72px; }
  .hero-grid { gap: 40px; }
  h1 { font-size: clamp(2.45rem, 11vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 8vw, 3.1rem); }
  .hero-media { width: min(100%, 520px); }
  .portrait-frame { border-radius: 2px; }
  .team-grid-verified { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .team-card h3 { font-size: 1.05rem; }
  .team-card p { font-size: .64rem; }
  .founder-card { margin-top: 58px; padding: 32px 0; }
  .founder-image { aspect-ratio: 4/3; }
  .social-row-premium a { margin-right: 16px; padding-right: 16px; }
}
@media (max-width: 460px) {
  .team-grid-verified { grid-template-columns: 1fr; gap: 30px; }
  .team-photo { aspect-ratio: 4/4.7; }
}


/* Production multi-page additions */
.desktop-nav a[aria-current="page"] { color: var(--text); }
.desktop-nav a[aria-current="page"]::after { content:""; display:block; height:1px; margin-top:5px; background:var(--accent); }
.page-hero { padding-top: 145px; padding-bottom: 88px; border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: 980px; }
.page-hero h1 { margin-bottom: 30px; }
.page-hero .lead { max-width: 760px; }
.section-cta { margin-top: 38px; }
.inverse-link { color: var(--accent-2); display:inline-block; margin-top:20px; }
.contact-teaser { border-top: 1px solid var(--line); }
.contact-teaser-grid { display:grid; grid-template-columns: 1fr auto; gap:60px; align-items:end; }
.contact-teaser h2 { font-size: clamp(2.2rem,4.3vw,4.4rem); margin-bottom:20px; }
.contact-teaser p:not(.eyebrow) { color:var(--muted); margin:0; }
.service-detail-list { border-top:1px solid var(--line); }
.service-detail { display:grid; grid-template-columns:70px 1fr; gap:28px; padding:55px 0; border-bottom:1px solid var(--line); }
.service-detail h2 { font-size:clamp(2rem,4vw,3.8rem); margin-bottom:16px; }
.service-detail .service-lead { color:var(--muted); max-width:760px; font-size:1.05rem; }
.service-detail ul { columns:2; column-gap:50px; margin:30px 0 0; padding:0; list-style:none; max-width:900px; }
.service-detail li { break-inside:avoid; position:relative; padding:10px 0 10px 18px; border-top:1px solid var(--line); }
.service-detail li::before { content:"—"; position:absolute; left:0; color:var(--accent); }
.callout { display:flex; justify-content:space-between; align-items:center; gap:40px; padding:40px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.callout p { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.4rem,2.5vw,2.4rem); max-width:800px; }
.founder-card-page { margin-top:0; }
.founder-card-page .founder-copy h2 { font-size:clamp(2.4rem,4vw,4rem); margin-bottom:10px; }
.topic-grid .article-card { min-height:260px; }
.topic-grid .article-card h3 { margin-top:auto; margin-bottom:0; }
.legal-page { max-width:900px; }
.legal-page h2 { font-size:clamp(1.8rem,3vw,2.8rem); margin:56px 0 18px; }
.legal-page h2:first-child { margin-top:0; }
.legal-page p { color:var(--muted); font-size:1rem; }
.legal-page a { text-decoration:underline; text-underline-offset:3px; }
.privacy-banner .btn-ghost { text-decoration:none; }
.inline-button { color:inherit; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:1000px) { .contact-teaser-grid { grid-template-columns:1fr; gap:25px; align-items:start; } .service-detail ul { columns:1; } }
@media (max-width:680px) { .page-hero { padding-top:100px; padding-bottom:64px; } .page-hero-inner { margin:0 auto; } .service-detail { grid-template-columns:40px 1fr; padding:38px 0; gap:14px; } .callout { flex-direction:column; align-items:flex-start; } .contact-teaser-grid { gap:18px; } }


/* Mobile viewport fit + hero image refinement */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0; }
main, header, footer, section { max-width: 100%; }
.hero-grid > *, .section-heading > *, .about-grid > *, .contact-grid > *, .footer-grid > *, .contact-teaser-grid > * { min-width: 0; }
.portrait-frame > picture { display: block; width: 100%; height: 100%; }
.portrait-frame > picture > img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.01); }

@media (max-width: 680px) {
  .container {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 16px;
  }
  .nav-wrap { width: 100%; min-width: 0; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand-text { display: none; }
  .nav-actions { flex: 0 0 auto; gap: 6px; }
  .mobile-menu { width: 100%; max-width: 100%; }
  .mobile-menu-inner { width: 100%; }

  .hero {
    width: 100%;
    min-height: auto;
    padding: 58px 0 72px;
  }
  .hero-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }
  .hero-media {
    justify-self: stretch;
    width: calc(100% + 32px);
    max-width: none;
    min-width: 0;
    margin-left: -16px;
    margin-right: -16px;
  }
  .portrait-frame {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 2px;
  }
  .portrait-frame > picture > img {
    object-fit: cover;
    object-position: center center;
  }
  .portrait-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 11px;
    gap: 9px;
  }
  .portrait-card strong { font-size: .74rem; }
  .portrait-card small { font-size: .64rem; }

  .hero-actions { width: 100%; }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .trust-row { width: 100%; }

  .section-heading,
  .about-grid,
  .contact-grid,
  .contact-teaser-grid,
  .footer-grid { width: 100%; }
  .service-detail { grid-template-columns: 34px minmax(0, 1fr); }
  input, textarea, select { min-width: 0; max-width: 100%; }
  .contact-list strong,
  .footer-grid p,
  .lead { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero-media { width: calc(100% + 28px); margin-left: -14px; margin-right: -14px; }
  .icon-btn { width: 37px; height: 37px; }
  .nav-actions { gap: 4px; }
  h1 { font-size: clamp(2.25rem, 10.5vw, 3.45rem); }
  .hero-specialties { letter-spacing: .20em; }
}
