/* =====================================================================
   Trevor Smith Family Law
   Design tokens mirror the original brand: burgundy #660b0d, Inter,
   dim-rose rules, 25px media radii, generous 8rem section rhythm.
   ===================================================================== */

:root {
  --red: #660b0d;
  --red-deep: #4a0709;
  --red-ink: #7a1214;
  --dim-red: #d6a4a3;
  --bg: #fafafa;
  --white: #fff;
  --black: #000;
  --ink: #111;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --line: #e6e6e6;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 1.6vw, 32px);
  --section: 8rem;
  --radius: 25px;
  --radius-sm: 12px;
  --header-h: 96px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}
@media (max-width: 991px) { :root { --section: 6rem; --header-h: 76px; } }
@media (max-width: 767px) { :root { --section: 4.5rem; --radius: 18px; } }
@media (max-width: 479px) { :root { --section: 4rem; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
strong { font-weight: 600; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--dim-red); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 10001;
  background: var(--white); color: var(--red); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1880px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); background: var(--bg); }
.section--white { background: var(--white); }
.section--tint { background: #f4f1f0; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-size: 18px; font-weight: 400; line-height: 1.3; text-transform: capitalize; color: var(--ink);
}
.eyebrow--light { color: var(--white); }
.display {
  color: var(--red); font-weight: 400; font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.2;
  letter-spacing: -.01em; text-wrap: balance;
}
.display--sm { font-size: clamp(1.9rem, 2.4vw, 2.4rem); }
.hero-title {
  color: var(--white); text-transform: uppercase; font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 7rem); line-height: 1.2; text-align: center;
  text-shadow: 5px 2px 4px rgba(0, 0, 0, .42); letter-spacing: -.005em;
}
.lead { font-size: clamp(1rem, .25vw + .95rem, 1.2rem); line-height: 1.5; color: var(--ink); }
.lead + .lead { margin-top: 1.5em; }
.card-title { font-size: clamp(1.4rem, 1.6vw, 1.75rem); font-weight: 600; line-height: 1.25; color: var(--black); }
.subhead { font-size: clamp(1.25rem, 1.6vw, 1.75rem); font-weight: 600; line-height: 1.3; margin-top: 1.25rem; color: var(--black); }
.body-lg { font-size: 17px; line-height: 1.6; margin-top: 2rem; max-width: 1500px; }

/* rules (the thin dim-rose lines used throughout) */
.rule { display: block; height: 2px; width: 180px; margin-top: 8px; transform-origin: left center; }
.rule--dim { background: var(--dim-red); }
.rule--white { background: var(--white); height: 1.5px; }
.rule--full { width: 100%; }
.rule--fit { width: min(540px, 100%); }
@media (max-width: 767px) { .rule { width: 120px; } .rule--full { width: 100%; } .rule--fit { width: 100%; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg-c: var(--red); --fg: var(--white); --bd: var(--red);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.5rem; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg-c); color: var(--fg); text-decoration: none; overflow: hidden;
  font-size: 16px; font-weight: 400; line-height: 1; white-space: nowrap; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--red-deep); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn__inner { position: relative; display: block; height: 1em; overflow: hidden; }
