/* ==========================================================================
   ATTICA LAWYERS — attica-2026
   main.css — complete design system & components
   Editorial / cinematic / restrained. Warm ivory paper + deep navy ink, a
   Geom geometric display paired with Geologica text, antique-gold accent
   (from the firm's emblem) used sparingly. Fullscreen video hero.

   ORDER
   01 Tokens (:root)
   02 Reset / base
   03 Typography utilities (eyebrow / chapter / shead / lead / prose helpers)
   04 Layout (container / section / rule)
   05 Buttons & links
   06 Reveal / motion + reduced-motion
   07 Header + nav + lang + burger + mobnav
   08 Hero (+ watermark)
   09 About + stats
   10 Practice index
   11 Team + swiper overrides
   12 Values (dark)
   13 Journal + .al-post card
   14 Press
   15 Contact + responsive map
   16 Footer (dark)
   17 Page / single / archive / 404 / search / .al-prose
   18 Responsive breakpoints (640 / 900 / 1024 / 1320)
   ========================================================================== */

/* ==========================================================================
   01 · TOKENS
   ========================================================================== */
:root {
  --al-ink:        #161b24;   /* deep navy-ink (from the logo ring) */
  --al-ink-2:      #3c434f;
  --al-muted:      #8a8d96;
  --al-paper:      #f5f2ea;   /* warm ivory — pairs with gold */
  --al-paper-2:    #ffffff;
  --al-paper-3:    #ece6da;
  --al-line:       #ddd5c6;
  --al-line-2:     #c9bfa9;
  --al-accent:     #b0894c;   /* antique gold (from the logo) */
  --al-accent-2:   #cba468;   /* lighter gold — hover / on dark */
  --al-ink-invert: #f5f2ea;
  --al-dark:       #12161e;   /* deep navy — dark sections / hero */

  --al-font-display: "Geom", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --al-font-sans:    "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --al-container: 1320px;
  --al-gutter: clamp(20px, 5vw, 80px);
  --al-section-y: clamp(72px, 11vw, 180px);

  --al-radius: 0px;
  --al-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --al-dur: 0.7s;

  /* Swiper theming */
  --swiper-theme-color: var(--al-accent);
  --swiper-navigation-size: 22px;

  /* derived */
  --al-header-h: 76px;
  --al-fs-body: 1.0625rem;
}

/* ==========================================================================
   02 · RESET / BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--al-paper);
  color: var(--al-ink-2);
  font-family: var(--al-font-sans);
  font-size: var(--al-fs-body);
  font-weight: 400;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--al-font-display);
  font-weight: 600;
  color: var(--al-ink);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

img, svg, video, canvas, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

img { font-style: italic; color: var(--al-muted); }

a {
  color: var(--al-ink);
  text-decoration: none;
  transition: color 0.3s var(--al-ease);
}
a:hover { color: var(--al-accent); }

ul, ol { list-style: none; padding: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, textarea, select { font: inherit; color: inherit; }

::selection {
  background: var(--al-accent);
  color: var(--al-ink-invert);
}

:focus-visible {
  outline: 2px solid var(--al-accent);
  outline-offset: 3px;
}
/* on dark surfaces lift the focus ring to paper for contrast */
.al-section--dark :focus-visible,
.al-footer :focus-visible,
.al-mobnav :focus-visible {
  outline-color: var(--al-paper);
}

/* Skip link */
.al-skip {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--al-ink);
  color: var(--al-ink-invert);
  padding: 0.7em 1.4em;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.25s var(--al-ease);
}
.al-skip:focus {
  transform: translate(-50%, 0.5rem);
  color: var(--al-ink-invert);
  outline-offset: 2px;
}

/* hidden attr safety (mobnav uses [hidden]) */
[hidden] { display: none !important; }

/* ==========================================================================
   03 · TYPOGRAPHY UTILITIES
   ========================================================================== */

/* Eyebrow — small uppercase tracked label, with a short leading rule */
.al-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--al-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--al-muted);
  line-height: 1;
}
.al-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--al-line-2);
  flex: 0 0 auto;
}

/* Chapter numeral */
.al-chapter {
  display: inline-block;
  font-family: var(--al-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--al-accent);
  line-height: 1;
}

/* Section header block */
.al-shead {
  display: grid;
  gap: 0.95rem;
  max-width: 46ch;
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
}
.al-shead .al-chapter { margin-bottom: -0.2rem; }
.al-shead__title {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--al-ink);
}
.al-shead--wide { max-width: none; }

/* Lead paragraph */
.al-lead {
  font-family: var(--al-font-sans);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--al-ink);
  letter-spacing: -0.005em;
}

/* Section-band & dark eyebrow / chapter tone shifts */
.al-section--dark .al-eyebrow { color: rgba(244, 241, 234, 0.62); }
.al-section--dark .al-eyebrow::before { background: rgba(244, 241, 234, 0.32); }
.al-section--dark .al-chapter { color: var(--al-accent-2); }
.al-section--dark .al-shead__title,
.al-section--dark h1,
.al-section--dark h2,
.al-section--dark h3 { color: var(--al-ink-invert); }
.al-section--dark .al-lead { color: var(--al-ink-invert); }

/* ==========================================================================
   04 · LAYOUT
   ========================================================================== */
.al-container {
  width: 100%;
  max-width: var(--al-container);
  margin-inline: auto;
  padding-inline: var(--al-gutter);
}

.al-section {
  padding-block: var(--al-section-y);
  position: relative;
}
.al-section--band { background: var(--al-paper-3); }
.al-section--dark {
  background: var(--al-dark);
  color: var(--al-ink-invert);
}
.al-section--dark p { color: rgba(244, 241, 234, 0.78); }

/* Hairline rule */
.al-rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--al-line);
}
.al-section--dark .al-rule { background: rgba(244, 241, 234, 0.16); }

.al-main { display: block; }

/* a generic section footer link row */
.al-section__foot {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--al-line);
}
.al-section--dark .al-section__foot { border-top-color: rgba(244, 241, 234, 0.16); }

/* ==========================================================================
   05 · BUTTONS & LINKS
   ========================================================================== */
.al-btn {
  --_bg: transparent;
  --_fg: var(--al-ink);
  --_bd: var(--al-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.8em;
  font-family: var(--al-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--_fg);
  background: var(--_bg);
  border: 1px solid var(--_bd);
  border-radius: var(--al-radius);
  cursor: pointer;
  transition:
    background 0.4s var(--al-ease),
    color 0.4s var(--al-ease),
    border-color 0.4s var(--al-ease),
    letter-spacing 0.4s var(--al-ease);
  white-space: nowrap;
}
.al-btn:hover { letter-spacing: 0.16em; color: var(--_fg); }

.al-btn--solid {
  --_bg: var(--al-ink);
  --_fg: var(--al-ink-invert);
  --_bd: var(--al-ink);
}
.al-btn--solid:hover {
  --_bg: var(--al-accent);
  --_bd: var(--al-accent);
}

.al-btn--ghost {
  --_bg: transparent;
  --_fg: var(--al-ink);
  --_bd: var(--al-line-2);
}
.al-btn--ghost:hover {
  --_bg: var(--al-ink);
  --_fg: var(--al-ink-invert);
  --_bd: var(--al-ink);
}

.al-btn--accent {
  --_bg: var(--al-accent);
  --_fg: var(--al-ink-invert);
  --_bd: var(--al-accent);
}
.al-btn--accent:hover {
  --_bg: var(--al-accent-2);
  --_bd: var(--al-accent-2);
}

/* ghost on dark surfaces */
.al-section--dark .al-btn--ghost,
.al-footer .al-btn--ghost {
  --_fg: var(--al-ink-invert);
  --_bd: rgba(244, 241, 234, 0.34);
}
.al-section--dark .al-btn--ghost:hover,
.al-footer .al-btn--ghost:hover {
  --_bg: var(--al-ink-invert);
  --_fg: var(--al-ink);
  --_bd: var(--al-ink-invert);
}

.al-btn .al-btn__arrow { transition: transform 0.4s var(--al-ease); }
.al-btn:hover .al-btn__arrow { transform: translateX(0.25em); }

/* Animated underline text link (accent underline) */
.al-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--al-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--al-ink);
  background-image: linear-gradient(var(--al-accent), var(--al-accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 0.18em;
  transition: background-size 0.45s var(--al-ease), color 0.3s var(--al-ease);
}
.al-link:hover {
  color: var(--al-ink);
  background-size: 100% 1px;
}
.al-link .al-link__arrow { transition: transform 0.4s var(--al-ease); }
.al-link:hover .al-link__arrow { transform: translateX(0.3em); }

/* generic inline arrow glyph (hero / practice / journal / contact links) */
.al-arrow {
  display: inline-block;
  margin-left: 0.1em;
  transition: transform 0.4s var(--al-ease);
}
.al-link:hover .al-arrow { transform: translateX(0.3em); }

.al-section--dark .al-link,
.al-footer .al-link { color: var(--al-ink-invert); }
.al-section--dark .al-link:hover,
.al-footer .al-link:hover { color: var(--al-ink-invert); }
.al-section--dark .al-link,
.al-footer .al-link {
  background-image: linear-gradient(var(--al-accent-2), var(--al-accent-2));
}

/* ==========================================================================
   06 · REVEAL / MOTION
   ========================================================================== */
/* Base state: visible by default so content survives no-JS. */
.al-reveal {
  opacity: 1;
  transform: none;
}
/* Only hide when JS is active (html.js added by header inline script). */
html.js .al-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--al-dur) var(--al-ease),
    transform var(--al-dur) var(--al-ease);
  transition-delay: var(--al-delay, 0s);
  will-change: opacity, transform;
}
html.js .al-reveal.is-in {
  opacity: 1;
  transform: none;
}

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

/* ==========================================================================
   07 · HEADER + NAV + LANG + BURGER + MOBNAV
   ========================================================================== */
.al-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: transparent;
  transition:
    background 0.45s var(--al-ease),
    border-color 0.45s var(--al-ease),
    transform 0.45s var(--al-ease),
    box-shadow 0.45s var(--al-ease);
  border-bottom: 1px solid transparent;
}
.al-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--al-header-h);
  padding-block: 0.85rem;
}

