/* ==========================================================================
   Thapa Legal Associates
   Design tokens -> base -> layout -> components -> utilities -> responsive
   Palette is derived from the firm mark: deep navy field, gold gradient.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand. Overridable from Appearance > Customize > Brand */
  --tla-navy-900: #08152b;
  --tla-navy-800: #0d1e3b;
  --tla-navy-700: #14274e;
  --tla-navy-600: #1c3462;
  --tla-navy-500: #2a4677;
  --tla-navy-100: #e7ecf5;

  --tla-gold-700: #8f6519;
  --tla-gold-600: #a87a22;
  --tla-gold-500: #c6952f;
  --tla-gold-400: #d5ab48;
  --tla-gold-300: #e3c067;
  --tla-gold-100: #f6ecd4;

  /* Neutrals. Cool paper, reads like filed documents rather than warm craft */
  --tla-white: #ffffff;
  --tla-paper: #f4f6f9;
  --tla-paper-2: #eaeef4;
  --tla-line: #dde3ec;
  --tla-line-soft: #eef1f6;
  --tla-ink: #101828;
  --tla-ink-2: #35405a;
  --tla-muted: #5d6880;
  --tla-muted-2: #8a93a6;
  --tla-on-dark: #e9edf5;
  --tla-on-dark-muted: #9fadc6;

  /* Status */
  --tla-ok: #17794f;
  --tla-ok-bg: #e6f4ec;
  --tla-err: #b32424;
  --tla-err-bg: #fdecec;

  /* Type */
  --tla-font-display: "Cinzel", "Times New Roman", Georgia, serif;
  --tla-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --tla-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --tla-step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
  --tla-step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.90rem);
  --tla-step-0: clamp(0.98rem, 0.95rem + 0.16vw, 1.06rem);
  --tla-step-1: clamp(1.12rem, 1.05rem + 0.34vw, 1.30rem);
  --tla-step-2: clamp(1.32rem, 1.18rem + 0.62vw, 1.65rem);
  --tla-step-3: clamp(1.58rem, 1.32rem + 1.10vw, 2.20rem);
  --tla-step-4: clamp(1.90rem, 1.42rem + 2.00vw, 2.95rem);
  --tla-step-5: clamp(2.20rem, 1.45rem + 3.20vw, 3.90rem);

  /* Space */
  --tla-sp-1: 0.25rem;
  --tla-sp-2: 0.5rem;
  --tla-sp-3: 0.75rem;
  --tla-sp-4: 1rem;
  --tla-sp-5: 1.5rem;
  --tla-sp-6: 2rem;
  --tla-sp-7: 3rem;
  --tla-sp-8: 4rem;
  --tla-sp-9: 6rem;

  /* Structure */
  --tla-wrap: 1200px;
  --tla-wrap-narrow: 760px;
  --tla-wrap-wide: 1400px;
  --tla-gutter: clamp(1.15rem, 4vw, 3rem);
  --tla-radius: 4px;
  --tla-radius-lg: 8px;
  --tla-header-h: 84px;

  --tla-shadow-1: 0 1px 2px rgba(8, 21, 43, 0.06), 0 1px 3px rgba(8, 21, 43, 0.05);
  --tla-shadow-2: 0 8px 24px rgba(8, 21, 43, 0.08), 0 2px 6px rgba(8, 21, 43, 0.05);
  --tla-shadow-3: 0 20px 48px rgba(8, 21, 43, 0.14), 0 4px 12px rgba(8, 21, 43, 0.08);

  --tla-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --tla-speed: 0.28s;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tla-header-h) + 16px);
}

body {
  margin: 0;
  background: var(--tla-white);
  color: var(--tla-ink);
  font-family: var(--tla-font-sans);
  font-size: var(--tla-step-0);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.tla-nav-open { overflow: hidden; }

img, svg, video, canvas, iframe { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--tla-sp-4);
  font-family: var(--tla-font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--tla-navy-800);
  letter-spacing: -0.011em;
  text-wrap: balance;
}

h1 { font-size: var(--tla-step-5); }
h2 { font-size: var(--tla-step-4); }
h3 { font-size: var(--tla-step-2); }
h4 { font-size: var(--tla-step-1); }
h5, h6 { font-size: var(--tla-step-0); }

p { margin: 0 0 var(--tla-sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--tla-navy-600);
  text-decoration-color: rgba(198, 149, 47, 0.55);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--tla-speed) var(--tla-ease), text-decoration-color var(--tla-speed) var(--tla-ease);
}
a:hover { color: var(--tla-gold-700); text-decoration-color: var(--tla-gold-500); }

strong, b { font-weight: 600; color: var(--tla-navy-800); }
small { font-size: var(--tla-step--1); }

ul, ol { margin: 0 0 var(--tla-sp-4); padding-left: 1.35em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }

blockquote {
  margin: var(--tla-sp-6) 0;
  padding: var(--tla-sp-4) 0 var(--tla-sp-4) var(--tla-sp-5);
  border-left: 3px solid var(--tla-gold-500);
  font-family: var(--tla-font-serif);
  font-size: var(--tla-step-1);
  font-style: italic;
  color: var(--tla-navy-700);
}
blockquote cite { display: block; margin-top: var(--tla-sp-3); font-family: var(--tla-font-sans); font-size: var(--tla-step--1); font-style: normal; color: var(--tla-muted); }

hr { height: 1px; margin: var(--tla-sp-7) 0; border: 0; background: var(--tla-line); }

code, kbd, pre, samp { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; }
code { padding: 0.15em 0.4em; background: var(--tla-paper-2); border-radius: 3px; }
pre { padding: var(--tla-sp-4); overflow-x: auto; background: var(--tla-navy-900); color: var(--tla-on-dark); border-radius: var(--tla-radius); }
pre code { background: none; padding: 0; color: inherit; }

table { width: 100%; border-collapse: collapse; margin-bottom: var(--tla-sp-5); font-size: var(--tla-step--1); }
th, td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--tla-line); vertical-align: top; }
th { font-weight: 600; color: var(--tla-navy-800); background: var(--tla-paper); font-size: var(--tla-step--2); letter-spacing: 0.06em; text-transform: uppercase; }

:focus-visible {
  outline: 2px solid var(--tla-gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.tla-dark :focus-visible { outline-color: var(--tla-gold-300); }

::selection { background: var(--tla-gold-300); color: var(--tla-navy-900); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.tla-wrap { width: 100%; max-width: var(--tla-wrap); margin-inline: auto; padding-inline: var(--tla-gutter); }
.tla-wrap--narrow { max-width: var(--tla-wrap-narrow); }
.tla-wrap--wide { max-width: var(--tla-wrap-wide); }

.tla-section { padding-block: clamp(3.25rem, 7vw, 6rem); position: relative; }
.tla-section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.tla-section--paper { background: var(--tla-paper); }
.tla-section--navy { background: var(--tla-navy-800); color: var(--tla-on-dark); }
.tla-section--navy h1, .tla-section--navy h2, .tla-section--navy h3, .tla-section--navy h4 { color: var(--tla-white); }

.tla-grid { display: grid; gap: var(--tla-sp-5); }
.tla-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tla-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tla-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tla-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 0.75rem 1.25rem; background: var(--tla-navy-800); color: #fff;
  font-size: var(--tla-step--1); font-weight: 600; text-decoration: none;
}
.tla-skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto; clip-path: none; height: auto; width: auto; display: block;
  background: #fff; padding: 0.9rem 1.2rem; z-index: 100000; left: 1rem; top: 1rem;
  box-shadow: var(--tla-shadow-2); border-radius: var(--tla-radius);
}

/* --------------------------------------------------------------------------
   4. Signature: the swoosh rule, taken from the mark
   -------------------------------------------------------------------------- */
.tla-swoosh {
  display: block;
  width: 132px;
  height: 14px;
  margin: 0 0 var(--tla-sp-4);
  color: var(--tla-gold-500);
  flex: none;
}
.tla-swoosh--center { margin-inline: auto; }
.tla-swoosh svg { width: 100%; height: 100%; display: block; }

.tla-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: 0 0 var(--tla-sp-3);
  font-family: var(--tla-font-display);
  font-size: var(--tla-step--2);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tla-gold-700);
}
.tla-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.tla-eyebrow--on-dark { color: var(--tla-gold-300); }
.tla-eyebrow--center { justify-content: center; }

