/* ══════════════════════════════════════════════════════
   Daniel Bushari Law Office — White Editorial v3
   ══════════════════════════════════════════════════════ */

:root {
  --black:        #0A0A0A;
  --black-soft:   #141414;
  --paper:        #FFFFFF;
  --paper-warm:   #FAFAF7;
  --paper-mute:   #F2F0EA;
  --yellow:       #E5FF3D;
  --yellow-deep:  #C8E000;
  --grey:         #5C5C5C;
  --grey-soft:    #8E8E8E;
  --line:         rgba(10, 10, 10, 0.10);
  --line-strong:  rgba(10, 10, 10, 0.22);
  --navy:         #0F1B3D;

  --font-serif: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-sans:  'Heebo', -apple-system, system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --container: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-slow: cubic-bezier(0.16, 1, 0.3, 1);

  --a11y-font-scale: 1;
  --a11y-zoom: 1;

  --hero-margin: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
  font-size: calc(16px * var(--a11y-font-scale));
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  zoom: var(--a11y-zoom);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-out); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; font-family: var(--font-serif); }

::selection { background: var(--yellow); color: var(--black); }

.dot-y { color: var(--yellow); display: inline-block; }
.dot-w { color: var(--paper); display: inline-block; opacity: 0.5; }

/* ══════════════════════════════════════════════════════
   Display typography — with size variants
   ══════════════════════════════════════════════════════ */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 8.4vw, 138px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--black);
}
.display em { font-style: italic; font-weight: 400; }

/* Section size variants — applied via data-size on section element */
[data-size="large"] .display, [data-size="large"] .hero__tagline, [data-size="large"] .process__heading {
  font-size: clamp(64px, 11vw, 200px);
}
[data-size="small"] .display, [data-size="small"] .hero__tagline, [data-size="small"] .process__heading {
  font-size: clamp(32px, 5vw, 72px);
}
[data-size="hidden"] .display, [data-size="hidden"] .hero__tagline, [data-size="hidden"] .process__heading,
[data-size="hidden"] .hero__name, [data-size="hidden"] .kicker {
  display: none !important;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  margin-block-end: 28px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--black); }
.kicker--light { color: var(--paper); }
.kicker--light::before { background: var(--paper); }

/* ══════════════════════════════════════════════════════
   Floating action (WhatsApp)
   ══════════════════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  inset-inline-end: 24px;
  inset-block-end: 24px;
  z-index: 90;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transition: transform 0.4s var(--ease-out);
}
.float-btn:hover { transform: scale(1.08); }

/* ══════════════════════════════════════════════════════
   Accessibility widget
   ══════════════════════════════════════════════════════ */
.a11y-toggle {
  position: fixed;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1853A8;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out);
  z-index: 91;
  cursor: pointer;
}
.a11y-toggle:hover { transform: scale(1.08); background: #1063D8; }
.a11y-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.a11y-panel {
  position: fixed;
  inset-block: 0;
  inset-inline-start: -380px;
  width: 360px; max-width: 90vw;
  background: var(--paper);
  box-shadow: 8px 0 40px rgba(0,0,0,0.18);
  z-index: 95;
  transition: inset-inline-start 0.4s var(--ease-out);
  display: flex; flex-direction: column;
}
.a11y-panel.is-open { inset-inline-start: 0; }
.a11y-panel__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-block-end: 0.5px solid var(--line);
  background: #1853A8; color: white;
}
.a11y-panel__head h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }
.a11y-close {
  font-size: 32px; line-height: 1; color: white;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease-out);
}
.a11y-close:hover { background: rgba(255,255,255,0.16); }

