:root {
  --ink: #11110f;
  --ink-soft: #2d2c28;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #ddd7c9;
  --muted: #68645b;
  --gold: #c9a85a;
  --gold-light: #ead27a;
  --gold-deep: #7a6231;
  --navy: #201d58;
  --blue: #304984;
  --blue-deep: #17294f;
  --magenta: #e74b8f;
  --green: #173b34;
  --green-soft: #e7efeb;
  --danger: #8f2f2f;
  --max: 1180px;
  --radius: 8px;
  --shadow-soft: 0 18px 50px rgba(17, 17, 15, 0.1);
  --shadow-deep: 0 28px 70px rgba(13, 17, 38, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(201, 168, 90, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-deep);
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

p + p {
  margin-top: 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  max-width: 880px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

h4 {
  font-size: 1.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(32, 29, 88, 0.96);
  border-bottom: 3px solid var(--gold-light);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(10, 10, 30, 0.18);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--gold-light);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-action:hover {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100svh - 92px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(32, 29, 88, 0.98), rgba(48, 73, 132, 0.94) 55%, rgba(23, 41, 79, 0.98)),
    url("scales.jpg") center / cover no-repeat;
  color: white;
  border-bottom: 10px solid var(--gold-light);
}

.hero::before {
  content: "AR";
  position: absolute;
  right: -0.08em;
  bottom: -0.24em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(42vw, 520px);
  line-height: 0.75;
  color: rgba(234, 210, 122, 0.085);
  z-index: -1;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 116px 22px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 62px;
  align-items: center;
}

.hero h1 {
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.eyebrow {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  color: var(--gold-deep);
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero .eyebrow,
.dark .eyebrow,
.green .eyebrow,
.people-hero .eyebrow,
.proposal-hero .eyebrow {
  color: var(--gold-light);
}

.hero p {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(234, 210, 122, 0.42);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(9, 9, 28, 0.2);
  color: rgba(255, 255, 255, 0.84);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 14px;
}

.hero-card {
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.94);
  padding: 10px;
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
}

.hero-card-caption {
  padding: 14px 8px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.hero-card-caption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.hero-card-caption span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.hero-badges img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  background: #d6b96d;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 17, 15, 0.16);
}

.button.secondary {
  background: transparent;
  color: inherit;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.button.whatsapp,
.whatsapp-link {
  gap: 8px;
}

.button.whatsapp svg,
.whatsapp-link svg {
  flex-shrink: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 211, 102, 0.5);
  padding-bottom: 2px;
}

.whatsapp-link:hover {
  border-bottom-color: #25d366;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 40;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-deep);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.section {
  padding: 94px 22px;
  background: var(--paper);
}

.section.tight {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section.dark {
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 168, 90, 0.16), transparent 30%),
    var(--navy);
  color: white;
}

.section.green {
  background:
    radial-gradient(circle at 85% 22%, rgba(234, 210, 122, 0.14), transparent 32%),
    var(--blue);
  color: white;
  border-top: 8px solid var(--gold-light);
  border-bottom: 8px solid var(--gold-light);
}

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

.hero-inner > *,
.section-head > *,
.split > *,
.grid > *,
.card {
  min-width: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--muted);
  max-width: 62ch;
}

.dark .section-head p,
.green .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 90, 0.72);
  box-shadow: 0 26px 64px rgba(17, 17, 15, 0.14);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

.dark .card,
.green .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.card p,
.list p {
  color: var(--muted);
  margin-top: 12px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

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

.dark .card p,
.green .card p {
  color: rgba(255, 255, 255, 0.72);
}

.number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.dark .number,
.green .number {
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.65fr) minmax(0, 0.85fr);
}

.visual-panel {
  position: relative;
  width: 100%;
  min-height: 440px;
  max-width: 380px;
  justify-self: center;
  border-radius: 190px 190px 14px 14px;
  background:
    linear-gradient(rgba(17, 17, 15, 0.05), rgba(17, 17, 15, 0.25)),
    url("consultation.jpg") center / cover no-repeat;
  border: 1px solid rgba(234, 210, 122, 0.55);
  box-shadow: var(--shadow-deep);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 168, 90, 0.4);
  border-radius: 202px 202px 22px 22px;
  pointer-events: none;
}