.tla-section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tla-section-head--center { margin-inline: auto; text-align: center; }
.tla-section-head--center .tla-eyebrow { justify-content: center; }
.tla-section-head p { color: var(--tla-muted); font-size: var(--tla-step-1); margin-bottom: 0; }
.tla-section--navy .tla-section-head p { color: var(--tla-on-dark-muted); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.tla-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.82rem 1.6rem;
  font-family: var(--tla-font-sans);
  font-size: var(--tla-step--1);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--tla-radius);
  cursor: pointer;
  transition: background var(--tla-speed) var(--tla-ease), color var(--tla-speed) var(--tla-ease),
              border-color var(--tla-speed) var(--tla-ease), transform var(--tla-speed) var(--tla-ease),
              box-shadow var(--tla-speed) var(--tla-ease);
}
.tla-btn:hover { transform: translateY(-1px); }
.tla-btn:active { transform: translateY(0); }
.tla-btn svg { width: 1.05em; height: 1.05em; flex: none; }

.tla-btn.tla-btn--gold {
  background: linear-gradient(135deg, var(--tla-gold-400) 0%, var(--tla-gold-600) 100%);
  color: var(--tla-navy-900);
  box-shadow: 0 1px 2px rgba(143, 101, 25, 0.35);
}
.tla-btn.tla-btn--gold:hover {
  background: linear-gradient(135deg, var(--tla-gold-300) 0%, var(--tla-gold-500) 100%);
  color: var(--tla-navy-900);
  box-shadow: 0 6px 18px rgba(143, 101, 25, 0.3);
}

.tla-btn.tla-btn--navy { background: var(--tla-navy-700); color: #fff; }
.tla-btn.tla-btn--navy:hover { background: var(--tla-navy-600); color: #fff; box-shadow: var(--tla-shadow-2); }

.tla-btn.tla-btn--ghost { background: transparent; color: var(--tla-navy-700); border-color: var(--tla-line); }
.tla-btn.tla-btn--ghost:hover { background: var(--tla-navy-700); color: #fff; border-color: var(--tla-navy-700); }

.tla-btn.tla-btn--ghost-light { background: rgba(255, 255, 255, 0.07); color: var(--tla-white); border-color: rgba(233, 237, 245, 0.26); }
.tla-btn.tla-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: var(--tla-gold-300); }

.tla-btn.tla-btn--sm { padding: 0.55rem 1.05rem; font-size: var(--tla-step--2); }
.tla-btn.tla-btn--lg { padding: 1rem 2rem; font-size: var(--tla-step-0); }
.tla-btn.tla-btn--block { display: flex; width: 100%; }

.tla-btn-row { display: flex; flex-wrap: wrap; gap: var(--tla-sp-3); }

.tla-textlink {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: var(--tla-step--1); font-weight: 600; letter-spacing: 0.02em;
  color: var(--tla-navy-700); text-decoration: none;
}
.tla-textlink::after {
  content: ""; width: 1.1em; height: 1px; background: currentColor;
  transition: width var(--tla-speed) var(--tla-ease);
}
.tla-textlink:hover { color: var(--tla-gold-700); }
.tla-textlink:hover::after { width: 1.9em; }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.tla-topbar {
  background: var(--tla-navy-900);
  color: var(--tla-on-dark-muted);
  font-size: var(--tla-step--2);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tla-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--tla-sp-4); min-height: 40px; }
.tla-topbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--tla-sp-5); list-style: none; margin: 0; padding: 0; }
.tla-topbar__list li { margin: 0; }
.tla-topbar a { color: var(--tla-on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.45em; }
.tla-topbar a:hover { color: var(--tla-gold-300); }
.tla-topbar svg { width: 13px; height: 13px; opacity: 0.85; flex: none; }
.tla-topbar__note { display: inline-flex; align-items: center; gap: 0.5em; }
.tla-topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tla-gold-400); flex: none; }

.tla-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--tla-line);
  transition: box-shadow var(--tla-speed) var(--tla-ease), background var(--tla-speed) var(--tla-ease);
}
.tla-header.is-stuck { box-shadow: var(--tla-shadow-2); }
.tla-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(0.75rem, 1.6vw, 1.75rem);
  min-height: var(--tla-header-h);
  max-width: var(--tla-wrap-wide);
}
.tla-header .tla-wrap, .tla-topbar .tla-wrap { max-width: var(--tla-wrap-wide); }

.tla-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: none; min-width: 0; }
.tla-brand img { max-height: 58px; width: auto; }
.tla-brand__img { display: block; height: clamp(40px, 3.4vw, 56px); width: auto; max-height: none; }
.tla-brand__mark { width: 46px; height: 46px; flex: none; }
.tla-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.tla-brand__name {
  font-family: var(--tla-font-display); font-size: 1.09rem; font-weight: 600;
  letter-spacing: 0.09em; color: var(--tla-navy-800); text-transform: uppercase; white-space: nowrap;
}
.tla-brand__sub {
  font-family: var(--tla-font-display); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.34em; color: var(--tla-gold-600); text-transform: uppercase; margin-top: 3px;
}

.tla-nav { display: flex; align-items: center; gap: var(--tla-sp-5); min-width: 0; }
.tla-menu { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.tla-menu li { margin: 0; position: relative; }
.tla-menu > li > a {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.6rem 0.72rem;
  font-size: 0.83rem; font-weight: 500; letter-spacing: 0.055em; text-transform: uppercase;
  color: var(--tla-ink-2); text-decoration: none; white-space: nowrap;
  border-radius: var(--tla-radius);
}
.tla-menu > li > a:hover,
.tla-menu > li.current-menu-item > a,
.tla-menu > li.current-menu-ancestor > a,
.tla-menu > li.current-menu-parent > a { color: var(--tla-navy-800); background: var(--tla-paper); }
.tla-menu > li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--tla-gold-500); }

.tla-menu__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.3em; height: 1.3em; padding: 0; border: 0; background: none; cursor: pointer;
  color: inherit; flex: none;
}
.tla-menu__toggle svg { width: 0.62em; height: 0.62em; transition: transform var(--tla-speed) var(--tla-ease); }
.tla-menu li.is-open > a .tla-menu__toggle svg { transform: rotate(180deg); }

.tla-submenu {
  position: absolute; top: calc(100% + 2px); left: 0; z-index: 60;
  min-width: 288px; padding: 0.5rem;
  list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--tla-line); border-top: 2px solid var(--tla-gold-500);
  border-radius: 0 0 var(--tla-radius-lg) var(--tla-radius-lg);
  box-shadow: var(--tla-shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--tla-ease), transform 0.18s var(--tla-ease), visibility 0.18s;
}
.tla-menu li:hover > .tla-submenu,
.tla-menu li:focus-within > .tla-submenu,
.tla-menu li.is-open > .tla-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.tla-submenu li { width: 100%; }
.tla-submenu a {
  display: block; padding: 0.55rem 0.8rem;
  font-size: 0.86rem; font-weight: 500; color: var(--tla-ink-2); text-decoration: none;
  border-radius: var(--tla-radius); border-left: 2px solid transparent;
  transition: background 0.16s var(--tla-ease), color 0.16s var(--tla-ease), border-color 0.16s var(--tla-ease);
}
.tla-submenu a:hover, .tla-submenu li.current-menu-item > a {
  background: var(--tla-paper); color: var(--tla-navy-800); border-left-color: var(--tla-gold-500);
}
.tla-submenu .tla-submenu { top: -0.5rem; left: calc(100% + 2px); border-top-width: 1px; border-radius: var(--tla-radius-lg); }