.a11y-panel__body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.a11y-section { padding-block-end: 18px; margin-block-end: 18px; border-block-end: 0.5px solid var(--line); }
.a11y-section:last-child { border-block-end: none; }
.a11y-section h3 { font-family: var(--font-serif); font-weight: 500; font-size: 15px; letter-spacing: 0.04em; margin-block-end: 12px; color: var(--black); }
.a11y-row { display: flex; gap: 8px; align-items: center; margin-block-end: 8px; }
.a11y-row__label { flex: 1; text-align: center; font-size: 13px; color: var(--grey); }
.a11y-row button, .a11y-toggle-btn {
  font: inherit; font-size: 14px; padding: 10px 14px;
  background: var(--paper-warm); border: 1px solid var(--line);
  color: var(--black); cursor: pointer; flex: 1; text-align: center;
  transition: all 0.2s var(--ease-out); font-weight: 500;
}
.a11y-row button:hover, .a11y-toggle-btn:hover {
  border-color: var(--black); background: var(--paper);
}
.a11y-toggle-btn {
  width: 100%; margin-block-end: 8px; text-align: start;
  position: relative; padding-inline-start: 38px;
}
.a11y-toggle-btn::before {
  content: ''; position: absolute;
  inset-inline-start: 12px; inset-block-start: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-strong); border-radius: 3px;
  transition: all 0.2s var(--ease-out);
}
.a11y-toggle-btn.is-on::before { background: var(--yellow); border-color: var(--yellow-deep); }
.a11y-toggle-btn.is-on::after {
  content: ''; position: absolute;
  inset-inline-start: 16px; inset-block-start: 50%;
  transform: translateY(-65%) rotate(45deg);
  width: 6px; height: 10px;
  border-inline-end: 2px solid var(--black);
  border-block-end: 2px solid var(--black);
}
.a11y-reset-all {
  width: 100%; padding: 12px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--black); font-size: 13px; font-weight: 500;
  transition: all 0.2s var(--ease-out);
}
.a11y-reset-all:hover { border-color: var(--black); background: var(--paper-warm); }
.a11y-help { font-size: 12px; color: var(--grey); text-align: center; margin-block-start: 8px; }
.a11y-help a { color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px; }