.btn__text { display: block; transition: transform .55s var(--ease-out); }
.btn__text--hover { position: absolute; left: 0; top: 0; width: 100%; text-align: center; transform: translateY(110%); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__text { transform: translateY(-110%); }
  .btn:hover .btn__text--hover { transform: translateY(0); }
  .btn:hover { box-shadow: 0 10px 30px -10px rgba(102, 11, 13, .55); }
}
.btn--glass {
  --bg-c: rgba(255, 255, 255, .06); --bd: rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass::before { background: var(--white); }
@media (hover: hover) { .btn--glass:hover { color: var(--red); } }
.btn--white { --bg-c: var(--white); --fg: var(--red); --bd: var(--white); }
.btn--white::before { background: var(--bg); }
.btn--outline { --bg-c: transparent; --bd: rgba(255, 255, 255, .5); }
.btn--outline::before { background: rgba(255, 255, 255, .12); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--red); font-weight: 500; text-decoration: none;
}
.text-link svg { width: 18px; transition: transform .4s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

.glass-tag {
  display: inline-block; padding: 6px 10px; border-radius: 4px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .37); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------------------------------------------------------------- loader (first visit only) */
.loader { display: none; }
html.first-visit .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 10000; background: var(--red);
  animation: curtainUp 1s var(--ease-io) .75s forwards; pointer-events: none;
}
.loader__inner img { width: min(220px, 50vw); height: auto; opacity: 0; animation: loaderLogo 1.1s var(--ease-out) forwards; }
@keyframes loaderLogo {
  0% { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  45%, 70% { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes curtainUp { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.first-visit .loader { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; color: var(--white);
  background: rgba(0, 0, 0, .55);
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s;
  view-transition-name: site-header;
}
.site-header.is-scrolled {
  background: rgba(20, 6, 7, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  max-width: 1300px; margin-inline: auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  transition: padding .4s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
.brand { flex: none; display: block; }
.brand__logo { width: 140px; height: auto; transition: width .4s var(--ease-out); }
.site-header.is-scrolled .brand__logo { width: 120px; }
.nav { flex: 1; }
.nav__list { display: flex; justify-content: space-evenly; align-items: center; }
.nav__link {
  position: relative; display: block; padding: 6px 2px; text-decoration: none; color: var(--white);
  font-size: 18px; font-weight: 300; letter-spacing: .01em;
}
.nav__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover .nav__line, .nav__link[aria-current] .nav__line { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .95rem 1.5rem; }
.menu-toggle { display: none; }

@media (max-width: 991px) {
  .nav, .nav__cta { display: none; }
  .site-header__inner { padding-block: 14px; }
  .brand__logo, .site-header.is-scrolled .brand__logo { width: 116px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35); position: relative; z-index: 2;
  }
  .menu-toggle__bar { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
  .menu-open .menu-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--red); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 3vh) var(--gutter) max(28px, env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mobile-menu__list { display: grid; gap: .25rem; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; text-decoration: none;
  font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 300; line-height: 1.15;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease-out);
}
.mobile-menu__link[aria-current] { font-weight: 500; }
.mobile-menu__num { font-size: 12px; letter-spacing: .1em; opacity: .6; font-weight: 400; }
.menu-open .mobile-menu__link { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu__list li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu__foot {
  display: grid; gap: .4rem; font-size: 14px; opacity: 0; transition: opacity .6s .55s;
  border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1.25rem;
}
.mobile-menu__foot a { text-decoration: none; }
.menu-open .mobile-menu__foot { opacity: .85; }
@media (min-width: 992px) { .mobile-menu { display: none; } }

/* ---------------------------------------------------------------- hero (home) */
.hero {
  position: relative; min-height: 110vh; min-height: 110svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 4rem) 5% 10%; overflow: hidden; color: var(--white); background: #2a2a2a;
}
.hero__media, .page-hero__media, .bio-hero__media, .post-hero__media, .cta__media { position: absolute; inset: 0; overflow: hidden; }
.hero__bg, .page-hero__bg, .bio-hero__bg, .post-hero__bg, .cta__bg {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
}
.hero__bg { object-position: 60% 20%; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .26); }
.hero__content { position: relative; width: 50%; }
.hero__scroll {
  position: absolute; left: 50%; bottom: calc(10vh + 32px); translate: -50% 0; width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: var(--white); animation: scrollCue 2s var(--ease-out) infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 991px) {
  .hero { min-height: 88svh; align-items: flex-end; padding-bottom: 4.5rem; }
  .hero__content { width: 100%; }
  .hero .hero-title { font-size: clamp(2.3rem, 8.4vw, 4.6rem); text-align: left; }
  .hero__overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .7) 100%); }
  .hero__bg { object-position: 72% 20%; }
  .hero__scroll { display: none; }
}

/* ---------------------------------------------------------------- logo strip */
.logo-strip { background: var(--red); padding-block: 26px; overflow: hidden; }
.logo-strip__viewport {
  display: flex; width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  width: 100%;
}
.logo-strip__track {
  display: flex; align-items: center; gap: clamp(40px, 5vw, 90px); padding-right: clamp(40px, 5vw, 90px);
  flex: none; animation: marquee 38s linear infinite;
}
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }
.logo-strip__logo { height: 72px; width: auto; max-width: 170px; object-fit: contain; opacity: .92; transition: opacity .3s, transform .4s var(--ease-out); }
.logo-strip__logo:hover { opacity: 1; transform: scale(1.04); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 767px) { .logo-strip { padding-block: 16px; } .logo-strip__logo { height: 44px; max-width: 120px; } }