.tla-nav__cta { display: flex; align-items: center; gap: var(--tla-sp-3); flex: none; }
.tla-nav__cta .tla-btn { white-space: nowrap; }

.tla-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: var(--tla-navy-800); border: 0; border-radius: var(--tla-radius); cursor: pointer;
}
.tla-burger span {
  display: block; position: relative; width: 19px; height: 2px; background: #fff; border-radius: 2px;
  transition: background 0.2s var(--tla-ease);
}
.tla-burger span::before, .tla-burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.24s var(--tla-ease), top 0.24s var(--tla-ease);
}
.tla-burger span::before { top: -6px; }
.tla-burger span::after { top: 6px; }
.tla-burger[aria-expanded="true"] span { background: transparent; }
.tla-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.tla-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.tla-drawer {
  position: fixed; inset: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr min(400px, 88vw);
  visibility: hidden; pointer-events: none;
}
.tla-drawer.is-open { visibility: visible; pointer-events: auto; }
.tla-drawer__scrim {
  background: rgba(8, 21, 43, 0.6); opacity: 0;
  transition: opacity 0.3s var(--tla-ease); border: 0; padding: 0; cursor: pointer;
}
.tla-drawer.is-open .tla-drawer__scrim { opacity: 1; }
.tla-drawer__panel {
  background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(100%); transition: transform 0.32s var(--tla-ease);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(8, 21, 43, 0.2);
}
.tla-drawer.is-open .tla-drawer__panel { transform: translateX(0); }
.tla-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--tla-sp-4);
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--tla-line); position: sticky; top: 0; background: #fff; z-index: 2;
}
.tla-drawer__close {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tla-paper); border: 1px solid var(--tla-line); border-radius: var(--tla-radius);
  cursor: pointer; color: var(--tla-navy-800);
}
.tla-drawer__close svg { width: 15px; height: 15px; }
.tla-drawer__body { padding: 0.75rem 0.75rem 1.5rem; flex: 1; }
.tla-drawer__foot { padding: 1.25rem; border-top: 1px solid var(--tla-line); background: var(--tla-paper); display: grid; gap: 0.6rem; }

.tla-mmenu, .tla-mmenu ul { list-style: none; margin: 0; padding: 0; }
.tla-mmenu li { margin: 0; border-bottom: 1px solid var(--tla-line-soft); }
.tla-mmenu > li:last-child { border-bottom: 0; }
.tla-mmenu a {
  display: block; padding: 0.85rem 0.75rem;
  font-size: 0.94rem; font-weight: 500; color: var(--tla-navy-800); text-decoration: none;
}
.tla-mmenu a:hover { color: var(--tla-gold-700); }
.tla-mmenu__row { display: flex; align-items: stretch; }
.tla-mmenu__row a { flex: 1; }
.tla-mmenu__expand {
  width: 46px; flex: none; background: none; border: 0; border-left: 1px solid var(--tla-line-soft);
  cursor: pointer; color: var(--tla-muted); display: inline-flex; align-items: center; justify-content: center;
}
.tla-mmenu__expand svg { width: 11px; height: 11px; transition: transform var(--tla-speed) var(--tla-ease); }
.tla-mmenu__expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.tla-mmenu ul {
  display: none; padding: 0 0 0.5rem 0.75rem; margin-left: 0.4rem;
  border-left: 2px solid var(--tla-gold-100);
}
.tla-mmenu ul.is-open { display: block; }
.tla-mmenu ul li { border-bottom: 0; }
.tla-mmenu ul a { padding: 0.55rem 0.75rem; font-size: 0.875rem; font-weight: 400; color: var(--tla-ink-2); }

/* --------------------------------------------------------------------------
   7. Hero: the registry desk
   -------------------------------------------------------------------------- */
.tla-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--tla-navy-900);
  color: var(--tla-on-dark);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.tla-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(198, 149, 47, 0.20) 0%, rgba(198, 149, 47, 0) 58%),
    radial-gradient(90% 70% at 8% 96%, rgba(42, 70, 119, 0.55) 0%, rgba(42, 70, 119, 0) 62%),
    linear-gradient(168deg, #0b1a33 0%, #08152b 55%, #0d1e3b 100%);
}
.tla-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(85% 75% at 50% 42%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(85% 75% at 50% 42%, #000 20%, transparent 100%);
}
.tla-hero__bg {
  position: absolute; inset: 0; z-index: -3; object-fit: cover; width: 100%; height: 100%; opacity: 0.16;
}
.tla-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.tla-hero__title {
  font-family: var(--tla-font-serif);
  font-size: clamp(2.15rem, 1.45rem + 2.85vw, 3.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 17ch;
  margin-bottom: var(--tla-sp-5);
  text-wrap: balance;
}
.tla-hero__title .tla-gold {
  background: linear-gradient(120deg, var(--tla-gold-300) 0%, var(--tla-gold-500) 55%, var(--tla-gold-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tla-hero__lede { font-size: var(--tla-step-1); color: var(--tla-on-dark-muted); max-width: 54ch; margin-bottom: var(--tla-sp-5); }
.tla-hero__lede strong { color: #fff; font-weight: 500; }

.tla-hero__badges { display: flex; flex-wrap: wrap; gap: var(--tla-sp-3) var(--tla-sp-5); margin-top: var(--tla-sp-6); padding-top: var(--tla-sp-5); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.tla-hero__badge { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--tla-step--1); color: var(--tla-on-dark-muted); }
.tla-hero__badge svg { width: 15px; height: 15px; color: var(--tla-gold-400); flex: none; }

/* Authority counter panel: the signature block */
.tla-counters {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--tla-radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tla-counters__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.35rem var(--tla-sp-4);
  padding-bottom: 0.85rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tla-counters__title {
  font-family: var(--tla-font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tla-gold-300);
  margin: 0; flex: 1 1 auto; line-height: 1.5;
}
.tla-counters__meta { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tla-on-dark-muted); }
.tla-counters__list { list-style: none; margin: 0; padding: 0; }
.tla-counters__list li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--tla-sp-4);
  padding: 0.62rem 0; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tla-counters__list li:last-child { border-bottom: 0; }
.tla-counters__body { min-width: 0; }
.tla-counters__name { display: block; font-size: 0.86rem; font-weight: 500; color: #fff; }
.tla-counters__desc { display: block; font-size: 0.74rem; color: var(--tla-on-dark-muted); margin-top: 1px; }
.tla-counters__tag {
  display: inline-flex; align-items: center; gap: 0.35em; flex: none;
  padding: 0.24rem 0.55rem; border-radius: 999px;
  background: rgba(198, 149, 47, 0.14); border: 1px solid rgba(198, 149, 47, 0.32);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tla-gold-300);
  white-space: nowrap;
}
.tla-counters__tag svg { width: 10px; height: 10px; }
.tla-counters__foot { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.76rem; color: var(--tla-on-dark-muted); }

/* Trust ribbon under the hero */
.tla-ribbon { background: var(--tla-navy-800); border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--tla-on-dark); }
.tla-ribbon__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tla-ribbon__item { padding: 1.5rem clamp(0.9rem, 2vw, 1.6rem); border-left: 1px solid rgba(255, 255, 255, 0.08); }
.tla-ribbon__item:first-child { border-left: 0; }
.tla-ribbon__k {
  display: block; font-family: var(--tla-font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600; color: var(--tla-gold-300); line-height: 1;
}
.tla-ribbon__v { display: block; margin-top: 0.45rem; font-size: 0.79rem; letter-spacing: 0.02em; color: var(--tla-on-dark-muted); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.tla-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg);
  overflow: hidden; position: relative;
  transition: transform var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease), border-color var(--tla-speed) var(--tla-ease);
}
.tla-card:hover { transform: translateY(-4px); box-shadow: var(--tla-shadow-2); border-color: var(--tla-gold-300); }
.tla-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tla-navy-100); }
.tla-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--tla-ease); }
.tla-card:hover .tla-card__media img { transform: scale(1.045); }
.tla-card__body { padding: clamp(1.15rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.tla-card__title { font-size: var(--tla-step-1); margin: 0; }
.tla-card__title a { color: inherit; text-decoration: none; }
.tla-card__title a:hover { color: var(--tla-gold-700); }
.tla-card__text { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0; }
.tla-card__foot { margin-top: auto; padding-top: 0.4rem; }

/* Practice area: index style with a file code */
.tla-pa {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: var(--tla-sp-4);
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg);
  text-decoration: none; height: 100%; position: relative; overflow: hidden;
  transition: transform var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease), border-color var(--tla-speed) var(--tla-ease);
}
.tla-pa::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--tla-gold-300), var(--tla-gold-600));
  transform: scaleY(0); transform-origin: top; transition: transform 0.34s var(--tla-ease);
}
.tla-pa:hover { transform: translateY(-3px); box-shadow: var(--tla-shadow-2); border-color: var(--tla-navy-100); }
.tla-pa:hover::before { transform: scaleY(1); }
.tla-pa__code {
  width: 58px; height: 58px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--tla-gold-300); border-radius: var(--tla-radius);
  background: linear-gradient(160deg, var(--tla-gold-100), #fff);
  font-family: var(--tla-font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--tla-gold-700);
}
.tla-pa__title { font-size: var(--tla-step-1); margin: 0 0 0.4rem; color: var(--tla-navy-800); }
.tla-pa:hover .tla-pa__title { color: var(--tla-navy-600); }
.tla-pa__text { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0 0 0.7rem; }
.tla-pa__more { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tla-gold-700); display: inline-flex; align-items: center; gap: 0.4em; }
.tla-pa__more svg { width: 11px; height: 11px; transition: transform var(--tla-speed) var(--tla-ease); }
.tla-pa:hover .tla-pa__more svg { transform: translateX(3px); }

