/* ============================================================
   Toader și Asociații — site stylesheet
   Recreated from the attached Figma design.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500;1,9..144,700&family=Geist:wght@300;400;500;600;700&family=Raleway:wght@500;600;700&family=Source+Serif+4:wght@500&display=swap");

/* ---------- Tokens ---------- */
:root {
  --ink:           #3f4347;   /* primary charcoal */
  --ink-deep:      #3b3a47;   /* nav, copy */
  --tan:           #dda27a;   /* signature accent */
  --tan-soft:      rgba(221, 162, 122, 0.16);
  --line:          rgba(59, 58, 71, 0.15);
  --line-soft:     rgba(132, 130, 147, 0.5);
  --paper:         #ffffff;
  --paper-warm:    #f5f3f0;
  --paper-grey:    rgba(63, 67, 71, 0.06);

  --max:           1660px;
  --gutter:        clamp(20px, 5vw, 96px);

  --f-display:     "Fraunces", "Source Serif 4", Georgia, serif;
  --f-display-alt: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --f-body:        "Geist", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* small caps eyebrow */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--tan);
  text-transform: uppercase;
  margin: 0 0 28px 0;
}
.eyebrow--light { color: var(--tan); }
.eyebrow--dark  { color: var(--ink-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
  height: 100px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  --logo-ink: #3b3a47;
  --logo-accent: #dda27a;
}
.brand__logo {
  display: block;
  height: 52px;
  width: auto;
  transition: opacity .2s;
}
.brand:hover .brand__logo { opacity: 0.78; }

.nav__menu {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 48px);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-deep);
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--tan); }
.nav__menu a.is-active { color: var(--ink); }
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--tan);
}