/* Condensed (scrolled) state */
.al-header.is-scrolled {
  background: color-mix(in srgb, var(--al-paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom-color: var(--al-line);
}
.al-header.is-scrolled .al-header__inner { min-height: 62px; }

/* Hide-on-scroll-down */
.al-header.is-hidden { transform: translateY(-100%); }

/* Brand / monogram */
.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--al-ink);
}
.al-brand:hover { color: var(--al-ink); }
.al-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--al-accent);
}
.al-brand__mark svg { width: 100%; height: 100%; display: block; }
.al-brand__name {
  font-family: var(--al-font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--al-ink);
}
.al-brand__name span {
  color: var(--al-muted);
  font-weight: 500;
}

/* Desktop nav */
.al-nav { display: none; }
.al-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.2rem);
}
.al-nav__list a,
.al-nav a {
  position: relative;
  display: inline-block;
  font-family: var(--al-font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--al-ink-2);
  padding-block: 0.4rem;
}
.al-nav__list a::after,
.al-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--al-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--al-ease);
}
.al-nav__list a:hover,
.al-nav a:hover { color: var(--al-ink); }
.al-nav__list a:hover::after,
.al-nav a:hover::after,
.al-nav__list .current-menu-item > a::after,
.al-nav__list a.is-current::after,
.al-nav a.is-current::after { transform: scaleX(1); }
.al-nav__list .current-menu-item > a,
.al-nav__list a.is-current,
.al-nav a.is-current { color: var(--al-ink); }

/* header aside */
.al-header__aside {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

/* Language switch */
.al-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-lang ul,
.al-lang .al-lang__list {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.al-lang li { display: inline-flex; align-items: center; }
.al-lang li + li::before {
  content: "/";
  margin-right: 0.55em;
  color: var(--al-line-2);
}
/* explicit separator span emitted between the EL / EN links */
.al-lang__sep {
  color: var(--al-line-2);
  user-select: none;
  pointer-events: none;
}
.al-lang a,
.al-lang span {
  color: var(--al-muted);
  letter-spacing: 0.1em;
}
.al-lang a:hover { color: var(--al-accent); }
.al-lang .is-active > a,
.al-lang .current-lang > a,
.al-lang a.is-active,
.al-lang span.is-active,
.al-lang .is-active { color: var(--al-ink); }

/* Burger — markup: button.al-burger > span.al-burger__label + span.al-burger__box > span,span */
.al-burger {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  width: auto;
  height: 30px;
  padding: 0;
}
/* visible "Menu" / "Μενού" label — kept readable, NOT styled as an ink bar */
.al-burger__label {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
  line-height: 1;
  transition: color 0.3s var(--al-ease);
}
/* the two-bar icon box (holds the actual hamburger lines) */
.al-burger__box {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  width: 26px;
  height: 30px;
  flex: 0 0 auto;
}
.al-burger__box span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--al-ink);
  transition:
    transform 0.4s var(--al-ease),
    opacity 0.3s var(--al-ease),
    width 0.4s var(--al-ease);
  transform-origin: center;
}
.al-burger__box span:nth-child(2) { width: 18px; }
.al-burger:hover .al-burger__label { color: var(--al-accent); }
.al-burger:hover .al-burger__box span { background: var(--al-accent); }
/* open state: JS sets aria-expanded="true" (and toggles .is-open) — support both */
.al-burger[aria-expanded="true"] .al-burger__box span:nth-child(1),
.al-burger.is-open .al-burger__box span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}
.al-burger[aria-expanded="true"] .al-burger__box span:nth-child(2),
.al-burger.is-open .al-burger__box span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
  width: 26px;
}

/* When mobnav is open, paint header transparent over overlay but keep burger ink-invert */
body.al-nav-open .al-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.al-nav-open .al-burger__box span { background: var(--al-ink-invert); }
body.al-nav-open .al-burger__label { color: rgba(244, 241, 234, 0.7); }
body.al-nav-open .al-brand__name { color: var(--al-ink-invert); }
body.al-nav-open .al-brand__name span { color: rgba(244, 241, 234, 0.55); }
body.al-nav-open .al-brand__mark { color: var(--al-accent-2); }

/* Lock scroll */
body.al-nav-open {
  overflow: hidden;
  touch-action: none;
}

/* Mobile overlay nav */
.al-mobnav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--al-dark);
  color: var(--al-ink-invert);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--al-header-h) + 2rem) var(--al-gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  pointer-events: none;
  transition:
    opacity 0.5s var(--al-ease),
    transform 0.6s var(--al-ease),
    visibility 0s linear 0.5s;
}
.al-mobnav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.5s var(--al-ease),
    transform 0.6s var(--al-ease),
    visibility 0s;
}
.al-mobnav__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.al-mobnav__list a,
.al-mobnav a {
  display: block;
  font-family: var(--al-font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--al-ink-invert);
  padding-block: 0.18em;
  opacity: 0;
  transform: translateY(14px);
}
.al-mobnav.is-open .al-mobnav__list a,
.al-mobnav.is-open a {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--al-ease),
    transform 0.5s var(--al-ease);
}
.al-mobnav.is-open .al-mobnav__list li:nth-child(1) a { transition-delay: 0.08s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(2) a { transition-delay: 0.13s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(3) a { transition-delay: 0.18s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(4) a { transition-delay: 0.23s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(5) a { transition-delay: 0.28s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(6) a { transition-delay: 0.33s; }
.al-mobnav.is-open .al-mobnav__list li:nth-child(7) a { transition-delay: 0.38s; }
.al-mobnav .al-mobnav__list a:hover,
.al-mobnav a:hover { color: var(--al-accent-2); }
.al-mobnav .current-menu-item > a,
.al-mobnav a.is-current { color: var(--al-accent-2); }

/* mobnav inner structure */
.al-mobnav__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.al-mobnav__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.6rem, 5vw, 2.6rem);
}
.al-mobnav__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--al-accent-2);
}
.al-mobnav__mark svg { width: 100%; height: 100%; }
.al-mobnav__nav { display: block; }

.al-mobnav__foot {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.al-mobnav .al-lang { color: rgba(244, 241, 234, 0.6); }
.al-mobnav .al-lang a,
.al-mobnav .al-lang span { color: rgba(244, 241, 234, 0.6); }
.al-mobnav .al-lang li + li::before { color: rgba(244, 241, 234, 0.28); }
.al-mobnav .al-lang .is-active,
.al-mobnav .al-lang .is-active > a,
.al-mobnav .al-lang a.is-active,
.al-mobnav .al-lang .current-lang > a { color: var(--al-ink-invert); }
.al-mobnav .al-lang a:hover { color: var(--al-accent-2); }
.al-mobnav__contact {
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.6);
  letter-spacing: 0.02em;
}
.al-mobnav__contact a { color: rgba(244, 241, 234, 0.85); }
.al-mobnav__contact a:hover { color: var(--al-accent-2); }

/* ==========================================================================
   08 · HERO
   ========================================================================== */
.al-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--al-header-h) + clamp(2rem, 7vh, 5rem));
  padding-bottom: clamp(3rem, 9vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.al-hero .al-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* faint oversized monogram watermark */
.al-hero__watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-26vw, -8vw, -4vw);
  width: min(88vh, 760px);
  height: min(88vh, 760px);
  transform: translateY(-50%);
  color: var(--al-ink);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.al-hero__watermark svg { width: 100%; height: 100%; display: block; }

/* vertical side meta */
.al-hero__side {
  position: absolute;
  z-index: 2;
  left: var(--al-gutter);
  bottom: clamp(3rem, 9vh, 6rem);
  display: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-hero__side span { display: inline-block; }
.al-hero__side span + span::before {
  content: "·";
  margin: 0 0.7em;
  color: var(--al-line-2);
}

.al-hero__inner {
  max-width: 19ch;
}
.al-hero__eyebrow { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

.al-hero__title {
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--al-ink);
  max-width: 16ch;
}
.al-hero__title em,
.al-hero__accent {
  font-style: normal;
  color: var(--al-accent);
}

/* kicker uses .al-eyebrow; give it the hero eyebrow rhythm */
.al-hero__kicker { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

.al-hero__sub {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 46ch;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  color: var(--al-ink-2);
}

.al-hero__cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

/* scroll cue */
.al-hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--al-gutter);
  bottom: clamp(3rem, 9vh, 6rem);
  display: none;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--al-font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--al-muted);
  writing-mode: vertical-rl;
}
.al-hero__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--al-line-2), transparent);
  position: relative;
  overflow: hidden;
}
.al-hero__scroll-line {
  position: relative;
  width: 1px;
  height: 56px;
  background: var(--al-line);
  overflow: hidden;
}
.al-hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: var(--al-accent);
  animation: al-scroll-cue 2.2s var(--al-ease) infinite;
}
@keyframes al-scroll-cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}

/* ==========================================================================
   09 · ABOUT + STATS
   ========================================================================== */
.al-about__cols {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
.al-about__lead { /* uses .al-lead too */ }
.al-about__support {
  color: var(--al-ink-2);
  font-size: var(--al-fs-body);
  line-height: 1.7;
}
.al-about__support p + p { margin-top: 1.1rem; }
.al-about__sign {
  margin-top: 1.6rem;
  font-family: var(--al-font-display);
  font-size: 1.5rem;
  color: var(--al-ink);
  font-weight: 500;
}
.al-about__sign small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--al-muted);
}

/* Stats row */
.al-stats {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--al-line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.8rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem);
}
.al-stat {
  display: grid;
  gap: 0.55rem;
  position: relative;
}
.al-stat__num {
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--al-ink);
  display: flex;
  align-items: baseline;
}
.al-stat__suffix {
  font-size: 0.5em;
  color: var(--al-accent);
  margin-left: 0.06em;
}
.al-stat__label {
  font-family: var(--al-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-muted);
  line-height: 1.4;
}

/* ==========================================================================
   10 · PRACTICE INDEX (master–detail)
   ========================================================================== */
.al-practice__intro {
  max-width: 52ch;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}