/* Service card: names the authority that issues the approval */
.tla-svc {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg);
  overflow: hidden; text-decoration: none;
  transition: transform var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease), border-color var(--tla-speed) var(--tla-ease);
}
.tla-svc:hover { transform: translateY(-4px); box-shadow: var(--tla-shadow-2); border-color: var(--tla-gold-300); }
.tla-svc__top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--tla-sp-3);
  padding: 0.6rem 1.15rem; background: var(--tla-navy-800); color: var(--tla-on-dark-muted);
  font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 500;
}
.tla-svc__authority { display: inline-flex; align-items: center; gap: 0.45em; color: var(--tla-gold-300); font-weight: 600; }
.tla-svc__authority svg { width: 12px; height: 12px; flex: none; }
.tla-svc__body { padding: clamp(1.15rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tla-svc__title { font-size: var(--tla-step-1); margin: 0; color: var(--tla-navy-800); }
.tla-svc:hover .tla-svc__title { color: var(--tla-navy-600); }
.tla-svc__text { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0; }
.tla-svc__meta {
  margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--tla-line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: var(--tla-sp-3);
  font-size: 0.76rem; color: var(--tla-muted-2);
}
.tla-svc__time { display: inline-flex; align-items: center; gap: 0.4em; }
.tla-svc__time svg { width: 12px; height: 12px; color: var(--tla-gold-600); }
.tla-svc__go { font-weight: 600; color: var(--tla-gold-700); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.7rem; }

/* Audience cards */
.tla-aud {
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg);
  height: 100%; display: flex; flex-direction: column; gap: 0.55rem;
  transition: border-color var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease), transform var(--tla-speed) var(--tla-ease);
}
.tla-aud:hover { border-color: var(--tla-gold-300); box-shadow: var(--tla-shadow-1); transform: translateY(-2px); }
.tla-aud__icon {
  width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 0.35rem;
  border-radius: var(--tla-radius); background: var(--tla-navy-800); color: var(--tla-gold-300);
}
.tla-aud__icon svg { width: 19px; height: 19px; }
.tla-aud h3 { font-size: var(--tla-step-0); margin: 0; }
.tla-aud p { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0; }

/* --------------------------------------------------------------------------
   9. Process / how it works
   -------------------------------------------------------------------------- */
.tla-steps { counter-reset: tla-step; display: grid; gap: 0; }
.tla-step {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-top: 1px solid var(--tla-line);
  align-items: start;
}
.tla-step:last-child { border-bottom: 1px solid var(--tla-line); }
.tla-step__n {
  font-family: var(--tla-font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600;
  line-height: 0.9; color: var(--tla-navy-100); letter-spacing: -0.02em;
  transition: color var(--tla-speed) var(--tla-ease);
}
.tla-step:hover .tla-step__n { color: var(--tla-gold-400); }
.tla-step__body h3 { font-size: var(--tla-step-2); margin: 0 0 0.5rem; }
.tla-step__body p { color: var(--tla-muted); margin: 0; max-width: 62ch; }
.tla-step__tag {
  display: inline-block; margin-top: 0.75rem; padding: 0.24rem 0.6rem;
  background: var(--tla-paper); border: 1px solid var(--tla-line); border-radius: 999px;
  font-size: 0.71rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tla-muted);
}

/* --------------------------------------------------------------------------
   10. Split feature block
   -------------------------------------------------------------------------- */
.tla-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tla-split--media-first .tla-split__media { order: -1; }
.tla-split__media { position: relative; }
.tla-split__media img { width: 100%; border-radius: var(--tla-radius-lg); box-shadow: var(--tla-shadow-2); }
.tla-split__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 58%; height: 58%;
  border: 1px solid var(--tla-gold-300); border-radius: var(--tla-radius-lg); z-index: -1;
}
.tla-split__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--tla-navy-800); color: #fff; padding: 1rem 1.25rem;
  border-radius: var(--tla-radius); box-shadow: var(--tla-shadow-3); max-width: 230px;
  border-left: 3px solid var(--tla-gold-500);
}
.tla-split__badge strong { display: block; font-family: var(--tla-font-display); font-size: 1.35rem; color: var(--tla-gold-300); line-height: 1; }
.tla-split__badge span { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: var(--tla-on-dark-muted); }