.nav__alliance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.nav__alliance-label {
  font-family: var(--f-display-alt);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ink-deep);
  text-transform: uppercase;
}
.nav__alliance-logo {
  display: block;
  height: 26px;
  width: auto;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line, rgba(0,0,0,0.12));
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink, #1a1a1a);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line, rgba(0,0,0,0.12));
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.25);
  z-index: 60;
  padding: 24px 28px 32px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile nav a {
  font-family: var(--f-display-alt);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink, #1a1a1a);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__mobile nav a:last-child { border-bottom: 0; }
.nav__mobile nav a:hover { color: var(--tan, #dda27a); }
.nav__mobile-alliance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.nav__mobile-alliance .nav__alliance-label {
  font-family: var(--f-display-alt);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 760px;
  padding: 120px 0 180px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero__sky {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background:
    url("assets/sky.png") 50% 25% / 160% auto no-repeat,
    linear-gradient(180deg, #b8cad9 0%, #d6e0e8 45%, #ecefef 100%);
  z-index: -2;
  opacity: 1;
  filter: saturate(1.2) contrast(1.12) brightness(0.96);
  will-change: background-position;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-position: right center;
  mix-blend-mode: multiply;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  clip-path: inset(0 0 0 100%);
  transform: translateX(80px);
  animation: heroBuildingDraw 2.2s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
}
@keyframes heroBuildingDraw {
  0%   { clip-path: inset(0 0 0 100%); transform: translateX(80px); opacity: 0; }
  100% { clip-path: inset(0 0 0 0);    transform: translateX(0);    opacity: 0.95; }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(255,255,255,0.50) 0%,
    rgba(255,255,255,0) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(54px, 6.8vw, 116px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.hero__display .accent {
  display: block;
  color: var(--tan);
  font-style: normal;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeIn 2s ease 0.2s forwards;
}
.hero__lead {
  opacity: 0;
  animation: heroFadeIn 2s ease 0.3s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}
.hero__lead {
  margin: 38px 0 0;
  max-width: 480px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

/* circular CTA bottom-left */
.disc-cta {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: var(--tan);
  color: #fff;
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.15;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 12px 32px -16px rgba(221,162,122,0.6);
  --scroll-y: 0px;
  transform: translateY(var(--scroll-y)) scale(1);
}
.disc-cta:hover { transform: translateY(var(--scroll-y)) scale(1.12); box-shadow: 0 18px 42px -16px rgba(221,162,122,0.75); }
.disc-cta::after {
  content: "";
  display: block;
  margin-top: 8px;
  width: 22px; height: 14px;
  background: currentColor;
  transform: rotate(90deg);
  transition: transform .35s ease;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 21'><path d='M19.4 0.2c0.36-0.31 0.9-0.27 1.2 0.1l8.2 9.64a1 1 0 0 1 0 1.12l-8.2 9.64c-0.3 0.36-0.84 0.4-1.2 0.1-0.36-0.31-0.4-0.85-0.1-1.21l7-8.22H0.85a0.85 0.85 0 1 1 0-1.73h25.44l-7-8.22c-0.3-0.36-0.26-0.9 0.1-1.21Z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 21'><path d='M19.4 0.2c0.36-0.31 0.9-0.27 1.2 0.1l8.2 9.64a1 1 0 0 1 0 1.12l-8.2 9.64c-0.3 0.36-0.84 0.4-1.2 0.1-0.36-0.31-0.4-0.85-0.1-1.21l7-8.22H0.85a0.85 0.85 0 1 1 0-1.73h25.44l-7-8.22c-0.3-0.36-0.26-0.9 0.1-1.21Z'/></svg>") center/contain no-repeat;
}

.hero__cta-wrap {
  position: relative;
  height: 125px;
}
.cta-bridge {
  position: relative;
  z-index: 5;
  height: 0;
  pointer-events: none;
}
.cta-bridge .container { pointer-events: auto; }
.cta-bridge .hero__cta-wrap {
  position: absolute;
  bottom: -12px;
  left: var(--gutter);
}

/* ============================================================
   DARK STATS BAND
   ============================================================ */
.numbers {
  background: var(--ink);
  color: #fff;
  padding: 130px 0 150px;
  position: relative;
}
.numbers__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.numbers__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.1;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.numbers__title em {
  font-style: italic;
  font-weight: 400;
  font-family: var(--f-display);
}
.numbers__copy {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 28px 0 0;
  max-width: 540px;
}

.stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 0 40px 0 0;
}
.stat + .stat { padding-left: 56px; border-left: 1px solid rgba(255,255,255,0.18); }
.stat__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(90px, 9vw, 130px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}
.stat__num-value {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  letter-spacing: -0.06em;
}
.reel {
  display: inline-block;
  height: 1em;
  vertical-align: top;
  line-height: 1;
  margin-right: -0.04em;
  /* Horizontal breathing room so wide glyphs (e.g. Fraunces "0") aren't
     cropped on the right by overflow / clip-path. */
  padding-right: 0.04em;
  /* Use clip-path for vertical clipping only (extends ±50% horizontally), and
     drop overflow:hidden so glyph overhang isn't trimmed on the right. */
  clip-path: polygon(-50% 0, 150% 0, 150% 100%, -50% 100%);
  /* Visually clip-path hides the off-screen reel strip, but layout-wise the
     strip is still ~9000px tall and inflates document scrollHeight (blank
     space after the footer). Clip the Y axis to contain layout, keep X
     visible so wide glyphs can still hang out. */
  overflow-x: visible;
  overflow-y: clip;
}
.reel:last-child { margin-right: 0; }
/* The Fraunces digit "1" is much narrower than other glyphs, so the reel
   (sized for the widest digit) leaves a visible gap to the right of it.
   When a stat number starts with "1" (e.g. "12 years"), pull the next reel
   closer so the final-state digits read as a tight, intentional pair. */
.stat__num-value[data-target^="1"] .reel:first-child { margin-right: -0.2em; }
.reel__strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.reel__digit {
  height: 1em;
  line-height: 1;
  display: block;
}
.stat__num sup {
  font-size: 0.36em;
  font-weight: 300;
  margin-top: 0.5em;
  margin-left: 6px;
  letter-spacing: 0;
  color: #dda27a;
}
.stat__label {
  margin-top: 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 240px;
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice {
  padding: 140px 0 80px;
  background: var(--paper);
}
.practice__head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.practice__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.practice__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-family: var(--f-display);
}
.practice__body p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-deep);
}

.practice__sub {
  margin: 120px 0 32px;
  max-width: 460px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  aspect-ratio: 750 / 488;
  border-radius: 0;
  overflow: hidden;
  background: #2a2c30;
  color: #fff;
  isolation: isolate;
  cursor: pointer;
}
.card__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(63,67,71,0.85) 0%, rgba(63,67,71,0.55) 60%, rgba(63,67,71,0.85) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px),
    #44484c;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__bg { transform: scale(1.04); }
.card__gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(180deg, rgba(63,67,71,0) 0%, rgba(20,22,25,0.78) 100%);
}
.card__title {
  position: absolute;
  left: 44px;
  bottom: 36px;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 78%;
}
.card__cta {
  position: absolute;
  right: 36px;
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #fff;
  text-transform: uppercase;
}
.arrow {
  display: inline-block;
  width: 28px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 21'><path d='M19.4 0.2c0.36-0.31 0.9-0.27 1.2 0.1l8.2 9.64a1 1 0 0 1 0 1.12l-8.2 9.64c-0.3 0.36-0.84 0.4-1.2 0.1-0.36-0.31-0.4-0.85-0.1-1.21l7-8.22H0.85a0.85 0.85 0 1 1 0-1.73h25.44l-7-8.22c-0.3-0.36-0.26-0.9 0.1-1.21Z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 21'><path d='M19.4 0.2c0.36-0.31 0.9-0.27 1.2 0.1l8.2 9.64a1 1 0 0 1 0 1.12l-8.2 9.64c-0.3 0.36-0.84 0.4-1.2 0.1-0.36-0.31-0.4-0.85-0.1-1.21l7-8.22H0.85a0.85 0.85 0 1 1 0-1.73h25.44l-7-8.22c-0.3-0.36-0.26-0.9 0.1-1.21Z'/></svg>") center/contain no-repeat;
  transition: transform .3s;
}
.card:hover .arrow { transform: translateX(6px); }
.disc-cta:hover::after { transform: rotate(90deg) translateX(4px); }

.card[data-photo="meeting"] .card__bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url("assets/litigation.png") center/cover no-repeat;
}
.card[data-photo="procurement"] .card__bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url("assets/publicprocurement.png") center/cover no-repeat;
}
.card[data-photo="arbitration"] .card__bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url("assets/arbitration.png") center/cover no-repeat;
}
.card[data-photo="corporate"] .card__bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url("assets/corporate.png") center/cover no-repeat;
}