.al-practice__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.al-practice__list { display: flex; flex-direction: column; }
.al-practice__row { display: block; border-top: 1px solid var(--al-line); }
.al-practice__row:last-child { border-bottom: 1px solid var(--al-line); }
.al-practice__item {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  text-align: left;
  color: var(--al-ink-2);
  transition: color 0.3s var(--al-ease), padding-left 0.3s var(--al-ease);
}
.al-practice__index {
  font-family: var(--al-font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--al-muted);
  flex: 0 0 auto;
  transition: color 0.3s var(--al-ease);
}
.al-practice__name {
  font-family: var(--al-font-display);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 500;
  flex: 1 1 auto;
  transition: color 0.3s var(--al-ease);
}
.al-practice__arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  color: var(--al-accent);
  transition: opacity 0.3s var(--al-ease), transform 0.3s var(--al-ease);
}
.al-practice__item:hover,
.al-practice__item.is-active { color: var(--al-ink); padding-left: 0.7rem; }
.al-practice__item:hover .al-practice__index,
.al-practice__item.is-active .al-practice__index { color: var(--al-accent); }
.al-practice__item.is-active .al-practice__name { color: var(--al-accent); }
.al-practice__item:hover .al-practice__arrow,
.al-practice__item.is-active .al-practice__arrow { opacity: 1; transform: translateX(0); }
.al-practice__item:focus-visible { outline-offset: -2px; }

/* Detail panel */
.al-practice__detail {
  position: sticky;
  top: calc(var(--al-header-h) + 1.5rem);
  align-self: start;
  background: var(--al-paper-2);
  border: 1px solid var(--al-line);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  min-height: 18rem;
}
.al-practice__panel.is-active { animation: al-pa-in 0.5s var(--al-ease); }
@keyframes al-pa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.al-practice__panel-index {
  font-family: var(--al-font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--al-line-2);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.al-practice__panel-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 1rem;
}
.al-practice__panel-text {
  color: var(--al-ink-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.al-practice__panel-link { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .al-practice__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .al-practice__detail { position: static; min-height: 0; order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .al-practice__panel.is-active { animation: none; }
}
/* ==========================================================================
   11 · TEAM + SWIPER
   ========================================================================== */
.al-team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.al-team__head .al-shead { margin-bottom: 0; }

/* custom nav arrows */
.al-team__nav {
  display: flex;
  gap: 0.6rem;
}
.al-team__prev,
.al-team__next {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--al-line-2);
  color: var(--al-ink);
  background: transparent;
  transition: background 0.35s var(--al-ease), color 0.35s var(--al-ease), border-color 0.35s var(--al-ease), opacity 0.3s var(--al-ease);
}
.al-team__prev:hover,
.al-team__next:hover {
  background: var(--al-ink);
  color: var(--al-ink-invert);
  border-color: var(--al-ink);
}
.al-team__prev.swiper-button-disabled,
.al-team__next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.al-team__prev svg,
.al-team__next svg { width: 18px; height: 18px; }

/* carousel wrapper: positions the swiper + nav arrows together */
.al-team__carousel {
  position: relative;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.al-team__carousel .al-team__nav {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  justify-content: flex-end;
}
.al-team__carousel .al-team__swiper { margin-top: 0; }

.al-team__swiper {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  overflow: hidden;
}
.al-team__swiper.swiper { overflow: hidden; }
/* when swiper not initialised: graceful fallback grid */
.al-team__swiper:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
}
.al-team__swiper.swiper .swiper-slide { height: auto; }

.al-member {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--al-paper-2);
  border: 1px solid var(--al-line);
  transition: border-color 0.4s var(--al-ease), transform 0.4s var(--al-ease);
}
.al-member:hover { border-color: var(--al-line-2); }

.al-member__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--al-paper-3);
}
.al-member__photo,
.al-member__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.6s var(--al-ease), transform 0.8s var(--al-ease);
}
.al-member:hover .al-member__photo,
.al-member:hover .al-member__media img {
  filter: grayscale(0.15) contrast(1);
  transform: scale(1.03);
}
/* placeholder when no image */
.al-member__media--empty {
  display: grid;
  place-items: center;
}
.al-member__media--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(110,31,43,0.04) 18px 19px),
    var(--al-paper-3);
}
.al-member__initial {
  position: relative;
  z-index: 1;
  font-family: var(--al-font-display);
  font-size: 4rem;
  font-weight: 500;
  color: var(--al-line-2);
}

.al-member__body,
.al-member__info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  gap: 0.35rem;
}
.al-member__name {
  font-family: var(--al-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--al-ink);
}
.al-member__role {
  font-family: var(--al-font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--al-ink-2);
}
.al-member__langs {
  margin-top: 0.4rem;
  font-family: var(--al-font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--al-muted);
}

/* expandable bio */
/* The bio is now only a hidden data source for the profile drawer — never shown
   inline — so force it fully hidden (the old inline-toggle animation is gone). */
.al-member__bio { display: none !important; }
/* Direct child (the template's <p>, or a <div>) must allow the row to shrink to 0;
   default min-height:auto would leave a sliver of bio visible when collapsed. */
.al-member__bio > * { min-height: 0; }
.al-member__bio p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--al-ink-2);
  padding-top: 0.9rem;
  border-top: 1px solid var(--al-line);
}
.al-member.is-open .al-member__bio {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.9rem;
}

.al-member__toggle {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-ink);
}
.al-member__toggle:hover { color: var(--al-accent); }
.al-member__toggle .al-member__toggle-icon {
  width: 13px;
  height: 13px;
  position: relative;
}
.al-member__toggle .al-member__toggle-icon::before,
.al-member__toggle .al-member__toggle-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--al-ease), opacity 0.35s var(--al-ease);
}
.al-member__toggle .al-member__toggle-icon::before {
  top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%);
}
.al-member__toggle .al-member__toggle-icon::after {
  left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%);
}
.al-member.is-open .al-member__toggle .al-member__toggle-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

/* Swiper bundle overrides */
.al-team__swiper .swiper-button-prev,
.al-team__swiper .swiper-button-next { display: none; }
.al-team__swiper .swiper-pagination { display: none; }
.swiper-scrollbar { display: none; }

/* ==========================================================================
   12 · VALUES (dark)
   ========================================================================== */
.al-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}
.al-value {
  display: grid;
  gap: 0.9rem;
  padding: clamp(2rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.16);
}
.al-value__no {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--al-accent-2);
}
.al-value__title {
  font-family: var(--al-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--al-ink-invert);
}
.al-value__text {
  color: rgba(244, 241, 234, 0.74);
  font-size: var(--al-fs-body);
  line-height: 1.7;
  max-width: 40ch;
}

/* ==========================================================================
   13 · JOURNAL + .al-post CARD
   ========================================================================== */
.al-journal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}

/* journal section footer link */
.al-journal__foot { margin-top: clamp(2.4rem, 5vw, 4rem); }

/* shared card markup .al-post (journal + archive + search) */
.al-post {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.al-post__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--al-paper-3);
  border: 1px solid var(--al-line);
}
.al-post__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--al-ease), filter 0.6s var(--al-ease);
  filter: saturate(0.92);
}
.al-post:hover .al-post__media img { transform: scale(1.04); filter: saturate(1); }
/* placeholder media */
.al-post__media--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(22,20,15,0.03) 22px 23px),
    var(--al-paper-3);
}
.al-post__media--empty .al-post__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--al-font-display);
  font-size: 2.4rem;
  color: var(--al-line-2);
  z-index: 1;
}

.al-post__body { display: flex; flex-direction: column; gap: 0.7rem; }
.al-post__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7em;
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-post__meta time { color: var(--al-muted); }
.al-post__meta span {
  position: relative;
  padding-left: 0.85em;
  color: var(--al-accent);
}
.al-post__meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: var(--al-line-2);
  border-radius: 50%;
}
.al-post__title {
  font-family: var(--al-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.005em;
}
.al-post__title a { color: var(--al-ink); }
.al-post__title a:hover { color: var(--al-accent); }
.al-post__excerpt {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--al-ink-2);
}
.al-post__more {
  margin-top: 0.2rem;
  font-size: 0.74rem;
}

/* placeholder span used directly inside .al-post__media (no --empty modifier
   on journal/archive/search cards) — fill the box with the editorial hatch */
.al-post__media .al-post__placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(22,20,15,0.03) 22px 23px),
    var(--al-paper-3);
}

/* horizontal row variant (search results) */
.al-post--row { gap: 1.2rem; }
@media (min-width: 640px) {
  .al-post--row {
    display: grid;
    grid-template-columns: clamp(180px, 28%, 280px) 1fr;
    align-items: start;
    gap: clamp(1.4rem, 4vw, 2.6rem);
  }
  .al-post--row .al-post__media { margin: 0; }
}

/* empty state */
.al-empty {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  border: 1px solid var(--al-line);
  background: var(--al-paper-2);
  text-align: center;
  font-family: var(--al-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--al-muted);
}
.al-section--dark .al-empty {
  background: transparent;
  border-color: rgba(244,241,234,0.16);
  color: rgba(244,241,234,0.6);
}

/* ==========================================================================
   14 · PRESS
   ========================================================================== */
.al-press__list {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--al-line);
}
.al-press__item {
  border-bottom: 1px solid var(--al-line);
}
/* the row content is an <a> wrapping date / title / arrow */
.al-press__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: clamp(1.1rem, 2.4vw, 1.6rem) 0.2rem;
  color: var(--al-ink);
  transition: padding-left 0.4s var(--al-ease), color 0.3s var(--al-ease);
}
.al-press__link:hover { padding-left: 0.7rem; }
.al-press__arrow {
  align-self: center;
  color: var(--al-line-2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--al-ease), transform 0.35s var(--al-ease), color 0.3s var(--al-ease);
}
.al-press__link:hover .al-press__arrow {
  opacity: 1;
  transform: none;
  color: var(--al-accent);
}
.al-press__date {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
  min-width: 9ch;
}
.al-press__title {
  font-family: var(--al-font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
}
.al-press__title { color: var(--al-ink); }
.al-press__title a { color: var(--al-ink); }
.al-press__title a:hover { color: var(--al-accent); }
.al-press__link:hover .al-press__title { color: var(--al-accent); }
.al-press__outlet {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-accent);
  white-space: nowrap;
}