/* Accessibility classes (applied to <html>) */
html.a11y-high-contrast {
  --paper: #FFFFFF; --paper-warm: #FFFFFF; --paper-mute: #FFFFFF;
  --black: #000000; --grey: #000000; --grey-soft: #222222;
  --yellow: #FFEA00; --line: #000000; --line-strong: #000000;
}
html.a11y-high-contrast body { background: #FFFFFF; color: #000000; }
html.a11y-high-contrast a { color: #0000EE; text-decoration: underline; }

html.a11y-grayscale, html.a11y-grayscale body, html.a11y-grayscale * {
  filter: grayscale(100%) !important;
}

html.a11y-dark {
  --paper: #0A0A0A; --paper-warm: #141414; --paper-mute: #1F1F1F;
  --black: #FAFAF7; --grey: #C8C8C8; --grey-soft: #888888;
  --line: rgba(255, 255, 255, 0.18); --line-strong: rgba(255, 255, 255, 0.32);
  --navy: #1A2A4D;
}
html.a11y-dark body { background: #0A0A0A; color: #FAFAF7; }
html.a11y-dark .display, html.a11y-dark h1, html.a11y-dark h2, html.a11y-dark h3 { color: #FAFAF7; }

html.a11y-link-highlight a {
  background: #FFEA00 !important; color: #000000 !important;
  padding: 1px 4px; text-decoration: underline !important;
}

html.a11y-focus *:focus, html.a11y-focus *:focus-visible {
  outline: 4px solid #FFEA00 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(255, 234, 0, 0.4) !important;
}

html.a11y-letter-spacing body, html.a11y-letter-spacing p,
html.a11y-letter-spacing span, html.a11y-letter-spacing h1,
html.a11y-letter-spacing h2, html.a11y-letter-spacing h3,
html.a11y-letter-spacing li, html.a11y-letter-spacing a {
  letter-spacing: 0.12em !important; word-spacing: 0.16em !important; line-height: 1.9 !important;
}

html.a11y-big-cursor, html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M5 3 L5 32 L13 25 L17 35 L22 33 L18 23 L29 23 Z' fill='black' stroke='white' stroke-width='2'/></svg>") 4 4, auto !important;
}
html.a11y-big-cursor a, html.a11y-big-cursor button {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='14' fill='%23FFEA00' stroke='black' stroke-width='2'/></svg>") 20 20, pointer !important;
}

html.a11y-show-structure h1, html.a11y-show-structure h2, html.a11y-show-structure h3 {
  outline: 2px dashed #1853A8 !important;
  outline-offset: 4px !important;
  background: rgba(24, 83, 168, 0.06) !important;
}
html.a11y-show-structure h1::before { content: 'H1'; display: inline-block; background: #1853A8; color: white; font-size: 11px; padding: 2px 6px; margin-inline-end: 8px; border-radius: 3px; font-family: monospace; }
html.a11y-show-structure h2::before { content: 'H2'; display: inline-block; background: #1853A8; color: white; font-size: 11px; padding: 2px 6px; margin-inline-end: 8px; border-radius: 3px; font-family: monospace; }
html.a11y-show-structure h3::before { content: 'H3'; display: inline-block; background: #1853A8; color: white; font-size: 11px; padding: 2px 6px; margin-inline-end: 8px; border-radius: 3px; font-family: monospace; }

html.a11y-no-alt img:not([alt]), html.a11y-no-alt img[alt=""] {
  outline: 4px solid #C8021A !important; outline-offset: -4px;
}

/* ══════════════════════════════════════════════════════
   Navigation — always white, smart sticky
   ══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 80;
  padding: 18px 0;
  background: #FFFFFF;
  color: var(--black);
  transition: transform 0.4s var(--ease-out);
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; justify-content: center; }
.nav__logo {
  width: 220px; height: 84px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out);
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav__links--right { justify-content: flex-start; }
.nav__links--left { justify-content: flex-end; }
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { font-weight: 500; }

.nav__menu-btn {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 7px;
  grid-column: 3; justify-self: end;
}
.nav__menu-btn span {
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: all 0.4s var(--ease-out);
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  background: var(--paper);
  border-block-end: 0.5px solid var(--line);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
  font-family: var(--font-serif);
  font-size: 22px;
}
.nav__mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

@media (max-width: 940px) {
  .nav__links--right, .nav__links--left { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__logo { width: 150px; height: 56px; }
}
@media (max-width: 720px) {
  .a11y-toggle { width: 48px; height: 48px; inset-inline-start: 14px; inset-block-end: 14px; }
  .float-btn { width: 48px; height: 48px; }
  .floating-actions { inset-inline-end: 14px; inset-block-end: 14px; }
  :root { --hero-margin: 12px; }
}

/* ══════════════════════════════════════════════════════
   HERO — white margins around video
   ══════════════════════════════════════════════════════ */
.hero {
  background: var(--paper);
  padding: calc(96px + var(--hero-margin)) var(--hero-margin) var(--hero-margin);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero__frame {
  position: relative;
  flex: 1;
  min-height: 80vh;
  overflow: hidden;
  background: var(--black);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--black); }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--black);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(229,255,61,0.04), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 32px;
  color: var(--paper);
}
.hero__title { display: flex; flex-direction: column; gap: 12px; }
.hero__name {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.86;
  margin-block-end: 28px;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__tagline em {
  font-style: normal;
  font-weight: 300;
  display: block;
  margin-block-start: 6px;
  opacity: 0.94;
}
@media (max-width: 720px) {
  .hero__tagline em { display: inline; }
}
.hero__scroll {
  position: absolute;
  inset-block-end: 24px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.7);
  z-index: 3;
  transition: color 0.3s var(--ease-out);
}
.hero__scroll:hover { color: var(--yellow); }
.hero__scroll svg { animation: scroll-bob 2s var(--ease-out) infinite; }
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ══════════════════════════════════════════════════════
   PAGE HERO (secondary pages, e.g. about)
   ══════════════════════════════════════════════════════ */
.page-hero {
  padding: 200px 32px 80px;
  text-align: center;
  background: var(--paper);
}
.page-hero__title { display: inline-block; letter-spacing: -0.03em; }

/* About page hero with video bg */
.page-hero--video {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  padding: 200px 32px 100px;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.page-hero--video .page-hero__content { position: relative; z-index: 2; }
.page-hero--video .page-hero__title { color: var(--paper); }

/* ══════════════════════════════════════════════════════
   INTRO — two equal panels (portrait + signature box)
   ══════════════════════════════════════════════════════ */
.intro {
  background: var(--paper);
  padding-block: clamp(48px, 7vw, 100px) clamp(56px, 8vw, 110px);
  position: relative;
}
.intro__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: clamp(420px, 60vh, 680px);
}
@media (max-width: 940px) {
  .intro__inner { grid-template-columns: 1fr; min-height: 0; }
}

/* Portrait — narrower (3:4 in source image) */
.intro__portrait {
  position: relative;
  background: var(--black);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  height: auto;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 940px) {
  .intro__portrait { aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
}
.intro__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.05);
  transition: transform 1.2s var(--ease-out);
}
.intro__portrait:hover .intro__photo { transform: scale(1.04); }
.intro__portrait-tag {
  position: absolute;
  inset-block-end: 28px;
  inset-inline-start: 32px;
  font-family: 'Karantina', 'Suez One', serif;
  font-size: 34px;
  color: var(--paper);
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
  pointer-events: none;
  letter-spacing: 0.005em;
  line-height: 1;
  transform: rotate(-4deg);
  transform-origin: bottom right;
  padding-block-end: 14px;
}
.intro__portrait-tag::after {
  content: '';
  position: absolute;
  inset-inline-start: -6px;
  inset-inline-end: -10px;
  inset-block-end: 0;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 12' preserveAspectRatio='none'><path d='M4,7 Q70,11 130,5 Q190,1 256,8' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.85;
}

/* White panel — single image, no border (blends with page) */
.intro__panel {
  position: relative;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  min-height: clamp(360px, 50vh, 580px);
}
.intro__panel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 940px) {
  .intro__panel { aspect-ratio: 4 / 3; min-height: 0; }
}
.intro__panel-inner {
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.intro__panel-top {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.01em;
}
.intro__panel-bottom {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1;
  color: var(--black);
}
.intro__panel-sig {
  width: min(100%, clamp(280px, 42vw, 520px));
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
@media (max-width: 940px) {
  .intro__panel-sig {
    width: min(100%, clamp(220px, 60vw, 380px));
  }
}

/* ══════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════ */
.services {
  background: var(--paper);
  color: var(--black);
  padding-block: clamp(56px, 8vw, 120px);
}
.services__head {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 32px;
}
.services__head .display em { color: var(--black); font-style: italic; }
.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 940px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; gap: 8px; }
}

/* New 8-tile design — image bg, text overlay, hover hides text */
.service-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0A0A0A;
  display: block;
  isolation: isolate;
}
.service-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
  transition: filter 0.6s var(--ease-out), transform 1.2s var(--ease-out);
}
.service-tile:hover img,
.service-tile:focus-visible img {
  filter: brightness(1) saturate(1);
  transform: scale(1.06);
}
.service-tile__title {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  padding: 24px;
  transition: opacity 0.5s var(--ease-out);
  z-index: 2;
}
.service-tile:hover .service-tile__title,
.service-tile:focus-visible .service-tile__title {
  opacity: 0;
}