/* Secondary practices list */
.practice-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}
.practice-list li {
  list-style: none;
  border-bottom: 1px solid var(--line-soft);
}
.practice-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 1.6vw, 28px);
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color .25s, padding .25s;
}
.practice-list a:hover { color: var(--tan); padding-left: 12px; }
.practice-list .arrow {
  width: 22px;
  height: 12px;
  color: var(--tan);
}

/* ============================================================
   ABOUT BLOCK
   ============================================================ */
.about {
  padding: 100px 0 60px;
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.about__col p {
  margin: 0 0 24px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-deep);
}

/* ============================================================
   TEAM TEASER
   ============================================================ */
.team {
  padding: 100px 0 140px;
  background: var(--paper-grey);
  position: relative;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.team__copy { padding-bottom: 24px; }
.team__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}
.team__title em {
  font-style: italic;
  font-family: var(--f-display);
}
.team__lede {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-deep);
  max-width: 520px;
  margin: 0 0 36px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.text-link .arrow { color: var(--tan); width: 26px; height: 14px; }
.text-link:hover .arrow { transform: translateX(6px); }

.team__card {
  position: relative;
  width: 100%;
  max-width: 473px;
  margin-left: auto;
  aspect-ratio: 473 / 570;
  overflow: hidden;
  background: #d9d9d9;
}
.team__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team__card-grad {
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(180deg, rgba(63,67,71,0) 0%, rgba(63,67,71,0.78) 100%);
  mix-blend-mode: multiply;
}
.team__card-meta {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 32px;
  color: #fff;
}
.team__card-role {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--tan);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.team__card-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}

