/* =========================================================
   Mgr. Farid Alizey, advokát — static site styles (redesign)
   Colours: brand wine + brass, light paper backgrounds.
   Change colours here in :root.
   ========================================================= */
:root {
  /* ---- Colour palette: "Burgundy & Gold" (default) ----
     To try another palette put data-palette="navy" | "forest" | "charcoal"
     on the <html> tag. */
  --wine: #7A2E3E;          /* main brand colour */
  --wine-deep: #451A25;     /* dark sections, footer */
  --wine-soft: #F6ECEE;     /* tinted backgrounds */
  --gold: #D4AF63;          /* accent on dark backgrounds */
  --gold-hover: #E2C27E;
  --brass: #9A7330;         /* accent on light backgrounds */
  --ink: #2A1A1F;           /* headings */
  --text: #4B3F43;          /* body text */
  --muted: #7D6F73;
  --paper: #FFFFFF;
  --surface: #FFFFFF;      /* cards, panels */
  --header-bg: rgba(255, 255, 255, .94);
  --wine-text: var(--wine); /* main colour used as text/icons */
  --stone: #FAF6F4;         /* light section background */
  --line: #EDE3E0;
  --on-dark: #F5E9EB;
  --on-dark-muted: #CDB5BA;
  --main-rgb: 122, 46, 62;
  --deep-rgb: 69, 26, 37;
  --gold-rgb: 212, 175, 99;

  color-scheme: light;
  /* ---- Typography: "Modern" (default, chosen by client) ----
     Alternatives: data-font="classic" | "traditional" | "elegant" on <html> */
  --serif: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;  /* headings */
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;   /* text */
  --head-weight: 700;
  --head-adjust: none;
  --head-tracking: -.025em;
  --kicker-style: normal;
  --header-h: 82px;
}
[data-palette="navy"] {
  --wine: #1E3A5F; --wine-deep: #0F2238; --wine-soft: #EAF0F7;
  --gold: #D1AE6A; --gold-hover: #DFC184; --brass: #8F6D2F;
  --ink: #142033; --text: #3E4A5A; --muted: #6B7686;
  --stone: #F5F7FA; --line: #E1E6ED; --on-dark: #EAF0F7; --on-dark-muted: #A9B6C8;
  --main-rgb: 30, 58, 95; --deep-rgb: 15, 34, 56; --gold-rgb: 209, 174, 106;
}
[data-palette="forest"] {
  --wine: #24503F; --wine-deep: #12302A; --wine-soft: #E8F1ED;
  --gold: #CDAE6E; --gold-hover: #DBC088; --brass: #86682D;
  --ink: #17241F; --text: #3E4B46; --muted: #6C7A74;
  --stone: #F5F8F6; --line: #E0E8E4; --on-dark: #E9F2EE; --on-dark-muted: #A8BEB5;
  --main-rgb: 36, 80, 63; --deep-rgb: 18, 48, 42; --gold-rgb: 205, 174, 110;
}
[data-palette="charcoal"] {
  --wine: #2E2E33; --wine-deep: #18181B; --wine-soft: #EFEEEA;
  --gold: #C9A45C; --gold-hover: #D8B776; --brass: #8A6A2C;
  --ink: #1C1C1F; --text: #47474D; --muted: #75757C;
  --stone: #F7F6F3; --line: #E6E4DF; --on-dark: #F2F1EE; --on-dark-muted: #B0AFAB;
  --main-rgb: 46, 46, 51; --deep-rgb: 24, 24, 27; --gold-rgb: 201, 164, 92;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { -webkit-text-size-adjust: 100%; }
:root { --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); }
a { color: var(--wine-text); text-underline-offset: 3px; }
a:hover { color: var(--wine-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: var(--head-weight); line-height: 1.2; margin: 0 0 .5em; font-size-adjust: var(--head-adjust); letter-spacing: var(--head-tracking); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }

/* Section titles — first letter capitalised visually, source text unchanged */
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.1em; max-width: 22ch; }
.section-title::first-letter { text-transform: uppercase; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--wine); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 15px 30px; border-radius: 3px;
  font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: .2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--wine); color: #fff; border: 1px solid var(--wine); }
.btn-primary:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 18px rgba(var(--deep-rgb), .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { height: 48px; width: auto; transition: height .35s ease; }
.site-header { transition: height .35s ease, border-color .3s, box-shadow .3s; }
.site-header.scrolled { height: 68px; }
.site-header.scrolled .brand img { height: 40px; }

.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px;
  position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.nav-cta {
  background: var(--wine); color: #fff; padding: 10px 22px; border-radius: 3px;
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--wine-deep); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Language switch */
.site-nav a.lang-switch {
  font-size: 13.5px; letter-spacing: .5px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 3px; color: var(--muted);
}
.site-nav a.lang-switch::after { display: none; }
.site-nav a.lang-switch:hover { border-color: var(--wine); color: var(--wine); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--stone);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero-kicker {
  font-family: var(--serif); font-style: var(--kicker-style); font-size-adjust: var(--head-adjust); font-size: 1.25rem; color: var(--wine-text);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: var(--head-weight); line-height: 1.12;
  letter-spacing: -.01em; margin-bottom: .55em; text-wrap: balance;
}
.hero-sub {
  font-size: 1.05rem; color: var(--muted); padding-left: 18px; border-left: 2px solid var(--brass);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo { position: relative; }
.hero-photo::before {           /* brass frame offset behind the photo */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--brass); border-radius: 4px; z-index: 0;
}
.hero-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 50% 22%;
  border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(var(--deep-rgb), .45);
}
.hero-photo { overflow: visible; }
.hero-photo::before { display: none; }
.hero-frame {
  position: absolute; inset: 22px -22px -22px 22px; z-index: 0;
  border: 1px solid var(--brass); border-radius: 4px; pointer-events: none;
}
.hero-photo .img-clip { position: relative; z-index: 1; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(var(--deep-rgb), .45); }

