/* ALLO Lawyers public site — restored from the original 2026 visual system. */
:root {
  --orange: #fa911b;
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --text: #1a1c1e;
  --text-body: #47494b;
  --muted: #91918e;
  --gray-num: #b0b0b0;
  --light: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --font-display: "Lora", Georgia, serif;
  --font-serif: "Lora", Georgia, serif;
  --font-body: "Open Sans", sans-serif;
  --font-zh-display: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  --font-zh-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --max: 1224px;
  --header-h: 130px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --title-bg: linear-gradient(102deg, #0a0000 0%, #242020 45%, #808080 100%);
}

/* CMS additions: deliberately reuse the original visual language. */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 2000; padding: 10px 14px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.form__success.is-error { color: #9f1d1d; }
.form__success:not(:empty) { display: block; margin-bottom: 14px; font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 42px; }
.pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid #191919; color: #191919; text-decoration: none; }
.pagination a:hover,.pagination a.is-current { background: #191919; color: #fff; }
.empty-state { padding: 40px 0; text-align: center; color: #666; }
.article-meta { color: #666; font-size: .9rem; margin-top: 16px; }
.home-carousel { position: relative; padding: 0; background: var(--title-bg); color: #fff; overflow: hidden; }
.carousel-track { position: relative; min-height: 500px; }
.carousel-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.carousel-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.carousel-slide picture,.carousel-slide img { display: block; width: 100%; height: 500px; object-fit: cover; }
.carousel-copy { padding: 64px; }
.carousel-copy h2 { font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 1.3; margin-bottom: 18px; }
.carousel-copy p { margin-bottom: 24px; color: #ddd; }
.carousel-controls { position: absolute; z-index: 3; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 12px; }
.carousel-controls>button { width: 38px; height: 38px; border: 1px solid #fff; background: transparent; color: #fff; cursor: pointer; font-size: 1.5rem; }
.carousel-controls [data-carousel-dots] { display: flex; gap: 8px; }
.carousel-controls [data-carousel-dots] button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #777; padding: 0; cursor: pointer; }
.carousel-controls [data-carousel-dots] button.is-active { background: #ff8412; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; font-size: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px); }
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1000; max-width: 780px; margin: auto; padding: 20px; background: #171717; color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner>div { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-settings-link { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
  .carousel-slide { grid-template-columns: 1fr; }
  .carousel-slide picture,.carousel-slide img { height: 260px; }
  .carousel-copy { padding: 30px 20px 72px; }
  .carousel-track { min-height: 520px; }
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

.locale-zh-hant { font-family: var(--font-zh-body); }
.locale-zh-hant h1,
.locale-zh-hant h2,
.locale-zh-hant h3,
.locale-zh-hant h4,
.locale-zh-hant h5,
.locale-zh-hant h6,
.locale-zh-hant .hero__sub,
.locale-zh-hant .about-copy p,
.locale-zh-hant .article,
.locale-zh-hant .legal-content,
.locale-zh-hant .careers-prose { font-family: var(--font-zh-display); }

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.site-header.is-solid {
  position: fixed;
  background: var(--dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}

.logo {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo .logo-mark {
  font-weight: 700;
  color: var(--orange);
}

.logo img {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--orange);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

.header-social {
  display: flex;
  color: #fff;
  margin-left: 44px;
  margin-right: 10px;
  transition: color 0.2s ease;
}

.header-social:hover {
  color: var(--orange);
}

.header-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header-cta {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(10, 10, 10, 0.98);
  padding: 24px;
  flex-direction: column;
  z-index: 99;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: #fff;
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a:hover {
  color: var(--orange);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  line-height: 1.2;
}

.btn--orange {
  background: var(--orange);
  color: #1a1a1a;
}

.btn--orange:hover {
  background: #000;
  color: #fff;
}

.btn--light {
  background: #fff;
  color: #1a1a1a;
}

.btn--light:hover {
  background: var(--orange);
  color: #1a1a1a;
}

.btn--dark {
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 13px 34px;
}

.btn--dark:hover {
  background: var(--orange);
  color: #1a1a1a;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-more {
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
}

.link-more:hover {
  text-decoration: underline;
}

/* ===== Shared TITLE SECTION (home + inner pages) ===== */
.hero,
.page-hero {
  position: relative;
  color: #fff;
  background: var(--title-bg);
}

.hero {
  height: 620px;
  min-height: 620px;
  display: block;
  padding: 0;
}

.hero__inner {
  width: min(100% - 48px, 800px);
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  margin-right: auto;
  padding-top: 314px;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero__logo {
  display: none;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 28px;
  letter-spacing: 0;
}

.hero__sub {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #d1d1d1;
  max-width: 568px;
  margin-bottom: 39px;
}

.hero .btn-row { gap: 27px; }
.hero .btn { height: 53px; padding: 0 24px; border-radius: 14px; font-size: 18px; }
.hero .btn--light { width: 178px; }
.hero .btn--orange { width: 255px; }

/* Inner-page title band — same design as home TITLE SECTION */
.page-hero {
  height: 609px;
  min-height: 609px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 136px;
}

.page-hero .container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.page-hero p { margin-top: 20px; max-width: 680px; font-family: var(--font-serif); font-size: 20px; color: #eee; }

.page-hero--image {
  background:
    radial-gradient(ellipse 70% 90% at 8% 0%, rgba(200, 120, 40, 0.18) 0%, transparent 50%),
    linear-gradient(95deg, rgba(0, 0, 0, 0.82) 0%, rgba(20, 20, 20, 0.72) 50%, rgba(50, 50, 50, 0.65) 100%),
    url("../images/about-firm.webp") center / cover no-repeat;
}

/* Header always overlays the title section */
body:not(.page-home) .site-header {
  position: absolute;
  background: transparent;
}

/* ===== Sections ===== */
.section {
  padding: 94px 0;
}

.section--white {
  background: var(--white);
}

.section--light {
  background: var(--light);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.lead {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 560px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 493fr 599fr;
  gap: 92px;
  align-items: center;
  padding: 0 13px 0 27px;
}

#about { padding: 145px 0; }

.about-grid__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy .section-title {
  margin-bottom: 20px;
}

.about-copy p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* ===== Practice ===== */
.practice-head {
  margin-bottom: 32px;
}

#practice { min-height: 962px; padding: 64px 0 112px; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 61px;
}

.practice-card__num {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gray-num);
  margin-bottom: 10px;
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.practice-card p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ===== Home News cards ===== */
.news-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

#news { min-height: 745px; padding: 80px 0 88px; }

.news-home-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease);
}

.news-home-card:hover {
  transform: translateY(-3px);
}

.news-home-card__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #ddd;
}

.news-home-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-home-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.news-home-card p {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.55;
  flex: 1;
}

/* ===== Partners logo row ===== */
.partners-intro {
  margin-bottom: 70px;
}

#partners { padding: 94px 0 116px; background: linear-gradient(102deg, #f5f5f5 0%, #dedede 100%); }

.partners-intro .lead {
  margin-top: 8px;
}

.partner-row {
  display: grid;
  grid-template-columns: 315px 249px 370px 110px;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 42px;
  padding: 12px 0;
}

.partner-row img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.partner-row img.partner-row__sq {
  width: 74px;
  height: 74px;
  justify-self: end;
  border-radius: 8px;
  object-fit: contain;
}

.partner-row img.partner-row__spectrum {
  width: 370px;
}

/* ===== Media compact ===== */
.media-compact {
  display: grid;
  grid-template-columns: 367px 1fr;
  gap: 70px;
  align-items: center;
  max-width: 916px;
}

.media-compact__thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eee;
}

.media-compact__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-coverage .section-title { margin-bottom: 16px; }
.media-compact__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.media-compact__copy strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.media-compact__copy small { font-family: var(--font-serif); font-size: 15px; color: var(--text-body); }
.media-compact:hover .link-more { text-decoration: underline; }

/* ===== Contact ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#contact { min-height: 616px; padding: 78px 0 54px; }
#contact .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
#contact .contact-form .form__success,
#contact .contact-form label:nth-of-type(2),
#contact .contact-form label:nth-of-type(4),
#contact .contact-form label:nth-of-type(6),
#contact .contact-form .btn { grid-column: 1 / -1; }

.contact-intro .section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-intro .email-line {
  margin-top: 28px;
  font-size: 15px;
}

.contact-intro .email-line a {
  color: var(--orange);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form input,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250, 145, 27, 0.15);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form__success {
  display: none;
  padding: 12px 14px;
  background: #e8f7f2;
  color: #0a7a5c;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.form__success.is-visible {
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  min-height: 429px;
  display: flex;
  align-items: center;
  background: linear-gradient(102deg, #0a0000 0%, #282424 45%, #808080 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 32px 40px;
  align-items: end;
}

.footer-brand .logo-footer {
  display: block;
  width: 256px;
  margin-bottom: 24px;
}

.footer-brand .logo-footer img { width: 100%; height: auto; }

.footer-brand .footer-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.footer-brand .footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-brand .footer-mail a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand .footer-mail img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.footer-mid {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 4px;
}

.footer-mid img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-right {
  text-align: right;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.footer-right p {
  margin-bottom: 8px;
}

.footer-right a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-right a:hover {
  color: var(--orange);
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
}

.social-link img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* ===== Team ===== */
.attorneys-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 28px);
  font-weight: 500;
  margin-bottom: 36px;
  color: var(--text);
}

.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px 56px;
  align-items: start;
}

.team-photo {
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
  margin-bottom: 24px;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.team-aside-block {
  margin-bottom: 28px;
}

.team-aside-block h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.team-aside-block p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}

.team-aside-block ul {
  list-style: disc;
  padding-left: 1.15em;
}

.team-aside-block li {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 6px;
  color: var(--text-body);
}

.team-bio-head {
  margin-bottom: 20px;
}

.team-bio-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 6px;
}

.team-bio-head .role {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-bio-head .contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  font-size: 15px;
}

.team-bio-head .contact-line a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.team-bio-head .contact-line a[href*="linkedin"] {
  display: inline-flex;
  color: #0a66c2;
}

.team-bio-head .contact-line a[href*="linkedin"] img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}

.team-bio-head .lang-link {
  color: var(--orange) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bio-text p {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  color: var(--text-body);
  line-height: 1.7;
}

.expertise-block {
  margin-top: 28px;
}

.expertise-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
}

.expertise-block ul {
  list-style: disc;
  padding-left: 1.2em;
  margin-bottom: 8px;
}

.expertise-block li {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  color: var(--text-body);
  line-height: 1.55;
  font-size: 15px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-card__img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
}

.news-card__body p {
  color: var(--text-body);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 10px;
}

.news-card__meta {
  font-size: 12px;
  color: #999;
  font-family: var(--font-serif);
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-head {
  text-align: center;
  margin-bottom: 32px;
}

.article-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}

.article-head .deck {
  font-family: var(--font-body);
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

.article h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}

.article p {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}

.article a {
  color: #1a5fb4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article a.mailto-link,
.article .mailto-link {
  color: #1a5fb4;
}

.article ul {
  list-style: disc;
  padding-left: 1.35em;
  margin: 0 0 20px;
}

.article li {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.article-hero-img {
  margin: 0 0 36px;
  overflow: hidden;
}

.article-hero-img img {
  width: 100%;
  display: block;
}

.careers-prose {
  max-width: 680px;
}

.careers-prose p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
}

.careers-prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}

.contact-page .intro p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 28px;
}

.contact-page .intro strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-page .intro a {
  font-family: var(--font-serif);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #b0b0b0;
  font-family: var(--font-serif);
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 32px);
  font-weight: 500;
  margin-bottom: 28px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 36px 0 14px;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--text-body);
  line-height: 1.65;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25em;
  margin: 0 0 14px;
}

.legal-content li {
  margin-bottom: 7px;
  color: var(--text-body);
  line-height: 1.55;
}

.prose {
  max-width: 700px;
}

.prose p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
}

.prose a {
  color: var(--orange);
  font-weight: 600;
}

/* ===== Motion ===== */
.reveal {
  opacity: 1;
  transform: none;
}

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  :root { --header-h: 96px; }

  .nav,
  .header-social { display: none; }

  .burger { display: flex; }
  .site-header__inner { min-height: var(--header-h); }
}