/* ══════════════════════════════════════════════════════
   PROCESS — video bg
   ══════════════════════════════════════════════════════ */
.process {
  position: relative;
  background: var(--black);
  color: var(--paper);
  padding-block: clamp(56px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.process__media { position: absolute; inset: 0; z-index: 0; background: var(--black); }
.process__video, .process__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.process__poster { z-index: 0; opacity: 1; }
.process__video { z-index: 1; opacity: 0.6; }
.process__video:not([src]), .process__video[src=""] { display: none; }
.process__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.process__content { position: relative; z-index: 3; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.process__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 110px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: rgba(250,250,247,0.4);
  max-width: 1100px;
}
.process__heading [data-process-word] {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.2em);
  transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.process__heading [data-process-word].is-in {
  opacity: 1; filter: blur(0); transform: translateY(0);
}
.process__heading [data-color="y"].is-in { color: var(--yellow); }
.process__heading [data-color="w"].is-in { color: var(--paper); }
.process__heading [data-process-word].is-in:not([data-color]) { color: var(--paper); }

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about {
  background: var(--paper);
  padding-block: clamp(64px, 9vw, 130px);
}
.about__inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.about__head { margin-block-end: 80px; text-align: center; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 940px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}
.about__side { position: sticky; inset-block-start: 130px; }
@media (max-width: 940px) { .about__side { position: static; } }

.about__quote {
  background: var(--navy);
  color: var(--paper);
  padding: 36px 32px 30px;
  position: relative;
  margin-block-end: 28px;
}
.about__quote-mark {
  position: absolute;
  inset-block-start: 8px; inset-inline-start: 18px;
  font-family: var(--font-serif);
  font-size: 64px; line-height: 1;
  color: var(--yellow); opacity: 0.7;
}
.about__quote-mark--end {
  inset-block-start: auto; inset-block-end: -22px;
  inset-inline-start: auto; inset-inline-end: 18px;
}
.about__quote-latin {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px; line-height: 1.3;
  margin: 18px 0 14px;
  letter-spacing: -0.005em;
}
.about__quote-trans {
  font-size: 14px;
  color: rgba(250,250,247,0.78);
  letter-spacing: 0.02em;
  margin-block-end: 12px;
}
.about__quote-ref {
  font-size: 12px;
  color: rgba(250,250,247,0.55);
  letter-spacing: 0.06em;
}

.about__portrait {
  margin-block: 28px;
  aspect-ratio: 4 / 5;
  background: var(--black);
  overflow: hidden;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.about__creds { list-style: none; display: flex; flex-direction: column; }
.about__creds li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding-block: 14px;
  border-block-end: 0.5px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}
.about__creds li:first-child { border-block-start: 0.5px solid var(--line); }
.about__creds li > span:first-child {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
}
.about__creds li > span:last-child { color: var(--grey); letter-spacing: 0.01em; }

.about__body {
  display: flex; flex-direction: column; gap: 22px;
  font-size: 18px; line-height: 1.85;
  color: #2a2a2a; font-weight: 300;
}
.about__body em { font-style: italic; font-weight: 400; }
.about__signoff {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  margin-block-start: 8px;
}
.about__cta {
  display: inline-flex;
  align-items: center; gap: 8px;
  margin-block-start: 24px;
  padding: 14px 24px;
  background: var(--black);
  color: var(--paper);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: all 0.3s var(--ease-out);
}
.about__cta:hover { background: var(--yellow); color: var(--black); }

/* ══════════════════════════════════════════════════════
   PROCESS FAQ
   ══════════════════════════════════════════════════════ */
.pfaq { background: var(--paper); padding-block: clamp(60px, 9vw, 120px); }
.pfaq__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.pfaq__head { margin-block-end: 80px; text-align: center; }
.pfaq__list { display: flex; flex-direction: column; }
.pfaq__item {
  border-block-start: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease-out);
}
.pfaq__item:last-child { border-block-end: 1px solid var(--line-strong); }
.pfaq__item summary {
  list-style: none; cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 32px;
}
.pfaq__item summary::-webkit-details-marker { display: none; }
.pfaq__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--yellow-deep);
  letter-spacing: 0.06em;
  min-width: 40px;
}
.pfaq__q {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.3;
}
.pfaq__item[open] { background: rgba(229, 255, 61, 0.06); }
.pfaq__a {
  font-size: 17px; line-height: 1.85;
  color: var(--grey);
  padding: 0 60px 32px;
  max-width: 76ch;
  font-weight: 300;
  animation: faq-open 0.5s var(--ease-out);
}