@media (max-width: 520px) {
  .visual-panel {
    max-width: 300px;
    border-radius: 150px 150px 12px 12px;
  }

  .visual-panel::after {
    border-radius: 160px 160px 18px 18px;
  }
}

.office-photo {
  margin: 34px 0 0;
}

.office-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.office-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mark-panel {
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 168, 90, 0.16), transparent 42%),
    var(--surface);
}

.mark-panel img {
  width: min(72%, 420px);
  opacity: 0.76;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .lead,
.green .lead,
.people-hero .lead,
.proposal-hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.list {
  display: grid;
  gap: 18px;
}

.list-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
}

.list-item strong {
  color: var(--gold-deep);
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.person {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.portrait {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 168, 90, 0.2), transparent 32%),
    linear-gradient(145deg, #f7f3ea, #e5ded0);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-size: 2rem;
}

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

.person-body {
  padding: 16px;
}

.person-body p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
}

.article time,
.article-meta,
.tag {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 78ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.contact-box p {
  color: var(--muted);
  margin-top: 10px;
}

.quote {
  border-left: 3px solid var(--gold);
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.proposal-hero {
  background:
    linear-gradient(125deg, rgba(17, 17, 15, 0.98), rgba(23, 41, 79, 0.96)),
    url("scales.jpg") center / cover no-repeat;
  color: white;
}

.offer-card {
  border-color: rgba(234, 210, 122, 0.5);
}

.proposal-hero .card {
  color: var(--ink);
}

.value-line {
  display: inline-flex;
  margin-top: 14px;
  border: 1px solid rgba(201, 168, 90, 0.5);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.people-hero {
  padding: 74px 22px 46px;
  background:
    radial-gradient(circle at 84% 12%, rgba(231, 75, 143, 0.22), transparent 26%),
    linear-gradient(145deg, var(--blue), #2d4480);
  color: white;
  border-bottom: 10px solid var(--gold-light);
}

.people-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.principal-photo {
  width: min(100%, 420px);
  margin: 0 auto;
  border: 3px solid var(--gold);
  background: white;
  padding: 8px;
  box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.16);
}

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

.principal-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.principal-copy h2 {
  margin-top: 20px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.award-line {
  max-width: 650px;
  margin-top: 22px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.award-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.languages {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.dark .languages {
  color: rgba(255, 255, 255, 0.68);
}

.award-row img {
  width: 150px;
  height: 120px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(234, 210, 122, 0.38);
}

.associates-band {
  background: var(--blue);
  color: white;
  padding: 72px 22px 86px;
}

.associates-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.associate-card {
  text-align: center;
}

.associate-card figure {
  margin: 0;
  border: 3px solid var(--gold);
  background: white;
  padding: 6px;
}

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

.associate-card h3 {
  margin-top: 18px;
  color: white;
}

.associate-card p {
  margin-top: 6px;
  color: white;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 800;
}

.team-note {
  width: min(100%, var(--max));
  margin: 38px auto 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.home-team-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.mini-person {
  border: 2px solid var(--gold);
  background: white;
}

.mini-person img {
  width: 100%;
  height: clamp(190px, 23vw, 330px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.client-name {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 76px;
  padding: 16px 14px;
  border: 1px solid rgba(234, 210, 122, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.client-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .client-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-body {
  max-width: 76ch;
  margin-inline: auto;
}

.article-body h2 {
  margin-top: 2.2em;
  margin-bottom: 0.55em;
}

.article-body p {
  margin-bottom: 1em;
}

.article-body ul {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  display: grid;
  gap: 0.6em;
}

.article-body li {
  position: relative;
  padding-left: 1.5em;
  color: var(--ink-soft);
  max-width: 74ch;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.article-body .qa {
  margin-top: 1.8em;
  padding-top: 1.7em;
  border-top: 1px solid var(--line);
}

.article-body .qa:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-body .qa-q {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: 0.85em;
  color: var(--ink);
  position: relative;
  padding-left: 2.2em;
}

.article-body .qa-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.55em;
  height: 1.55em;
  display: grid;
  place-items: center;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.72em;
  font-weight: 800;
  color: var(--gold-deep);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.article-body blockquote {
  margin: 0 0 1em;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold);
  color: var(--ink-soft);
  font-style: italic;
}

.article-byline {
  margin-top: 18px;
  color: var(--gold);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
}

.article-byline a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(234, 210, 122, 0.5);
  text-underline-offset: 3px;
}

.article-byline a:hover {
  text-decoration-color: currentColor;
}

.legal-note {
  margin-top: 44px;
  padding: 20px;
  border-left: 3px solid var(--gold);
  background: rgba(16, 39, 38, 0.06);
  font-size: 0.92rem;
}

.mini-person span {
  display: block;
  padding: 10px;
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.price {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--gold);
  margin-top: 14px;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.note {
  margin-top: 20px;
}

.dark .small,
.green .small {
  color: rgba(255, 255, 255, 0.68);
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 42px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.footer-legal {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.dark .check-list li,
.green .check-list li {
  color: rgba(255, 255, 255, 0.74);
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.63em;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 54px 22px 28px;
}

.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer img {
  width: 220px;
  filter: brightness(1.4);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  width: min(100%, var(--max));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 650ms ease, opacity 650ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-header.is-open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    border-top: 1px solid rgba(234, 210, 122, 0.28);
  }

  .site-header.is-open .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(234, 210, 122, 0.16);
  }

  .section-head,
  .split,
  .split.reverse,
  .hero-inner,
  .people-hero-grid,
  .grid.three,
  .grid.two,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 48px;
    padding-top: 86px;
    padding-bottom: 72px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .associates-grid,
  .home-team-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    max-width: 520px;
  }

  .section-head {
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  h3 {
    font-size: clamp(1.22rem, 5vw, 1.65rem);
  }

  .nav-wrap {
    padding: 12px 16px;
  }

  .brand img {
    width: 82px;
  }

  .hero-inner,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero h1,
  .proposal-hero h1 {
    max-width: 10.5ch;
  }

  .hero p,
  .proposal-hero .lead {
    max-width: 34ch;
  }

  .hero-panel,
  .proposal-hero .card {
    width: 100%;
    max-width: 360px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 360px;
  }

  .hero-actions,
  .button-row {
    width: 100%;
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  .hero-card {
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.18);
  }

  .hero-card-caption {
    display: grid;
    align-items: start;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hero-badges img {
    width: 82px;
    height: 82px;
  }

  .list-item,
  .article,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .associates-grid,
  .home-team-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mini-person span {
    min-height: 56px;
    display: grid;
    align-items: center;
  }

  .article {
    gap: 8px;
    padding: 20px 0;
  }

  .price {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .people-hero {
    padding-top: 54px;
  }

  .principal-photo {
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.16);
  }
}

@media (max-width: 360px) {
  .nav-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-inner,
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .team-grid,
  .associates-grid,
  .home-team-strip {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 116px;
  padding-bottom: 116px;
  border-bottom: 6px solid var(--gold-light);
  background-image:
    radial-gradient(720px 420px at 88% 0%, rgba(234, 210, 122, 0.16), transparent 65%),
    radial-gradient(circle at 10% 120%, rgba(48, 73, 132, 0.5), transparent 55%);
}

.page-hero::before {
  content: "AR";
  position: absolute;
  right: -0.05em;
  bottom: -0.26em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(34vw, 420px);
  line-height: 0.75;
  color: rgba(234, 210, 122, 0.07);
  z-index: -1;
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(234, 210, 122, 0.28);
  aspect-ratio: 3 / 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(17, 17, 15, 0.85));
  color: rgba(255, 255, 255, 0.94);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