/* ============================================================
   CITIES (Bucharest / Paris)
   ============================================================ */
.cities {
  background: var(--paper);
  padding: 30px 0 110px;
}
.cities__head {
  text-align: left;
  margin: 0 0 50px;
  max-width: 620px;
}
.cities__head h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.cities__head h3 em { font-style: italic; }
.cities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.city-card {
  position: relative;
  aspect-ratio: 750 / 965;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}
.city-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.city-card:hover img { transform: scale(1.05); }
.city-card__grad {
  position: absolute;
  inset: 25% 0 0 0;
  background: linear-gradient(180deg, rgba(63,67,71,0) 0%, rgba(20,22,25,0.85) 100%);
  mix-blend-mode: multiply;
}
.city-card__head {
  position: absolute;
  left: 60px;
  right: 60px;
  top: 70px;
  color: #fff;
}
.city-card__name {
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: clamp(72px, 7.5vw, 110px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 22px;
  color: #fff;
}
.city-card__firm {
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255,255,255,0.9);
}
.city-card__foot {
  position: absolute;
  left: 60px;
  right: 60px;
  bottom: 56px;
}
.city-card__addr {
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  max-width: 430px;
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}
.outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 18px 32px;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--f-display-alt);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  transition: background .25s, color .25s;
}
.outline-btn .arrow { color: currentColor; }
.outline-btn:hover { background: #fff; color: var(--ink); }
.outline-btn:hover .arrow { transform: translateX(5px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 100px 0 50px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__logo {
  display: block;
  height: 46px;
  width: auto;
  margin: 0 0 24px;
}
.footer__about {
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  max-width: 360px;
}
.footer h4 {
  margin: 0 0 24px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--tan);
  text-transform: uppercase;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer a { color: rgba(255,255,255,0.85); transition: color .2s; }
.footer a:hover { color: var(--tan); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative;
  min-height: 760px;
  padding: 120px 0 160px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.about-hero__sky {
  position: absolute;
  inset: 0;
  background:
    url("assets/sky.png") 50% 25% / 160% auto no-repeat,
    linear-gradient(180deg, #b8cad9 0%, #d6e0e8 45%, #ecefef 100%);
  z-index: -2;
  filter: saturate(1.2) contrast(1.12) brightness(0.96);
  will-change: background-position;
  pointer-events: none;
}
.about-hero__building {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
          mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
  clip-path: inset(0 0 0 100%);
  transform: translateX(80px);
  animation: aboutBuildingDraw 2.2s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
}
@keyframes aboutBuildingDraw {
  0%   { clip-path: inset(0 0 0 100%); transform: translateX(80px); opacity: 0; }
  100% { clip-path: inset(0 0 0 0);    transform: translateX(0);    opacity: 1; }
}
.about-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(255,255,255,0.62) 0%,
    rgba(255,255,255,0.20) 55%,
    rgba(255,255,255,0) 100%);
  z-index: 0;
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.about-hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(48px, 5.8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 38px;
}
.about-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--tan);
  font-family: var(--f-display);
}
.about-hero__lead {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 520px;
  margin: 0;
  opacity: 0;
  animation: heroFadeIn 2s ease 0.3s forwards;
}

/* --- Our values (dark) --- */
.values {
  background: var(--ink);
  color: #fff;
  padding: 130px 0 150px;
}
.values__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 110px;
}
.values__eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--tan);
  text-transform: uppercase;
  margin: 0 0 28px;
}
.values__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  max-width: 640px;
}
.values__intro {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0;
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 96px;
  row-gap: 64px;
  position: relative;
}
.values__grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(132,130,147,0.45);
}
.values__grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(132,130,147,0.45);
}
.value {
  padding: 18px 0 50px;
  position: relative;
  /* Scroll-reveal: each value fades up when it enters the viewport.
     Stagger handled below via nth-child transition-delay. */
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.7,.16,1);
}
.value.is-in {
  opacity: 1;
  transform: none;
}
.value:nth-child(1).is-in { transition-delay: 0ms; }
.value:nth-child(2).is-in { transition-delay: 120ms; }
.value:nth-child(3).is-in { transition-delay: 240ms; }
.value:nth-child(4).is-in { transition-delay: 360ms; }
/* The big number gets a slightly slower fade so it settles in after the
   card's slide-up — feels less monolithic than everything moving as one. */