/* ---------- Practice areas ---------- */
.practice { padding-top: 96px; }
.areas {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.area {
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface); transition: background .25s;
}
.area:hover { background: var(--stone); }
.area-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--wine-soft); color: var(--wine-text); font-size: 20px;
}
.area h2 { font-size: 1.4rem; margin-bottom: .6em; }
.area p { font-size: 16.5px; color: var(--text); }
.area .more p:last-child { margin-bottom: .6em; }
.read-more {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 600 15px var(--sans); color: var(--wine-text);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid currentColor;
}
.read-more i { font-size: 11px; transition: transform .25s; }
.read-more[aria-expanded="true"] i { transform: rotate(180deg); }
.read-more:hover { color: var(--wine-deep); }

/* ---------- About ---------- */
.about { background: var(--stone); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: 4px; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: 50% 10%; }
.about-photo figcaption {
  position: absolute; left: 24px; bottom: -18px;
  background: var(--wine); color: #fff; padding: 9px 20px;
  font-family: var(--serif); font-style: var(--kicker-style); font-size-adjust: var(--head-adjust); font-size: 1.05rem; border-radius: 3px;
}
.about-text p { font-size: 1.08rem; line-height: 1.8; max-width: 60ch; }

/* Languages — the signature element */
.langs {
  margin-top: 88px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.langs li {
  padding: 30px 12px; text-align: center;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 4px;
  padding-top: 34px; min-height: 136px;
}
.langs li + li { border-left: 1px solid var(--line); }
.lang-name { font-family: var(--serif); font-size-adjust: var(--head-adjust); font-weight: var(--head-weight); font-size: clamp(1.25rem, 2vw, 1.65rem); color: var(--ink); }
.lang-native {
  font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", serif;
  font-size: 1.5rem; line-height: 1.3; color: var(--brass); font-weight: 500;
}
.langs .oriental { background: var(--wine-soft); }

/* ---------- Specialisation ---------- */
.specialisation { background: var(--wine-deep); color: var(--on-dark); }
.spec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.specialisation .section-title { color: #fff; margin-bottom: 0; }
.spec-list { display: grid; gap: 0; }
.spec-list li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(var(--gold-rgb), .25);
  font-size: 1.15rem; line-height: 1.5;
}
.spec-list li:first-child { padding-top: 6px; }
.spec-list li span::first-letter { text-transform: uppercase; }
.spec-list i { color: var(--gold); font-size: .95rem; flex: none; }

/* ---------- Clients ---------- */
.logo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.logo-grid li {
  background: var(--surface); display: grid; place-items: center;
  padding: 30px 26px; min-height: 140px;
}
.logo-grid img {
  max-height: 64px; max-width: 170px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .82; transition: filter .3s, opacity .3s;
}
.logo-grid li:hover img { filter: none; opacity: 1; }

/* ---------- Info ---------- */
.info { background: var(--stone); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-box {
  background: var(--surface); padding: 40px 40px 30px; border-radius: 4px;
  border-top: 3px solid var(--wine);
}
.info-box i { color: var(--wine-text); font-size: 22px; margin-bottom: 18px; display: block; }
.info-box p { font-size: 16.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.map { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }
.dir-item { display: flex; gap: 18px; margin-bottom: 22px; }
.dir-item i { color: var(--wine-text); font-size: 20px; width: 22px; text-align: center; margin-top: 4px; flex: none; }
.dir-item p { margin: 0; font-size: 16.5px; }

.hours { margin: 34px 0 0; border-top: 1px solid var(--line); }
.hour-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.hour-row dt { font-family: var(--serif); font-size-adjust: var(--head-adjust); font-weight: var(--head-weight); font-size: 1.15rem; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.hour-row dt span { display: inline-block; }
.hour-row dt span::first-letter { text-transform: uppercase; }
.hour-row dt i { color: var(--brass); font-size: 17px; width: 22px; text-align: center; }
.hour-row dd { margin: 4px 0 0 34px; color: var(--text); }
.hour-row.highlight {
  background: var(--wine-soft); border-bottom: 0; border-radius: 4px; margin-top: 16px; padding: 18px 20px;
}
.hour-row.highlight dd { margin-left: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: var(--on-dark-muted); padding: 64px 0 36px; }

.site-footer .brand img { height: 50px; filter: brightness(0) invert(1); }
.site-footer .tagline { margin: 0; font-family: var(--serif); font-style: var(--kicker-style); font-size-adjust: var(--head-adjust); color: var(--gold); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--gold); }
.site-footer .copy {
  grid-column: 1 / -1; margin: 28px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: var(--on-dark-muted);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--wine); color: #fff; box-shadow: 0 8px 20px rgba(var(--deep-rgb), .3);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--wine-deep); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .langs { grid-template-columns: repeat(3, 1fr); }
  .langs li:nth-child(4) { border-left: 0; }
  .langs li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .brand img { height: 40px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(var(--deep-rgb), .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .site-nav a.lang-switch { align-self: flex-start; margin-top: 14px; padding: 6px 14px; border: 1px solid var(--line); }

  .section { padding: 76px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 64px; background: var(--stone); }
  .hero-grid, .about-grid, .spec-grid, .contact-grid, .info-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { margin-right: 22px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .practice { padding-top: 64px; }
  .about-photo { order: 0; }
  .langs { margin-top: 64px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .map iframe { height: 360px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .areas { grid-template-columns: 1fr; }
  .area { padding: 30px 22px 26px; }
  .langs li { min-height: 112px; padding: 22px 8px; }
  .lang-name { font-size: 1.15rem; }
  .lang-native { font-size: 1.25rem; }
  .info-box { padding: 30px 24px 22px; }
  .logo-grid li { min-height: 110px; padding: 20px 14px; }
  .logo-grid img { max-height: 48px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


/* =========================================================
   Facts strip
   ========================================================= */
.hero { padding-bottom: 0; }
.facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px; transform: translateY(50%);
  background: var(--surface); border-radius: 4px;
  box-shadow: 0 24px 60px -28px rgba(var(--deep-rgb), .35);
}
.facts li { padding: 30px 28px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong {
  display: block; font-family: var(--serif); font-weight: var(--head-weight); font-size-adjust: var(--head-adjust);
  font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; color: var(--wine);
  font-variant-numeric: lining-nums tabular-nums; margin-bottom: 10px; color: var(--wine-text);
}
.facts span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; }
.practice { padding-top: 170px; }

/* =========================================================
   Section title rule
   ========================================================= */
.section-title { position: relative; padding-bottom: .45em; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 2px; background: var(--brass);
  transform-origin: left; transition: transform 1s .25s cubic-bezier(.2,.7,.2,1);
}
.section-title.center::after { left: 50%; margin-left: -28px; transform-origin: center; }
.specialisation .section-title::after { background: var(--gold); }

/* =========================================================
   Hover refinements
   ========================================================= */
.area { position: relative; }
.area::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.area:hover::before { transform: scaleX(1); }
.area-icon { transition: background .35s, color .35s, transform .35s; }
.area:hover .area-icon { background: var(--wine); color: #fff; transform: translateY(-2px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 120%; }
.info-box { transition: transform .35s, box-shadow .35s; }
.info-box:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(var(--deep-rgb), .45); }
.spec-list li { position: relative; border-bottom-color: transparent; }
.spec-list li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(var(--gold-rgb), .3); transform-origin: left;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: inherit;
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
}

/* =========================================================
   Motion (only with JS and when the visitor allows motion)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--d, 0s);
  }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .section-title.reveal::after { transform: scaleX(0); }
  .js .section-title.reveal.in::after { transform: scaleX(1); }
  .js .spec-list li.reveal { transform: translateX(-18px); }
  .js .spec-list li.reveal.in { transform: none; }
  .js .spec-list li.reveal::after { transform: scaleX(0); }
  .js .spec-list li.reveal.in::after { transform: scaleX(1); }
  .js .about-photo.reveal { transform: translateY(26px) scale(.98); }
  .js .about-photo.reveal.in { transform: none; }
  .js .about-photo figcaption { opacity: 0; transform: translateY(10px); transition: opacity .6s .6s, transform .6s .6s; }
  .js .about-photo.in figcaption { opacity: 1; transform: none; }
  .js .langs .lang-native { opacity: 0; transform: translateY(8px); transition: opacity .8s, transform .8s; transition-delay: calc(var(--d, 0s) + .35s); }
  .js .langs .in .lang-native { opacity: 1; transform: none; }

  /* Hero entrance — runs once on load */
  .js .hero-text > * { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .hero-text > :nth-child(1) { animation-delay: .1s; }
  .js .hero-text > :nth-child(2) { animation-delay: .22s; }
  .js .hero-text > :nth-child(3) { animation-delay: .4s; }
  .js .hero-text > :nth-child(4) { animation-delay: .52s; }
  .js .hero-photo .img-clip { clip-path: inset(0 0 100% 0); animation: unveil 1.3s .25s cubic-bezier(.7,0,.2,1) forwards; }
  .js .hero-photo img { transform: scale(1.12); animation: settle 2.4s .25s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .hero-frame { opacity: 0; transform: translate(-22px, -22px); animation: frame 1s 1.2s cubic-bezier(.2,.7,.2,1) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes frame { to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .hero { padding-bottom: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .practice { padding-top: 190px; }
}
@media (max-width: 600px) {
  .facts li { padding: 22px 18px; }
  .facts span { font-size: 14px; }
}


/* =========================================================
   V3 — signature upgrades
   ========================================================= */
.hero { position: relative; overflow-x: clip; }
.hero-grid { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.06; }
.hero-art {
  position: absolute; z-index: 0; right: -60px; top: 50px;
  width: min(560px, 46vw); height: auto; color: var(--brass); opacity: .35;
}
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }

/* Practice areas — tabs on desktop, stacked cards on mobile */
.practice-tabs {
  display: grid; grid-template-columns: 380px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(var(--deep-rgb), .35);
}
.tab-list { display: flex; flex-direction: column; background: var(--stone); border-right: 1px solid var(--line); }
.tab {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 19px 26px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; cursor: pointer; text-align: left;
  font: var(--head-weight) 1.06rem/1.3 var(--serif); font-size-adjust: var(--head-adjust); color: var(--ink);
  transition: background .3s, color .3s;
}
.tab:last-child { border-bottom: 0; }
.tab i { width: 20px; text-align: center; color: var(--brass); font-size: 15px; transition: color .3s; }
.tab::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--wine); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.tab:hover { background: var(--surface); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--wine-text); }
.tab[aria-selected="true"]::before { transform: scaleY(1); }
.tab[aria-selected="true"] i { color: var(--wine-text); }
.tab::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
  margin-left: auto; color: var(--wine-text); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s;
}
.tab[aria-selected="true"]::after, .tab:hover::after { opacity: 1; transform: none; }

.tab-panels { position: relative; background: var(--surface); }
.panel { padding: 64px 64px 56px; position: relative; overflow: hidden; min-height: 100%; }
.panel::after {          /* oversized icon watermark */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, var(--wine-soft) 0%, transparent 70%); z-index: 0;
}
.panel > * { position: relative; z-index: 1; }
.panel-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine); color: #fff; font-size: 26px; margin-bottom: 28px;
  box-shadow: 0 14px 30px -12px rgba(var(--main-rgb), .6);
}
.panel h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: .6em; max-width: 18ch; }
.panel p { font-size: 1.08rem; line-height: 1.85; max-width: 62ch; margin-bottom: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .panel.enter > * { animation: panelIn .6s cubic-bezier(.2,.7,.2,1) both; }
  .panel.enter > :nth-child(2) { animation-delay: .06s; }
  .panel.enter > :nth-child(3) { animation-delay: .12s; }
  .panel.enter > :nth-child(4) { animation-delay: .18s; }
  .panel.enter .panel-icon { animation-name: iconIn; }
  .js .hero-art .draw { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 3.2s .4s cubic-bezier(.4,0,.2,1) forwards; }
  .js .hero-art .draw:nth-child(2) { animation-delay: .9s; }
  .js .hero-art .draw:nth-child(3) { animation-delay: .6s; }
  .js .hero-art .draw:nth-child(4) { animation-delay: 1.1s; }
  .js .hero-art .draw:nth-child(5) { animation-delay: 1.5s; }
  .js .hero-art .draw:nth-child(6) { animation-delay: 1.9s; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes iconIn { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Languages band — bigger statement */
.langs { margin-top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.langs .oriental { background: var(--wine-soft); }
.langs li:nth-child(4) { border-left: 1px solid rgba(var(--main-rgb), .25); }
.lang-native { font-size: 1.9rem; color: var(--wine-text); }

/* Consultation band with photo */
.cta-band { position: relative; overflow: hidden; background: var(--wine-deep); color: #fff; padding: 120px 0; }
.cta-photo {
  position: absolute; inset: 0 0 0 38%; background-size: cover; background-position: 50% 25%;
  filter: grayscale(.25);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--wine-deep) 0%, var(--wine-deep) 40%, rgba(var(--deep-rgb), .82) 62%, rgba(var(--deep-rgb), .35) 100%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-kicker { font-family: var(--serif); font-style: var(--kicker-style); font-size-adjust: var(--head-adjust); color: var(--gold); font-size: 1.2rem; margin-bottom: .8rem; }
.cta-band h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: .35em; max-width: 14ch; }
.cta-text { font-size: 1.2rem; color: var(--on-dark); max-width: 34ch; margin-bottom: 2.2rem; }
@media (prefers-reduced-motion: no-preference) {
  .cta-photo { transform: scale(1.08); transition: transform 2.5s cubic-bezier(.2,.7,.2,1); }
  .cta-band.seen .cta-photo { transform: scale(1); }
}

/* Footer columns */
.site-footer { padding: 80px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .tagline { margin-top: 14px; }
.footer-col h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .4px; color: var(--gold); margin-bottom: 14px; }
.footer-col p { margin: 0; color: var(--on-dark); }
.footer-nav { flex-direction: column; gap: 8px; }

@media (max-width: 920px) {
  .hero-art { width: 420px; left: auto; right: -120px; bottom: auto; top: 80px; opacity: .14; }
  /* Mobile: the tabs become an accordion (panels are moved under their tab by JS) */
  .practice-tabs { display: block; }
  .tab-list { border-right: 0; }
  .tab { padding: 18px 20px; font-size: 1.05rem; }
  .tab::after { content: "\f078"; opacity: 1; transform: none; transition: transform .3s; }
  .tab[aria-selected="true"]::after { transform: rotate(180deg); }
  .tab-list .panel { background: var(--surface); padding: 6px 20px 26px 56px; border-bottom: 1px solid var(--line); min-height: 0; }
  .tab-list .panel .panel-icon, .tab-list .panel h3, .tab-list .panel::after { display: none; }
  .tab-list .panel p { font-size: 1rem; margin-bottom: 1.2rem; }
  .tab-panels:empty { display: none; }
  .cta-band { padding: 88px 0; }
  .cta-photo { inset: 0; opacity: .35; }
  .cta-band::before { background: linear-gradient(180deg, rgba(var(--deep-rgb),.75), var(--wine-deep)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .practice-tabs { grid-template-columns: 320px 1fr; }
  .panel { padding: 48px 40px; }
}


/* =========================================================
   Mobile & tablet polish
   ========================================================= */
.site-header { padding-top: var(--safe-top); height: calc(var(--header-h) + var(--safe-top)); }
.site-header.scrolled { height: calc(68px + var(--safe-top)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--safe-top); z-index: 99; background: var(--header-bg); }
.to-top { bottom: calc(20px + var(--safe-bottom)); }
.site-footer { padding-bottom: calc(36px + var(--safe-bottom)); }
.tab, .read-more, .site-nav a, .footer-nav a { -webkit-tap-highlight-color: transparent; }

@media (max-width: 920px) {
  .site-nav { top: calc(var(--header-h) + var(--safe-top)); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header.scrolled { height: calc(var(--header-h) + var(--safe-top)); }
  .site-header.scrolled .brand img { height: 40px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .hero-text { max-width: 640px; }
  .section-title { margin-bottom: .9em; }
  .about-grid { gap: 56px; }
  .langs li:nth-child(4) { border-left: 0; }
  .contact-grid { gap: 36px; }
  .footer-col h3 { margin-bottom: 8px; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .brand img, .site-header.scrolled .brand img { height: 36px; }
  .hero { padding-top: calc(var(--header-h) + var(--safe-top) + 32px); }
  .hero-art { display: none; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); line-height: 1.1; }
  .hero-kicker { font-size: 1.1rem; margin-bottom: .8rem; }
  .hero-sub { margin-bottom: 1.6rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { justify-content: center; padding: 14px 12px; }
  .hero-grid { gap: 36px; }
  .hero-photo { margin-right: 12px; }
  .hero-frame { inset: 12px -12px -12px 12px; }
  .hero-photo img { aspect-ratio: 4 / 3.2; object-position: 50% 20%; }
  .facts { margin-top: 44px; }
  .facts strong { font-size: 1.9rem; }
  .practice { padding-top: 170px; }
  .section-title { font-size: 1.85rem; }
  .tab { padding: 16px 16px; gap: 12px; font-size: 1rem; }
  .tab-list .panel { padding: 4px 16px 22px 48px; }
  .tab-list .panel .btn { width: 100%; justify-content: center; }
  .about-photo figcaption { left: 14px; }
  .langs { margin-top: 56px; }
  .lang-native { font-size: 1.45rem; }
  .spec-grid { gap: 28px; }
  .spec-list li { font-size: 1.05rem; gap: 14px; padding: 18px 0; }
  .cta-band { padding: 72px 0; }
  .cta-band h2 { font-size: 2.5rem; }
  .cta-text { font-size: 1.05rem; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .map iframe { height: 300px; }
  .hour-row dd { margin-left: 34px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .to-top { width: 44px; height: 44px; right: 14px; }
}
@media (max-width: 360px) {
  .hero-actions { grid-template-columns: 1fr; }
  .facts span { font-size: 13px; }
  .langs li { padding: 18px 4px; }
  .lang-name { font-size: 1.05rem; }
}
@media (min-width: 601px) and (max-width: 920px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .info-box { padding: 30px 26px 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 3.4rem); }
}

/* 7 client logos: 4 on top, 3 centred below (desktop); last one full width on 2-col layouts */
.logo-grid { grid-template-columns: repeat(8, 1fr); background: none; border: 0; gap: 0; }
.logo-grid li { grid-column: span 2; border: 1px solid var(--line); margin: 0 -1px -1px 0; }
.logo-grid li:nth-child(5) { grid-column: 2 / span 2; }
@media (min-width: 601px) and (max-width: 920px) {
  .logo-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid li, .logo-grid li:nth-child(5) { grid-column: auto; }
  .logo-grid li:last-child { grid-column: 1 / -1; }
}
.logo-grid li { min-width: 0; }
.logo-grid img { max-width: min(170px, 100%); }
@media (min-width: 601px) and (max-width: 920px) {
  .logo-grid li { padding: 22px 16px; min-height: 116px; }
  .logo-grid img { max-height: 50px; }
}

/* =========================================================
   Dark mode: follows the visitor's system setting, or the
   sun/moon button in the header (choice is remembered).
   ========================================================= */
:root[data-theme="dark"]:not([data-palette]) {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #A43E55; --wine-text: #E08A9C; --wine-deep: #2C141B; --wine-soft: #33212A; --main-rgb: 164, 62, 85; --deep-rgb: 44, 20, 27;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-palette]) {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #A43E55; --wine-text: #E08A9C; --wine-deep: #2C141B; --wine-soft: #33212A; --main-rgb: 164, 62, 85; --deep-rgb: 44, 20, 27;
  }
}
:root[data-theme="dark"][data-palette="navy"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #2F5A8F; --wine-text: #8DB3E2; --wine-deep: #0F1D30; --wine-soft: #1D2836; --main-rgb: 47, 90, 143; --deep-rgb: 15, 29, 48;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-palette="navy"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #2F5A8F; --wine-text: #8DB3E2; --wine-deep: #0F1D30; --wine-soft: #1D2836; --main-rgb: 47, 90, 143; --deep-rgb: 15, 29, 48;
  }
}
:root[data-theme="dark"][data-palette="forest"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #2F6E56; --wine-text: #8CC9AF; --wine-deep: #102620; --wine-soft: #1B2A25; --main-rgb: 47, 110, 86; --deep-rgb: 16, 38, 32;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-palette="forest"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #2F6E56; --wine-text: #8CC9AF; --wine-deep: #102620; --wine-soft: #1B2A25; --main-rgb: 47, 110, 86; --deep-rgb: 16, 38, 32;
  }
}
:root[data-theme="dark"][data-palette="charcoal"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #4A4A52; --wine-text: #D9B86F; --wine-deep: #0E0E10; --wine-soft: #26262A; --main-rgb: 74, 74, 82; --deep-rgb: 14, 14, 16;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-palette="charcoal"] {
    color-scheme: dark;
    --paper: #151113; --surface: #211A1D; --stone: #1B1518; --line: #362B30;
    --ink: #F3ECEE; --text: #CEC2C6; --muted: #9A8C91;
    --header-bg: rgba(21, 17, 19, .92);
    --on-dark: #F3E8EA; --on-dark-muted: #B9A6AB;
    --gold: #D9B86F; --gold-hover: #E6C88A; --brass: #CDA75E; --gold-rgb: 217, 184, 111;
    --wine: #4A4A52; --wine-text: #D9B86F; --wine-deep: #0E0E10; --wine-soft: #26262A; --main-rgb: 74, 74, 82; --deep-rgb: 14, 14, 16;
  }
}
/* Element tweaks in dark mode (html.dark is set by JS for either source) */
html.dark .site-header .brand img { filter: brightness(0) invert(1); opacity: .92; }
html.dark .hero-photo img, html.dark .about-photo img { filter: brightness(.92); }
html.dark .logo-grid img { filter: grayscale(1) invert(1) brightness(1.1); opacity: .75; mix-blend-mode: screen; }
html.dark .logo-grid li:hover img { filter: grayscale(1) invert(1) brightness(1.25); opacity: 1; }
html.dark .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
html.dark .hero-art { opacity: .3; }
html.dark .facts, html.dark .practice-tabs { box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8); }
html.dark .panel::after { background: radial-gradient(circle, rgba(var(--main-rgb), .18) 0%, transparent 70%); }

/* Theme toggle button */
.header-tools { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 38px; height: 36px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 3px; background: transparent;
  color: var(--muted); cursor: pointer; font-size: 15px; transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--wine-text); border-color: var(--wine-text); }
.theme-toggle .fa-sun { display: none; }
html.dark .theme-toggle .fa-sun { display: inline-block; }
html.dark .theme-toggle .fa-moon { display: none; }
body, .site-header, .area, .tab, .tab-panels, .info-box, .logo-grid li, .langs, .facts { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
@media (min-width: 921px) {
  .brand { margin-right: auto; }
  .header-tools { order: 2; margin-left: 22px; }
}
@media (max-width: 920px) {
  .header-tools { margin-left: auto; margin-right: 4px; }
  .theme-toggle { width: 44px; height: 44px; border: 0; font-size: 18px; }
}


/* =========================================================
   Font styles (switch with data-font on <html>)
   ========================================================= */
:root[data-font="classic"] {
  --serif: "Cormorant Garamond", Garamond, Georgia, serif; --sans: "Manrope", system-ui, sans-serif;
  --head-weight: 600; --head-adjust: .48; --head-tracking: -.005em; --kicker-style: italic;
}
:root[data-font="traditional"] {
  --serif: "Libre Baskerville", Baskerville, Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif;
  --head-weight: 400; --head-adjust: none; --head-tracking: -.01em; --kicker-style: italic;
}
:root[data-font="elegant"] {
  --serif: "Lora", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
  --head-weight: 500; --head-adjust: none; --head-tracking: -.01em; --kicker-style: italic;
}
:root[data-font="traditional"] .hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.7rem); line-height: 1.15; }
:root:not([data-font]) .hero h1 { line-height: 1.05; }
:root:not([data-font]) .hero-kicker, :root:not([data-font]) .cta-kicker { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }

/* =========================================================
   "Jak se k nám dostat" — illustrated route diagram
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.getthere { margin: 0 0 48px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.gt-art { line-height: 0; }
.gt-svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.gt-mobile { display: none; }
.gt-bg { fill: var(--stone); }
.gt-block { fill: var(--line); opacity: .45; }
.gt-road { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.gt-main { fill: var(--surface); }
.gt-lane { stroke: var(--line); stroke-width: 2; stroke-dasharray: 14 12; fill: none; }
.gt-tracks { stroke: var(--muted); stroke-width: 1.4; opacity: .45; fill: none; }
.gt-rail path { stroke: var(--muted); stroke-width: 1.6; fill: none; opacity: .55; }
.gt-rail .gt-sleeper { stroke-width: 3; opacity: .25; }
.gt-street { fill: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.gt-dim path { stroke: var(--brass); stroke-width: 1.2; fill: none; }
.gt-dimtxt { fill: var(--brass); font-size: 13px; font-weight: 600; paint-order: stroke; stroke: var(--stone); stroke-width: 6px; }
.gt-bld { fill: var(--surface); stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.5; }
.gt-roof { stroke: var(--ink); stroke-opacity: .6; stroke-width: 3; stroke-linecap: round; }
.gt-win { fill: var(--line); }
.gt-door { fill: var(--muted); opacity: .6; }
.gt-floor-hl { fill: var(--wine); }
.gt-win-hl { fill: var(--gold); }
.gt-pin-body { fill: var(--wine); stroke: var(--surface); stroke-width: 2; }
.gt-pin-dot { fill: var(--surface); }
.gt-pin-shadow { fill: #000; opacity: .15; }
.gt-pulse { fill: none; stroke: var(--wine); stroke-width: 2; opacity: 0; }
.gt-route { fill: none; stroke: var(--wine); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; }
.gt-stop circle, .gt-train-stop circle { fill: var(--surface); stroke: var(--wine); stroke-width: 2.5; }
.gt-tram rect:first-child, .gt-train rect:first-child { fill: var(--wine); }
.gt-tram-win { fill: var(--surface); }
.gt-tram-pole { stroke: var(--wine); stroke-width: 2; fill: none; stroke-linecap: round; }
.gt-tram-run rect:first-child { fill: var(--brass); }
.gt-tram-run .gt-tram-pole { stroke: var(--brass); }
.gt-card { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; filter: drop-shadow(0 6px 14px rgba(var(--deep-rgb), .12)); }
.gt-card-t { fill: var(--ink); font-family: var(--serif); font-weight: var(--head-weight); font-size: 19px; font-size-adjust: var(--head-adjust); }
.gt-card-s { fill: var(--text); font-size: 13.5px; }
.gt-strong { font-weight: 600; fill: var(--ink); }
.gt-card-line { stroke: var(--wine); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.gt-note { fill: var(--wine-text); font-size: 12.5px; font-weight: 700; }
.gt-scale { fill: var(--muted); font-size: 11.5px; font-style: italic; opacity: .8; }

.gt-legend {
  display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.gt-item { display: flex; gap: 16px; padding: 22px 24px; align-items: flex-start; }
.gt-item + .gt-item { border-left: 1px solid var(--line); }
.gt-item strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.gt-ico {
  flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: var(--wine); color: #fff; font-size: 17px;
}
.gt-ico-p { font: 800 20px/1 var(--sans); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13.5px; padding: 3px 10px; border-radius: 20px; background: var(--wine-soft); color: var(--ink); }
.tram-no {
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px; display: inline-grid; place-items: center;
  font-size: 13.5px; font-weight: 700; color: var(--wine-text); border: 1.5px solid var(--wine-text); font-variant-numeric: tabular-nums;
}
.gt-sub { font-size: 14px; color: var(--muted); }

html.dark .gt-block { opacity: .35; }
html.dark .gt-pin-shadow { opacity: .4; }

/* Animation */
@media (prefers-reduced-motion: no-preference) {
  .gt-route { animation: gtRoute 1.2s linear infinite; }
  .gt-pin-bob { animation: gtBob 2.4s ease-in-out infinite; }
  .gt-pulse { animation: gtPulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  .gt-floor-hl { animation: gtGlow 2.4s ease-in-out infinite; }
  .gt-tram-move { animation: gtTramV 9s linear infinite; }
  .gt-tram-move-h { animation: gtTramH 8s linear infinite; }
  .js .getthere.reveal .gt-building { transform: translateY(14px); opacity: 0; transition: transform .9s .2s cubic-bezier(.2,.7,.2,1), opacity .9s .2s; transform-box: fill-box; }
  .js .getthere.in .gt-building { transform: none; opacity: 1; }
  .js .getthere.reveal .gt-pin { opacity: 0; transition: opacity .5s .8s; }
  .js .getthere.in .gt-pin { opacity: 1; }
}
@keyframes gtRoute { to { stroke-dashoffset: -22; } }
@keyframes gtBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gtPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(5); } }
@keyframes gtGlow { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@keyframes gtTramV { from { transform: translateY(0); } to { transform: translateY(520px); } }
@keyframes gtTramH { from { transform: translateX(0); } to { transform: translateX(480px); } }

@media (max-width: 920px) {
  .gt-legend { grid-template-columns: 1fr; }
  .gt-item + .gt-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .gt-desktop { display: none; }
  .gt-mobile { display: block; }
  .gt-item { padding: 18px 18px; gap: 14px; }
  .getthere { margin-bottom: 36px; }
}

/* =========================================================
   V4 features: greeting, steps, FAQ, contact, cookies
   ========================================================= */
[hidden] { display: none !important; }

/* Rotating multilingual greeting in the hero */
.hero-hello {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 6px 14px 6px 10px; border-radius: 30px; background: var(--surface);
  border: 1px solid var(--line); color: var(--wine-text); font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 20px -14px rgba(var(--deep-rgb), .4);
}
.hero-hello i { color: var(--brass); }
.hello-rot { position: relative; display: inline-grid; height: 1.5em; overflow: hidden; min-width: 6.2em; }
.hello-rot > span { grid-area: 1 / 1; line-height: 1.5em; white-space: nowrap; }
.hello-rot > span[dir="rtl"] { font-family: "Noto Naskh Arabic", serif; font-size: 1.1em; text-align: left; }
.hello-rot > span { opacity: 0; transform: translateY(70%); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.hello-rot > span.on { opacity: 1; transform: none; }
.hello-rot > span.out { opacity: 0; transform: translateY(-70%); }
.no-js .hello-rot > span:first-child, html:not(.js) .hello-rot > span:first-child { opacity: 1; transform: none; }

/* Section kicker */
.sec-kicker { color: var(--brass); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }

/* How we work — steps */
.steps-sec { background: var(--paper); padding-top: 40px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps-line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--wine), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.4,0,.2,1); }
.steps.drawn .steps-line span { transform: scaleX(1); }
.step { position: relative; }
.step-no {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--surface); border: 2px solid var(--wine); color: var(--wine-text);
  font: 800 1.5rem/1 var(--serif); transition: background .4s, color .4s, transform .4s;
}
.steps.drawn .step-no { background: var(--wine); color: #fff; }
.step h3 { font-size: 1.25rem; margin-bottom: .45em; }
.step p { font-size: 16px; color: var(--text); margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .steps.drawn .step:nth-of-type(1) .step-no { transition-delay: .1s; }
  .steps.drawn .step:nth-of-type(2) .step-no { transition-delay: .55s; }
  .steps.drawn .step:nth-of-type(3) .step-no { transition-delay: 1s; }
  .steps.drawn .step:nth-of-type(4) .step-no { transition-delay: 1.45s; }
  .step:hover .step-no { transform: scale(1.08); }
}

/* FAQ */
.faq-sec { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-weight: 700; font-size: 1.08rem; color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine-soft); color: var(--wine-text); font-size: 13px; transition: transform .35s, background .35s, color .35s;
}
.faq-item[open] summary i { transform: rotate(45deg); background: var(--wine); color: #fff; }
.faq-item summary:hover span { color: var(--wine-text); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0 0 22px; padding-right: 48px; color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqOpen .45s cubic-bezier(.2,.7,.2,1); }
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Header call button */
.hdr-call {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 3px;
  color: var(--wine-text); font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line);
}
.hdr-call:hover { border-color: var(--wine-text); }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 40px; }
.c-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 6px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.c-card:hover { transform: translateY(-3px); border-color: var(--wine-text); box-shadow: 0 18px 36px -24px rgba(var(--deep-rgb), .5); color: var(--ink); }
.c-card small { display: block; color: var(--muted); font-size: 13px; }
.c-card strong { font-size: 1.05rem; }
.c-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #fff; font-size: 19px; }
.c-wa .c-ico { background: #1FAF54; }

/* CTA band actions */
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--wine-deep); }

/* Mobile quick contact bar */
.quick-contact { display: none; }
body.cookie-visible .quick-contact { display: none !important; }
@media (max-width: 920px) {
  .hdr-call-txt { display: none; }
  .hdr-call { width: 44px; height: 44px; justify-content: center; padding: 0; border: 0; font-size: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .quick-contact:not([hidden]) {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; z-index: 95;
    bottom: calc(12px + var(--safe-bottom));
    transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .quick-contact.show { transform: none; }
  .qc-btn {
    flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; height: 52px; border-radius: 30px;
    background: var(--wine); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
  }
  .qc-btn.qc-wa { background: #1FAF54; }
  .qc-btn:hover { color: #fff; }
  body.has-quick .to-top { bottom: calc(78px + var(--safe-bottom)); }
  body.has-quick .site-footer { padding-bottom: calc(100px + var(--safe-bottom)); }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 250; left: 50%; bottom: calc(16px + var(--safe-bottom)); transform: translateX(-50%);
  width: min(720px, calc(100% - 24px)); display: flex; align-items: center; gap: 20px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.35);
}
.cookie-banner p { margin: 0; font-size: 15px; line-height: 1.5; }
@media (max-width: 600px) { .cookie-banner p { font-size: 13.5px; } .cookie-banner { padding: 14px 16px; } }
.cookie-banner p i { color: var(--brass); margin-right: 6px; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { padding: 11px 18px; font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner:not([hidden]) { animation: cookieIn .5s .6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--gold); }

@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps-line { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps-line { display: block; left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .steps-line span { background: linear-gradient(180deg, var(--wine), var(--gold)); transform: scaleY(0); transform-origin: top; }
  .steps.drawn .steps-line span { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .step-no { grid-row: 1 / span 2; margin: 0; }
  .step h3 { align-self: end; margin-top: 8px; }
  .faq-item summary { font-size: 1rem; padding: 18px 2px; }
  .faq-a p { padding-right: 8px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  .hero-hello { font-size: 14px; margin-bottom: 14px; }
}

.footer-contact { margin-top: 12px !important; }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

/* =========================================================
   Entrance illustration ("Jak najdete vchod")
   ========================================================= */
.entrance { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin: 0 0 48px; }
.ent-art { position: relative; margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.ent-svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.ent-note { position: absolute; left: 10px; top: 10px; line-height: 1; font-size: 11px; font-style: italic; color: #6d6458; background: rgba(255,255,255,.75); padding: 4px 8px; border-radius: 10px; }
.ent-sky { fill: #E9EEF2; }
.ent-roof { fill: #6E5A55; }
.ent-wall { fill: #F2E4BC; }
.ent-cornice, .ent-pilaster { fill: #E7D6A6; }
.ent-win rect { fill: #D9E2E6; stroke: #7A4E2E; stroke-width: 3; }
.ent-win path { stroke: #7A4E2E; stroke-width: 2; }
.ent-win-hl rect { fill: #F6D990; stroke: #7A4E2E; stroke-width: 3; }
.ent-win-hl path { stroke: #7A4E2E; stroke-width: 2; }
.ent-bracket { fill: none; stroke: var(--wine); stroke-width: 2.5; }
.ent-awning { fill: #2E2A2B; }
.ent-shop { fill: #6A3A2A; }
.ent-shopwin { fill: #CFD9DD; opacity: .9; }
.ent-plinth { fill: #26201F; }
.ent-doorframe { fill: #5A2F22; }
.ent-glass { fill: #BFCBCD; }
.ent-handle { fill: #C9A45C; }
.ent-step { fill: #B9B3AA; }
.ent-plate rect { fill: #C8202E; stroke: #fff; stroke-width: 1.5; }
.ent-plate text { fill: #fff; font-size: 11px; font-weight: 800; }
.ent-plate .ent-plate-s { font-size: 6px; font-weight: 600; }
.ent-bell { fill: #8A8A8A; stroke: #555; stroke-width: 1; }
.ent-bell-btn { fill: #E6E6E6; }
.ent-ring { fill: none; stroke: var(--wine); stroke-width: 2.5; }
.ent-walk { fill: #B8B4AE; }
.ent-walk-line { stroke: #A6A29C; stroke-width: 1.2; }
.ent-callout path { fill: none; stroke: var(--wine); stroke-width: 2; stroke-dasharray: 4 4; }
.ent-callout rect { fill: var(--wine); }
.ent-callout text { fill: #fff; font-size: 13px; font-weight: 700; }
.ent-callout-top rect { fill: #fff; stroke: var(--wine); stroke-width: 1.5; }
.ent-callout-top text { fill: var(--wine); font-size: 12px; }
html.dark .ent-art { filter: brightness(.88) saturate(.9); }

.ent-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .8em; }
.ent-steps { list-style: none; margin: 0; padding: 0; }
.ent-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ent-steps li:last-child { border-bottom: 0; }
.ent-steps p { margin: 0; }
.ent-steps strong { color: var(--ink); }
.ent-no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #fff; font-weight: 800; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .ent-ring { transform-box: fill-box; transform-origin: center; animation: entRing 2s ease-out infinite; }
  .ent-ring2 { animation-delay: 1s; }
}
@keyframes entRing { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes entDash { to { stroke-dashoffset: -24; } }
@keyframes entLight { 0%, 100% { fill: #F6D990; } 50% { fill: #FBE7B3; } }

@media (max-width: 920px) {
  .entrance { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   Team profiles
   ========================================================= */
.team-sec { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person {
  position: relative; border-radius: 8px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(var(--deep-rgb), .55); }
.person-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--stone); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.person:hover .person-photo img { transform: scale(1.05); }
.person-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--wine), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.person:hover .person-photo::after, .person.in .person-photo::after { transform: scaleX(1); }
.person.in .person-photo::after { transition-delay: .5s; }
.person-body { padding: 22px 24px 26px; }
.person-role {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--wine-text); background: var(--wine-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.person h3 { font-size: 1.35rem; margin-bottom: .3em; }
.person p { margin: 0; color: var(--muted); font-size: 15px; }
.person-lead .person-role { background: var(--wine); color: #fff; }
html.dark .person-photo img { filter: brightness(.92); }
@media (max-width: 920px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .person-body { padding: 16px 16px 20px; }
  .person h3 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .person-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .person-lead .person-photo { aspect-ratio: 4 / 5; }
  .person-role { font-size: 11px; padding: 3px 8px; }
  .person h3 { font-size: 1.02rem; }
  .person p { font-size: 13.5px; }
}
.person-body { display: flex; flex-direction: column; }
.person-contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.person-contact a {
  display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 14.5px;
  min-width: 0; min-height: 28px;
}
.person-contact a span { overflow-wrap: anywhere; }
.person-contact i {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine-soft); color: var(--wine-text); font-size: 12px; transition: background .25s, color .25s;
}
.person-contact a:hover { color: var(--wine-text); }
.person-contact a:hover i { background: var(--wine); color: #fff; }
.team-grid { align-items: stretch; }
@media (max-width: 920px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .person-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .person, .person-lead { display: grid; grid-template-columns: 120px 1fr; align-items: stretch; }
  .person-photo, .person-lead .person-photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .person-body { padding: 14px 14px 16px; }
  .person-contact { margin-top: 10px; padding-top: 10px; gap: 6px; }
  .person-contact a { font-size: 13px; gap: 8px; }
  .person-contact i { width: 24px; height: 24px; font-size: 10.5px; }
}
.person-role { align-self: flex-start; }

/* =========================================================
   Header fit fix — never wrap menu items
   ========================================================= */
.brand { margin-right: 32px; flex: none; }
.site-nav a { white-space: nowrap; }
.hdr-call { white-space: nowrap; flex: none; }
.header-tools { flex: none; }
@media (min-width: 921px) and (max-width: 1320px) {
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 15px; }
  .hdr-call-txt { display: none; }
  .hdr-call { width: 38px; padding: 0; justify-content: center; }
}
/* Between tablet and wide desktop: use the menu button too */
@media (min-width: 921px) and (max-width: 1180px) {
  .nav-toggle { display: flex; order: 3; }
  .header-tools { margin-left: auto; margin-right: 6px; }
  .site-nav {
    position: fixed; top: calc(var(--header-h) + var(--safe-top)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; order: 4;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px max(24px, calc((100vw - 1152px) / 2)) 20px; box-shadow: 0 16px 30px rgba(var(--deep-rgb), .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .site-nav a.lang-switch { align-self: flex-start; margin-top: 14px; padding: 6px 14px; border: 1px solid var(--line); }
  .hdr-call-txt { display: inline; }
  .hdr-call { width: auto; padding: 0 12px; }
}

/* Greeting: fade out first, then fade in (no overlap) */
.hello-rot > span { transition: opacity .35s ease, transform .35s ease; }
.hello-rot > span.on { transition-delay: .3s; }
@media (min-width: 921px) { .brand { margin-right: auto; } .header-inner { justify-content: flex-start; } }
@media (min-width: 1181px) { .site-nav { margin-left: 36px; } }
@media (min-width: 1181px) and (max-width: 1480px) { .site-nav { gap: 24px; } }
@media (min-width: 1181px) and (max-width: 1480px) { .hdr-call-txt { display: none; } .hdr-call { width: 38px; padding: 0; justify-content: center; } }
.site-header .container { max-width: 1340px; }