@media (max-width: 1100px) {
  .partner-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 56px;
    justify-items: start;
  }

  .partner-row img,
  .partner-row img.partner-row__spectrum { width: auto; max-width: 100%; max-height: 92px; }
  .partner-row img.partner-row__sq { justify-self: start; }
}

@media (max-width: 960px) {
  .about-grid,
  .news-home-grid,
  .news-grid,
  .contact-section,
  .contact-page,
  .team-layout,
  .footer-grid,
  .media-compact {
    grid-template-columns: 1fr;
  }

  .practice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-compact__thumb {
    max-width: 367px;
  }

}

@media (max-width: 640px) {
  :root { --header-h: 80px; }

  .container,
  .container-wide {
    width: min(100% - 32px, var(--max));
  }

  .logo { font-size: 28px; }

  .section {
    padding: 64px 0;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 620px;
    min-height: 620px;
    padding: 0;
  }

  .hero__inner,
  .page-hero .container {
    margin-left: 16px;
    width: calc(100% - 32px);
  }

  .hero__inner { padding-top: 220px; }
  .hero h1 { font-size: clamp(30px, 8.7vw, 34px); line-height: 1.25; margin-bottom: 22px; }
  .hero__sub { max-width: 100%; font-size: 18px; line-height: 1.45; margin-bottom: 30px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .hero .btn,
  .hero .btn--light,
  .hero .btn--orange { width: 100%; }

  .page-hero {
    height: 420px;
    min-height: 420px;
    padding: 0 0 72px;
  }

  .page-hero h1 { font-size: 34px; line-height: 1.3; }
  .section-title { font-size: 30px; }
  .eyebrow { font-size: 16px; }
  #about,
  #practice,
  #news,
  #partners,
  #contact { padding: 64px 0; }
  #about,
  #practice,
  #news,
  #contact { min-height: 0; }
  #contact .contact-form { grid-template-columns: 1fr; }
  #contact .contact-form .form__success,
  #contact .contact-form label,
  #contact .contact-form .btn { grid-column: auto; }
  .about-grid { padding: 0; gap: 36px; }
  .about-copy p { font-size: 18px; }
  .practice-grid { gap: 48px; }
  .practice-card h3 { font-size: 30px; }
  .news-home-grid { gap: 48px; }
  .news-home-card h3 { font-size: 22px; }
  .partner-row { grid-template-columns: 1fr; gap: 30px; }
  .media-compact { gap: 24px; }
  .site-footer { min-height: 0; padding: 72px 0; }
  .footer-brand .logo-footer { width: min(256px, 100%); }

  .partner-row img {
    width: auto;
    height: auto;
    max-width: min(280px, 100%);
    max-height: 72px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-mid {
    padding: 8px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js.reveal-ready .reveal,
  .js.reveal-ready .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