.tla-checklist { list-style: none; margin: var(--tla-sp-5) 0 0; padding: 0; display: grid; gap: 0.8rem; }
.tla-checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 0.75rem; margin: 0; font-size: var(--tla-step--1); }
.tla-checklist svg { width: 20px; height: 20px; color: var(--tla-gold-600); margin-top: 2px; }
.tla-checklist strong { display: block; color: var(--tla-navy-800); font-weight: 600; }
.tla-checklist span { color: var(--tla-muted); }
.tla-section--navy .tla-checklist strong { color: #fff; }
.tla-section--navy .tla-checklist span { color: var(--tla-on-dark-muted); }
.tla-section--navy .tla-checklist svg { color: var(--tla-gold-400); }

/* --------------------------------------------------------------------------
   11. Coverage strip
   -------------------------------------------------------------------------- */
.tla-coverage { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: var(--tla-sp-5); list-style: none; padding: 0; }
.tla-coverage li {
  margin: 0; padding: 0.42rem 0.85rem;
  background: #fff; border: 1px solid var(--tla-line); border-radius: 999px;
  font-size: 0.8rem; color: var(--tla-ink-2);
}
.tla-coverage li.is-hq { background: var(--tla-navy-800); border-color: var(--tla-navy-800); color: #fff; font-weight: 600; }
.tla-section--navy .tla-coverage li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: var(--tla-on-dark); }
.tla-section--navy .tla-coverage li.is-hq { background: var(--tla-gold-500); border-color: var(--tla-gold-500); color: var(--tla-navy-900); }

/* --------------------------------------------------------------------------
   12. FAQ accordion
   -------------------------------------------------------------------------- */
.tla-faq { border-top: 1px solid var(--tla-line); }
.tla-faq__item { border-bottom: 1px solid var(--tla-line); }
.tla-faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--tla-sp-4);
  width: 100%; padding: 1.1rem 0; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--tla-font-serif); font-size: var(--tla-step-1); font-weight: 600; color: var(--tla-navy-800);
  line-height: 1.35;
}
.tla-faq__q:hover { color: var(--tla-gold-700); }
.tla-faq__icon {
  flex: none; width: 26px; height: 26px; margin-top: 2px; position: relative;
  border: 1px solid var(--tla-line); border-radius: 50%; transition: all var(--tla-speed) var(--tla-ease);
}
.tla-faq__icon::before, .tla-faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--tla-navy-700);
  transform: translate(-50%, -50%); transition: transform var(--tla-speed) var(--tla-ease), opacity var(--tla-speed) var(--tla-ease);
}
.tla-faq__icon::before { width: 11px; height: 1.5px; }
.tla-faq__icon::after { width: 1.5px; height: 11px; }
.tla-faq__q[aria-expanded="true"] .tla-faq__icon { background: var(--tla-gold-500); border-color: var(--tla-gold-500); }
.tla-faq__q[aria-expanded="true"] .tla-faq__icon::before { background: #fff; }
.tla-faq__q[aria-expanded="true"] .tla-faq__icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.tla-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--tla-ease); }
.tla-faq__a.is-open { grid-template-rows: 1fr; }
.tla-faq__a > div { overflow: hidden; }
.tla-faq__a p { padding-bottom: 1.2rem; color: var(--tla-muted); max-width: 78ch; }
.tla-faq__a p:first-child { padding-top: 0; }

/* --------------------------------------------------------------------------
   13. Publications
   -------------------------------------------------------------------------- */
.tla-post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); overflow: hidden; transition: transform var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease); }
.tla-post-card:hover { transform: translateY(-4px); box-shadow: var(--tla-shadow-2); }
.tla-post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tla-navy-100); }
.tla-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--tla-ease); }
.tla-post-card:hover .tla-post-card__media img { transform: scale(1.04); }
.tla-post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tla-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tla-muted-2); }
.tla-post-card__meta a { color: var(--tla-gold-700); text-decoration: none; font-weight: 600; }
.tla-post-card__meta span.sep { opacity: 0.4; }
.tla-post-card__title { font-size: var(--tla-step-1); margin: 0; line-height: 1.3; }
.tla-post-card__title a { color: var(--tla-navy-800); text-decoration: none; }
.tla-post-card__title a:hover { color: var(--tla-gold-700); }
.tla-post-card__text { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0; }
.tla-post-card__foot { margin-top: auto; padding-top: 0.8rem; }

/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */
.tla-person { background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease); }
.tla-person:hover { transform: translateY(-4px); box-shadow: var(--tla-shadow-2); }
.tla-person__media { aspect-ratio: 4 / 5; background: var(--tla-navy-100); overflow: hidden; position: relative; }
.tla-person__media img { width: 100%; height: 100%; object-fit: cover; }
.tla-person__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--tla-navy-700), var(--tla-navy-900)); color: var(--tla-gold-300); font-family: var(--tla-font-display); font-size: 2.4rem; letter-spacing: 0.06em; }
.tla-person__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.tla-person__name { font-size: var(--tla-step-1); margin: 0; }
.tla-person__role { font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--tla-gold-700); font-weight: 600; }
.tla-person__bio { font-size: var(--tla-step--1); color: var(--tla-muted); margin: 0.3rem 0 0; }
.tla-person__links { margin-top: auto; padding-top: 0.9rem; display: flex; gap: 0.5rem; }
.tla-person__links a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--tla-line); border-radius: var(--tla-radius); color: var(--tla-navy-700); }
.tla-person__links a:hover { background: var(--tla-navy-800); border-color: var(--tla-navy-800); color: #fff; }
.tla-person__links svg { width: 14px; height: 14px; }

.tla-team-empty {
  text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) var(--tla-gutter);
  background: var(--tla-paper); border: 1px dashed var(--tla-line); border-radius: var(--tla-radius-lg);
}
.tla-team-empty h3 { margin-bottom: 0.6rem; }
.tla-team-empty p { color: var(--tla-muted); max-width: 52ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.tla-contact { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 0; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); overflow: hidden; box-shadow: var(--tla-shadow-2); background: #fff; }
.tla-contact__aside { background: var(--tla-navy-900); color: var(--tla-on-dark); padding: clamp(1.75rem, 3.5vw, 2.75rem); position: relative; overflow: hidden; }
.tla-contact__aside::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border: 1px solid rgba(198, 149, 47, 0.2); border-radius: 50%;
}
.tla-contact__aside h2 { color: #fff; font-size: var(--tla-step-2); }
.tla-contact__aside > p { color: var(--tla-on-dark-muted); font-size: var(--tla-step--1); }
.tla-contact__list { list-style: none; margin: var(--tla-sp-6) 0 0; padding: 0; display: grid; gap: 1.2rem; position: relative; }
.tla-contact__list li { display: grid; grid-template-columns: 34px 1fr; gap: 0.9rem; margin: 0; }
.tla-contact__ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--tla-radius); background: rgba(198, 149, 47, 0.14); color: var(--tla-gold-300); }
.tla-contact__ico svg { width: 15px; height: 15px; }
.tla-contact__k { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tla-on-dark-muted); margin-bottom: 3px; }
.tla-contact__v { font-size: 0.95rem; color: #fff; }
.tla-contact__v a { color: #fff; text-decoration: none; }
.tla-contact__v a:hover { color: var(--tla-gold-300); }
.tla-contact__chan { margin-top: var(--tla-sp-6); padding-top: var(--tla-sp-5); border-top: 1px solid rgba(255, 255, 255, 0.12); position: relative; }
.tla-contact__chan p { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tla-on-dark-muted); margin-bottom: 0.8rem; }
.tla-contact__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tla-contact__chip {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  font-size: 0.78rem; color: var(--tla-on-dark); text-decoration: none;
}
.tla-contact__chip:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--tla-gold-400); color: #fff; }
.tla-contact__chip svg { width: 13px; height: 13px; }
.tla-contact__form { padding: clamp(1.75rem, 3.5vw, 2.75rem); }

/* Form controls */
.tla-field { margin-bottom: 1.1rem; }
.tla-field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 0; }
.tla-field label { display: block; margin-bottom: 0.42rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tla-navy-800); }
.tla-field .req { color: var(--tla-err); margin-left: 2px; }
.tla-field input[type="text"], .tla-field input[type="email"], .tla-field input[type="tel"],
.tla-field input[type="url"], .tla-field input[type="search"], .tla-field select, .tla-field textarea,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"],
input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 0.72rem 0.9rem;
  font-family: inherit; font-size: 0.93rem; color: var(--tla-ink);
  background: var(--tla-white); border: 1px solid var(--tla-line); border-radius: var(--tla-radius);
  transition: border-color var(--tla-speed) var(--tla-ease), box-shadow var(--tla-speed) var(--tla-ease);
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235d6880' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 11px;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--tla-gold-500); box-shadow: 0 0 0 3px rgba(198, 149, 47, 0.16);
}
input::placeholder, textarea::placeholder { color: var(--tla-muted-2); }
.tla-field__hint { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: var(--tla-muted); }
.tla-field.has-error input, .tla-field.has-error select, .tla-field.has-error textarea { border-color: var(--tla-err); }
.tla-field__error { display: none; margin-top: 0.35rem; font-size: 0.78rem; color: var(--tla-err); }
.tla-field.has-error .tla-field__error { display: block; }