.value .value__num {
  transition: opacity 1.4s ease 0.25s;
}
.value:not(.is-in) .value__num { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .value, .value.is-in, .value .value__num, .value:not(.is-in) .value__num {
    opacity: 1; transform: none; transition: none;
  }
}
.value:nth-child(odd)  { padding-right: 48px; }
.value:nth-child(even) { padding-left: 48px; }
.value:nth-child(n+3) { padding-top: 60px; padding-bottom: 0; }
.value__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 130px;
  line-height: 0.9;
  color: rgba(221,162,122,0.22);
  letter-spacing: -0.04em;
  margin: 0 0 0;
  display: block;
}
.value__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: 0.18em;
  color: var(--tan);
  text-transform: uppercase;
  margin: -38px 0 26px;
  position: relative;
  white-space: pre-line;
}
.value__copy {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 460px;
}

/* --- Our history (tan band) --- */
.history {
  background: var(--tan);
  color: #fff;
  padding: 130px 0 150px;
}
.history__eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 36px;
  opacity: 0.85;
}
.history__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: start;
}
.history__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  max-width: 600px;
}
.history__title em {
  font-style: italic;
  font-family: var(--f-display);
  color: #fff;
}
.history__lead { max-width: 600px; }
.history__lede {
  margin: 32px 0 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  max-width: 540px;
}
.history__body p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}
.history__body p:last-child { margin-bottom: 0; }

/* --- How we work --- */
.how {
  background: var(--paper);
  padding: 140px 0 80px;
}
.how__head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 90px;
}
.how__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  max-width: 720px;
}
.how__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.how__item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 48px 0;
  /* Replace static border-top/bottom with pseudo-element lines so each
     row's divider can draw in left→right on viewport entry. */
  border-top: 0;
  position: relative;
}
.how__item::before,
.how__item:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.22,.7,.16,1);
}
.how__item::before { top: 0; }
.how__item:last-child::after { bottom: 0; }
.how__item:last-child { border-bottom: 0; }
.how__item.is-in::before,
.how__item.is-in:last-child::after { transform: scaleX(1); }
.how__item:nth-child(2).is-in::before { transition-delay: 180ms; }
.how__item:nth-child(3).is-in::before { transition-delay: 360ms; }
.how__item.is-in:last-child::after { transition-delay: 540ms; }

.how__item-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  /* Title fades up shortly after the line above it has drawn. */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.7,.16,1);
}
.how__item.is-in .how__item-title { opacity: 1; transform: none; }
.how__item:nth-child(1).is-in .how__item-title { transition-delay: 350ms; }
.how__item:nth-child(2).is-in .how__item-title { transition-delay: 530ms; }
.how__item:nth-child(3).is-in .how__item-title { transition-delay: 710ms; }

.how__item-title .arrow {
  color: var(--tan);
  width: 28px;
  height: 16px;
  /* The accent arrow extends out from the title's left edge. */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22,.7,.16,1);
}
.how__item.is-in .how__item-title .arrow { transform: scaleX(1); }
.how__item:nth-child(1).is-in .how__item-title .arrow { transition-delay: 600ms; }
.how__item:nth-child(2).is-in .how__item-title .arrow { transition-delay: 780ms; }
.how__item:nth-child(3).is-in .how__item-title .arrow { transition-delay: 960ms; }