/* ---------------------------------------------------------------- two column label/body */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.two-col__label .eyebrow { display: inline-block; }
@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- split (content + portrait) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: var(--section); align-items: stretch; }
.section > .container > .split:first-child { margin-top: 0; }
.split__content { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding-right: 3em; }
.split--media-left .split__content { padding-right: 0; padding-left: 2.5rem; }
.split__intro p { font-size: 16px; line-height: 1.5; }
.split__intro .rule { margin-top: 10px; }
.split__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split__card { display: grid; gap: 2rem; align-content: start; }
.split__card p { font-size: 16px; line-height: 1.5; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; height: 700px; background: #ddd; }
.split__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 991px) {
  .split { gap: 2rem; }
  .split__content, .split--media-left .split__content { padding: 0; }
  .split__media { height: 620px; }
  .split__cards { gap: 24px; }
}
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: -1; }
  .split__media { height: auto; aspect-ratio: 4 / 4.6; }
  .split__cards { grid-template-columns: 1fr; gap: 2rem; }
  .split__card { gap: .75rem; }
}

/* ---------------------------------------------------------------- practice list */
.practice { background: var(--red); color: var(--white); padding-block: var(--section); position: relative; }
.practice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.practice__label { position: sticky; top: 125px; align-self: start; }
.practice__list { display: grid; gap: 8rem; }
.practice-item { display: grid; gap: 4rem; justify-items: start; }
.practice-item__head { width: 100%; }
.practice-item__title { font-size: clamp(1.5rem, 1.6vw, 1.9rem); font-weight: 400; line-height: 1.3; }
.practice-item__title a { text-decoration: none; }
.practice-item .rule { margin-top: -3.6rem; }
.practice-item__text { font-size: 16px; line-height: 1.5; max-width: 62ch; }
.read-more { display: inline-flex; align-items: center; gap: 1.5rem; color: var(--white); text-decoration: none; }
.read-more__box {
  display: grid; place-items: center; background: var(--white); color: var(--red);
  padding: 1rem 1.5rem; transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
  outline: 1px solid var(--white); outline-offset: -1px;
}
.read-more__box svg { width: 50px; height: 50px; transition: transform .55s var(--ease-out); }
.read-more__text { font-size: 20px; position: relative; }
.read-more__text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.practice-item:hover .read-more__box { background: transparent; color: var(--white); }
.practice-item:hover .read-more__box svg { transform: translateX(8px); }
.practice-item:hover .read-more__text::after { transform: scaleX(1); transform-origin: left; }
.practice-item__title a:focus-visible { outline-color: var(--white); }
@media (max-width: 991px) { .practice__list { gap: 5rem; } }
@media (max-width: 767px) {
  .practice__grid { grid-template-columns: 1fr; }
  .practice__label { position: static; margin-bottom: 1rem; }
  .practice-item { gap: 2rem; }
  .practice-item .rule { margin-top: -1.6rem; }
  .read-more__box { padding: .5rem 1rem; }
  .read-more__box svg { width: 30px; height: 30px; }
  .read-more__text { font-size: 16px; }
}

/* ---------------------------------------------------------------- team ticker + slider */
.team { padding-bottom: var(--section); background: var(--bg); overflow: hidden; }
.ticker { overflow: hidden; padding-block: .5rem; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__word {
  font-size: clamp(3rem, 6vw, 8rem); line-height: 1; font-weight: 400; text-transform: uppercase;
  color: var(--black); white-space: nowrap; letter-spacing: .01em;
}
.ticker__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--black); margin-inline: 22px; flex: none; }
@media (max-width: 767px) { .ticker__dot { width: 9px; height: 9px; margin-inline: 12px; } .ticker__word { font-size: 13vw; } }
html:not(.anim-ready) .ticker__track { animation: marquee 30s linear infinite; }