/* ══════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════ */
.faq { background: var(--paper); padding-block: clamp(56px, 8vw, 110px); }
.faq__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.faq__head { margin-block-end: 80px; text-align: center; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-block-start: 1px solid var(--line-strong); }
.faq__item:last-child { border-block-end: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding-block: 32px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.3;
  transition: color 0.3s var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--grey); }
.faq__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px; background: var(--black);
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item[open] .faq__icon::before { background: var(--yellow); }
.faq__a {
  font-size: 17px; line-height: 1.85;
  color: var(--grey);
  padding-block-end: 36px;
  padding-inline-end: 50px;
  max-width: 70ch;
  font-weight: 300;
  animation: faq-open 0.5s var(--ease-out);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   CONTACT + CALENDLY
   ══════════════════════════════════════════════════════ */
.contact { background: var(--paper); padding-block: clamp(64px, 9vw, 130px); }
.contact__inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.contact__head { margin-block-end: 80px; text-align: center; max-width: 720px; margin-inline: auto; }
.contact__lead { margin-block-start: 24px; font-size: 17px; color: var(--grey); line-height: 1.75; font-weight: 300; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 940px) { .contact__grid { grid-template-columns: 1fr; gap: 56px; } }

.contact__form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.field > span em { color: var(--yellow-deep); font-style: normal; font-family: var(--font-sans); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 16px 18px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 400;
  transition: all 0.3s var(--ease-out);
  width: 100%;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--black); background: var(--paper);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230A0A0A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: left 18px center;
  background-size: 12px;
  padding-inline-start: 48px;
}