@media (prefers-reduced-motion: reduce) {
  .how__item::before, .how__item:last-child::after,
  .how__item-title, .how__item-title .arrow {
    opacity: 1; transform: none; transition: none;
  }
}
.how__item-body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-deep);
  margin: 6px 0 0;
  max-width: 540px;
  /* Body fades in last, after its row's line + title + arrow have set. */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.7,.16,1);
}
.how__item.is-in .how__item-body { opacity: 1; transform: none; }
.how__item:nth-child(1).is-in .how__item-body { transition-delay: 700ms; }
.how__item:nth-child(2).is-in .how__item-body { transition-delay: 880ms; }
.how__item:nth-child(3).is-in .how__item-body { transition-delay: 1060ms; }
@media (prefers-reduced-motion: reduce) {
  .how__item-body { opacity: 1; transform: none; transition: none; }
}

/* --- Partnership panel --- */
.partnership {
  background: var(--paper);
  padding: 60px 0 140px;
}
.partnership__panel {
  background: var(--paper-grey);
  padding: clamp(50px, 7vw, 110px) clamp(40px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.partnership__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 540px;
}
.partnership__title em {
  font-style: italic;
  font-family: var(--f-display);
  color: var(--tan);
}
.partnership__body p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-deep);
}
.partnership__body p:last-child { margin-bottom: 0; }
.partnership__logo {
  display: block;
  margin: 40px 0 0;
  height: 44px;
  width: auto;
  opacity: 0.92;
}

/* ============================================================
   EXPERTISE PAGE
   ============================================================ */

/* dark statement band */
.statement {
  background: var(--ink);
  color: #fff;
  padding: 130px 0 150px;
}
.statement__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}
.statement__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}
.statement__body p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
}
.statement__body p:last-child { margin-bottom: 0; }

/* accordion */
.areas {
  background: var(--paper);
  padding: 140px 0 160px;
}
.areas__head { margin-bottom: 60px; }
.areas__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.area {
  border-bottom: 1px solid var(--line-soft);
}
.area__btn {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 32px 8px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  transition: padding-left .35s ease;
}
.area__btn:hover { padding-left: 18px; }
.area__btn:hover .area__title { color: var(--tan); }
.area__arrow {
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  color: var(--tan);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 33'><path d='M30.78 0.33c0.57-0.48 1.42-0.42 1.9 0.14l12.99 15.15a1.34 1.34 0 0 1 0 1.76L32.68 32.53c-0.49 0.57-1.34 0.63-1.91 0.15-0.57-0.49-0.63-1.34-0.15-1.91L41.7 17.85H1.35a1.35 1.35 0 1 1 0-2.71h40.35L30.63 2.23c-0.49-0.57-0.42-1.42 0.15-1.9z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 33'><path d='M30.78 0.33c0.57-0.48 1.42-0.42 1.9 0.14l12.99 15.15a1.34 1.34 0 0 1 0 1.76L32.68 32.53c-0.49 0.57-1.34 0.63-1.91 0.15-0.57-0.49-0.63-1.34-0.15-1.91L41.7 17.85H1.35a1.35 1.35 0 1 1 0-2.71h40.35L30.63 2.23c-0.49-0.57-0.42-1.42 0.15-1.9z'/></svg>") center/contain no-repeat;
  transform: rotate(90deg);
  transform-origin: center center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.area[aria-expanded="true"] .area__arrow { transform: rotate(0deg); }
.area__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  transition: color .25s ease;
}
.area__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.area[aria-expanded="true"] .area__panel { grid-template-rows: 1fr; }
.area__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.area__content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 10px 8px 64px 78px;
}
.area__summary {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.65;
  color: var(--tan);
  margin: 0;
  max-width: 520px;
}
.area__body p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-deep);
}
.area__body p:last-child { margin-bottom: 0; }
.area__body p.dummy { color: var(--ink-deep); }

/* ============================================================
   TEAM & CAREERS PAGE
   ============================================================ */