.tla-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tla-consent { display: grid; grid-template-columns: 18px 1fr; gap: 0.65rem; align-items: start; margin-bottom: 1.2rem; }
.tla-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--tla-gold-600); }
.tla-consent label { font-size: 0.79rem; color: var(--tla-muted); text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; }

.tla-form-note { margin-top: 1rem; font-size: 0.78rem; color: var(--tla-muted); }

.tla-alert { display: none; padding: 0.9rem 1.1rem; border-radius: var(--tla-radius); font-size: 0.88rem; margin-bottom: 1.2rem; border: 1px solid transparent; }
.tla-alert.is-visible { display: block; }
.tla-alert--ok { background: var(--tla-ok-bg); border-color: rgba(23, 121, 79, 0.28); color: var(--tla-ok); }
.tla-alert--err { background: var(--tla-err-bg); border-color: rgba(179, 36, 36, 0.28); color: var(--tla-err); }

.tla-btn.is-busy { opacity: 0.65; pointer-events: none; }
.tla-spinner { width: 15px; height: 15px; border: 2px solid rgba(8, 21, 43, 0.25); border-top-color: var(--tla-navy-900); border-radius: 50%; animation: tla-spin 0.7s linear infinite; display: none; }
.tla-btn.is-busy .tla-spinner { display: block; }
@keyframes tla-spin { to { transform: rotate(360deg); } }

.tla-map { border-radius: var(--tla-radius-lg); overflow: hidden; border: 1px solid var(--tla-line); background: var(--tla-paper); }
.tla-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.tla-cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--tla-navy-800) 0%, var(--tla-navy-900) 100%);
  color: var(--tla-on-dark);
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.tla-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 130% at 88% 50%, rgba(198, 149, 47, 0.22) 0%, rgba(198, 149, 47, 0) 62%);
}
.tla-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.tla-cta h2 { color: #fff; margin-bottom: 0.7rem; font-size: var(--tla-step-3); }
.tla-cta p { color: var(--tla-on-dark-muted); margin: 0; max-width: 58ch; }
.tla-cta__actions { display: flex; flex-direction: column; gap: 0.7rem; min-width: 250px; max-width: 330px; width: 100%; }
.tla-cta__actions .tla-btn { width: 100%; }

/* --------------------------------------------------------------------------
   17. Page header / breadcrumbs
   -------------------------------------------------------------------------- */
.tla-page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(150deg, var(--tla-navy-800) 0%, var(--tla-navy-900) 100%);
  color: var(--tla-on-dark);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.tla-page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 90% at 30% 50%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 90% at 30% 50%, #000 10%, transparent 100%);
}
.tla-page-head h1 { color: #fff; margin-bottom: 0.75rem; font-family: var(--tla-font-serif); font-size: var(--tla-step-4); letter-spacing: -0.014em; }
.tla-page-head__lede { color: var(--tla-on-dark-muted); font-size: var(--tla-step-1); max-width: 68ch; margin: 0; }
.tla-page-head__inner { max-width: 860px; }

.tla-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: var(--tla-sp-4); font-size: 0.76rem; letter-spacing: 0.04em; }
.tla-crumbs a { color: var(--tla-on-dark-muted); text-decoration: none; }
.tla-crumbs a:hover { color: var(--tla-gold-300); }
.tla-crumbs span[aria-current] { color: var(--tla-gold-300); }
.tla-crumbs .sep { color: rgba(159, 173, 198, 0.5); }

/* --------------------------------------------------------------------------
   18. Article / entry content
   -------------------------------------------------------------------------- */
.tla-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.tla-layout--full { grid-template-columns: minmax(0, 1fr); }

.tla-entry { font-size: 1.03rem; line-height: 1.78; color: var(--tla-ink-2); }
.tla-entry > *:first-child { margin-top: 0; }
.tla-entry h2 { font-size: var(--tla-step-2); margin-top: 2.4rem; padding-top: 0.2rem; }
.tla-entry h3 { font-size: var(--tla-step-1); margin-top: 1.9rem; }
.tla-entry h4 { font-size: var(--tla-step-0); margin-top: 1.5rem; }
.tla-entry ul, .tla-entry ol { margin-bottom: 1.35rem; }
.tla-entry li::marker { color: var(--tla-gold-600); }
.tla-entry img { border-radius: var(--tla-radius-lg); margin-block: 1.75rem; }
.tla-entry figure { margin: 1.75rem 0; }
.tla-entry figcaption { margin-top: 0.6rem; font-size: 0.82rem; color: var(--tla-muted); text-align: center; }
.tla-entry .wp-caption-text { font-size: 0.82rem; color: var(--tla-muted); }
.tla-entry a { font-weight: 500; }
.alignleft { float: left; margin: 0.4rem 1.75rem 1.25rem 0; }
.alignright { float: right; margin: 0.4rem 0 1.25rem 1.75rem; }
.aligncenter { margin-inline: auto; }
.alignwide { width: min(100vw - 2 * var(--tla-gutter), 1100px); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--tla-radius-lg); }
.sticky .tla-post-card__title::before { content: "Pinned "; color: var(--tla-gold-700); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

.tla-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: var(--tla-sp-5); padding-bottom: var(--tla-sp-4); border-bottom: 1px solid var(--tla-line); font-size: 0.8rem; color: var(--tla-muted); }
.tla-article-meta a { color: var(--tla-gold-700); text-decoration: none; font-weight: 600; }
.tla-article-meta .sep { opacity: 0.4; }

.tla-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: var(--tla-sp-6); padding-top: var(--tla-sp-5); border-top: 1px solid var(--tla-line); }
.tla-share span { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tla-muted); }
.tla-share a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--tla-line); border-radius: var(--tla-radius); color: var(--tla-navy-700); }
.tla-share a:hover { background: var(--tla-navy-800); border-color: var(--tla-navy-800); color: #fff; }
.tla-share svg { width: 15px; height: 15px; }

.tla-legal-note {
  margin-top: var(--tla-sp-6); padding: 1.1rem 1.3rem;
  background: var(--tla-paper); border-left: 3px solid var(--tla-gold-500); border-radius: 0 var(--tla-radius) var(--tla-radius) 0;
  font-size: 0.85rem; color: var(--tla-muted);
}
.tla-legal-note strong { display: block; margin-bottom: 0.3rem; color: var(--tla-navy-800); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Sidebar */
.tla-sidebar { position: sticky; top: calc(var(--tla-header-h) + 24px); display: grid; gap: var(--tla-sp-5); }
.tla-widget { background: #fff; border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); padding: 1.4rem; }
.tla-widget__title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tla-navy-800); font-family: var(--tla-font-sans); font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--tla-line); }
.tla-widget ul { list-style: none; margin: 0; padding: 0; }
.tla-widget li { margin: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--tla-line-soft); font-size: 0.89rem; }
.tla-widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.tla-widget a:not(.tla-btn) { color: var(--tla-ink-2); text-decoration: none; }
.tla-widget a:not(.tla-btn):hover { color: var(--tla-gold-700); }
.tla-widget--cta { background: linear-gradient(155deg, var(--tla-navy-800), var(--tla-navy-900)); border-color: var(--tla-navy-900); color: var(--tla-on-dark); }
.tla-widget--cta .tla-widget__title { color: var(--tla-gold-300); border-bottom-color: rgba(255, 255, 255, 0.14); }
.tla-widget--cta p { font-size: 0.87rem; color: var(--tla-on-dark-muted); }
.tla-widget--cta .tla-btn { margin-top: 0.9rem; }