/* ==========================================================================
   15 · CONTACT + MAP
   ========================================================================== */
.al-contact__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.al-contact__info {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}
/* coordinates list (<dl>) and its rows */
.al-contact__list {
  display: grid;
  gap: clamp(1.2rem, 2.6vw, 1.7rem);
  margin: 0;
}
.al-contact__row { display: grid; gap: 0.4rem; }
.al-contact__block { display: grid; gap: 0.4rem; }
.al-contact__label {
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-contact__value {
  font-family: var(--al-font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--al-ink);
}
.al-contact__value a { color: var(--al-ink); }
.al-contact__value a:hover { color: var(--al-accent); }
.al-contact__hours {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--al-ink-2);
}

.al-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.al-contact__social a {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
  padding-bottom: 0.15em;
  background-image: linear-gradient(var(--al-accent), var(--al-accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.4s var(--al-ease), color 0.3s var(--al-ease);
}
.al-contact__social a:hover { color: var(--al-ink); background-size: 100% 1px; }

.al-contact__cta { margin-top: 0.4rem; }

/* responsive map */
.al-contact__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--al-paper-3);
  border: 1px solid var(--al-line);
}
/* frame wrapper around the embed: fill the responsive map box */
.al-contact__map-frame {
  position: absolute;
  inset: 0;
}
.al-contact__map iframe,
.al-contact__map embed,
.al-contact__map object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.6s var(--al-ease);
}
.al-contact__map:hover iframe { filter: grayscale(0) contrast(1); }

/* native fallback contact form (when no CF7) + CF7 styling */
.al-contact__form,
.al-form { display: grid; gap: 1rem; }
.al-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-contact__form input,
.al-contact__form textarea,
.al-contact__form select,
.al-form input:not([type="submit"]),
.al-form textarea,
.al-form select,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.85em 1em;
  font-family: var(--al-font-sans);
  font-size: 0.95rem;
  color: var(--al-ink);
  background: var(--al-paper-2);
  border: 1px solid var(--al-line-2);
  border-radius: var(--al-radius);
  transition: border-color 0.3s var(--al-ease), box-shadow 0.3s var(--al-ease);
}
.al-contact__form input:focus,
.al-contact__form textarea:focus,
.al-form input:focus,
.al-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--al-accent);
  box-shadow: 0 0 0 1px var(--al-accent);
}
.al-contact__form textarea,
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input[type="submit"],
.al-form input[type="submit"],
.al-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 0.95em 1.8em;
  font-family: var(--al-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-ink-invert);
  background: var(--al-ink);
  border: 1px solid var(--al-ink);
  cursor: pointer;
  transition: background 0.4s var(--al-ease), letter-spacing 0.4s var(--al-ease);
}
.wpcf7 input[type="submit"]:hover,
.al-form input[type="submit"]:hover,
.al-form button[type="submit"]:hover {
  background: var(--al-accent);
  border-color: var(--al-accent);
  letter-spacing: 0.16em;
}

/* ==========================================================================
   16 · FOOTER (dark)
   ========================================================================== */
.al-footer {
  background: var(--al-dark);
  color: var(--al-ink-invert);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.al-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vw, 3rem);
  align-items: start; /* every column's heading sits on the same top line */
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}
.al-footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.al-footer__brand .al-brand { color: var(--al-ink-invert); }
.al-footer__brand .al-brand:hover { color: var(--al-ink-invert); }
.al-footer__brand .al-brand__name { color: var(--al-ink-invert); }
.al-footer__brand .al-brand__name span { color: rgba(244,241,234,0.5); }
.al-footer__brand .al-brand__mark { color: var(--al-accent-2); }
.al-footer__tag,
.al-footer__line {
  max-width: 34ch;
  color: rgba(244, 241, 234, 0.66);
  font-family: var(--al-font-display);
  font-size: 1.25rem;
  line-height: 1.4;
}

.al-footer__heading {
  /* Block-level flex (not inline-flex) so the heading sits at the exact top of
     its column in BOTH grid columns (contact) and block columns (nav/social) —
     no line-box leading offset — keeping all three headings on one line. */
  display: flex;
  align-items: center;
  font-family: var(--al-font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
  margin-bottom: 1.1rem;
}

.al-footer__nav ul,
.al-footer__nav .al-footer__list {
  display: grid;
  gap: 0.55rem;
}
.al-footer__nav a {
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.al-footer__nav a:hover { color: var(--al-ink-invert); }

.al-footer__contact { display: grid; gap: 0.5rem; }
.al-footer__contact p,
.al-footer__contact a {
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
}
.al-footer__contact a:hover { color: var(--al-ink-invert); }

/* contact <address> block + its lines/links */
.al-footer__address {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}
.al-footer__addr-line,
.al-footer__link {
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
}
.al-footer__address a.al-footer__link:hover { color: var(--al-ink-invert); }

/* heading stacks above a row of icon buttons — matches nav/contact columns */
.al-footer__social { display: block; }
.al-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.al-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.22);
  color: rgba(244, 241, 234, 0.8);
  transition: color 0.3s var(--al-ease), background 0.3s var(--al-ease),
    border-color 0.3s var(--al-ease), transform 0.3s var(--al-ease);
}
.al-footer__social-link svg { width: 18px; height: 18px; display: block; }
.al-footer__social-link:hover {
  color: var(--al-dark);
  background: var(--al-accent-2);
  border-color: var(--al-accent-2);
  transform: translateY(-2px);
}
/* graceful fallback when a platform has no icon — show its label as a chip */
.al-footer__social-link--text {
  width: auto;
  padding: 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.al-footer__social-empty {
  color: rgba(244, 241, 234, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.al-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.5);
}
/* legal/bottom menu slot — inline, muted, hairline separators */
.al-footer__legal { display: inline-flex; }
.al-footer__legal:empty { display: none; }
.al-footer__legal-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}
.al-footer__legal a { color: rgba(244, 241, 234, 0.6); }
.al-footer__legal a:hover { color: var(--al-ink-invert); }

.al-footer__base .al-lang { color: rgba(244, 241, 234, 0.5); }
.al-footer__base .al-lang a,
.al-footer__base .al-lang span { color: rgba(244, 241, 234, 0.5); }
.al-footer__base .al-lang li + li::before { color: rgba(244,241,234,0.25); }
.al-footer__base .al-lang .is-active,
.al-footer__base .al-lang .is-active > a,
.al-footer__base .al-lang a.is-active,
.al-footer__base .al-lang .current-lang > a { color: var(--al-ink-invert); }
.al-footer__base .al-lang a:hover { color: var(--al-accent-2); }

/* Studio credit — a quiet, centred line beneath the base bar. */
.al-footer__credit {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  text-align: center;
}
.al-footer__credit-text {
  font-family: var(--al-font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.4);
}
.al-footer__credit-link {
  color: rgba(244, 241, 234, 0.72);
  transition: color 0.3s var(--al-ease);
}
.al-footer__credit-link:hover { color: var(--al-accent-2); }

/* ==========================================================================
   17 · PAGE / SINGLE / ARCHIVE / 404 / SEARCH / PROSE
   ========================================================================== */

/* Page / archive / single hero band */
.al-pagehead {
  padding-top: calc(var(--al-header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid var(--al-line);
  background: var(--al-paper);
}
.al-pagehead__inner { display: grid; gap: 1.1rem; max-width: 60ch; }
.al-pagehead .al-eyebrow { margin-bottom: 0.2rem; }
.al-pagehead__title {
  font-family: var(--al-font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--al-ink);
}
.al-pagehead__desc {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--al-ink-2);
  max-width: 56ch;
}

/* Generic page body */
.al-page { padding-block: clamp(2.6rem, 6vw, 5rem); }
.al-page__body { max-width: 760px; }

/* Prose — typographic styles for the_content / legacy WPBakery friendly */
.al-prose {
  color: var(--al-ink-2);
  font-size: 1.075rem;
  line-height: 1.75;
}
.al-prose > * + * { margin-top: 1.25em; }
.al-prose h1,
.al-prose h2,
.al-prose h3,
.al-prose h4 {
  font-family: var(--al-font-display);
  font-weight: 500;
  color: var(--al-ink);
  line-height: 1.14;
  letter-spacing: -0.008em;
}
.al-prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 1.8em; }
.al-prose h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.5em; }
.al-prose h4 { font-size: 1.25rem; margin-top: 1.4em; }
.al-prose p { color: var(--al-ink-2); }
.al-prose a {
  color: var(--al-accent);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 0.04em;
  transition: background-size 0.3s var(--al-ease), color 0.3s var(--al-ease);
}
.al-prose a:hover { color: var(--al-accent-2); }
.al-prose strong { color: var(--al-ink); font-weight: 600; }
.al-prose em { font-style: italic; }
.al-prose ul,
.al-prose ol {
  padding-left: 1.4em;
}
.al-prose ul { list-style: none; }
.al-prose ul > li { position: relative; padding-left: 0.4em; margin-top: 0.5em; }
.al-prose ul > li::before {
  content: "";
  position: absolute;
  left: -0.9em;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--al-accent);
}
.al-prose ol { list-style: decimal; }
.al-prose ol > li { margin-top: 0.5em; padding-left: 0.3em; }
.al-prose ol > li::marker { color: var(--al-accent); font-variant-numeric: tabular-nums; }
.al-prose blockquote {
  margin: 1.8em 0;
  padding: 0.4em 0 0.4em 1.6em;
  border-left: 1px solid var(--al-accent);
  font-family: var(--al-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--al-ink);
}
.al-prose blockquote p { color: inherit; }
.al-prose img,
.al-prose figure,
.al-prose iframe,
.al-prose video { margin-block: 1.8em; }
.al-prose figure img { width: 100%; }
.al-prose figcaption {
  margin-top: 0.7em;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--al-muted);
  text-align: center;
}
.al-prose hr {
  border: 0;
  height: 1px;
  background: var(--al-line);
  margin-block: 2.4em;
}
.al-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--al-paper-3);
  padding: 0.15em 0.45em;
  border: 1px solid var(--al-line);
}
.al-prose pre {
  background: var(--al-ink);
  color: var(--al-ink-invert);
  padding: 1.4em;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}