/* --- Core values quote band (dark) --- */
.core {
  background: var(--ink);
  color: #fff;
  padding: 130px 0 140px;
}
.core__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 96px;
  align-items: end;
}
.core__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  max-width: 720px;
}
.core__title em {
  font-style: normal;
  color: var(--tan);
  font-family: var(--f-display);
}
.core__lede {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0;
}

/* --- Lawyer accordion --- */
.lawyers {
  padding: 120px 0 140px;
  background: var(--paper);
}
.lawyers__eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 60px;
}

/* lawyer card extends .area accordion */
.lawyer .area__title {
  font-size: clamp(34px, 2.7vw, 45px);
  letter-spacing: -0.035em;
}
.lawyer__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.lawyer__role {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--tan);
}
.lawyer__content {
  display: grid;
  grid-template-columns: 524px 1fr;
  gap: 96px;
  padding: 12px 8px 72px 78px;
  align-items: start;
}
.lawyer__photo {
  margin: 0;
  width: 524px;
  height: 532px;
  background: #d9d9d9;
  overflow: hidden;
}
.lawyer__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.lawyer__photo--placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(132,130,147,0.18) 0%, rgba(132,130,147,0.05) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(132,130,147,0.12) 0 1px,
      transparent 1px 18px
    ),
    #ece9e3;
  color: rgba(63,67,71,0.6);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lawyer__bio {
  padding-top: 6px;
  max-width: 640px;
}
.lawyer__bio p {
  margin: 0 0 22px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-deep);
}
.lawyer__bio p:last-child { margin-bottom: 0; }

/* --- Careers (tan band) --- */
.careers {
  background: var(--tan);
  color: #fff;
  padding: 130px 0 140px;
}
.careers__eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 60px;
  opacity: 0.85;
}
.careers__head { margin-bottom: 56px; }
.careers__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  max-width: 900px;
}
.careers__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 0 100px;
}
.careers__intro p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.careers__pillars {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
  border-top: 1px solid rgba(255,255,255,0.35);
  padding-top: 56px;
}
/* On-viewport reveal: each pillar slides up and fades, with a per-item
   stagger so the three cascade rather than appearing as a block. */