.field-consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.7;
  color: var(--grey);
  cursor: pointer;
  margin-block: 6px;
}
.field-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper-warm);
  flex-shrink: 0; margin-block-start: 1px;
  position: relative;
  transition: all 0.2s var(--ease-out);
}
.field-consent input[type="checkbox"]:checked {
  background: var(--yellow); border-color: var(--yellow-deep);
}
.field-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  inset-inline-start: 5px; inset-block-start: 1px;
  width: 6px; height: 12px;
  border-inline-end: 2px solid var(--black);
  border-block-end: 2px solid var(--black);
  transform: rotate(45deg);
}
.field-consent a { color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px; }

.btn-yellow {
  margin-block-start: 12px;
  padding: 20px 40px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    letter-spacing 0.45s var(--ease-out),
    color 0.35s var(--ease-out);
}
.btn-yellow::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: var(--black);
  transform: translate3d(-115%, 0, 0) skewX(-14deg);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.25, 1);
  z-index: -1;
}
.btn-yellow::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width 0.5s var(--ease-out) 0.15s;
  z-index: 1;
}
.btn-yellow > * { position: relative; z-index: 2; }
.btn-yellow:hover {
  color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(10, 10, 10, 0.24);
  letter-spacing: 0.16em;
}
.btn-yellow:hover::before { transform: translate3d(0, 0, 0) skewX(-14deg); }
.btn-yellow:hover::after  { width: 100%; }
.btn-yellow:active { transform: translateY(-1px); }

.contact__disclaim { font-size: 12px; color: var(--grey); text-align: center; margin-block-start: 8px; }
.form-success {
  background: var(--black); color: var(--paper);
  padding: 18px 22px; font-size: 15px;
  text-align: center; margin-block-start: 12px;
}

.contact__cal { display: flex; flex-direction: column; gap: 22px; }
.contact__cal-head .kicker { margin-block-end: 16px; }
.contact__cal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.contact__cal-title em { font-style: italic; }
.calendly-wrap {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 680px;
}
.calendly-wrap iframe { width: 100%; min-height: 680px; border: 0; }
.contact__cal-fallback { font-size: 13px; color: var(--grey); text-align: center; }
.contact__cal-fallback a {
  color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px;
}

/* ══════════════════════════════════════════════════════
   PAGE HERO SUB (text + lead, no video bg)
   ══════════════════════════════════════════════════════ */
.page-hero__sub {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════
   ARTICLES PAGE
   ══════════════════════════════════════════════════════ */
.articles { padding-block: clamp(48px, 8vw, 100px); background: var(--paper); }
.articles__inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.articles__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .articles__list { grid-template-columns: 1fr; } }

