/* Self-hosted fonts (Google Fonts static files, OFL). Variable weight covers 400–500. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #070707;
  --bg-elev: #0e0e0e;
  --line: rgba(255,255,255,.10);
  --text: #f4f1ea;
  --muted: #9a958b;
  --fine: #8a857c;
  --gold: #c2a36a;
  --max: 1220px;
  --header: 96px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.skip:focus { top: 12px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px;
  background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
}
.site-header.scrolled { background: rgba(7,7,7,.94); border-bottom: 1px solid var(--line); }
.logo img { height: 52px; width: auto; max-width: 280px; object-fit: contain; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.nav a.active, .nav a:hover { color: var(--gold); }
.nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 6px; }
.langs a { color: var(--muted); font-size: 11px; letter-spacing: .16em; padding: 8px 5px; }
.langs a.on, .langs a:hover { color: var(--gold); }
.btn {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 13px 20px; display: inline-flex;
}
.btn:hover, .btn-solid { background: var(--gold); color: #111; }
.menu-toggle { display: none; background: 0; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* Image containers: the picture element with class "bg" fills the box, replacing CSS background-image */
.hero, .tall, .sq, .media { position: relative; overflow: hidden; }
.bg, .hero picture, .tall picture, .sq picture, .media picture { position: absolute; inset: 0; }
.bg { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  padding: 0 56px 100px;
}
.hero-mid { min-height: 68vh; }
.hero-short { min-height: 52vh; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(7,7,7,.55) 50%, #070707 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.kicker { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
h1, h2, h3, .h3 { font-family: "Cormorant Garamond", serif; font-weight: 400; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: .92; }
h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 16px; }
h3, .h3 { font-size: 28px; margin-bottom: 10px; line-height: 1.15; }
.lede { color: var(--muted); max-width: 540px; margin: 26px 0 34px; font-size: 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.wrap { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-top { align-items: start; }
.card { background: var(--bg-elev); border: 1px solid var(--line); padding: 32px; min-height: 220px; }
.list { margin-top: 14px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.list li { margin: 6px 0; }
.card h4, .card .h4 { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 18px 0 8px; }
p, .card p { color: var(--muted); font-size: 15px; }
.gold { color: var(--gold); }
.stat { padding: 8px 0 8px 20px; border-left: 1px solid var(--gold); }
.stat b, .stat .stat-h { display: block; font-family: "Cormorant Garamond", serif; font-size: 30px; color: #fff; font-weight: 400; margin-bottom: 8px; }
.media { min-height: 420px; border: 0; }
.media-tall { min-height: 520px; }
.media-full { min-height: 56vh; }
.band { display: grid; grid-template-columns: 1.35fr .8fr; gap: 10px; }
.band-right { display: grid; gap: 10px; }
.tall, .sq { border: 0; }
.tall { min-height: 540px; }
.sq { min-height: 265px; }
.page-hero { padding: calc(var(--header) + 80px) 0 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq-q { font-size: 24px; margin: 0; display: inline; }
.faq p { margin-top: 12px; max-width: 720px; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.portrait { border: 0; background: #0b0b0b; }
.portrait-img { width: 100%; height: 560px; object-fit: cover; object-position: top center; }
.portrait figcaption { padding: 18px 20px 22px; }
.portrait strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 400; }
.portrait span { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.form { display: grid; gap: 12px; }
.form input, .form textarea { background: #101010; border: 1px solid var(--line); color: #fff; padding: 16px; font: 14px Inter, sans-serif; }
.form input:focus, .form textarea:focus, .cal-select:focus { outline: 1px solid var(--gold); outline-offset: 0; }
.site-footer {
  border-top: 1px solid var(--line); padding: 56px 36px 28px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px;
  font-size: 13px; color: var(--muted);
}
.site-footer > div > a { display: block; width: max-content; padding: 6px 0; }
.site-footer > div > a + br { display: none; }
.credit-bar {
  border-top: 1px solid var(--line);
  padding: 22px 36px 28px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fine);
}
.credit-bar p { color: var(--fine); font-size: 11px; }
.credit-bar em { font-style: italic; letter-spacing: .08em; color: #cfc8bb; }
.fine { font-size: 12px; margin-top: 20px; color: var(--fine); }
.wa {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.wa svg { width: 28px; height: 28px; fill: #fff; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.contact-side .btn { margin: 12px 12px 0 0; }
.contact-side a[href^="tel:"], .contact-side a[href^="mailto:"] { display: inline-block; padding: 6px 0; }
.footer-langs { margin-top: 22px; }
.dev-rail {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.dev-track {
  display: flex; gap: 56px; width: max-content;
  animation: rail 48s linear infinite;
  align-items: center;
}
.dev-track span {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px; letter-spacing: .08em; color: rgba(244,241,234,.55);
  white-space: nowrap;
}
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dev-track { animation: none; flex-wrap: wrap; width: auto; gap: 24px 40px; justify-content: center; padding: 0 24px; }
  .dev-track span[aria-hidden] { display: none; }
}
.bio { margin-top: 28px; max-width: 760px; }
.bio .h3 { margin-top: 28px; }

.x-feed .lede { margin-bottom: 20px; }

.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding: 0;
}
.process-grid li { border-top: 1px solid var(--gold); padding-top: 16px; }
.process-grid span {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 10px;
}
.process-grid strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.process-grid p { font-size: 13px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: start;
}
.cal-panel {
  background: #0c0c0c;
  border: 1px solid var(--line);
  padding: 32px 28px 36px;
}
.cal-label {
  display: block;
  margin: 18px 0 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.cal-select {
  width: 100%;
  background: #070707;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 12px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
}
.cal-panel .btn { margin-top: 22px; }

/* Italian and Hungarian nav labels are long: tighten first, then fall back to the menu button earlier than English would need. */
@media (max-width: 1500px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .14em; }
  .header-actions { gap: 12px; }
  .site-header { padding: 0 24px; }
}
@media (max-width: 1320px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: var(--header); left: 0; right: 0;
    background: #0a0a0a; padding: 24px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-cta { display: inline-flex; }
  .menu-toggle { display: block; }
  .header-actions .langs { display: none; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .site-footer, .portraits, .band, .contact-layout { grid-template-columns: 1fr; }
  .contact-layout { gap: 40px; }
  .hero { padding: 0 24px 72px; min-height: 85svh; }
  .wrap { width: min(var(--max), calc(100% - 40px)); }
  .portrait-img { height: 460px; }
  .section { padding: 72px 0; }
  .site-header { padding: 0 20px; }
  .dev-track span { font-size: 22px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .media-tall { min-height: 420px; }
}
@media (max-width: 480px) {
  :root { --header: 72px; }
  .logo img { height: 36px; max-width: 168px; }
  .header-actions .btn { display: none; }
  .site-header { height: var(--header); padding: 0 16px; }
  .hero { min-height: 78svh; padding: 0 18px 56px; }
  h1 { font-size: clamp(36px, 12vw, 52px); }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .faq-q { font-size: 20px; }
  .section { padding: 56px 0; }
  .page-hero { padding: calc(var(--header) + 48px) 0 12px; }
  .card { padding: 24px; min-height: 0; }
  .portrait-img { height: 380px; }
  .wa { right: 16px; bottom: 88px; width: 50px; height: 50px; }
  .site-footer { padding: 40px 20px 96px; }
  .credit-bar { padding: 18px 16px 28px; }
  .dev-track { gap: 32px; }
  .dev-track span { font-size: 18px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* "Ask an AI about the firm" (footer) */
.ai-label { margin-top: 26px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fine); }
.ai-ask { display: flex; gap: 8px; margin-top: 10px; }
.ai-ask a { border: 1px solid rgba(255,255,255,.14);
  width: 32px; height: 32px; border-radius: 6px; color: #fff;
  display: grid; place-items: center; transition: transform .2s ease, opacity .2s ease;
}
.ai-ask a:hover, .ai-ask a:focus-visible { transform: translateY(-2px); opacity: .92; outline-color: var(--gold); }
.ai-ask svg { width: 16px; height: 16px; }