.pillar {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.7,.16,1);
}
.pillar.is-in {
  opacity: 1;
  transform: none;
}
.pillar:nth-child(1).is-in { transition-delay: 0ms; }
.pillar:nth-child(2).is-in { transition-delay: 140ms; }
.pillar:nth-child(3).is-in { transition-delay: 280ms; }
/* Title gets a small extra delay so it settles in just after the card. */
.pillar .pillar__title {
  transition: opacity 1s ease, transform 1s cubic-bezier(.22,.7,.16,1);
}
.pillar:not(.is-in) .pillar__title { opacity: 0; transform: translateY(10px); }
.pillar:nth-child(1).is-in .pillar__title { transition-delay: 280ms; }
.pillar:nth-child(2).is-in .pillar__title { transition-delay: 420ms; }
.pillar:nth-child(3).is-in .pillar__title { transition-delay: 560ms; }
@media (prefers-reduced-motion: reduce) {
  .pillar, .pillar.is-in, .pillar .pillar__title, .pillar:not(.is-in) .pillar__title {
    opacity: 1; transform: none; transition: none;
  }
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 22px;
}
.pillar__body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.careers__apply {
  border-top: 1px solid rgba(255,255,255,0.35);
  padding-top: 40px;
  max-width: 760px;
}
.careers__apply p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: #fff;
  margin: 0;
}
.careers__apply a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding-bottom: 1px;
  transition: border-color .15s;
}
.careers__apply a:hover { border-color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
  .nav__menu { display: none; }
  .nav__alliance { display: none; }
  .nav__toggle { display: inline-flex; }
  .numbers__grid,
  .practice__head,
  .about__grid,
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .practice-list { grid-template-columns: 1fr; }
  .cities__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 84px; }

  /* Team page responsive */
  .core { padding: 80px 0 90px; }
  .core__grid { grid-template-columns: 1fr; gap: 36px; }
  .lawyers { padding: 70px 0 90px; }
  .lawyer__content { grid-template-columns: 1fr; gap: 28px; padding: 8px 8px 56px 8px; }
  .lawyer__photo,
  .lawyer__photo--placeholder { width: 100%; max-width: 420px; height: auto; aspect-ratio: 524 / 532; }
  .careers { padding: 80px 0 90px; }
  .careers__intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; }
  .careers__pillars { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; margin-bottom: 56px; }
  .about-hero { min-height: 620px; padding: 80px 0 120px; }
  /* On smaller viewports, anchor the sky image to the top of the section
     and let it cover the full vertical height so it reads as a single
     continuous backdrop rather than a centered band. */
  .about-hero__sky,
  .hero__sky {
    background:
      url("assets/sky.png") 50% 0% / auto 100% no-repeat,
      linear-gradient(180deg, #b8cad9 0%, #d6e0e8 45%, #ecefef 100%);
  }
  .about-hero__building {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    opacity: 0.6;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
            mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
  }
  .about-hero__veil {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0.3) 100%);
  }
  /* Match the Home hero's display size. !important is needed to beat the
     inline style="font-size: 66px" on the H1 in about.html. */
  .about-hero__title { font-size: clamp(54px, 6.8vw, 116px) !important; }
  /* Lead paragraph below the headline reads slightly thin against the
     busy sky/building backdrop at this size — bump weight on tablet+mobile. */
  .hero__lead,
  .about-hero__lead { font-weight: 600; }
  .values__head,
  .history__grid,
  .how__head,
  .how__item,
  .partnership__panel { grid-template-columns: 1fr; gap: 36px; }
  .statement__grid { grid-template-columns: 1fr; gap: 36px; }
  .area__content { grid-template-columns: 1fr; gap: 24px; padding: 4px 8px 48px 8px; }
  .area__btn { gap: 22px; padding: 26px 4px; }
  .area__arrow { width: 28px; height: 16px; }
  .values__grid { grid-template-columns: 1fr; row-gap: 48px; column-gap: 0; }
  .values__grid::before,
  .values__grid::after { display: none; }
  .value { padding: 24px 0 24px !important; border-top: 1px solid rgba(132,130,147,0.35); }
  .value:first-child { border-top: 0; }
  .value__num { font-size: 96px; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 28px; }
  /* Footer on mobile: collapse to a single, simple block — the duplicate
     nav and contact lists already live in the hamburger menu and the
     dedicated contact page, so the footer just needs a wordmark, a one-
     line tagline, and the credit line. */
  .footer { padding: 60px 0 32px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }
  .footer__top > div:not(:first-child) { display: none; }
  .footer__logo { height: 38px; margin: 0 0 18px; }
  .footer__about { max-width: none; font-size: 14px; line-height: 1.65; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 24px;
    font-size: 12px;
  }
  .nav__alliance-logo { display: none; }
  /* Partnership panel: the Teynier Pic logo is already shown in the nav
     and footer alliance lines, so hide it here to reduce mobile clutter. */
  .partnership__logo { display: none; }
  .hero { padding: 80px 0 120px; min-height: 620px; }
  .hero__overlay { max-width: 95%; opacity: 0.6; }
  /* On mobile, the practice cards lose the "Find out more" label and keep
     just the arrow — text feels redundant at this size. font-size: 0 on
     the wrapper collapses the label; the arrow keeps its explicit width/
     height so it stays visible at full size. */
  .card__cta { font-size: 0; gap: 0; }
  .card__cta .arrow { width: 32px; height: 16px; }
  .hero__veil {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0.3) 100%);
  }
}


/* ============================================================
   Override: no italics in headlines (applies across all pages)
   ============================================================ */
h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.about-hero__title em,
.core__title em,
.careers__title em,
.contact-details__title em,
.hero__title em,
.cities__head h3 em,
.numbers__title em,
.practice__title em,
.team__title em,
.history__title em,
.partnership__title em {
  font-style: normal !important;
}