.al-prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.al-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.al-prose th,
.al-prose td {
  text-align: left;
  padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--al-line);
}
.al-prose th {
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-prose .wp-caption { max-width: 100%; }
.al-prose .alignleft { float: left; margin: 0.3em 1.6em 1.2em 0; }
.al-prose .alignright { float: right; margin: 0.3em 0 1.2em 1.6em; }
.al-prose .aligncenter { margin-inline: auto; }

/* Single article */
.al-single { padding-block: clamp(2.6rem, 6vw, 5rem); }
.al-single__inner { max-width: 760px; margin-inline: auto; }
.al-single__head {
  padding-top: calc(var(--al-header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-bottom: 1px solid var(--al-line);
}
.al-single__head .al-single__inner,
.al-single__head .al-single__head-inner { display: grid; gap: 1.2rem; }
.al-single__cat {
  justify-self: center;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--al-accent);
}
.al-single__title {
  font-family: var(--al-font-display);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--al-ink);
}
.al-single__meta {
  font-family: var(--al-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-single__figure,
.al-single__media {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
}
.al-single__figure img,
.al-single__media img,
.al-single__img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}
.al-single__body { padding-top: clamp(2rem, 5vw, 3.2rem); }
.al-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--al-line);
}
.al-single__tags a {
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
  border: 1px solid var(--al-line);
  padding: 0.45em 0.9em;
  transition: border-color 0.3s var(--al-ease), color 0.3s var(--al-ease);
}
.al-single__tags a:hover { color: var(--al-accent); border-color: var(--al-line-2); }

.al-single__nav {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--al-line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.al-single__nav a { display: inline-flex; }
.al-single__back {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* single article footer wrapper (post nav + back link) */
.al-single__foot {
  margin-top: clamp(2.4rem, 6vw, 4rem);
}

/* the_post_navigation default markup hardening */
.post-navigation { margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-top: 1.8rem; border-top: 1px solid var(--al-line); }
.al-single__foot .post-navigation:first-child { margin-top: 0; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: grid;
  gap: 0.45rem;
  font-family: var(--al-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.post-navigation .nav-next { margin-left: auto; text-align: right; }

/* prev/next direction label + title inside the nav links */
.al-postnav__dir {
  font-family: var(--al-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--al-muted);
  transition: color 0.3s var(--al-ease);
}
.al-postnav__title {
  font-family: var(--al-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--al-ink);
  transition: color 0.3s var(--al-ease);
}
.post-navigation a:hover .al-postnav__dir,
.post-navigation a:hover .al-postnav__title { color: var(--al-accent); }
.post-navigation .nav-next a { justify-items: end; }

/* Archive */
.al-archive { padding-block: clamp(2.6rem, 6vw, 5rem); }
.al-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 2.6rem);
}
/* index.php / search rows reuse .al-archive__list */
.al-archive__list {
  display: grid;
  gap: clamp(2rem, 4vw, 2.6rem);
}

/* Pagination (the_posts_pagination) */
.al-pagination,
.navigation.pagination {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--al-line);
}
.navigation.pagination .nav-links,
.al-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.navigation.pagination .page-numbers,
.al-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.6em;
  font-family: var(--al-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--al-ink-2);
  border: 1px solid var(--al-line);
  transition: background 0.3s var(--al-ease), color 0.3s var(--al-ease), border-color 0.3s var(--al-ease);
}
.navigation.pagination .page-numbers:hover,
.al-pagination .page-numbers:hover { border-color: var(--al-line-2); color: var(--al-ink); }
.navigation.pagination .page-numbers.current,
.al-pagination .page-numbers.current {
  background: var(--al-ink);
  color: var(--al-ink-invert);
  border-color: var(--al-ink);
}
.navigation.pagination .page-numbers.dots,
.al-pagination .page-numbers.dots { border-color: transparent; }

/* wp_link_pages — multi-page post/page links */
.al-page__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--al-line);
  font-family: var(--al-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-page__pages a { color: var(--al-ink); }
.al-page__pagelink {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5em;
  border: 1px solid var(--al-line);
  color: inherit;
  transition: background 0.3s var(--al-ease), color 0.3s var(--al-ease), border-color 0.3s var(--al-ease);
}
.al-page__pages a .al-page__pagelink:hover { border-color: var(--al-line-2); color: var(--al-ink); }
.al-page__pages > span .al-page__pagelink,
.al-page__pages > .al-page__pagelink {
  background: var(--al-ink);
  color: var(--al-ink-invert);
  border-color: var(--al-ink);
}

/* Search form */
.al-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  border: 1px solid var(--al-line-2);
  background: var(--al-paper-2);
  transition: border-color 0.3s var(--al-ease), box-shadow 0.3s var(--al-ease);
}
.al-search:focus-within { border-color: var(--al-accent); box-shadow: 0 0 0 1px var(--al-accent); }
/* label is sr-only — collapse it so it doesn't take a flex slot */
.al-search__label { display: contents; }
/* the field wrapper is the actual flex row holding input + submit */
.al-search__field {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}
.al-search__input,
.al-search input[type="search"],
.al-search .search-field {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85em 1.1em;
  font-size: 0.98rem;
  color: var(--al-ink);
  outline: none;
}
.al-search__input::placeholder { color: var(--al-muted); }
.al-search__submit,
.al-search button[type="submit"],
.al-search input[type="submit"] {
  flex: 0 0 auto;
  padding: 0 1.4em;
  font-family: var(--al-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--al-ink-invert);
  background: var(--al-ink);
  border: 0;
  cursor: pointer;
  transition: background 0.3s var(--al-ease);
}
.al-search__submit-label { white-space: nowrap; }
.al-search__submit:hover,
.al-search button[type="submit"]:hover,
.al-search input[type="submit"]:hover { background: var(--al-accent); }

.al-search-summary {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Search results: .al-search-results is .al-section.al-archive (no extra rules
   needed); .al-search__list shares the .al-archive__list grid. */
.al-pagehead__search { margin-top: clamp(1.4rem, 3vw, 2rem); }

/* archive / search head: it carries .al-pagehead but sits inside a section.
   Neutralise the fixed-header top padding so it isn't double-offset, and drop
   the band border (the section already frames it). */
.al-archive__head.al-pagehead {
  padding-top: 0;
  border-bottom: 0;
  background: transparent;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.al-archive__head .al-pagehead__title { margin-top: 0; }

/* 404 — centered editorial: big display numeral, message, recovery links + search */
.al-404 {
  min-height: calc(100svh - var(--al-header-h));
  display: grid;
  align-content: center;
  padding-top: calc(var(--al-header-h) + clamp(2rem, 6vw, 4rem));
}
.al-404__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 60ch;
}
.al-404__num,
.al-404__big {
  font-family: var(--al-font-display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--al-ink);
}
.al-404__num { color: var(--al-line-2); }
.al-404__big em { font-style: normal; color: var(--al-accent); }
.al-404__head {
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.al-404 .al-eyebrow { justify-self: center; }
.al-404__title {
  font-family: var(--al-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--al-ink);
}
.al-404__text,
.al-404__msg {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--al-ink-2);
}
.al-404__actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.al-404__search {
  width: 100%;
  display: flex;
  justify-content: center;
}
.al-404__search .al-search { width: 100%; }

/* Comments (minimal / safe) */
.al-comments { max-width: 760px; margin: clamp(2.4rem,5vw,4rem) auto 0; }
.al-comments__title {
  font-family: var(--al-font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.al-comments__list {
  display: grid;
  gap: 1.6rem;
}
.al-comments__list ol { margin-top: 1.2rem; padding-left: 1.4rem; }
.al-comments__list .comment-body {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--al-line);
}
.al-comments__list .comment-author { font-weight: 600; color: var(--al-ink); }
.al-comments__list .comment-meta,
.al-comments__list .comment-metadata {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--al-muted);
}
.al-comments__closed {
  margin-top: 1.4rem;
  font-family: var(--al-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--al-muted);
}

/* WP alignfull / alignwide safety inside containers */
.al-prose .alignwide { margin-inline: calc(-1 * clamp(0px, 4vw, 60px)); }
.al-prose .alignfull { margin-inline: calc(-1 * var(--al-gutter)); }

/* screen-reader-only utility (in case templates use it) */
.screen-reader-text,
.al-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   18 · RESPONSIVE BREAKPOINTS  (mobile-first; sharpen at 640/900/1024/1320)
   ========================================================================== */

/* ---- ≥ 640px ---- */
@media (min-width: 640px) {
  .al-stats { grid-template-columns: repeat(4, 1fr); }
  .al-journal__grid,
  .al-archive__grid { grid-template-columns: repeat(2, 1fr); }
  .al-practice__list { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4rem); }
  .al-practice__list .al-practice__item:nth-last-child(-n+2) { /* keep bottom borders consistent */ }
  .al-hero__inner { max-width: 22ch; }
  .al-footer__grid { grid-template-columns: 1.4fr 1fr; }
  .al-mobnav__list a { font-size: clamp(2.4rem, 8vw, 3.4rem); }
}

/* ---- ≥ 900px ---- */
@media (min-width: 900px) {
  :root { --al-header-h: 84px; }
  .al-about__cols { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 6rem); }
  .al-contact__cols { grid-template-columns: 0.9fr 1.1fr; }
  .al-footer__grid {
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .al-hero__side { display: flex; }
  .al-hero__scroll { display: inline-flex; }
  .al-team__swiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ≥ 1024px : desktop nav appears, burger hides ---- */
@media (min-width: 1024px) {
  .al-nav { display: block; }
  .al-burger { display: none; }
  .al-mobnav { display: none; }

  .al-journal__grid { grid-template-columns: repeat(3, 1fr); }
  .al-archive__grid { grid-template-columns: repeat(3, 1fr); }
  .al-values__grid {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }
  .al-value {
    align-content: start; /* pack numeral/title/text to the top — no row stretching */
    /* Symmetric horizontal padding so text never touches the gray divider
       rules; :first/:last-child below zero the outer edge to stay flush. */
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.9rem, 3vw, 2.6rem);
    border-bottom: 0;
    border-top: 1px solid rgba(244, 241, 234, 0.16);
    border-right: 1px solid rgba(244, 241, 234, 0.16);
  }
  /* Reserve two title lines so the paragraphs begin at the same height across
     all three columns even when one title wraps — the text never collides with
     the top rule and the columns stay visually even. */
  .al-value__title { min-height: calc(1.12em * 2); }
  .al-value__text { margin: 0; }
  .al-value:first-child { padding-left: 0; }
  .al-value:last-child { border-right: 0; padding-right: 0; }
  .al-team__swiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: repeat(3, 1fr); }
  .al-hero__title { max-width: 14ch; }
}