.team-slider { position: relative; margin-top: 6rem; }
.team-slider__track {
  display: flex; gap: 50px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: 0; overscroll-behavior-x: contain; cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.team-slider__track::-webkit-scrollbar { display: none; }
.team-slider__track::after { content: ""; flex: 0 0 calc(25% - 50px); } /* lets the last card snap to the start */
.team-slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.team-slider__track.is-dragging * { pointer-events: none; }
.team-card {
  position: relative; flex: 0 0 75%; height: 80vh; min-height: 520px; max-height: 900px;
  border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: #ccc;
  display: flex; align-items: flex-end; padding: 2rem;
}
.team-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.4s var(--ease-out); }
.team-card:hover .team-card__img { transform: scale(1.04); }
.team-card__panel {
  position: relative; width: 50%; min-height: 250px; padding: 2rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.team-card__name { font-size: clamp(1.4rem, 2vw, 2.6rem); font-weight: 400; line-height: 1.4; color: var(--black); }
.team-card__role { font-size: clamp(1.05rem, 1.5vw, 2rem); color: var(--red); line-height: 1.2; margin-top: -1rem; }
.team-card__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.team-card__arrow { color: var(--red); display: block; }
.team-card__arrow svg { width: 52px; height: 26px; transition: transform .5s var(--ease-out); }
.team-card:hover .team-card__arrow svg { transform: translateX(8px); }
.team-slider__controls { display: flex; justify-content: flex-end; gap: 12px; padding: 2rem 4% 0; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--black);
  color: var(--black); transition: background-color .35s, color .35s, transform .35s var(--ease-out), opacity .3s;
}
.slider-btn svg { width: 22px; }
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.slider-btn:active { transform: scale(.94); }
.slider-btn[disabled] { opacity: .3; pointer-events: none; }
@media (max-width: 991px) {
  .team-slider { margin-top: 3rem; }
  .team-card { height: 64vh; min-height: 460px; }
  .team-card__panel { width: 80%; min-height: 0; }
}
@media (max-width: 767px) {
  .team-slider__track { gap: 14px; padding-inline-start: var(--gutter); scroll-padding-inline: var(--gutter); }
  .team-slider__track::after { flex-basis: calc(12% - 14px + var(--gutter)); }
  .team-card { flex-basis: 88%; height: 70svh; min-height: 420px; padding: 1rem; }
  .team-card__panel { width: 100%; padding: 1.25rem; gap: .75rem; }
  .team-card__role { margin-top: -.5rem; }
  .team-card__arrow { display: none; }
  .team-slider__controls { padding-right: var(--gutter); padding-top: 1.25rem; }
}

/* ---------------------------------------------------------------- CTA */
.cta {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 6rem 5%; color: var(--white); overflow: hidden; background: #1b1b1b; text-align: center;
}
.cta__bg { height: 120%; margin-top: -10%; object-position: center 30%; }
.cta__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.cta__content { position: relative; display: grid; justify-items: center; gap: 1.5rem; max-width: 1200px; }
.cta__text { font-size: clamp(1.05rem, 1.3vw, 1.6rem); line-height: 1.5; }
@media (max-width: 767px) { .cta { min-height: 70svh; } .cta .hero-title { font-size: clamp(2.2rem, 10vw, 3.4rem); } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--black); color: var(--white); padding: 80px 30px 40px; }
.site-footer .container { padding-inline: 20px; }
.footer__top { display: grid; grid-template-columns: 1fr auto auto; gap: 3rem 6rem; align-items: start; }
.footer__logo { width: 157px; height: auto; }
.footer__contact { display: grid; gap: .9rem; font-size: 15px; color: rgba(255, 255, 255, .78); }
.footer__contact a { display: flex; gap: .7rem; align-items: flex-start; text-decoration: none; transition: color .3s; }
.footer__contact a:hover { color: var(--white); }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--dim-red); }
.footer__nav { display: grid; gap: 10px; }
.footer__link { font-weight: 500; text-decoration: none; transition: color .3s; width: fit-content; }
.footer__link:hover { color: var(--dim-red); }
.footer__bottom {
  margin-top: 70px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer__credit { font-weight: 500; }
.footer__credit a { text-decoration: none; }
.footer__credit a:hover { color: var(--dim-red); }
.footer__legal { font-size: 14px; color: rgba(255, 255, 255, .6); }
.footer__legal a { color: rgba(255, 255, 255, .8); }
.socials { display: flex; gap: 22px; }
.social {
  width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--black);
  display: grid; place-items: center; transition: transform .45s var(--ease-out), background-color .3s;
}
.social svg { width: 16px; height: 16px; }
.social:hover { transform: translateY(-3px); background: var(--dim-red); }
@media (max-width: 991px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .site-footer { padding: 60px 15px 110px; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 50px; }
}

/* mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 900;
    display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(20, 6, 7, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .6s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .menu-open .mobile-cta { transform: translateY(140%); }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; height: 48px; border-radius: 999px;
    text-decoration: none; font-size: 15px; font-weight: 500; color: var(--white);
  }
  .mobile-cta__call { padding-inline: 1.2rem; border: 1px solid rgba(255, 255, 255, .3); }
  .mobile-cta__call svg { width: 18px; }
  .mobile-cta__book { background: var(--red); }
}

/* ---------------------------------------------------------------- inner page hero */
.page-hero {
  position: relative; min-height: clamp(400px, 52vh, 560px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem; color: var(--white); overflow: hidden; background: #2b2b2b; text-align: center;
}
.page-hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.page-hero__content { position: relative; display: grid; justify-items: center; gap: 1rem; }
.page-hero__title { font-size: clamp(2.6rem, 4.4vw, 5rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.page-hero__text { max-width: 60%; font-size: clamp(1rem, .4vw + .9rem, 1.15rem); line-height: 1.5; }
@media (max-width: 767px) { .page-hero__text { max-width: 100%; } }

/* practice detail / legal hero */
.area-hero {
  position: relative; background: var(--red); color: var(--white); overflow: hidden; text-align: center;
  padding: calc(var(--header-h) + 9rem) 0 10rem;
}
.area-hero--short { padding-bottom: 6rem; padding-top: calc(var(--header-h) + 6rem); }
.area-hero--404 { min-height: 100svh; display: flex; align-items: center; }
.area-hero__glow {
  position: absolute; inset: -30% -10% auto; height: 120%;
  background: radial-gradient(60% 50% at 50% 40%, rgba(214, 164, 163, .22), transparent 70%);
  pointer-events: none;
}
.area-hero__content { position: relative; display: grid; justify-items: center; gap: 1.75rem; }
.area-hero__title { font-size: clamp(2.5rem, 5.4vw, 6.4rem); font-weight: 400; text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.area-hero__text { max-width: 760px; font-size: clamp(1rem, .5vw + .9rem, 1.2rem); line-height: 1.6; opacity: .9; }
.area-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.area-hero__index {
  position: absolute; right: var(--gutter); bottom: 2rem; font-size: 14px; letter-spacing: .1em; opacity: .7;
}
.area-hero__index span { opacity: .55; }
@media (max-width: 767px) { .area-hero { padding: calc(var(--header-h) + 5rem) 0 6rem; } }

.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 14px; color: var(--muted); margin-bottom: 3.5rem; }
.crumbs a { text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--red); }
.crumbs__sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }

.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 5rem; align-items: start; }
.area-layout__main { display: grid; gap: 5rem; }
.area-section { display: grid; grid-template-columns: minmax(180px, .45fr) 1fr; gap: 2rem 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.area-section:first-child { border-top: 0; padding-top: 0; }
.area-section__title { font-size: clamp(1.8rem, 2.2vw, 2.3rem); font-weight: 400; line-height: 1.2; color: var(--ink); }
.area-section--more .area-section__title { color: var(--red); }
.area-aside { position: sticky; top: 120px; }
@media (max-width: 1199px) { .area-layout { grid-template-columns: 1fr; gap: 3rem; } .area-aside { position: static; } }
@media (max-width: 767px) { .area-section { grid-template-columns: 1fr; gap: 1rem; } .area-layout__main { gap: 3.5rem; } }

.aside-card {
  display: grid; gap: 1rem; padding: 2rem; border-radius: 20px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(102, 11, 13, .35);
}
.section--white .aside-card { background: var(--bg); }
.aside-card__eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.aside-card__title { font-size: 1.4rem; font-weight: 400; line-height: 1.3; color: var(--ink); }
.aside-card .btn { justify-self: start; margin-block: .25rem; }
.aside-card__line { display: flex; gap: .6rem; align-items: center; font-size: 15px; text-decoration: none; color: var(--text); word-break: break-word; }
.aside-card__line:hover { color: var(--red); }
.aside-card__line svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.aside-card__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 14px; margin-bottom: .5rem; }

.section-head { margin-bottom: 3rem; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }

.other-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.other-area {
  position: relative; display: grid; gap: 1rem; align-content: start; padding: 2rem 2rem 5rem; min-height: 260px;
  background: var(--white); border-radius: 20px; text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); transition: color .5s var(--ease-out), transform .6s var(--ease-out);
}
.other-area::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-io);
}
.other-area__title { font-size: 1.6rem; font-weight: 400; }
.other-area__text { color: var(--muted); font-size: 15px; line-height: 1.5; transition: color .5s; }
.other-area__arrow { position: absolute; left: 2rem; bottom: 2rem; color: var(--red); transition: color .5s, transform .6s var(--ease-out); }
.other-area__arrow svg { width: 48px; height: 24px; }
@media (hover: hover) {
  .other-area:hover { color: var(--white); transform: translateY(-4px); }
  .other-area:hover::before { clip-path: inset(0 0 0 0); }
  .other-area:hover .other-area__text { color: rgba(255, 255, 255, .8); }
  .other-area:hover .other-area__arrow { color: var(--white); transform: translateX(8px); }
}
@media (max-width: 991px) { .other-areas { grid-template-columns: 1fr; } .other-area { min-height: 0; } }