.tla-toc { list-style: none; padding: 0; }
.tla-toc li { border-bottom: 0; padding: 0.32rem 0 0.32rem 0.9rem; border-left: 2px solid var(--tla-line); }
.tla-toc li.is-active { border-left-color: var(--tla-gold-500); }
.tla-toc li.is-active a { color: var(--tla-navy-800); font-weight: 600; }

/* --------------------------------------------------------------------------
   19. Single practice area / service
   -------------------------------------------------------------------------- */
.tla-keypoints { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.tla-keypoints li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; margin: 0; font-size: 0.94rem; }
.tla-keypoints svg { width: 22px; height: 22px; color: var(--tla-gold-600); margin-top: 1px; }

.tla-factbox { background: var(--tla-paper); border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); padding: 1.4rem; }
.tla-factbox dl { margin: 0; display: grid; gap: 0.9rem; }
.tla-factbox dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tla-muted); margin-bottom: 2px; }
.tla-factbox dd { margin: 0; font-size: 0.92rem; font-weight: 500; color: var(--tla-navy-800); }

.tla-related { border-top: 1px solid var(--tla-line); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.tla-footer { background: var(--tla-navy-900); color: var(--tla-on-dark-muted); font-size: 0.9rem; }
.tla-footer__top { padding-block: clamp(2.75rem, 5vw, 4.25rem); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tla-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3rem); }
.tla-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 1.1rem; }
.tla-footer__brand img { max-height: 62px; width: auto; }
.tla-footer__brand .tla-brand__name { color: #fff; }
.tla-footer__brand .tla-brand__mark { width: 48px; height: 48px; }
.tla-footer p { color: var(--tla-on-dark-muted); }
.tla-footer h3 {
  font-family: var(--tla-font-sans); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.tla-footer ul { list-style: none; margin: 0; padding: 0; }
.tla-footer li { margin-bottom: 0.62rem; }
.tla-footer a:not(.tla-btn) { color: var(--tla-on-dark-muted); text-decoration: none; }
.tla-footer a:not(.tla-btn):hover { color: var(--tla-gold-300); }
.tla-footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 0.65rem; align-items: start; }
.tla-footer__contact svg { width: 15px; height: 15px; color: var(--tla-gold-400); margin-top: 4px; flex: none; }
.tla-footer__social { display: flex; gap: 0.5rem; margin-top: 1.3rem; }
.tla-footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--tla-radius); }
.tla-footer__social a:hover { background: var(--tla-gold-500); border-color: var(--tla-gold-500); color: var(--tla-navy-900); }
.tla-footer__social svg { width: 15px; height: 15px; }
.tla-footer__bottom { padding-block: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; }
.tla-footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.tla-footer__disclaimer { padding: 1.15rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.76rem; line-height: 1.7; color: rgba(159, 173, 198, 0.75); }

/* --------------------------------------------------------------------------
   21. Floating action rail
   -------------------------------------------------------------------------- */
