/*
 * TCB Law – public site. A close copy of the old Elementor design (plum #592a51, Open Sans, Noto Serif SC headings),
 * written mobile-first without a framework. Fonts are self-hosted (copied from the old site; Source Serif 4 from Google Fonts).
 */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/open-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/open-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url('../fonts/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url('../fonts/open-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Noto Serif SC (headings): the old site's complete files – one variable file per subset covers every weight. Noto Serif SC
   has no Romanian ș / ț (comma below), so those four letters come from Source Serif 4, the design its Latin is based on. */
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../fonts/noto-serif-sc-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../fonts/noto-serif-sc-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-0217, U+021C-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../fonts/source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0218-021B; }
/* Lato 2 (article titles and details, as on the old site) – the full version: Google's Lato has no ă, ș, ț. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/lato-semibold.woff2') format('woff2'); }

:root {
  --plum: #592a51;
  --plum-dark: #4a2343;
  --plum-deep: #3f004f;
  --ink: #484848;
  --ink-strong: #222;
  --muted: #7a7a7a;
  --line: #dcdcdc;
  --grey: #f2f2f2;
  --grey-2: #e9e9eb;
  --grey-3: #d2d2d2;
  --card: #cfcfcf;
  --white: #fff;
  --serif: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --lato: 'Lato', 'Open Sans', Arial, sans-serif;
  --system: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
  --gutter: 16px;
  --radius: 12px;
  --radius-sm: 6px;
  --plum-soft: #f6f2f5;
  --line-soft: #ebe5ea;
  --shadow-sm: 0 1px 2px rgba(40, 14, 36, .06), 0 4px 14px rgba(40, 14, 36, .06);
  --shadow: 0 1px 3px rgba(40, 14, 36, .08), 0 12px 32px rgba(40, 14, 36, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum-dark); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--plum-dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #b48bd0; outline-offset: 2px; }
::selection { background: #e8d9e5; color: var(--plum-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--form { max-width: 1060px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border: 1px solid var(--plum); border-radius: var(--radius-sm);
  background: var(--plum); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--plum-dark); color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(74, 35, 67, .25); }
.btn:active { transform: translateY(1px); }
.btn--send { padding: 13px 30px; font-size: 15px; letter-spacing: .02em; }
.btn--small { padding: 7px 14px; font-size: 13px; font-weight: 500; width: 100%; }
.btn--light { background: #f4f4f4; border-color: #e3e3e3; color: var(--ink-strong); }
.btn--light:hover { background: #e9e9e9; color: var(--ink-strong); box-shadow: none; }
.btn--outline { background: transparent; color: #c2185b; border-color: #c2185b; font-weight: 400; font-size: 16px; padding: 9px 18px; }
.btn--outline:hover { background: #c2185b; color: #fff; }

/* ---------- header + menu ---------- */
.site-header { position: relative; z-index: 20; background: #fff; }
.site-header__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.site-logo img { width: 104px; height: auto; }
.site-header--overlay { position: absolute; inset: 0 0 auto 0; background: transparent; }
.has-hero .page-hero { padding-top: 110px; min-height: 330px; }
.site-header--home { position: absolute; inset: 0 0 auto 0; background: linear-gradient(to bottom, rgba(63, 0, 79, .85), rgba(0, 0, 0, 0)); }
.site-header--home .site-header__inner { justify-content: center; }
.site-header--home .site-logo img { width: 200px; }
.site-header--home .menu-toggle { position: absolute; right: var(--gutter); }
.menu-toggle { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink-strong); }
.site-header--home .menu-toggle { color: #fff; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 34px; height: 3px; background: currentColor; border-radius: 2px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -10px; }
.menu-toggle__bars::after { top: 10px; }

/* Full-screen menu – measured from the old Elementor off-canvas menu (1440 px and 390 px). */
.site-menu { position: fixed; inset: 0; z-index: 50; background: #fff; overflow-y: auto; animation: menu-in .25s ease-out;
  --menu-font: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.site-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.site-menu__close { position: fixed; top: 20px; right: 20px; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; color: #333; padding: 0; z-index: 2; display: grid; place-items: center; }
.site-menu__inner { max-width: 1140px; margin: 0 auto; padding: 70px 0 40px; }
.site-menu__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 10px; }
.site-menu__logo img { width: 208px; height: auto; display: block; }
.site-menu__search { display: flex; align-items: center; margin-top: 89px; }
.site-menu__search input { width: 0; padding: 0; border: 0; font: 16px var(--menu-font); transition: width .25s, padding .25s; background: rgba(0, 0, 0, .05); height: 50px; }
.site-menu__search.is-open input, .site-menu__search input:focus { width: min(300px, 50vw); padding: 0 14px; outline: none; }
.site-menu__search button { width: 50px; height: 50px; border: 0; background: rgba(0, 0, 0, .05); cursor: pointer; color: #33373d; display: grid; place-items: center; }
.site-menu__list { list-style: none; margin: 30px 0 0; padding: 0 10px; }
.site-menu__list a { display: flex; justify-content: flex-end; padding: 13px 20px; font: 400 32px/1.82 var(--menu-font); color: var(--plum); text-decoration: none; }
.site-menu__list a:hover { color: var(--plum-dark); text-decoration: none; opacity: .8; }
.site-menu__list a[aria-current] { color: #1a0b17; }
.site-menu__bottom { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; margin-top: 10px; }
.site-menu__bottom > * { padding: 0 10px; }
.site-menu .social--dark { gap: 5px; }
.site-menu .social--dark a { width: 50px; height: 50px; border: 1px solid #000; color: #000; }
.site-menu .social--dark a:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.site-menu__langs { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; margin-top: 10px; }
.site-menu__langs a { display: block; }
.site-menu__langs img { width: 45px; height: 30px; object-fit: cover; }
.site-menu__copy { margin: 0; padding-top: 25px !important; text-align: right; font: 12.8px/2 var(--sans); color: var(--ink); }
@media (max-width: 767px) {
  .site-menu__inner { padding: 70px 30px 40px; }
  .site-menu__top { align-items: center; padding: 0; }
  .site-menu__logo img { width: 208px; }
  .site-menu__search { margin-top: 0; }
  .site-menu__list { margin-top: 30px; padding: 0; }
  .site-menu__list a { font-size: 24px; }
  .site-menu__bottom { grid-template-columns: 1fr; justify-items: center; gap: 10px; margin-top: 30px; }
  .site-menu__bottom > * { padding: 0; }
  .site-menu__langs { margin-top: 0; }
  .site-menu .social--dark a { width: 40px; height: 40px; }
  .site-menu .social--dark svg { width: 20px; height: 20px; }
  .site-menu__langs { grid-template-columns: 1fr; gap: 10px; }
  .site-menu__copy { text-align: center; width: 100%; padding-top: 0 !important; }
}
body.menu-open { overflow: hidden; }

.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .15); }

/* ---------- home slider ---------- */
/* Like the old Revolution slider: the post's picture on top with a curved bottom edge, the title on a black band. */
.hero-slider { position: relative; height: min(100vh, 900px); min-height: 520px; background: #000; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .8s ease; color: #fff; text-decoration: none; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide:hover { color: #fff; text-decoration: none; }
.hero-slide__bg { position: relative; flex: 0 0 61%; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 22px 22px; background: #1d0d22; }
.hero-slide__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-slide__title { flex: 1; display: flex; align-items: center; justify-content: center; max-width: 760px; margin: 0 auto; padding: 0 24px 40px;
  text-align: center; font: 400 clamp(22px, 2.4vw, 38px)/1.4 var(--serif); }
.hero-slider__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 2px; }
.hero-slider__dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-slider__dots button::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; }
.hero-slider__dots button[aria-current]::before { background: #fff; }
.hero-slider::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 6px; background: var(--plum); }

/* ---------- home sections ---------- */
.split { padding: 56px 0; }
.split--grey { background: var(--plum-soft); padding: 64px 0; }
.split__inner { display: grid; gap: 24px; }
.split__heading { font: 400 26px/1.2 var(--serif); color: var(--plum-dark); margin: 0; padding-bottom: 20px; position: relative; align-self: center; }
.split__heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--plum); border-radius: 2px; }
.prose--small { font-size: 16px; }
.services { display: grid; gap: 24px; }
.service { position: relative; text-align: center; font-size: 15.5px; line-height: 1.6; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.service:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* The practice area's icon (a transparent PNG) drawn in white inside a plum circle. */
.service__icon { display: block; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--plum); position: relative; }
.service__icon::after { content: ''; position: absolute; inset: 14px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.service__title { font: 600 24px/1.2 var(--serif); text-transform: uppercase; color: var(--plum-dark); margin-bottom: 18px; padding-bottom: 14px; position: relative; letter-spacing: .02em; }
.service__title::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 48px; margin-left: -24px; height: 2px; background: var(--plum); border-radius: 2px; }
.service__body { position: relative; text-align: left; color: #555; }
.service__body p { margin-bottom: .8em; }
.service__body p:last-child { margin-bottom: 0; }

.team-cards { padding: 64px 0 72px; }
.team-cards__grid { display: grid; gap: 28px; }
.person-card { display: flex; flex-direction: column; }
/* Every portrait in the same 4:5 frame, cropped from the top so faces stay in view whatever the original shape. */
.person-card__photo { display: block; border-radius: var(--radius); overflow: hidden; background: #ece8eb; aspect-ratio: 4 / 5; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .5s var(--ease); }
.person-card:hover .person-card__photo img { transform: scale(1.03); }
.person-card__body { background: #fff; margin: -48px 14px 0; padding: 22px 22px 22px; position: relative; text-align: center; font-size: 15px; line-height: 1.55; color: #555;
  flex: 1; display: flex; flex-direction: column; border-radius: 10px; box-shadow: var(--shadow-sm); }
.person-card__body p { flex: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.person-card__body .btn { margin-top: 6px; }
.person-card__name { font: 600 22px/1.2 var(--sans); padding-bottom: 12px; margin-bottom: 12px; position: relative; }
.person-card__name::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 36px; margin-left: -18px; height: 2px; background: var(--plum); border-radius: 2px; }
.person-card__name a { color: var(--plum); }
.person-card .btn--small { font-size: 15px; font-weight: 500; }

.contact-band { background: var(--plum-soft); padding: 56px 0; }
.contact-band--page { background: #fff; padding: 30px 0 60px; }
.contact-band--page .form-card__title { text-align: center; }
.form-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 32px 24px; border: 1px solid var(--line-soft); }
.form-card--inline { box-shadow: var(--shadow-sm); margin-top: 24px; }
.form-card__title { font: 600 32px/1 var(--sans); color: var(--plum-dark); margin-bottom: 20px; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 0 16px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 600; font-size: 15px; color: #333; margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row input:not([type]), .form-row select, .form-row textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cfc6cd; border-radius: var(--radius-sm); font: 16px/1.4 var(--sans); background: #fff; color: #222;
  transition: border-color .15s, box-shadow .15s; }
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: #a99aa6; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(89, 42, 81, .16); }
.form-row textarea { min-height: 200px; resize: vertical; }
.form-row [aria-invalid=true] { border-color: #c02b0a; box-shadow: 0 0 0 1px #c02b0a; }
.form-row--check label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.form-row--check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--plum); }
.req { color: #c02b0a; font-size: 13px; font-style: italic; font-weight: 400; }
.field-error { color: #c02b0a; font-size: 13px; margin: 4px 0 0; }
.form-alert { background: #fbeaea; border-left: 4px solid #c02b0a; padding: 12px 16px; color: #8a1c0c; border-radius: var(--radius-sm); }
.form-done { background: #eef7ee; border-left: 4px solid #2e7d32; padding: 16px 20px; border-radius: var(--radius-sm); }
.form-done p:last-child { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- office + map ---------- */
.office { display: grid; background: var(--grey-2); }
.office__details { background: #fff; padding: 36px 20px; text-align: center; }
.office__name { font: 500 28px/1.2 var(--sans); color: #000; }
.office address { font-style: normal; font-size: 16px; line-height: 1.5; color: #000; margin-bottom: 24px; }
.hours { width: 100%; max-width: 320px; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: 14.5px; color: #333;
  border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.hours th, .hours td { padding: 10px 16px; font-weight: 400; background: #fff; border-bottom: 1px solid var(--line-soft); text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--plum-dark); background: var(--plum-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.map { position: relative; min-height: 360px; background: var(--grey-2); display: grid; place-items: center; z-index: 0; }
.map .leaflet-container, .map__canvas { position: absolute; inset: 0; font: 12px/1.4 var(--sans); }
.map__notice { max-width: 380px; padding: 24px; text-align: center; color: var(--ink); }
.map__notice .icon { color: var(--plum); margin: 0 auto 8px; }
.map__links { position: absolute; z-index: 500; left: 10px; bottom: 10px; margin: 0; display: flex; gap: 6px; }
.map__links a { background: #fff; padding: 7px 12px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); font-size: 12.5px; }
.map-pin { width: 30px; height: 40px; }
.map-pin svg { display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.map .leaflet-tile-pane { filter: saturate(.55); }

/* ---------- page header + breadcrumbs ---------- */
.page-hero { position: relative; min-height: 240px; display: flex; align-items: flex-end; background: #f3f0f4; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, .7)); }
.page-hero--plain { min-height: 150px; background: #f6f3f6; }
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 14px; }
.page-hero__title { font: 600 clamp(32px, 4vw, 48px)/1 var(--serif); color: var(--plum-dark); margin: 0; }
.page-hero__sub { font: 400 clamp(24px, 3vw, 32px)/1 var(--lato); text-transform: uppercase; color: var(--plum-dark); margin: 20px 0 0; }
/* Single pages (legal, contact, calculators): a soft grey fade or the page photo, the title centred in capitals. */
.page-hero--single { background: linear-gradient(to bottom, #f6f6f6, #a2a2a2); }
.page-hero--single::before { background: linear-gradient(to bottom, rgba(255, 255, 255, .45), rgba(255, 255, 255, .78)); }
.page-hero--single.page-hero--plain::before { display: none; }
.page-hero--single .page-hero__inner { padding-bottom: 30px; }
.page-hero__title--upper { font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; text-align: center; }
.crumbs { background: #f1edf0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.5; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 10px; padding-bottom: 10px; margin: 0 auto; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '›'; margin: 0 12px; color: #a3949f; }
.crumbs a { display: inline-flex; align-items: center; gap: 3px; color: var(--plum); min-height: 32px; min-width: 32px; }
.crumbs [aria-current] { font-weight: 700; color: #333; }

/* ---------- news cards ---------- */
.news { padding-top: 40px; padding-bottom: 56px; }
.news__intro { margin-bottom: 24px; }
.cards { display: grid; gap: 28px; }
.card { position: relative; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column;
  overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: block; height: 100%; background: linear-gradient(135deg, #efe8ee, #d9cdd7); }
.card__cat { position: absolute; top: 12px; right: 12px; background: var(--plum); color: #fff; font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card__cat:hover { color: #fff; background: var(--plum-dark); text-decoration: none; }
.card__avatar { position: absolute; left: 24px; top: calc((100% * 0) + 0px); }
.card__avatar { top: auto; margin: -24px 0 0 24px; position: relative; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 14px 28px 8px; flex: 1; display: flex; flex-direction: column; }
.card__title { font: 600 21px/1.2 var(--sans); margin-bottom: 18px; }
.card__title a { color: var(--plum); }
.card__excerpt { font-size: 14px; line-height: 1.5; color: #777; flex: 1; }
.card__more { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--plum); margin-bottom: 14px; }
.card__meta { margin: 0; padding: 14px 28px; border-top: 1px solid #f0ebef; font-size: 12px; color: #9a9a9a; }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; font-size: 15px; }
.pager__num, .pager__step { min-width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0 6px; color: var(--ink); }
.pager__num, .pager__step { border-radius: 999px; transition: background-color .15s; }
.pager a:hover { background: var(--plum-soft); text-decoration: none; }
.pager__num.is-current { background: var(--plum); color: #fff; }
.pager__gap { color: var(--muted); }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 32px; }
.search-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #999; border-radius: 3px; font: inherit; }

/* ---------- article ---------- */
.article-hero { position: relative; min-height: 260px; display: flex; align-items: center; background: #e9e9e9; overflow: hidden; }
.article-hero__bg { position: absolute; inset: 0; }
.article-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.article-hero__bg::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .67); }
.article-hero__inner { position: relative; padding-top: 32px; padding-bottom: 28px; width: 100%; }
/* The title on a frosted panel, lined up with the text column – readable over any photo. */
.article-hero__panel { max-width: 860px; margin: 0 auto; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 26px 30px; box-shadow: var(--shadow-sm); }
.article-hero__title { font: 600 clamp(26px, 2.8vw, 40px)/1.15 var(--lato); color: var(--plum-dark); margin-bottom: 16px; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 400 16px/1.5 var(--lato); margin: 0; color: var(--plum); }
.article-hero__meta a { color: var(--plum); }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-hero__meta .icon { color: var(--plum); }
.article__body { padding-top: 40px; padding-bottom: 16px; max-width: 860px; }
.article__body > p:first-child { font-size: 17.5px; line-height: 1.6; color: #3d3d3d; }
.article__foot { padding-bottom: 56px; max-width: 860px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 11.2px; line-height: 1.5; }
.post-nav a { display: flex; align-items: center; gap: 10px; color: var(--plum); }
.post-nav small { display: block; text-transform: uppercase; color: var(--ink); font-size: 12.8px; }
.post-nav__next { justify-content: flex-end; text-align: right; }
.post-nav .icon { flex: none; color: #bbb; }
.article__terms a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; margin: 2px 0; border-radius: 999px; background: var(--plum-soft);
  border: 1px solid var(--line-soft); text-decoration: none; transition: background-color .15s, color .15s; }
.article__terms a:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.article__terms span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.article__terms { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 12.8px/1.5 var(--lato); color: var(--ink); }
.preview-bar { background: #fff4c5; color: #5a4600; text-align: center; padding: 10px 16px; font-size: 14px; position: relative; z-index: 30; }

/* ---------- prose (written content) ---------- */
.prose { font-size: 16px; line-height: 1.5; color: var(--ink); overflow-wrap: break-word; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.3em; }
.prose h4 { font-size: 16px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--plum); background: var(--plum-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #444; font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0 auto; max-width: min(100%, 1024px); border-radius: 8px; }   /* WordPress “large” size, as before */
.prose figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.prose img { max-width: 100%; height: auto; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: .92em; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--plum-soft); color: var(--plum-dark); font-weight: 600; }
.prose tbody tr:nth-child(even) td { background: #fbf9fa; }
.lead { font-size: 16px; margin-bottom: 1.5em; }
.page-body { padding-top: 32px; padding-bottom: 56px; }
.page-body--short { padding-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 13px; }

/* embeds (videos waiting for consent) */
.embed { position: relative; aspect-ratio: 16 / 9; background: #222; color: #fff; display: grid; place-items: center; margin: 1.5em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__notice { padding: 20px; text-align: center; max-width: 480px; }
.embed__notice a, .embed__link { color: #fff; }
.embed__link { background: none; border: 0; text-decoration: underline; cursor: pointer; }
.embed.is-loaded .embed__notice { display: none; }

/* ---------- team ---------- */
.team-list { padding-top: 40px; padding-bottom: 64px; display: grid; gap: 32px; }
@media (min-width: 960px) { .team-list { gap: 40px; padding-top: 48px; } }
.profile { display: grid; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
/* Portraits share one 4:5 frame (cropped from the top); the card grows with the text and the photo fills its column. */
.profile__photo { position: relative; background: #ece8eb; }
.profile__photo::before { content: ''; display: block; padding-top: 125%; }   /* at least 4:5 tall; stretches with long texts */
.profile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.profile__body { padding: 28px 24px 30px; }
.profile--wide .profile__photo::before { padding-top: 42%; }
.profile--wide .profile__photo img { object-position: 50% 30%; }
.profile__name { font: 600 clamp(28px, 3vw, 40px)/1 var(--sans); margin-bottom: 20px; }
.profile__name a { color: var(--plum-dark); }
.profile__role { font: 600 clamp(20px, 2.2vw, 28px)/1 var(--sans); color: var(--plum-dark); margin-bottom: 20px; }
.profile__bio { font-size: 16px; line-height: 1.5; color: var(--ink); }
.profile__contact { display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 15px; margin: 22px 0 0; }
.profile__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); border: 1px solid var(--line-soft); background: var(--plum-soft); border-radius: 999px;
  padding: 7px 16px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.profile__contact a:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.member-page { padding-top: 32px; padding-bottom: 48px; }

/* ---------- calculators ---------- */
.tabs { margin-top: 28px; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px 28px 20px; box-shadow: var(--shadow-sm); }
@media (max-width: 599px) { .tabs { padding: 4px 16px 16px; } }
.tabs__list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs__list [role=tab] { border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 22px; color: #8f8f8f; cursor: pointer; font-size: 16px; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.tabs__list [role=tab]:hover { color: var(--plum); }
.tabs__list [aria-selected=true] { color: var(--plum-dark); border-bottom-color: var(--plum); font-weight: 600; }
.calc { padding: 24px 0; }
.calc h2 { font: 600 32px/1.2 var(--system); color: var(--ink); margin-bottom: 2px; }
.calc > .muted { color: #72777c; font-family: var(--system); }
.calc__grid { display: grid; grid-template-columns: 1fr; gap: 6px 24px; max-width: 560px; margin-top: 16px; align-items: center; font: 500 16px/1.5 var(--system); color: var(--ink); }
.calc__grid input { width: 100%; max-width: 220px; padding: 10px 12px; border: 1px solid #cfc6cd; border-radius: var(--radius-sm); font: inherit; }
.calc__grid input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(89, 42, 81, .16); }
.calc__grid output { display: block; max-width: 220px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--plum-soft); font-weight: 600; color: var(--plum-dark);
  margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.calc__rate { display: inline-flex; align-items: center; gap: 6px; }
.calc__rate input { width: 90px; }

/* ---------- footer ---------- */
/* ---------- footer – measured from the old Elementor footer (1440 px) ---------- */
.site-footer { background: var(--plum); color: #c2c2c2; font-size: 16px; line-height: 1.5; }
.site-footer a { color: #fff; }
.site-footer__top { padding: 24px 16px; display: grid; gap: 24px; }
.site-footer__about { margin: 0; align-self: center; max-width: 808px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.site-footer__brand > img { width: 160px; }
.site-footer__langs { display: grid; grid-template-columns: 1fr 1fr; width: 233px; justify-items: center; }
.site-footer__langs img { width: 45px; height: 30px; object-fit: cover; }
.site-footer__bottom { padding: 8px 16px 20px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.site-footer .social { gap: 5px; }
.site-footer .social a { width: 50px; height: 50px; border-color: rgba(255, 255, 255, .45); color: #e6dbe4; border-radius: var(--radius-sm); transition: background-color .15s, color .15s; }
.site-footer .social a:hover { background: #fff; color: var(--plum); }
.site-footer .social svg { width: 25px; height: 25px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; font-size: 12.8px; line-height: 1.82; }
.site-footer__legal a, .site-footer__legal .link-btn { padding: 13px 20px; color: #fff; text-decoration: none; font-size: inherit; }
.site-footer__legal a:hover, .site-footer__legal .link-btn:hover { text-decoration: underline; }
.site-footer__copy { margin: 0; font-size: 12.8px; color: #d2d2d2; }

.edit-btn { position: fixed; z-index: 40; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; background: #222; color: #fff;
  border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); font-size: 13px; }
.edit-btn:hover { background: var(--plum); color: #fff; text-decoration: none; }

/* ---------- error + maintenance ---------- */
.error-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.error-page h1 { font: 600 32px/1 var(--sans); color: var(--plum-dark); margin-bottom: 20px; }
.maintenance-page { background: #faf8fa; }
.maintenance { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px; max-width: 560px; margin: 0 auto; }
.maintenance img { width: 140px; margin-bottom: 24px; }
.maintenance__legal { font-size: 12px; color: var(--muted); margin-top: 24px; }
.maintenance__langs a { margin: 0 8px; }

/* ---------- cookie notice + dialog ---------- */
.site-note { position: fixed; z-index: 60; right: 12px; left: 12px; bottom: 12px; max-width: 560px; margin-left: auto; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25); padding: 20px 20px 12px; font-size: 13px; color: #222; }
.site-note[hidden] { display: none; }
.site-note__title { font: 600 15px/1.3 var(--sans); color: #222; text-align: center; padding-right: 24px; }
.site-note__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.site-note__actions .btn { padding: 10px 8px; font-weight: 500; }
.site-note__links { display: flex; justify-content: center; gap: 12px; margin: 10px 0 0; font-size: 11px; }
.site-note__links a { text-decoration: underline; color: #6b1a8a; }
.notice-x { position: absolute; top: 8px; right: 8px; border: 1px solid #ccc; border-radius: 50%; background: #fff; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.pref-dialog { border: 0; border-radius: 10px; padding: 0; max-width: 620px; width: calc(100% - 24px); box-shadow: 0 8px 40px rgba(0, 0, 0, .35); }
.pref-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.pref-dialog.is-fallback { position: fixed; inset: 10% 0 auto; margin: 0 auto; z-index: 70; display: block; }
.pref-dialog__inner { padding: 24px; position: relative; max-height: 85vh; overflow-y: auto; }
.pref-dialog__close { position: absolute; top: 12px; right: 12px; border: 0; background: none; cursor: pointer; }
.pref-dialog h2 { font: 600 20px/1.3 var(--sans); }
.pref-options { list-style: none; padding: 0; margin: 16px 0; }
.pref-option { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid #eee; font-size: 13px; }
.pref-option h3 { font: 600 15px/1.3 var(--sans); color: #222; margin-bottom: 4px; }
.pref-option p { margin: 0; }
.pref-option__always { color: #2e7d32; font-weight: 600; white-space: nowrap; font-size: 12px; }
.pref-switch { position: relative; flex: none; }
.pref-switch input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; cursor: pointer; }
.pref-switch__track { display: block; width: 44px; height: 24px; border-radius: 12px; background: #bbb; position: relative; transition: background .2s; }
.pref-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.pref-switch input:checked + .pref-switch__track { background: var(--plum); }
.pref-switch input:checked + .pref-switch__track::after { transform: translateX(20px); }
.pref-switch input:focus-visible + .pref-switch__track { outline: 3px solid #b48bd0; outline-offset: 2px; }
.pref-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- phones: centred blocks, as the old site's mobile layout ---------- */
@media (max-width: 767px) {
  .split__heading { text-align: center; }
  .split__heading::after { left: 50%; margin-left: -40px; }
  .split__body { text-align: left; }
  .article-hero__bg::after { background: rgba(255, 255, 255, .82); }
  .profile__name, .profile__role { text-align: center; }
  .profile__contact { justify-content: center; flex-direction: column; align-items: center; }
  .site-footer__about { text-align: center; }
  .site-footer__brand > img { width: min(280px, 75%); }
  .site-footer__langs { grid-template-columns: 1fr; width: auto; gap: 10px; }
  .site-footer__legal { flex-direction: column; align-items: center; }
  .site-footer__legal a, .site-footer__legal .link-btn { padding: 6px 20px; }
}

/* ---------- wider screens ---------- */
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .calc__grid { grid-template-columns: 200px 1fr; }
  .calc__grid output { max-width: 360px; }
  .calc__grid output { margin-bottom: 0; }
  .site-note { left: auto; right: 16px; bottom: 16px; }
}
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .team-cards__grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: minmax(260px, 34%) 1fr; }
  .profile--wide { grid-template-columns: 1fr; }
  .profile__body { padding: 36px 40px; }
  .office { grid-template-columns: 340px 1fr; }
  .office__details { padding: 32px 16px; }
  .map { min-height: 100%; }
}
@media (min-width: 960px) {
  :root { --gutter: 10px; }
  .site-logo img { width: 196px; }
  .site-header:not(.site-header--home) .site-header__inner { padding-top: 34px; padding-bottom: 30px; }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { width: 44px; }
  .menu-toggle__bars::before { top: -12px; }
  .menu-toggle__bars::after { top: 12px; }
  .site-header--home .site-logo img { width: 240px; }
  .split__inner { grid-template-columns: 180px 1fr; gap: 40px; }
  .split--grey .split__inner { grid-template-columns: 180px 1fr; }
  .split { padding: 40px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .team-cards__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .team-cards__grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .services { gap: 28px; }
  .service { padding: 40px 36px 32px; }
  .site-footer__top { grid-template-columns: 1fr 233px; align-items: start; padding: 16px 27px 0 16px; min-height: 335px; }
  .site-footer__about { margin-top: 96px; }
  .site-footer__brand > img { width: 233px; }
  .site-footer__bottom { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: stretch; text-align: left; padding: 0 37px 20px 16px; }
  .site-footer__copy { text-align: right; }
  .article-hero { min-height: 400px; }
  .calc__grid { grid-template-columns: 390px 1fr; max-width: 760px; }
  .calc__grid input { max-width: 180px; }
  .page-hero--single.page-hero--plain { min-height: 426px; padding-top: 220px; }
  .page-hero { min-height: 300px; }
  .has-hero .page-hero { min-height: 426px; padding-top: 220px; }
  .form-card { padding: 40px 56px 56px; }
  .office__details { padding: 40px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-menu, .site-footer, .site-note, .pref-dialog, .edit-btn, .crumbs, .post-nav, .hero-slider__dots { display: none !important; }
  body { font-size: 12pt; color: #000; }
}