/* promise list (practice overview) */
.promise { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem 6rem; align-items: start; }
.promise__intro { display: grid; gap: 1.5rem; }
.promise__list { display: grid; gap: 0; }
.promise__list li { display: grid; grid-template-columns: 70px 1fr; gap: .5rem 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.promise__list li:first-child { padding-top: 0; }
.promise__num { grid-row: span 2; font-size: 14px; color: var(--red); letter-spacing: .1em; padding-top: .4rem; }
.promise__list h3 { font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.promise__list p { color: var(--muted); }
@media (max-width: 991px) { .promise { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- prose */
.prose { font-size: 17px; line-height: 1.75; color: #2a2a2a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.3; font-weight: 600; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.45rem; margin-top: 1.8em; color: var(--red); font-weight: 500; }
.prose > :first-child { margin-top: 0; }
.prose ul { display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 1.5px; background: var(--red); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 2px solid var(--dim-red); padding-left: 1.2em; font-style: italic; }
.area-section__body.prose { font-weight: 300; font-size: 18px; color: var(--ink); }
.area-section__body.prose strong { font-weight: 600; }
.area-section__body.prose h3 { font-weight: 500; font-size: 1.35rem; color: var(--red); }
.prose--bio { max-width: 820px; }
.prose--bio .bio-contact { padding: 1rem 1.25rem; background: var(--bg); border-radius: 12px; border-left: 2px solid var(--red); }
.prose--legal { max-width: 860px; margin-inline: auto; }
.prose--legal h2 { font-size: 1.35rem; }
.prose__updated { color: var(--muted); font-size: 14px; margin-top: 3em !important; }

.bio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 5rem; align-items: start; }
.bio-layout .aside-card { position: sticky; top: 120px; }
@media (max-width: 991px) { .bio-layout { grid-template-columns: 1fr; gap: 3rem; } .bio-layout .aside-card { position: static; max-width: 460px; } }

/* bio hero */
.bio-hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--white); overflow: hidden; background: #222; }
.bio-hero__bg { object-position: center 20%; }
.bio-hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); }
.bio-hero__content {
  position: absolute; inset: auto 5% 5rem; display: grid; justify-items: start; gap: 1rem; width: 85%;
}
.bio-hero__title { font-size: clamp(2.6rem, 4.5vw, 6rem); font-weight: 400; text-transform: uppercase; line-height: 1.1; }
.bio-hero__role { color: #c8c8c8; font-size: 20px; }

/* post hero */
.post-hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem; color: var(--white); overflow: hidden; background: #222;
}
.post-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .65)); }
.post-hero__content { position: relative; display: grid; justify-items: start; gap: 1.25rem; }
.post-hero__title { font-size: clamp(2.2rem, 4.4vw, 5rem); font-weight: 300; line-height: 1.15; max-width: 1200px; text-wrap: balance; }
.post-hero__meta { display: flex; gap: .6rem; font-size: 16px; font-weight: 300; opacity: .9; }
@media (max-width: 767px) { .post-hero { min-height: 80svh; align-items: flex-end; } }