.article-card {
  background: var(--paper-warm);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 10, 10, 0.08);
}
.article-card__link { display: block; height: 100%; }
.article-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black-soft);
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body {
  padding: 28px 32px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.article-card__date {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-soft);
}
.article-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--black);
}
.article-card__excerpt {
  font-size: 15px; line-height: 1.7;
  color: var(--grey);
  font-weight: 300;
}
.article-card__cta {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  border-block-end: 1px solid var(--yellow);
  padding-block-end: 2px;
  display: inline-block;
  margin-block-start: 4px;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS PAGE
   ══════════════════════════════════════════════════════ */
.testimonials { padding-block: clamp(48px, 8vw, 100px); background: var(--paper); }
.testimonials__inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 940px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials__grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--paper-warm);
  padding: 36px 32px;
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
}
.testimonial-card::before {
  content: '״';
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 22px;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.85;
}
.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--black);
  font-weight: 400;
}
.testimonial-card__cite {
  display: flex; flex-direction: column;
  gap: 2px;
  padding-block-start: 16px;
  border-block-start: 0.5px solid var(--line);
}
.testimonial-card__name {
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
}
.testimonial-card__role {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════
   PRACTICE PAGE (per service)
   ══════════════════════════════════════════════════════ */
.page-hero--practice {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  min-height: 50vh;
  padding: 200px 32px 80px;
  isolation: isolate;
}
.page-hero--practice .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--practice .page-hero__image { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; filter: brightness(0.6); }
.page-hero--practice .page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75)); }
.page-hero--practice .page-hero__content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.page-hero--practice .page-hero__title { color: var(--paper); }
.page-hero--practice .page-hero__sub { color: rgba(250,250,247,0.85); }

.practice { padding-block: clamp(56px, 9vw, 120px); background: var(--paper); }
.practice__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 940px) { .practice__inner { grid-template-columns: 1fr; gap: 32px; } }

.practice__body {
  font-size: 17px;
  line-height: 1.85;
  color: #2a2a2a;
  font-weight: 300;
}
.practice__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  margin-block: 28px 12px;
  color: var(--black);
}
.practice__body h2:first-child { margin-block-start: 0; }
.practice__body p { margin-block-end: 14px; }
.practice__body ul, .practice__body ol { margin-inline-start: 24px; margin-block-end: 14px; }
.practice__body li { margin-block-end: 6px; }
.practice__body a { color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px; }

.practice__cta {
  background: var(--paper-warm);
  padding: 32px 28px;
  position: sticky;
  inset-block-start: 110px;
}
@media (max-width: 940px) { .practice__cta { position: static; } }
.practice__cta-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  margin-block-end: 8px;
  line-height: 1.2;
}
.practice__cta p { font-size: 14px; color: var(--grey); line-height: 1.7; margin-block-end: 18px; }
.practice__cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: var(--black); color: var(--paper);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
}
.practice__cta-link:hover { background: var(--yellow); color: var(--black); }

/* ══════════════════════════════════════════════════════
   ARTICLE PAGE (single article view)
   ══════════════════════════════════════════════════════ */
.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  min-height: 56vh;
  padding: 200px 32px 80px;
  isolation: isolate;
}
.article-hero__media { position: absolute; inset: 0; z-index: 0; }
.article-hero__image { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: brightness(0.55); }
.article-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.78));
}
.article-hero__content {
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.article-hero__title {
  color: var(--paper);
  font-size: clamp(36px, 5.5vw, 80px);
  margin-block: 16px 18px;
  line-height: 1.1;
}
.article-hero__excerpt {
  font-size: 18px;
  color: rgba(250,250,247,0.85);
  line-height: 1.6;
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 28px;
}
.article-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.72);
}

.article-body {
  background: var(--paper);
  padding-block: clamp(56px, 9vw, 120px);
}
.article-body__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 18px;
  line-height: 1.9;
  color: #2a2a2a;
  font-weight: 300;
}
.article-body__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  margin-block: 36px 14px;
  color: var(--black);
}
.article-body__inner h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  margin-block: 28px 10px;
  color: var(--black);
}
.article-body__inner p { margin-block-end: 18px; }
.article-body__inner ul, .article-body__inner ol { margin-inline-start: 24px; margin-block-end: 18px; }
.article-body__inner li { margin-block-end: 8px; }
.article-body__inner a { color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px; }
.article-body__inner blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  margin: 28px 0;
  padding-inline-start: 24px;
  border-inline-start: 3px solid var(--yellow);
  color: var(--black);
}
.article-body__inner strong { font-weight: 500; }
.article-body__inner img { margin-block: 28px; max-width: 100%; }

.article-body__back {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0 32px;
  text-align: center;
}
.article-body__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  transition: all 0.3s var(--ease-out);
}
.article-body__back-link:hover {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}