/* ---- ≥ 1320px : full container, tighten rhythm ---- */
@media (min-width: 1320px) {
  .al-team__swiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: repeat(4, 1fr); }
}

/* Large-screen press two-up grid for density */
@media (min-width: 1024px) {
  .al-press__list { /* keep single column list — editorial — but tighten */ }
}

/* Print-friendly (lightweight) */
@media print {
  .al-header, .al-mobnav, .al-hero__scroll, .al-hero__watermark,
  .al-team__nav, .al-burger, .al-footer__social { display: none !important; }
  body { background: #fff; color: #000; }
  .al-section { padding-block: 1.5rem; }
}

/* ---------------------------------------------------------------------- *
 * 19. Legacy WPBakery (us_*) shortcode compatibility
 * ---------------------------------------------------------------------- */
.al-legacy-img { margin: 1.5rem 0; }
.al-legacy-img.is-center { text-align: center; }
.al-legacy-img.is-right { text-align: right; }
.al-legacy-img__el { height: auto; max-width: 100%; }
.al-legacy-img.has-shadow .al-legacy-img__el { box-shadow: 0 18px 40px -24px rgba(22,20,15,.45); }
.al-prose .al-legacy-img { margin-inline: 0; }
.al-legacy-btn { margin: .5rem 0; }
.al-legacy-sep { display: block; width: 100%; }
.al-legacy-sep--small { height: 1.25rem; }
.al-legacy-sep--medium { height: 2.5rem; }
.al-legacy-sep--large { height: 4rem; }
.al-legacy-sep.has-line { border-top: 1px solid var(--al-line); margin-block: 1.5rem; height: 0; }
.al-legacy-iconbox { margin: 1.5rem 0; }
.al-legacy-iconbox__title { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 .4rem; }

/* ==========================================================================
   20 · BRAND LOGO + CINEMATIC VIDEO HERO + HEADER-OVER-HERO
   ========================================================================== */

/* ---- Real logo (replaces the monogram in the masthead) ---- */
.al-brand__logo {
  height: 40px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--al-ease), height 0.4s var(--al-ease);
}
.al-header.is-scrolled .al-brand__logo { height: 33px; }
@media (max-width: 640px) {
  .al-brand__logo { height: 32px; }
  .al-header.is-scrolled .al-brand__logo { height: 28px; }
}

/* ---- Header transparent + white over the video hero (front page, at top) ---- */
.home .al-header:not(.is-scrolled) .al-brand__logo { filter: brightness(0) invert(1); }
.home .al-header:not(.is-scrolled) .al-nav a { color: rgba(245, 242, 234, 0.82); }
.home .al-header:not(.is-scrolled) .al-nav a:hover,
.home .al-header:not(.is-scrolled) .al-nav a.is-current { color: #fff; }
.home .al-header:not(.is-scrolled) .al-nav a::after { background: var(--al-accent-2); }
.home .al-header:not(.is-scrolled) .al-lang__link,
.home .al-header:not(.is-scrolled) .al-lang__sep,
.home .al-header:not(.is-scrolled) .al-burger { color: rgba(245, 242, 234, 0.82); }
.home .al-header:not(.is-scrolled) .al-lang__link.is-active { color: #fff; }
.home .al-header:not(.is-scrolled) .al-burger__box span { background: currentColor; }

/* ---- The hero (atmospheric WebGL scene) ---- */
.al-hero--scene {
  background: var(--al-dark);
  color: var(--al-ink-invert);
  min-height: 100svh;
}
.al-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

/* CSS gradient base — always visible (and the no-WebGL fallback) */
.al-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 50% at 78% 16%, rgba(178, 138, 78, 0.26), transparent 62%),
    radial-gradient(48% 46% at 12% 82%, rgba(120, 92, 52, 0.18), transparent 60%),
    radial-gradient(120% 100% at 50% 0%, rgba(28, 36, 52, 0.55), transparent 55%),
    linear-gradient(165deg, #0e131d 0%, #0b0f17 52%, #080b11 100%);
}
.al-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  animation: al-hero-fade 1.8s var(--al-ease) 0.25s forwards;
}
@keyframes al-hero-fade { to { opacity: 1; } }
.al-hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(118% 92% at 50% 40%, transparent 50%, rgba(6, 8, 12, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.64) 0%, transparent 22%, transparent 58%, rgba(7, 9, 14, 0.80) 100%);
}
.al-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Hero text → light, gold accent */
.al-hero__inner { max-width: 21ch; }
.al-hero--scene .al-hero__title {
  color: var(--al-ink-invert);
  font-weight: 700;
  letter-spacing: -0.024em;
  text-shadow: 0 1px 50px rgba(6, 8, 14, 0.5);
}
.al-hero--scene .al-hero__accent { color: var(--al-accent-2); }
.al-hero--scene .al-hero__sub { color: rgba(245, 242, 234, 0.84); max-width: 48ch; }
.al-hero--scene .al-eyebrow { color: rgba(245, 242, 234, 0.76); }
.al-hero--scene .al-eyebrow::before { background: var(--al-accent-2); }
.al-hero--scene .al-hero__side,
.al-hero--scene .al-hero__scroll,
.al-hero--scene .al-hero__scroll-label { color: rgba(245, 242, 234, 0.60); }
.al-hero--scene .al-hero__side span + span::before { color: rgba(245, 242, 234, 0.30); }
.al-hero--scene .al-hero__scroll-line { background: rgba(245, 242, 234, 0.22); }
.al-hero--scene .al-hero__link { color: var(--al-ink-invert); }
.al-hero--scene .al-hero__link:hover { color: var(--al-accent-2); }
.al-hero--scene .al-btn--solid { background: var(--al-paper); color: var(--al-ink); }
.al-hero--scene .al-btn--solid:hover { background: var(--al-accent-2); color: var(--al-ink); }

@media (prefers-reduced-motion: reduce) {
  .al-hero__canvas { animation: none; opacity: 1; }
}

/* Footer brand uses the real logo (white on the dark footer) */
.al-footer__brand .al-brand__logo { height: 46px; filter: brightness(0) invert(1); opacity: 0.95; }
.al-mobnav .al-brand__logo { height: 40px; }

/* ---- Hero headline: generous measure + two-part (white line + gold line) ---- */
.al-hero--scene .al-hero__inner { max-width: min(64rem, 92vw); }
.al-hero--scene .al-hero__title {
  max-width: none;
  font-size: clamp(3rem, 7.8vw, 7rem);
  line-height: 1.0;
}
.al-hero__title .al-hero__line,
.al-hero__title .al-hero__accent { display: block; }
.al-hero--scene .al-hero__sub { max-width: 46ch; margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* ==========================================================================
   21 · FILM — full-bleed cinematic MP4 band (autoplay, muted, looped)
   ========================================================================== */
.al-film {
  position: relative;
  min-height: clamp(480px, 90vh, 940px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--al-dark);
  isolation: isolate;
}
.al-film__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.al-film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* poster shown via the video element until frames decode */
.al-film__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 18% 92%, rgba(176, 137, 76, 0.20), transparent 58%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.46) 0%, rgba(9, 12, 18, 0.12) 32%, rgba(9, 12, 18, 0.30) 60%, rgba(8, 10, 15, 0.86) 100%);
}
.al-film__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.al-film__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: flex-end;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.al-film__head { margin: 0; max-width: 28ch; }
.al-film__title {
  color: var(--al-ink-invert);
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-top: 1rem;
}
.al-film .al-eyebrow { color: rgba(245, 242, 234, 0.76); }
.al-film .al-eyebrow::before { background: var(--al-accent-2); }
.al-film .al-chapter { color: var(--al-accent-2); letter-spacing: 0; }

/* Sound toggle — equaliser bars */
.al-film__sound {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: rgba(245, 242, 234, 0.74);
  font-family: var(--al-font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(245, 242, 234, 0.28);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: color 0.3s var(--al-ease), border-color 0.3s var(--al-ease), background 0.3s var(--al-ease);
}
.al-film__sound:hover { color: #fff; border-color: rgba(203, 164, 104, 0.7); background: rgba(176, 137, 76, 0.12); }
.al-film__sound-icon { display: inline-flex; align-items: center; justify-content: center; gap: 2.5px; height: 16px; }
.al-film__sound-icon i {
  display: block;
  width: 2.5px;
  height: 16px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  /* Idle (muted): a gentle, slow wave so the control reads as "sound" and
     invites a click. Switches to a lively equaliser once unmuted. */
  transform: scaleY(0.32);
  animation: al-eq-idle 2.6s ease-in-out infinite;
}
.al-film__sound-icon i:nth-child(2) { animation-delay: 0.32s; }
.al-film__sound-icon i:nth-child(3) { animation-delay: 0.64s; }
.al-film__sound-icon i:nth-child(4) { animation-delay: 0.96s; }
.al-film__sound[aria-pressed="true"] .al-film__sound-icon i { animation: al-eq 0.8s ease-in-out infinite; }
@keyframes al-eq { 0%, 100% { transform: scaleY(0.28); } 50% { transform: scaleY(1); } }
@keyframes al-eq-idle { 0%, 100% { transform: scaleY(0.28); } 50% { transform: scaleY(0.62); } }
@media (prefers-reduced-motion: reduce) {
  .al-film__sound-icon i { animation: none; transform: scaleY(0.55); }
}
@media (max-width: 640px) {
  .al-film__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   21b · ETHOS — WebGL Scales-of-Justice band behind a legal maxim
   ========================================================================== */
.al-ethos {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: min(86vh, 760px);
  padding-block: clamp(5rem, 12vw, 9rem);
  background:
    radial-gradient(120% 90% at 50% 38%, rgba(28, 34, 46, 0.55) 0%, rgba(9, 13, 21, 0) 60%),
    linear-gradient(180deg, #0b0f17 0%, #0e131d 55%, #0b0f17 100%);
  color: var(--al-ink-invert);
}
.al-ethos__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.al-ethos__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(60% 55% at 50% 50%, rgba(9, 13, 21, 0.66) 0%, rgba(9, 13, 21, 0) 72%);
}
.al-ethos__inner {
  position: relative;
  z-index: 2;
  max-width: 60ch;
  text-align: center;
}
.al-ethos__eyebrow { justify-content: center; color: rgba(245, 242, 234, 0.78); }
.al-ethos__eyebrow::before { background: var(--al-accent-2); }
.al-ethos__quote { margin: 1.6rem 0 0; }
.al-ethos__quote p {
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--al-ink-invert);
  text-wrap: balance;
}
.al-ethos__cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--al-font-sans);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--al-accent-2);
}
.al-ethos__lead {
  margin: 1.8rem auto 0;
  max-width: 52ch;
  color: rgba(244, 241, 234, 0.74);
  font-size: var(--al-fs-body);
  line-height: 1.7;
}