.post-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 6rem; justify-content: center; align-items: start; }
.post-aside { position: sticky; top: 120px; display: grid; gap: 2rem; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share__btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out); position: relative;
}
.share__btn svg { width: 18px; height: 18px; }
.share__btn:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-2px); }
.share__btn.is-copied::after {
  content: "Copied"; position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
  background: var(--ink); color: var(--white); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.post-disclaimer { max-width: 1140px; margin: 4rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.post-disclaimer a { color: var(--red); }
@media (max-width: 1099px) { .post-layout { grid-template-columns: minmax(0, 760px); } .post-aside { position: static; } }

/* reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; transform-origin: left; transform: scaleX(0); background: var(--dim-red); display: none; }
.page-post .progress { display: block; }

/* ---------------------------------------------------------------- blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 3.5rem; }
.chip {
  padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink);
  background: var(--white); transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.5rem 2.5rem; }
.post-card { display: grid; align-content: start; justify-items: start; gap: 1rem; }
.post-card.is-hidden { display: none; }
.post-card__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; display: block; border-radius: 4px; background: #e9e6e5; margin-bottom: .75rem; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card__img { transform: scale(1.06); }
.tag {
  display: inline-block; padding: .35rem .6rem; border-radius: 999px; font-size: 14px; color: #1d3a2c;
  background: var(--white); border: 1px solid #ececec; box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}
.post-card__title { font-size: 1.3rem; font-weight: 500; line-height: 1.35; color: var(--ink); margin-top: .5rem; }
.post-card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.post-card:hover .post-card__title a { background-size: 100% 1px; }
.post-card__excerpt { color: #777; font-size: 16px; line-height: 1.45; }
.post-card__more { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-size: 16px; margin-top: .25rem; }
.post-card__more svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.post-card:hover .post-card__more svg { transform: translate(3px, -3px); }
@media (max-width: 991px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .post-grid { grid-template-columns: 1fr; gap: 3.5rem; } }
.post-grid--related .post-card__title { font-size: 1.2rem; }

/* ---------------------------------------------------------------- about */
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.member-card { position: relative; min-height: 500px; aspect-ratio: 1 / 1.02; border-radius: var(--radius); overflow: hidden; background: #333; }
.member-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.4s var(--ease-out); }
.member-card:hover .member-card__img { transform: scale(1.05); }
.member-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 1.25rem; padding: 2.5rem 2rem; color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .66));
  transition: background-color .5s;
}
.member-card__name { font-size: clamp(1.5rem, 1.6vw, 1.9rem); font-weight: 300; }
.member-card__role { font-size: clamp(1.1rem, 1.2vw, 1.35rem); font-weight: 300; margin-top: -.75rem; }
@media (max-width: 767px) { .member-grid { grid-template-columns: 1fr; } .member-card { min-height: 0; aspect-ratio: 4 / 5; } }

.statement { background: var(--red); padding-block: calc(var(--section) * .9); }
.statement__text {
  color: var(--white); font-size: clamp(1.7rem, 3.4vw, 3.9rem); font-weight: 300; line-height: 1.25; letter-spacing: -.01em;
  max-width: 1500px; text-wrap: pretty;
}
.statement__text .sw { opacity: 1; transition: opacity .2s; }
html.anim-ready .statement__text .sw { opacity: .22; }

.timeline { position: relative; display: grid; gap: 3rem; padding-left: 2.25rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline::after {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--red);
  transform-origin: top; transform: scaleY(var(--tl, 1));
}
.timeline__item { position: relative; display: grid; gap: .4rem; }
.timeline__item::before {
  content: ""; position: absolute; left: calc(-2.25rem + 1px); top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--red); z-index: 1;
}
.timeline__year { font-size: 14px; letter-spacing: .12em; color: var(--red); font-weight: 600; text-transform: uppercase; }
.timeline__item h3 { font-size: 1.5rem; font-weight: 400; color: var(--ink); }
.timeline__item p { color: var(--muted); max-width: 60ch; }