.tla-rail { position: fixed; right: 16px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-end; }
.tla-rail__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  background: var(--tla-navy-800); color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: var(--tla-shadow-3); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--tla-speed) var(--tla-ease), background var(--tla-speed) var(--tla-ease);
}
.tla-rail__btn svg { width: 19px; height: 19px; }
.tla-rail__label { display: none; }
.tla-rail__btn:hover { transform: translateY(-2px); color: #fff; }
.tla-rail__btn svg { flex: none; }
.tla-rail__btn svg { color: var(--tla-gold-300); }
.tla-rail__btn.tla-rail__btn--book {
  background: linear-gradient(135deg, var(--tla-gold-400), var(--tla-gold-600));
  border-color: var(--tla-gold-500);
  color: var(--tla-navy-900);
}
.tla-rail__btn.tla-rail__btn--book svg { color: var(--tla-navy-900); }
.tla-rail__btn.tla-rail__btn--book:hover { color: var(--tla-navy-900); }
.tla-rail__btn.tla-rail__btn--wa:hover,
.tla-rail__btn.tla-rail__btn--viber:hover,
.tla-rail__btn.tla-rail__btn--call:hover { background: var(--tla-navy-600); }

/* Platform colours, only when the Customizer switch is off */
.tla-rail--platform .tla-rail__btn.tla-rail__btn--wa { background: #1faf54; border-color: #1faf54; }
.tla-rail--platform .tla-rail__btn.tla-rail__btn--wa:hover { background: #189244; }
.tla-rail--platform .tla-rail__btn.tla-rail__btn--viber { background: #6e51a1; border-color: #6e51a1; }
.tla-rail--platform .tla-rail__btn.tla-rail__btn--viber:hover { background: #5d4389; }
.tla-rail--platform .tla-rail__btn--wa svg,
.tla-rail--platform .tla-rail__btn--viber svg { color: #fff; }
.tla-rail__label { white-space: nowrap; }

.tla-top {
  position: fixed; left: 16px; bottom: 18px; z-index: 80;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--tla-navy-800); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%; box-shadow: var(--tla-shadow-2); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--tla-speed) var(--tla-ease), transform var(--tla-speed) var(--tla-ease), visibility var(--tla-speed);
}
.tla-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tla-top svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   22. Pagination, comments, 404, search
   -------------------------------------------------------------------------- */
.tla-pagination { margin-top: var(--tla-sp-7); display: flex; justify-content: center; }
.tla-pagination .nav-links, .tla-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tla-pagination a.page-numbers, .tla-pagination span.page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.75rem;
  border: 1px solid var(--tla-line); border-radius: var(--tla-radius);
  font-size: 0.88rem; font-weight: 600; color: var(--tla-ink-2); text-decoration: none; background: #fff;
}
.tla-pagination a.page-numbers:hover { border-color: var(--tla-navy-700); background: var(--tla-navy-700); color: #fff; }
.tla-pagination span.current { background: var(--tla-navy-800); border-color: var(--tla-navy-800); color: #fff; }
.tla-pagination .dots { border-color: transparent; background: none; }

.tla-comments { margin-top: var(--tla-sp-7); padding-top: var(--tla-sp-6); border-top: 1px solid var(--tla-line); }
.tla-comments .comment-list { list-style: none; padding: 0; margin: 0 0 var(--tla-sp-6); }
.tla-comments .comment-list ol { list-style: none; padding-left: clamp(1rem, 4vw, 2.5rem); }
.tla-comments article.comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--tla-line-soft); }
.tla-comments .comment-author { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; font-weight: 600; color: var(--tla-navy-800); margin-bottom: 0.35rem; }
.tla-comments .comment-author img { border-radius: 50%; }
.tla-comments .comment-metadata { font-size: 0.76rem; color: var(--tla-muted-2); margin-bottom: 0.7rem; }
.tla-comments .comment-metadata a { color: inherit; text-decoration: none; }
.tla-comments .reply { margin-top: 0.6rem; }
.tla-comments .reply a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tla-gold-700); text-decoration: none; }
.comment-respond { background: var(--tla-paper); border: 1px solid var(--tla-line); border-radius: var(--tla-radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.comment-respond .comment-reply-title { font-size: var(--tla-step-2); margin-bottom: 0.6rem; }
.comment-form-cookies-consent { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; }
.comment-form-cookies-consent input { width: 18px; height: 18px; margin: 3px 0 0; }
.comment-form label { display: block; margin-bottom: 0.4rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tla-navy-800); }
.comment-form p { margin-bottom: 1rem; }
.comment-form .submit {
  padding: 0.82rem 1.6rem; font-size: 0.9rem; font-weight: 600; border: 0; border-radius: var(--tla-radius); cursor: pointer;
  background: linear-gradient(135deg, var(--tla-gold-400), var(--tla-gold-600)); color: var(--tla-navy-900);
}

.tla-404 { text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
.tla-404__code { font-family: var(--tla-font-display); font-size: clamp(4rem, 14vw, 9rem); line-height: 0.86; color: var(--tla-navy-100); margin-bottom: var(--tla-sp-4); }
.tla-404 p { color: var(--tla-muted); max-width: 52ch; margin-inline: auto var(--tla-sp-5); }
.tla-404 .tla-btn-row { justify-content: center; }
.tla-404__links { margin-top: var(--tla-sp-7); padding-top: var(--tla-sp-6); border-top: 1px solid var(--tla-line); }

.tla-searchform { display: flex; gap: 0.5rem; }
.tla-searchform input[type="search"] { flex: 1; }
.tla-searchform button {
  padding: 0 1.2rem; border: 0; border-radius: var(--tla-radius); cursor: pointer;
  background: var(--tla-navy-800); color: #fff; font-weight: 600; font-size: 0.85rem;
}
.tla-searchform button:hover { background: var(--tla-navy-600); }

/* --------------------------------------------------------------------------
   23. Motion
   -------------------------------------------------------------------------- */
.tla-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.62s var(--tla-ease), transform 0.62s var(--tla-ease); }
.tla-reveal.is-in { opacity: 1; transform: none; }
.tla-reveal-d1 { transition-delay: 0.07s; }
.tla-reveal-d2 { transition-delay: 0.14s; }
.tla-reveal-d3 { transition-delay: 0.21s; }
.tla-reveal-d4 { transition-delay: 0.28s; }

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

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1560px) {
  .tla-menu > li > a { padding: 0.6rem 0.58rem; font-size: 0.79rem; letter-spacing: 0.045em; }
  .tla-brand__name { font-size: 1rem; }
}

@media (max-width: 1400px) {
  .tla-menu > li > a { padding: 0.6rem 0.46rem; font-size: 0.755rem; letter-spacing: 0.035em; }
  .tla-nav__cta .tla-btn svg { display: none; }
  .tla-nav__cta .tla-btn { padding-inline: 1rem; }
  .tla-brand__img { height: 44px; }
}

/* Navigation switches to the drawer before the header can overflow. */
@media (max-width: 1280px) {
  :root { --tla-header-h: 76px; }
  .tla-nav { display: none; }
  .tla-burger { display: inline-flex; }
  .tla-nav__cta .tla-btn { display: none; }
  .tla-nav__cta .tla-burger { display: inline-flex; }
}

/* Content layout collapses later, where the columns actually run out. */
@media (max-width: 1024px) {
  :root { --tla-header-h: 74px; }
  .tla-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .tla-hero__title { max-width: 20ch; }
  .tla-layout { grid-template-columns: minmax(0, 1fr); }
  .tla-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tla-split { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tla-split--media-first .tla-split__media { order: 0; }
  .tla-split__badge { left: 14px; }
  .tla-contact { grid-template-columns: minmax(0, 1fr); }
  .tla-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tla-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .tla-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tla-ribbon__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tla-ribbon__item:nth-child(3) { border-left: 0; }
  .tla-ribbon__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .tla-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .tla-cta__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .tla-topbar__list li.tla-hide-sm { display: none; }
}

@media (max-width: 640px) {
  :root { --tla-header-h: 68px; }
  .tla-grid--2, .tla-grid--3, .tla-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .tla-sidebar { grid-template-columns: minmax(0, 1fr); }
  .tla-ribbon__inner { grid-template-columns: minmax(0, 1fr); }
  .tla-ribbon__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .tla-ribbon__item:first-child { border-top: 0; }
  .tla-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .tla-field--row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tla-field--row .tla-field { margin-bottom: 1.1rem; }
  .tla-step { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .tla-step__n { font-size: 1.7rem; }
  .tla-pa { grid-template-columns: 48px minmax(0, 1fr); gap: 0.9rem; }
  .tla-pa__code { width: 48px; height: 48px; font-size: 0.9rem; }
  .tla-brand img { max-height: 44px; }
  .tla-brand__img { height: 40px; }
  .tla-brand__mark { width: 38px; height: 38px; }
  .tla-brand__name { font-size: 0.86rem; letter-spacing: 0.07em; }
  .tla-brand__sub { font-size: 0.51rem; letter-spacing: 0.26em; }
  .tla-topbar { display: none; }
  .tla-split__badge { position: static; max-width: none; margin-top: 1rem; }
  .tla-split__media::after { display: none; }
  .tla-rail__btn { width: 44px; height: 44px; }
  .tla-rail__btn svg { width: 17px; height: 17px; }
  .tla-rail { right: 12px; bottom: 12px; }
  .tla-top { left: 12px; bottom: 12px; }
  .tla-footer__bottom { flex-direction: column; align-items: flex-start; }
  .alignleft, .alignright { float: none; margin: 1.25rem 0; }
}

/* --------------------------------------------------------------------------
   25. Print
   -------------------------------------------------------------------------- */
@media print {
  .tla-topbar, .tla-header, .tla-rail, .tla-top, .tla-footer__top, .tla-cta, .tla-drawer, .tla-share, .comment-respond { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .tla-page-head { background: none !important; color: #000; padding-block: 0 1rem; }
  .tla-page-head h1, .tla-page-head__lede { color: #000; }
  .tla-section { padding-block: 0.75rem; }
  .tla-card, .tla-pa, .tla-svc { break-inside: avoid; border-color: #999; }
}

/* --------------------------------------------------------------------------
   26. Late additions
   -------------------------------------------------------------------------- */
.tla-footer__legal { list-style: none; margin: 0; padding: 0; }
.tla-footer__legal li { margin: 0; }
.tla-footer__contact li small { display: block; margin-top: 2px; font-size: 0.76rem; opacity: 0.8; line-height: 1.5; }
.tla-i { flex: none; }
.tla-i--brand { transform: scale(0.9); transform-origin: center; }
.tla-i--badge { transform: none; }
.tla-brand__name--light { color: #fff; }


/* --------------------------------------------------------------------------
   27. Rail tooltips
   -------------------------------------------------------------------------- */
.tla-rail__btn { position: relative; }
.tla-rail__btn::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 0.35rem 0.7rem; border-radius: var(--tla-radius);
  background: var(--tla-navy-900); color: #fff;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: var(--tla-shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--tla-ease), transform 0.18s var(--tla-ease), visibility 0.18s;
}
.tla-rail__btn:hover::after, .tla-rail__btn:focus-visible::after {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
@media (hover: none) {
  .tla-rail__btn::after { display: none; }
}


/* --------------------------------------------------------------------------
   28. App badges in the rail
   The badge is the button. A navy disc behind a green disc reads as a ring,
   so the container steps back and the mark carries the shadow itself.
   -------------------------------------------------------------------------- */
.tla-rail__btn--wa .tla-i--badge,
.tla-rail__btn--viber .tla-i--badge {
  width: 100%;
  height: 100%;
}
.tla-rail:not(.tla-rail--platform) .tla-rail__btn--wa,
.tla-rail:not(.tla-rail--platform) .tla-rail__btn--viber {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  filter: drop-shadow(0 6px 16px rgba(8, 21, 43, 0.34));
}
.tla-rail:not(.tla-rail--platform) .tla-rail__btn--wa:hover,
.tla-rail:not(.tla-rail--platform) .tla-rail__btn--viber:hover {
  background: transparent;
  filter: drop-shadow(0 9px 20px rgba(8, 21, 43, 0.42));
}

/* Uniform mode: navy discs with a white mark. */
.tla-rail--platform .tla-rail__btn--wa,
.tla-rail--platform .tla-rail__btn--viber { background: var(--tla-navy-800); }
.tla-rail--platform .tla-rail__btn--wa svg,
.tla-rail--platform .tla-rail__btn--viber svg { color: #fff; }

/* Badges sitting inline with text. */
.tla-btn .tla-i--badge { width: 1.35em; height: 1.35em; }
.tla-contact__chip .tla-i--badge { width: 17px; height: 17px; margin-left: -2px; }