/* ==========================================================================
   22 · WP ADMIN BAR — offset the fixed chrome when logged in
   ========================================================================== */
body.admin-bar .al-header { top: 32px; }
body.admin-bar .al-mobnav { top: 32px; }
body.admin-bar .al-skip:focus { top: calc(32px + 0.5rem); }
@media screen and (max-width: 782px) {
  body.admin-bar .al-header { top: 46px; }
  body.admin-bar .al-mobnav { top: 46px; }
  body.admin-bar .al-skip:focus { top: calc(46px + 0.5rem); }
}

/* ==========================================================================
   23 · REACH — world network map (Εμβέλεια)
   ========================================================================== */
.al-reach__lead {
  max-width: 64ch;
  margin-top: clamp(1.2rem, 3vw, 2rem);
  color: rgba(245, 242, 234, 0.82);
}
.al-reach__map {
  margin: clamp(2.5rem, 6vw, 4.5rem) auto clamp(2rem, 5vw, 3.5rem);
  max-width: 1120px;
}
.al-reach__svg { width: 100%; height: auto; display: block; overflow: visible; }

.al-reach__land {
  fill: rgba(176, 137, 76, 0.10);
  stroke: rgba(203, 164, 104, 0.18);
  stroke-width: 0.3;
}
.al-reach__arc {
  stroke: var(--al-accent-2);
  stroke-width: 0.7;
  opacity: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.al-reach__map.is-in .al-reach__arc {
  animation: al-arc-draw 1.5s var(--al-ease) forwards;
  animation-delay: calc(var(--i) * 0.05s);
}
@keyframes al-arc-draw { to { stroke-dashoffset: 0; } }

.al-reach__node {
  fill: var(--al-accent-2);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.al-reach__map.is-in .al-reach__node {
  animation: al-node-in 0.5s var(--al-ease) forwards;
  animation-delay: calc(var(--i) * 0.05s + 0.35s);
}
@keyframes al-node-in { from { opacity: 0; transform: scale(0); } to { opacity: 0.95; transform: scale(1); } }

.al-reach__hub { fill: var(--al-accent); }
.al-reach__hub-ring {
  stroke: var(--al-accent);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: al-hub-pulse 2.8s var(--al-ease) infinite;
}
@keyframes al-hub-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(4);   opacity: 0;   }
}

.al-reach__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.al-reach__col-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--al-ink-invert);
  margin-bottom: 1.1rem;
}
.al-reach__col-intro {
  color: rgba(245, 242, 234, 0.68);
  margin-bottom: 1.3rem;
  max-width: 48ch;
  font-size: 0.98rem;
  line-height: 1.6;
}
.al-reach__cities { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.al-reach__cities li {
  font-family: var(--al-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.82);
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: 100px;
  transition: border-color 0.3s var(--al-ease), color 0.3s var(--al-ease), background 0.3s var(--al-ease);
}
.al-reach__cities li:hover {
  border-color: rgba(203, 164, 104, 0.7);
  color: #fff;
  background: rgba(176, 137, 76, 0.12);
}
@media (max-width: 760px) {
  .al-reach__lists { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .al-reach__arc { stroke-dashoffset: 0; animation: none; }
  .al-reach__node { opacity: 0.95; transform: none; animation: none; }
  .al-reach__hub-ring { animation: none; opacity: 0; }
}


/* ==========================================================================
   24 · TEAM CARD (clickable) + PROFILE MODAL
   ========================================================================== */
.al-member__media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.al-member__plus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 22, 30, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--al-ease), transform 0.35s var(--al-ease), background 0.3s var(--al-ease);
}
.al-member__plus::before,
.al-member__plus::after {
  content: "";
  position: absolute;
  background: var(--al-ink-invert);
}
.al-member__plus::before { width: 14px; height: 1.5px; }
.al-member__plus::after { width: 1.5px; height: 14px; }
.al-member__media:hover .al-member__plus,
.al-member__media:focus-visible .al-member__plus { opacity: 1; transform: none; }
.al-member__media:hover .al-member__plus { background: var(--al-accent); }
.al-member__open {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Profile modal */
.al-mbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 10, 15, 0.9);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.35s var(--al-ease);
}
.al-mbox.is-open { opacity: 1; }
.al-mbox__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  background: var(--al-paper);
  box-shadow: 0 50px 130px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--al-ease);
}
.al-mbox.is-open .al-mbox__panel { transform: none; }
.al-mbox__media { position: relative; overflow: hidden; background: var(--al-paper-3); min-height: 100%; }
.al-mbox__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(0.2) contrast(1.02); }
.al-mbox__body {
  padding: clamp(2rem, 4vw, 3.4rem);
  overflow-y: auto;
}
.al-mbox__name { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.al-mbox__role {
  color: var(--al-accent);
  font-family: var(--al-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.al-mbox__langs {
  font-family: var(--al-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--al-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--al-line);
}
.al-mbox__bio { color: var(--al-ink-2); line-height: 1.85; font-size: 1.02rem; }
.al-mbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--al-ink);
  background: var(--al-paper-2);
  border: 1px solid var(--al-line);
  transition: background 0.3s var(--al-ease), color 0.3s var(--al-ease), border-color 0.3s var(--al-ease);
}
.al-mbox__close:hover { background: var(--al-accent); color: var(--al-paper); border-color: var(--al-accent); }
@media (max-width: 720px) {
  .al-mbox__panel { grid-template-columns: 1fr; max-height: 92vh; }
  .al-mbox__media { max-height: 38vh; }
}
@media (prefers-reduced-motion: reduce) {
  .al-mbox, .al-mbox__panel { transition: none; }
}

/* Contact-form variant — single column, narrower, scrollable body. */
.al-mbox--form .al-mbox__panel {
  grid-template-columns: 1fr;
  width: min(620px, 100%);
}
.al-mbox--form .al-mbox__body {
  padding: clamp(2rem, 4vw, 3.2rem);
  max-height: 90vh;
  overflow-y: auto;
}
.al-cform__head { margin-bottom: 1.6rem; }
.al-cform__eyebrow { color: var(--al-muted); }
.al-cform__title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.7rem 0 0; }
.al-cform__sub { margin: 0.6rem 0 0; color: var(--al-ink-2); line-height: 1.6; font-size: 0.96rem; }
.al-cform { gap: 1.1rem; }
.al-cform__label { color: var(--al-muted); }
.al-cform__label > span { display: block; }
.al-cform__row { display: grid; gap: 1.1rem; }
@media (min-width: 520px) {
  .al-cform__row { grid-template-columns: 1fr 1fr; }
}
/* Honeypot — visually + semantically hidden from real users, reachable to bots. */
.al-cform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.al-cform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 0.4rem;
}
.al-cform__submit { flex: 0 0 auto; }
.al-cform.is-sending .al-cform__submit { opacity: 0.7; cursor: progress; }
.al-cform__status {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--al-ink-2);
}
.al-cform__status.is-error { color: #b4452f; }
.al-cform__status:empty { display: none; }
/* Confirmation state */
.al-cform__done { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.al-cform__done-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  font-size: 1.7rem;
  color: var(--al-paper);
  background: var(--al-accent);
}
.al-cform__done p { margin: 0.6rem 0 1.8rem; color: var(--al-ink-2); line-height: 1.7; }

/* ==========================================================================
   25 · REACH GLOBE (Three.js)
   ========================================================================== */
.al-reach__viz {
  position: relative;
  margin: clamp(2rem, 5vw, 4rem) auto clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 2.55 / 1;
}
.al-reach__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  animation: al-hero-fade 1.4s var(--al-ease) 0.2s forwards;
}
@media (max-width: 600px) { .al-reach__viz { aspect-ratio: 1.7 / 1; } }
.al-reach__hint {
  text-align: center;
  font-family: var(--al-font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.4);
  margin-top: 0.5rem;
}
.al-reach__fallback { position: absolute; inset: 0; display: flex; align-items: center; }
.al-reach__fallback .al-reach__svg { width: 100%; }
/* fallback (no-WebGL) shows arcs/nodes statically */
.al-reach__fallback .al-reach__arc { stroke-dashoffset: 0; }
.al-reach__fallback .al-reach__node { opacity: 0.95; transform: none; }

/* ==========================================================================
   26 · STATEMENT — parallax pull-quote
   ========================================================================== */