/* ---------------------------------------------------------------- careers */
.job {
  margin-top: 4rem; border: 1px solid #a9a9a9; border-radius: 20px; padding: clamp(1.25rem, 3vw, 3rem);
  background: var(--white); display: grid; gap: 2rem;
}
.job__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.job__eyebrow { color: var(--red); font-size: clamp(1.6rem, 2vw, 2.2rem); font-weight: 600; line-height: 1.2; }
.job__title { font-size: clamp(1.25rem, 1.6vw, 1.75rem); font-weight: 600; margin-top: .75rem; color: var(--black); }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.job__meta li { font-size: 13px; padding: .35rem .75rem; border-radius: 999px; background: #f4f1f0; color: var(--red-ink); }
.job__intro { font-size: 17px; line-height: 1.6; max-width: 1100px; }
.job__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.job__block { display: grid; gap: .9rem; align-content: start; }
.job__block h4, .job__apply h4 { font-size: 1.15rem; font-weight: 600; color: var(--red); }
.job__h4-gap { margin-top: 1.25rem; }
.job__sub { font-weight: 600; font-size: 15px; margin-top: .4rem; }
.job__note { color: var(--muted); font-size: 15px; }
.check-list { display: grid; gap: .55rem; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; line-height: 1.5; }
.check-list svg { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.job__apply {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  padding: 2rem; border-radius: 14px; background: #f7f3f2;
}
.job__apply > div { display: grid; gap: .75rem; max-width: 900px; }
.job__apply a:not(.btn) { color: var(--red); font-weight: 600; }
.job__small { font-size: 14px; color: var(--muted); }
@media (max-width: 991px) { .job__grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .job__apply { padding: 1.25rem; } .job .btn { white-space: normal; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 2fr 1.5fr; gap: 82px; max-width: 1500px; margin-inline: auto; }
.contact-form { width: 100%; max-width: 820px; justify-self: end; }
.form-embed { position: relative; min-height: 532px; }
.form-embed iframe { position: relative; z-index: 1; min-height: 532px; }
.form-embed__skeleton { position: absolute; inset: 0; display: grid; gap: 22px; align-content: start; padding-top: 6px; transition: opacity .4s; }
.form-embed__skeleton span { height: 48px; border-radius: 12px; background: linear-gradient(90deg, #f1f1f1, #f8f8f8, #f1f1f1) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.form-embed__skeleton .form-embed__btn { background: #ddd; height: 56px; margin-top: 12px; }
.form-embed.is-loaded .form-embed__skeleton { opacity: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
.contact-info { display: grid; gap: 2.75rem; align-content: start; padding-top: 1rem; }
.contact-info__block { display: grid; gap: 1.5rem; }
.contact-info__title { font-size: 20px; font-weight: 600; color: var(--black); }
.contact-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--black); font-weight: 600; text-underline-offset: 4px; width: fit-content; }
.contact-link svg { width: 26px; height: 26px; flex: none; transition: color .3s, transform .4s var(--ease-out); }
.contact-link:hover { color: var(--red); }
.contact-link:hover svg { transform: translateY(-2px); }
.contact-info__note { padding: 1.25rem 1.5rem; border-radius: 14px; background: #f7f3f2; color: var(--red-ink); font-size: 15px; line-height: 1.55; border-left: 2px solid var(--red); }
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-form { justify-self: stretch; max-width: none; }
}
.map { background: var(--white); padding: 0 var(--gutter) var(--section); }
.map__frame {
  position: relative; height: 460px; border-radius: var(--radius); overflow: hidden; max-width: 1840px; margin-inline: auto;
  background: #ece9e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e0dcdb' stroke-width='1'/%3E%3C/svg%3E");
}
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__load {
  position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.5rem; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 500;
  box-shadow: 0 16px 40px -16px rgba(102, 11, 13, .6); transition: transform .4s var(--ease-out);
}
.map__load svg { width: 20px; height: 20px; }
.map__load:hover { transform: translateY(-2px); }
@media (max-width: 767px) { .map__frame { height: 340px; } }

/* =====================================================================
   Motion
   Hero intros run on pure CSS (no JS dependency, fast LCP).
   Scroll reveals are prepared here and driven by main.js (GSAP).
   Everything is skipped for prefers-reduced-motion.
   ===================================================================== */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w__i { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  /* hero intro */
  /* fill-mode "backwards" only: once finished, elements fall back to their natural
     styles so JS (parallax, header hide) can own transform afterwards */
  [data-hero-words] .w__i { animation: wordUp 1.15s var(--ease-out) backwards; animation-delay: calc(var(--d, .15s) + var(--i) * 70ms); }
  [data-hero-fade] { animation: fadeUp 1s var(--ease-out) backwards; animation-delay: calc(var(--d, .15s) + .45s); }
  [data-hero-img] { animation: heroZoom 2.4s var(--ease-out) backwards; animation-delay: var(--d, 0s); }
  html.first-visit { --d: 1.25s; }
  .site-header { animation: headerIn 1s var(--ease-out) backwards; animation-delay: calc(var(--d, .1s) + .2s); }

  /* scroll reveals: hidden until main.js plays them (2.5s safety net via .no-anim) */
  html.js:not(.no-anim) [data-reveal="up"],
  html.js:not(.no-anim) [data-stagger] > * { opacity: 0; transform: translateY(40px); }
  html.js:not(.no-anim) [data-reveal="line"] { transform: scaleX(0); }
  html.js:not(.no-anim) [data-reveal="words"] .w__i { transform: translateY(110%); }
  html.js:not(.no-anim) [data-reveal="img"] { clip-path: inset(18% 8% 18% 8% round var(--radius)); }
  html.js:not(.no-anim) [data-reveal="img"] img { transform: scale(1.25); }

  /* cross-document page transitions (Chrome, Edge, Safari 18+) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .4s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vtIn .6s var(--ease-out) both; }
}
@keyframes wordUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-24px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .logo-strip__track, html:not(.anim-ready) .ticker__track { animation: none; }
  .loader { display: none !important; }
}