/* ══════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════ */
.legal { padding-block: 200px clamp(80px, 12vw, 160px); }
.legal__inner { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.legal__head { margin-block-end: 64px; padding-block-end: 32px; border-block-end: 0.5px solid var(--line); }
.legal__head .kicker { color: var(--grey); }
.legal__title { letter-spacing: -0.03em; margin-block: 12px 8px; }
.legal__subtitle { font-size: 16px; color: var(--grey); }
.legal__updated { font-size: 13px; color: var(--grey-soft); letter-spacing: 0.02em; margin-block-start: 8px; }
.legal__body { font-size: 17px; line-height: 1.85; color: #2a2a2a; font-weight: 300; }
.legal__body h2 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 500;
  margin-block: 36px 12px;
}
.legal__body h2:first-child { margin-block-start: 0; }
.legal__body h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 500;
  margin-block: 24px 8px;
}
.legal__body p { margin-block-end: 14px; }
.legal__body ul, .legal__body ol { margin-inline-start: 24px; margin-block-end: 14px; }
.legal__body li { margin-block-end: 6px; }
.legal__body a { color: var(--black); border-block-end: 1px solid var(--yellow); padding-block-end: 1px; }
.legal__body strong { font-weight: 500; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--paper);
  color: var(--black);
  padding-block: 72px 36px;
}
.footer__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
}
.footer__brand { display: inline-flex; }
.footer__logo { width: 220px; height: 102px; object-fit: contain; object-position: center; pointer-events: none; }
.footer__details {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--grey); font-weight: 300; line-height: 1.7;
}
.footer__details a {
  color: var(--black);
  border-block-end: 1px solid var(--line-strong);
  padding-block-end: 1px;
}
.footer__details a:hover { border-color: var(--yellow); }
.footer__line { font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; justify-content: center; }
.footer__nav a { color: var(--grey); }
.footer__nav a:hover { color: var(--black); }
.footer__nav a[aria-current="page"] { color: var(--black); font-weight: 500; }
.footer__legal {
  font-size: 12px; color: var(--grey);
  line-height: 1.8;
  padding-block-start: 24px;
  border-block-start: 0.5px solid var(--line);
  width: 100%; max-width: 600px;
}
.footer__legal .muted { color: var(--grey-soft); }
.footer__admin a { color: var(--grey-soft); font-size: 11px; letter-spacing: 0.08em; }
.footer__admin a:hover { color: var(--black); }

/* ══════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  inset-block-end: 16px;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 0.5px solid var(--line-strong);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
  padding: 22px 26px;
  z-index: 92;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}
.cookie-banner.is-show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
  font-weight: 300;
}
.cookie-banner__text strong { font-weight: 500; color: var(--black); }
.cookie-banner__text a {
  color: var(--black);
  border-block-end: 1px solid var(--yellow);
  padding-block-end: 1px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  font: inherit;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--black);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.cookie-banner__btn--accept {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.cookie-banner__btn--accept:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
}
.cookie-banner__btn--reject:hover {
  border-color: var(--black);
  background: var(--paper-warm);
}
@media (max-width: 600px) {
  .cookie-banner {
    inset-inline: 8px;
    inset-block-end: 8px;
    padding: 16px 18px;
  }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; }
}

/* ══════════════════════════════════════════════════════
   INTRO CTA — link to about page
   ══════════════════════════════════════════════════════ */
.intro__cta-row {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 0 32px;
  text-align: center;
}
.intro__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  color: var(--black);
  background: transparent;
  transition: all 0.3s var(--ease-out);
}
.intro__cta-btn:hover {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS — Google reviews button
   ══════════════════════════════════════════════════════ */
.testimonials__cta {
  text-align: center;
  padding-block: 0 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 32px;
}
.testimonials__reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--paper);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.testimonials__reviews-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.testimonials__reviews-btn > * { position: relative; z-index: 1; }
.testimonials__reviews-btn:hover { color: var(--black); }
.testimonials__reviews-btn:hover::before { transform: translateX(0); }

/* ══════════════════════════════════════════════════════
   Reveal animations
   ══════════════════════════════════════════════════════ */
[data-reveal-up] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.1s var(--ease-out-slow),
    transform 1.1s var(--ease-out-slow);
}
[data-reveal-up].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal-up], .process__heading [data-process-word] {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}