.al-statement {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 68vh, 700px);
  display: flex;
  align-items: center;
  background: var(--al-paper-3);
  isolation: isolate;
}
.al-statement__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -25%;
  height: 150%;
  z-index: 0;
  background:
    radial-gradient(50% 60% at 80% 30%, rgba(176, 137, 76, 0.18), transparent 60%),
    radial-gradient(45% 55% at 12% 80%, rgba(176, 137, 76, 0.10), transparent 60%);
  will-change: transform;
}
.al-statement__mark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-12vw, -4vw, 2vw);
  width: min(64vh, 540px);
  height: min(64vh, 540px);
  transform: translateY(-50%);
  color: var(--al-accent);
  opacity: 0.12;
  pointer-events: none;
  will-change: transform;
}
.al-statement__mark svg { width: 100%; height: 100%; display: block; }
.al-statement__inner {
  position: relative;
  z-index: 2;
  max-width: 60rem;
  will-change: transform;
}
.al-statement__quote-mark {
  display: block;
  font-family: var(--al-font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.6;
  color: var(--al-accent);
  margin-bottom: 0.5rem;
}
.al-statement__quote {
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--al-ink);
  text-wrap: balance;
}
.al-statement__by {
  display: inline-block;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  font-family: var(--al-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--al-muted);
}

/* ==========================================================================
   27 · TEAM GRID (replaces carousel) + modal polish
   ========================================================================== */
.al-team__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.6rem) clamp(1.2rem, 2.5vw, 2rem);
}
.al-member { display: flex; flex-direction: column; }
.al-member__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--al-paper-3);
  cursor: pointer;
}
.al-member__media .al-member__photo,
.al-member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.6s var(--al-ease), transform 0.9s var(--al-ease);
}
.al-member__media:hover img,
.al-member__media:focus-visible img { filter: grayscale(0) contrast(1); transform: scale(1.05); }
.al-member__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(18, 22, 30, 0.72) 0%, rgba(18, 22, 30, 0.1) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--al-ease);
}
.al-member__media:hover .al-member__overlay,
.al-member__media:focus-visible .al-member__overlay { opacity: 1; }
.al-member__view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--al-ink-invert);
  font-family: var(--al-font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.al-member__view .al-arrow { transition: transform 0.4s var(--al-ease); }
.al-member__media:hover .al-member__view .al-arrow { transform: translateX(5px); }
.al-member__info { padding-top: 1.1rem; }
.al-member__name {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  margin-bottom: 0.25rem;
  transition: color 0.3s var(--al-ease);
}
.al-member:hover .al-member__name { color: var(--al-accent); }
.al-member__role { color: var(--al-ink-2); font-size: 0.92rem; line-height: 1.45; }
.al-member__langs {
  margin-top: 0.5rem;
  font-family: var(--al-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--al-muted);
}
.al-member__media--empty { display: grid; place-items: center; }
.al-member__initial { font-family: var(--al-font-display); font-size: 3rem; color: var(--al-line-2); }
@media (max-width: 900px) { .al-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .al-team__grid { grid-template-columns: 1fr; } }

/* ---- Modal readability ---- */
.al-mbox { z-index: 9999; }                 /* above the cookie bar */
.al-mbox__panel { grid-template-columns: 0.72fr 1fr; max-height: 86vh; }
.al-mbox__body {
  position: relative;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--al-line-2) transparent;
  padding-bottom: clamp(2.5rem, 4vw, 3.4rem);
}
.al-mbox__body::-webkit-scrollbar { width: 7px; }
.al-mbox__body::-webkit-scrollbar-thumb { background: var(--al-line-2); border-radius: 4px; }
.al-mbox__bio { font-size: 1.04rem; line-height: 1.9; }
/* bottom scroll-fade hint inside the body */
.al-mbox__fade {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  margin-top: -44px;
  background: linear-gradient(transparent, var(--al-paper));
  pointer-events: none;
}
@media (max-width: 720px) {
  .al-mbox__panel { grid-template-columns: 1fr; max-height: 90vh; }
  .al-mbox__media { max-height: 34vh; aspect-ratio: 16/10; }
  .al-mbox__body { max-height: 56vh; }
}

/* ==========================================================================
   28 · PRACTICE / PAGE — dark hero + sidebar
   ========================================================================== */
.al-pagehead--dark {
  position: relative;
  background: var(--al-dark);
  color: var(--al-ink-invert);
  padding-top: calc(var(--al-header-h, 84px) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.al-pagehead--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 70% at 86% 8%, rgba(176, 137, 76, 0.20), transparent 60%),
    radial-gradient(40% 60% at 6% 96%, rgba(176, 137, 76, 0.10), transparent 60%);
  pointer-events: none;
}
.al-pagehead--dark .al-container { position: relative; z-index: 1; }
.al-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--al-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.5);
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.al-crumbs a { color: rgba(245, 242, 234, 0.72); }
.al-crumbs a:hover { color: var(--al-accent-2); }
.al-pagehead--dark .al-eyebrow { color: var(--al-accent-2); }
.al-pagehead--dark .al-eyebrow::before { background: var(--al-accent-2); }
.al-pagehead--dark .al-pagehead__title { color: var(--al-ink-invert); font-size: clamp(2.2rem, 5vw, 4rem); margin-top: 0.8rem; }
.al-pagehead__lead { margin-top: clamp(1.2rem, 2.5vw, 1.8rem); max-width: 60ch; color: rgba(245, 242, 234, 0.8); }

.al-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 340px);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.al-page__aside { position: sticky; top: calc(var(--al-header-h, 84px) + 1.5rem); }
.al-aside__block { border-top: 2px solid var(--al-ink); padding-top: 1.1rem; margin-bottom: 2rem; }
.al-aside__title { font-size: 1.1rem; margin-bottom: 0.9rem; }
.al-aside__list { display: flex; flex-direction: column; }
.al-aside__list li { border-bottom: 1px solid var(--al-line); }
.al-aside__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0;
  color: var(--al-ink-2);
  font-family: var(--al-font-display);
  font-size: 0.92rem;
  transition: color 0.3s var(--al-ease), padding-left 0.3s var(--al-ease);
}
.al-aside__list a .al-arrow { opacity: 0; transform: translateX(-5px); color: var(--al-accent); transition: 0.3s var(--al-ease); }
.al-aside__list a:hover { color: var(--al-accent); padding-left: 0.4rem; }
.al-aside__list a:hover .al-arrow { opacity: 1; transform: none; }
.al-aside__cta { background: var(--al-paper-3); padding: clamp(1.4rem, 2.5vw, 2rem); }
.al-aside__cta-text { font-family: var(--al-font-display); font-size: 1.05rem; line-height: 1.4; margin-bottom: 1.2rem; }
@media (max-width: 900px) {
  .al-page__grid { grid-template-columns: 1fr; }
  .al-page__aside { position: static; margin-top: 2.5rem; }
}

/* dark-hero pages → white masthead (mirror of the home hero treatment) */
.al-dark-top .al-header:not(.is-scrolled) .al-brand__logo { filter: brightness(0) invert(1); }
.al-dark-top .al-header:not(.is-scrolled) .al-nav a { color: rgba(245, 242, 234, 0.82); }
.al-dark-top .al-header:not(.is-scrolled) .al-nav a:hover,
.al-dark-top .al-header:not(.is-scrolled) .al-nav a.is-current { color: #fff; }
.al-dark-top .al-header:not(.is-scrolled) .al-nav a::after { background: var(--al-accent-2); }
.al-dark-top .al-header:not(.is-scrolled) .al-lang__link,
.al-dark-top .al-header:not(.is-scrolled) .al-lang__sep,
.al-dark-top .al-header:not(.is-scrolled) .al-burger { color: rgba(245, 242, 234, 0.82); }
.al-dark-top .al-header:not(.is-scrolled) .al-lang__link.is-active { color: #fff; }
.al-dark-top .al-header:not(.is-scrolled) .al-burger__box span { background: currentColor; }

/* ==========================================================================
   29 · PROFILE MODAL — large centred
   ========================================================================== */
.al-mbox { display: grid; place-items: center; }
.al-mbox__panel {
  position: relative;
  top: auto; right: auto; bottom: auto;
  width: min(1080px, 94vw);
  height: min(86vh, 760px);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
  background: var(--al-paper);
  box-shadow: 0 50px 130px -40px rgba(0, 0, 0, 0.7);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.45s var(--al-ease);
}
.al-mbox.is-open .al-mbox__panel { transform: none; }
.al-mbox__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--al-paper-3);
}
.al-mbox__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 16%;
  filter: grayscale(0.12) contrast(1.02);
}
.al-mbox__body {
  position: relative;
  overflow-y: auto;
  max-height: none;
  padding: clamp(2.2rem, 4vw, 3.6rem);
  scrollbar-width: thin;
  scrollbar-color: var(--al-line-2) transparent;
}
.al-mbox__body::-webkit-scrollbar { width: 7px; }
.al-mbox__body::-webkit-scrollbar-thumb { background: var(--al-line-2); border-radius: 4px; }
.al-mbox__name { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.al-mbox__bio { font-size: 1.05rem; line-height: 1.9; }
.al-mbox__close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 5;
  width: 46px; height: 46px;
}
.al-mbox__fade { display: none; }
@media (max-width: 760px) {
  .al-mbox__panel { grid-template-columns: 1fr; height: auto; max-height: 90vh; overflow-y: auto; }
  .al-mbox__media { height: 40vh; min-height: 240px; }
  .al-mbox__body { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .al-mbox__panel { transition: none; } }

/* ==========================================================================
   30 · PRACTICE PAGE FIX — grid needs full width (not the 760px readable column)
   ========================================================================== */
.al-page--practice .al-page__body { max-width: none; }
/* keep the prose readable inside the wide grid column */
.al-page--practice .al-prose { max-width: 72ch; }

/* ==========================================================================
   31 · RESPONSIVE SAFETY — no horizontal overflow on narrow screens
   ========================================================================== */
.al-404__inner { max-width: min(60ch, 100%); }
.al-search input,
.al-search__input,
.al-search__field input { min-width: 0; }
.al-404__search, .al-404__search .al-search { max-width: 100%; min-width: 0; }

/* ==========================================================================
   32 · PRACTICE PAGE HEADER FIX — dark hero flush to top (behind fixed header)
   ========================================================================== */
.al-page--practice { padding-top: 0; }

/* gap between the dark hero and the content body on practice pages */
.al-page--practice .al-page__body { padding-top: clamp(2.6rem, 5vw, 4rem); }
