@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 700;
  src: url("./assets/fonts/roboto-latin.woff2") format("woff2");
}

:root {
  --navy: #1e2b50;
  --navy-2: #111a32;
  --gold: #986f32;
  --paper: #f7f4ef;
  --ink: #20242c;
  --muted: #646b78;
  --line: rgba(30, 43, 80, 0.14);
  --white: #ffffff;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  font-synthesis: none;
  font-weight: 400;
  margin: 0;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (pointer: fine) {
  body.premium-cursor,
  body.premium-cursor a,
  body.premium-cursor button {
    cursor: none;
  }
}

.tmc-cursor-dot,
.tmc-cursor-ring {
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  z-index: 9999;
}

.tmc-cursor-dot {
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(152, 111, 50, 0.34);
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  width: 7px;
}

.tmc-cursor-ring {
  border: 1px solid rgba(152, 111, 50, 0.46);
  border-radius: 999px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.5), 0 0 28px rgba(30, 43, 80, 0.08);
  height: 34px;
  margin: -17px 0 0 -17px;
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
  width: 34px;
}

body.cursor-active .tmc-cursor-ring {
  background: rgba(152, 111, 50, 0.08);
  border-color: rgba(30, 43, 80, 0.34);
}

.reveal-item {
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 720ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    filter 720ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-item.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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

:focus-visible {
  outline: 3px solid rgba(152, 111, 50, 0.72);
  outline-offset: 3px;
}

.skip-link {
  background: var(--navy);
  border-radius: 0 0 8px 0;
  color: #ffffff;
  font-weight: 700;
  left: 0;
  padding: 12px 16px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(152, 111, 50, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #ffffff 100%);
}

#app {
  position: relative;
}

#app.water-page {
  isolation: isolate;
  overflow: clip;
}

#app.water-page::before {
  animation: tmc-water-drift 22s ease-in-out infinite alternate;
  background: url("./assets/tmc-water-silk.jpeg") center 44% / cover no-repeat;
  content: "";
  filter: brightness(1.04) contrast(0.9) saturate(0.5);
  height: 440px;
  left: -2%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.92) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.92) 62%, transparent 100%);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 104%;
  z-index: 0;
}

#app.water-page > * {
  position: relative;
  z-index: 1;
}

@keyframes tmc-water-drift {
  from {
    transform: translate3d(-0.7%, 0, 0) scale(1.025);
  }
  to {
    transform: translate3d(0.7%, -7px, 0) scale(1.045);
  }
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(30, 43, 80, 0.1);
  box-shadow: 0 10px 36px rgba(17, 26, 50, 0.045);
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  height: 86px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  display: block;
  height: 46px;
  width: auto;
}

.desktop-nav {
  align-items: center;
  color: var(--navy);
  display: flex;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  gap: 2px;
  justify-content: center;
  min-width: 0;
}

.desktop-nav > a,
.desktop-more > button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  min-height: 44px;
  opacity: 0.9;
  padding: 0 14px;
  position: relative;
  white-space: nowrap;
}

.desktop-nav > a::after,
.desktop-more > button::before {
  background: var(--gold);
  bottom: 2px;
  content: "";
  height: 1px;
  left: 14px;
  position: absolute;
  right: 14px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible,
.desktop-nav > a[aria-current="page"],
.desktop-more:hover > button,
.desktop-more > button:focus-visible,
.desktop-more > button[aria-expanded="true"],
.header-action:hover,
.linkedin-link:hover {
  color: var(--gold);
  opacity: 1;
}

.desktop-nav > a:focus-visible,
.desktop-more > button:focus-visible {
  outline: none;
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.desktop-nav > a[aria-current="page"]::after,
.desktop-more:hover > button::before,
.desktop-more > button:focus-visible::before,
.desktop-more > button[aria-expanded="true"]::before {
  transform: scaleX(1);
}

.desktop-more {
  position: relative;
}

.desktop-more::after {
  content: "";
  height: 24px;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.desktop-more > button::after {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  height: 7px;
  margin-left: 10px;
  margin-top: -4px;
  transform: rotate(45deg);
  transform-origin: center;
  transition: margin 180ms ease, transform 180ms ease;
  width: 7px;
}

.desktop-more:hover > button::after,
.desktop-more > button[aria-expanded="true"]::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.desktop-more-menu {
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(30, 43, 80, 0.13);
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(17, 26, 50, 0.17);
  counter-reset: menu-item;
  display: grid;
  min-width: 282px;
  opacity: 0;
  overflow: hidden;
  padding: 7px 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 24px);
  transform: translateY(-7px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.desktop-more-menu::before {
  background: linear-gradient(90deg, var(--gold), rgba(152, 111, 50, 0.15));
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.desktop-more:hover .desktop-more-menu,
.desktop-more:focus-within .desktop-more-menu,
.desktop-more.is-open .desktop-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-more-menu a {
  align-items: center;
  border-bottom: 1px solid rgba(30, 43, 80, 0.08);
  color: var(--navy);
  counter-increment: menu-item;
  display: grid;
  font-size: 13.5px;
  font-weight: 500;
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 49px;
  padding: 0 18px;
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.desktop-more-menu a::before {
  color: var(--gold);
  content: "0" counter(menu-item);
  font-size: 10px;
  font-weight: 600;
}

.desktop-more-menu a:last-child {
  border-bottom: 0;
}

.desktop-more-menu a:hover,
.desktop-more-menu a:focus-visible,
.desktop-more-menu a[aria-current="page"] {
  background: rgba(152, 111, 50, 0.075);
  color: var(--gold);
  padding-left: 21px;
}

.header-action,
.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.header-action {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  flex: 0 0 auto;
  font-size: 13px;
  min-height: 40px;
  padding-inline: 16px;
}

.header-tools {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.language-switch {
  align-items: center;
  background: rgba(247, 244, 239, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.language-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  min-height: 30px;
  padding: 0 9px;
}

.language-switch button.active {
  background: var(--navy);
  color: #ffffff;
}

.linkedin-link {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  background: rgba(255, 255, 255, 0.66);
  height: 40px;
  justify-content: center;
  width: 40px;
}

.linkedin-link svg {
  display: block;
  fill: currentColor;
  height: 17px;
  width: 17px;
}

.mobile-menu-button,
.mobile-menu-panel {
  display: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 76px);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: url("./assets/hero-rings.jpeg") center right / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  transform: translate3d(var(--hero-spheres-x, 0px), var(--hero-spheres-y, 0px), 0) scale(var(--hero-spheres-scale, 1.03));
  transform-origin: 72% 50%;
  transition: filter 500ms ease;
  z-index: 0;
}

.hero.is-sensing::before {
  filter: saturate(1.03) contrast(1.02);
}

.hero-video,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-video {
  mix-blend-mode: multiply;
  object-fit: cover;
  opacity: 0.06;
  z-index: 1;
}

.hero::after {
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(120deg, transparent 42%, rgba(152, 111, 50, 0.08) 58%, transparent 74%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.99) 0%, rgba(247, 244, 239, 0.9) 36%, rgba(247, 244, 239, 0.34) 64%, rgba(247, 244, 239, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 42%),
    linear-gradient(180deg, transparent 78%, var(--paper) 100%);
  z-index: 2;
}

.hero-content {
  display: grid;
  min-height: calc(100vh - 76px);
  padding: clamp(76px, 12vw, 150px) clamp(22px, 7vw, 92px);
  place-content: center start;
  position: relative;
  width: min(780px, 100%);
  z-index: 3;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 500;
  line-height: 0.94;
  margin-bottom: 24px;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.lead,
.page-hero p,
.split p,
.dashboard-copy p {
  color: #34405a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.hero-signature {
  border-left: 3px solid var(--gold);
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-left: 18px;
}

.hero-signature span {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(152, 111, 50, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.button.glass {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy);
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 28px 48px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  padding: 32px 0 110px;
  width: min(1180px, calc(100% - 40px));
}

.site-footer > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.site-footer strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.site-footer span {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}

.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
}

.site-footer a,
.site-footer button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 28px;
  padding: 6px 10px;
  text-align: left;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-footer nav > * + * {
  border-left: 1px solid var(--line);
}

.site-footer a:hover,
.site-footer button:hover,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.band,
.split,
.service-strip,
.page-hero,
.two-columns,
.service-grid,
.people-grid,
.timeline,
.office-grid,
.locations-overview,
.app-dashboard,
.contact-panel {
  margin-inline: auto;
  width: min(1180px, calc(100% - 40px));
}

.metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

.metrics article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  min-height: 128px;
  padding: 28px;
}

.metrics strong {
  color: var(--navy);
  display: block;
  font-size: 40px;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.split {
  align-items: start;
  display: grid;
  gap: clamp(28px, 8vw, 100px);
  grid-template-columns: 0.85fr 1fr;
  padding: 110px 0 70px;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 80px;
}

.service-strip a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 500;
  padding: 12px 16px;
}

.page-hero {
  padding: 100px 0 48px;
}

.page-hero.compact {
  padding-top: 86px;
}

.page-hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  max-width: 940px;
}

.service-detail-hero h1,
.profile-hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
}

.page-hero p {
  max-width: 760px;
}

.two-columns,
.service-grid,
.office-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 90px;
}

.service-grid,
.office-grid {
  grid-template-columns: repeat(3, 1fr);
}

.original-content {
  margin-inline: auto;
  padding-bottom: 90px;
  width: min(1180px, calc(100% - 40px));
}

.original-intro,
.original-wide {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  margin-bottom: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.original-intro p,
.original-wide p,
.story-card-deep p {
  color: #34405a;
  font-size: 17px;
  line-height: 1.72;
}

.original-intro p:last-child,
.original-wide p:last-child,
.story-card-deep p:last-child {
  margin-bottom: 0;
}

.story-deep-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 18px;
}

.story-card-deep {
  padding: clamp(26px, 4vw, 38px);
}

.story-card-deep h2,
.original-wide h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.original-wide a {
  color: var(--gold);
  display: inline-flex;
  font-weight: 600;
  margin-top: 6px;
}

.service-original {
  padding-bottom: 28px;
}

.story-card,
.service-card,
.office-grid article,
.timeline article,
.contact-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  padding: 28px;
}

.service-card span {
  background: var(--gold);
  display: block;
  height: 3px;
  margin-bottom: 22px;
  width: 44px;
}

.service-card p,
.story-card p,
.office-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.6;
}

.service-card a,
.office-grid a {
  color: var(--gold);
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 16px;
  padding-bottom: 90px;
}

.publications-shell {
  display: grid;
  gap: 26px;
  margin: -20px auto 96px;
  width: min(1180px, calc(100% - 40px));
}

.publications-toolbar {
  align-items: end;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.55fr) 1fr;
  padding: 18px;
}

.publication-search {
  display: grid;
  gap: 8px;
}

.publication-search span,
.publication-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.publication-search input {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(30, 43, 80, 0.18);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.publication-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(152, 111, 50, 0.14);
}

.publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-filters button {
  align-items: center;
  background: rgba(247, 244, 239, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
}

.publication-filters button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.publication-count {
  padding-left: 4px;
}

.publication-category {
  display: grid;
  gap: 18px;
}

.publication-category-head {
  align-items: end;
  border-bottom: 1px solid rgba(152, 111, 50, 0.34);
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
}

.publication-category-head h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 0;
}

.publication-category-head .eyebrow {
  margin-bottom: 6px;
}

.publication-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.publication-card,
.publication-empty,
.publication-loading {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
}

.publication-card {
  display: grid;
  gap: 22px;
  grid-template-rows: 1fr auto;
  min-height: 220px;
  padding: 24px;
}

.publication-card span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.publication-card h3 {
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.publication-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0;
}

.publication-card a {
  align-items: center;
  border-top: 1px solid rgba(152, 111, 50, 0.22);
  color: var(--gold);
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding-top: 16px;
}

.publication-card a::after {
  content: "->";
}

.publication-empty,
.publication-loading {
  color: var(--muted);
  padding: 28px;
}

.publication-loading {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.82);
  background-size: 220% 100%, auto;
  animation: loadingSweep 1.35s ease-in-out infinite;
}

@keyframes loadingSweep {
  0% {
    background-position: 120% 0, 0 0;
  }
  100% {
    background-position: -120% 0, 0 0;
  }
}

.editorials-shell {
  display: grid;
  gap: 28px;
  margin: -20px auto 96px;
  width: min(1180px, calc(100% - 40px));
}

.editorial-agent {
  align-items: end;
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 320px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.editorial-agent::after {
  background: url("./assets/hero-rings.jpeg") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.12;
  position: absolute;
}

.editorial-agent > * {
  position: relative;
  z-index: 1;
}

.editorial-agent h2 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 52px);
  max-width: 760px;
}

.editorial-agent p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 720px;
}

.agent-meta {
  display: grid;
  gap: 10px;
}

.agent-meta span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 14px;
}

.editorial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.editorial-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  overflow: hidden;
}

.editorial-card img,
.editorial-fallback {
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(30, 43, 80, 0.82), rgba(152, 111, 50, 0.68)),
    url("./assets/hero-rings.jpeg") center / cover no-repeat;
  object-fit: cover;
  width: 100%;
}

.editorial-card-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.editorial-card-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-card-copy h3 {
  font-size: 21px;
  margin-bottom: 0;
}

.editorial-card-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
}

.editorial-card-copy a {
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
}

.editorial-detail {
  margin: 0 auto;
  padding: 70px 0 110px;
  width: min(900px, calc(100% - 40px));
}

.editorial-detail-image {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  display: block;
  margin: 28px 0;
  object-fit: cover;
  width: 100%;
}

.editorial-card img.editorial-person-image {
  object-position: center top;
}

.editorial-detail-image.editorial-person-image {
  aspect-ratio: 1;
  background: #e7dcd8;
  margin-inline: auto;
  max-width: 680px;
  object-fit: contain;
  object-position: center;
}

.editorial-body {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  padding: clamp(24px, 4vw, 44px);
}

.editorial-body p {
  color: #34405a;
  font-size: 18px;
  line-height: 1.78;
}

.editorial-source {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 38px;
  padding: 28px 4px;
}

.editorial-source span {
  color: var(--gold);
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.editorial-source h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 5px 0 6px;
}

.editorial-source p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.editorial-source a {
  align-items: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.editorial-source a:hover,
.editorial-source a:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 680px) {
  .editorial-source {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .editorial-source a {
    width: 100%;
  }
}

.careers-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 430px;
  margin: -20px auto 100px;
  width: min(1180px, calc(100% - 40px));
}

.careers-copy,
.careers-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
}

.careers-copy {
  border-left: 4px solid var(--gold);
  padding: clamp(26px, 4vw, 42px);
}

.careers-copy p,
.open-position p {
  color: #34405a;
  font-size: 17px;
  line-height: 1.72;
}

.open-position {
  background: var(--paper);
  border: 1px solid rgba(152, 111, 50, 0.22);
  border-radius: 8px;
  margin-top: 26px;
  padding: 24px;
}

.open-position h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.careers-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.careers-form h2 {
  font-size: 34px;
  margin-bottom: 4px;
}

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

.careers-form input,
.careers-form select,
.careers-form textarea {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(30, 43, 80, 0.18);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.careers-form textarea {
  resize: vertical;
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(152, 111, 50, 0.14);
}

.form-two {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.privacy-check {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 20px minmax(0, 1fr);
  margin-top: 2px;
}

.careers-form .privacy-check input[type="checkbox"],
.contact-form .privacy-check input[type="checkbox"],
.privacy-check input[type="checkbox"] {
  appearance: auto;
  accent-color: var(--navy);
  align-self: start;
  height: 20px;
  margin: 1px 0 0;
  min-height: 20px;
  padding: 0;
  width: 20px;
}

.careers-form .privacy-check input[type="checkbox"]:focus,
.contact-form .privacy-check input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(152, 111, 50, 0.14);
}

.privacy-check span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  min-width: 0;
}

.sociale-layout {
  display: grid;
  gap: 24px;
  margin: -20px auto 100px;
  width: min(1180px, calc(100% - 40px));
}

.sociale-intro {
  align-items: end;
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.7fr 1fr;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.sociale-intro::after {
  background: url("./assets/hero-rings.jpeg") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.12;
  position: absolute;
}

.sociale-intro > * {
  position: relative;
  z-index: 1;
}

.sociale-intro h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 54px);
  margin-bottom: 0;
}

.sociale-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 0;
}

.sociale-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.sociale-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  gap: 22px;
  grid-template-rows: 180px 1fr;
  padding: 24px;
}

.sociale-logo {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(152, 111, 50, 0.18);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
}

.sociale-logo img {
  display: block;
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}

.sociale-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.sociale-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.sociale-card a:not(.sociale-logo) {
  color: var(--gold);
  font-weight: 700;
}

.partners-layout {
  display: grid;
  gap: 24px;
  margin: -20px auto 100px;
  width: min(1180px, calc(100% - 40px));
}

.partners-intro {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(30, 43, 80, 0.96), rgba(37, 53, 95, 0.9)),
    url("./assets/hero-rings.jpeg") center / cover no-repeat;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.72fr 1fr;
  padding: clamp(26px, 4vw, 42px);
}

.partners-intro h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 54px);
  margin-bottom: 0;
}

.partners-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 0;
}

.partners-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.partner-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  gap: 22px;
  grid-template-rows: 180px 1fr;
  padding: 24px;
}

.partner-card.featured {
  background: #ffffff;
  border-color: rgba(152, 111, 50, 0.4);
  box-shadow: 0 28px 90px rgba(152, 111, 50, 0.13);
}

.partner-logo {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(152, 111, 50, 0.18);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
}

.partner-logo img {
  display: block;
  max-height: 132px;
  max-width: 100%;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.partner-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.partner-card a:not(.partner-logo) {
  color: var(--gold);
  font-weight: 700;
}

.team-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -20px auto 56px;
  width: min(1180px, calc(100% - 40px));
}

.team-index a {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 15px;
}

.team-section {
  margin: 0 auto 88px;
  width: min(1180px, calc(100% - 40px));
}

.team-section-heading {
  align-items: end;
  border-bottom: 1px solid rgba(152, 111, 50, 0.34);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.team-section-heading h2 {
  margin-bottom: 0;
}

.team-section-heading .eyebrow {
  margin-bottom: 8px;
}

.team-grid-real {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  overflow: hidden;
}

.team-photo-link,
.team-copy {
  color: inherit;
}

.team-photo {
  aspect-ratio: 1;
  background: var(--paper);
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.team-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.team-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-copy h3 {
  margin-bottom: 0;
}

.team-title {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0;
}

.team-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
}

.timeline article {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 90px 1fr 1.5fr;
}

.timeline span {
  color: var(--gold);
  font-weight: 700;
}

.app-dashboard {
  align-items: center;
  display: grid;
  gap: clamp(36px, 8vw, 110px);
  grid-template-columns: 1fr 390px;
  min-height: calc(100vh - 76px);
  padding: 80px 0;
}

.phone-panel {
  background: var(--navy-2);
  border: 10px solid #0a1020;
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(17, 26, 50, 0.32);
  color: var(--white);
  min-height: 660px;
  padding: 26px;
}

.phone-top {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  height: 6px;
  margin: 4px auto 34px;
  width: 86px;
}

.phone-panel h2 {
  color: var(--white);
  font-size: 34px;
}

.client-admin-note {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
}

.client-admin-note strong {
  color: var(--navy);
}

.client-admin-note span {
  color: var(--muted);
  line-height: 1.55;
}

.client-admin-note a {
  color: var(--gold);
  font-weight: 700;
}

.client-phone {
  overflow: hidden;
}

#client-portal-app {
  display: grid;
  gap: 14px;
}

.client-profile-head {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
}

.client-profile-head span,
.client-selector span,
.client-search span,
.client-ai-answer span {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.client-profile-head h2 {
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
}

.client-profile-head strong {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  padding: 8px 10px;
}

.client-selector,
.client-search {
  color: var(--white);
  display: grid;
  gap: 0;
  margin: 0;
}

.client-selector select,
.client-search input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.client-selector option {
  color: var(--navy);
}

.client-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.client-ai-answer {
  background: linear-gradient(135deg, rgba(152, 111, 50, 0.28), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(209, 169, 104, 0.36);
  border-radius: 8px;
  padding: 14px;
}

.client-ai-answer p,
.client-disclaimer,
.client-empty p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.client-area-tabs {
  display: flex;
  gap: 8px;
  margin: 2px -26px 0;
  overflow-x: auto;
  padding: 0 26px 4px;
  scrollbar-width: none;
}

.client-area-tabs::-webkit-scrollbar {
  display: none;
}

.client-area-tabs button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
}

.client-area-tabs button.active {
  background: var(--white);
  color: var(--navy);
}

.client-area-tabs small {
  background: rgba(30, 43, 80, 0.12);
  border-radius: 999px;
  font-size: 11px;
  min-width: 22px;
  padding: 3px 6px;
}

.client-document-list {
  display: grid;
  gap: 10px;
  max-height: 285px;
  overflow: auto;
  padding-right: 2px;
}

.client-document-card,
.client-empty {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.client-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.client-doc-meta span,
.client-doc-tags small {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
}

.client-document-card h3,
.client-empty h3 {
  color: var(--white);
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
}

.client-document-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.48;
  margin: 0;
}

.client-doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.client-document-card a {
  color: #f3d7a4;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.client-disclaimer {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.dash-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 16px;
}

.dash-row span {
  color: rgba(255, 255, 255, 0.64);
}

.wide {
  margin-top: 20px;
  width: 100%;
}

.legal-page {
  margin: -20px auto 96px;
  width: min(900px, calc(100% - 40px));
}

.legal-page article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  padding: clamp(24px, 4vw, 44px);
}

.legal-page h2 {
  font-size: 26px;
  margin-top: 28px;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  color: #34405a;
  font-size: 17px;
  line-height: 1.72;
}

.legal-page a {
  color: var(--gold);
  font-weight: 700;
}

.legal-page ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(30, 43, 80, 0.14);
  border-radius: 8px;
  bottom: 20px;
  box-shadow: 0 28px 90px rgba(17, 26, 50, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 0.95fr;
  left: 50%;
  padding: 22px;
  position: fixed;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 32px));
  z-index: 80;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.cookie-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.cookie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.cookie-links a {
  color: var(--gold);
  font-weight: 700;
}

.cookie-options {
  display: grid;
  gap: 10px;
}

.cookie-toggle {
  align-items: center;
  background: rgba(247, 244, 239, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  grid-template-columns: 20px 1fr;
  min-height: 44px;
  padding: 10px 12px;
}

.cookie-toggle.disabled {
  opacity: 0.78;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 6px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 90px;
}

.contact-panel a {
  color: var(--navy);
  font-size: 22px;
  font-weight: 600;
}

.contact-premium {
  display: grid;
  gap: 22px;
  grid-template-columns: 0.72fr 1fr;
  margin: -20px auto 36px;
  width: min(1180px, calc(100% - 40px));
}

.contact-aside,
.contact-form,
.contact-offices article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
}

.contact-aside {
  background:
    linear-gradient(145deg, rgba(30, 43, 80, 0.97), rgba(30, 43, 80, 0.88)),
    url("./assets/hero-rings.jpeg") center / cover no-repeat;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(28px, 4vw, 44px);
}

.contact-aside h2 {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  margin-bottom: 20px;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.contact-fast {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-fast a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-weight: 600;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
}

.contact-fast a::after {
  color: var(--gold);
  content: ">";
  font-weight: 700;
}

.contact-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.contact-note strong {
  color: #ffffff;
  font-size: 18px;
}

.contact-note span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
}

.contact-form h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin-bottom: 6px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(30, 43, 80, 0.18);
  border-radius: 8px;
  color: var(--navy);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 11px 12px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(152, 111, 50, 0.14);
}

.contact-offices {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 96px;
  width: min(1180px, calc(100% - 40px));
}

.contact-offices article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.contact-offices span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-offices h3 {
  font-size: 24px;
  margin-bottom: 0;
}

.contact-offices address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
  min-height: 42px;
}

.contact-offices a {
  color: var(--navy);
  font-weight: 700;
}

.locations-overview {
  display: grid;
  gap: 28px;
  margin-bottom: 96px;
}

.location-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  overflow: hidden;
}

.location-info {
  padding: clamp(24px, 4vw, 40px);
}

.location-info h2 {
  margin-bottom: 18px;
}

.location-info address {
  color: var(--navy);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 22px;
}

.location-actions {
  display: grid;
  gap: 10px;
}

.location-actions a {
  color: var(--gold);
  font-weight: 600;
}

.location-map {
  min-height: 320px;
}

.location-map iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 320px;
  width: 100%;
}

.location-team {
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  padding: 24px clamp(24px, 4vw, 40px) 30px;
}

.location-team h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.location-people {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.location-person {
  align-items: center;
  background: rgba(247, 244, 239, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 52px 1fr;
  min-width: 0;
  padding: 10px;
}

.location-person img {
  aspect-ratio: 1;
  border-radius: 6px;
  grid-row: span 2;
  object-fit: cover;
  object-position: center top;
  width: 52px;
}

.location-person span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
}

.location-person small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-hero,
.profile-layout {
  margin-inline: auto;
  width: min(1180px, calc(100% - 40px));
}

.service-detail-hero,
.service-detail-layout {
  margin-inline: auto;
  width: min(1180px, calc(100% - 40px));
}

.service-detail-hero {
  padding: 86px 0 38px;
}

.service-detail-hero h1 {
  max-width: 980px;
}

.service-detail-hero p {
  color: #34405a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  max-width: 780px;
}

.service-detail-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding-bottom: 100px;
}

.service-detail-main {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
  padding: clamp(24px, 4vw, 44px);
}

.service-detail-main p {
  color: #34405a;
  font-size: 18px;
  line-height: 1.72;
}

.service-detail-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.profile-hero {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: 1.1fr 380px;
  padding: 86px 0 56px;
}

.back-link {
  color: var(--gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.profile-title {
  color: var(--navy);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.profile-photo {
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.12);
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.profile-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
  padding-bottom: 100px;
}

.profile-main,
.profile-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(30, 43, 80, 0.06);
}

.profile-main {
  padding: clamp(24px, 4vw, 44px);
}

.profile-main h2 {
  font-size: 34px;
}

.profile-main p {
  color: #34405a;
  font-size: 17px;
  line-height: 1.72;
}

.profile-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.profile-box {
  padding: 22px;
}

.profile-box h3 {
  font-size: 20px;
}

.profile-box ul {
  color: var(--muted);
  display: grid;
  gap: 9px;
  line-height: 1.45;
  margin: 0;
  padding-left: 18px;
}

.service-leads-box {
  border-top: 4px solid var(--gold);
}

.service-leads-list {
  display: grid;
  gap: 10px;
}

.service-lead {
  align-items: center;
  background: rgba(247, 244, 239, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px 1fr;
  min-width: 0;
  padding: 10px;
}

.service-lead:hover {
  border-color: rgba(152, 111, 50, 0.36);
  box-shadow: 0 12px 32px rgba(30, 43, 80, 0.08);
}

.service-lead img {
  aspect-ratio: 1;
  border-radius: 7px;
  object-fit: cover;
  object-position: center top;
  width: 58px;
}

.service-lead span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.service-lead strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.16;
}

.service-lead small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.service-lead em {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  margin-top: 2px;
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 900px) {
  #app.water-page::before {
    background-position: 58% center;
    height: 360px;
    opacity: 0.28;
  }

  .site-header {
    height: 68px;
    padding-inline: 16px;
    z-index: 40;
  }

  .desktop-nav,
  .header-action,
  .header-tools > .language-switch,
  .header-tools > .linkedin-link {
    display: none;
  }

  .header-tools {
    gap: 8px;
    margin-left: auto;
  }

  .language-switch button {
    min-height: 28px;
    padding-inline: 8px;
  }

  .linkedin-link {
    height: 36px;
    width: 36px;
  }

  .mobile-menu-button {
    align-items: center;
    appearance: none;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
  }

  .mobile-menu-panel {
    background: rgba(17, 26, 50, 0.52);
    inset: 0;
    padding: calc(78px + env(safe-area-inset-top)) 14px calc(92px + env(safe-area-inset-bottom));
    position: fixed;
    z-index: 35;
  }

  .mobile-menu-panel:not([hidden]) {
    display: block;
  }

  .mobile-menu-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(17, 26, 50, 0.22);
    display: grid;
    gap: 14px;
    max-height: 100%;
    overflow: auto;
    padding: 16px;
  }

  .mobile-menu-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .mobile-menu-head span {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-menu-head button {
    appearance: none;
    background: rgba(247, 244, 239, 0.82);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 0 12px;
  }

  .mobile-menu-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .mobile-menu-grid a {
    align-items: center;
    background: rgba(247, 244, 239, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 14px;
  }

  .mobile-menu-grid a::after {
    color: var(--gold);
    content: ">";
    font-weight: 700;
  }

  .mobile-menu-grid a:hover {
    border-color: rgba(152, 111, 50, 0.4);
    color: var(--gold);
  }

  .mobile-menu-tools {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
  }

  .mobile-menu-tools .language-switch {
    display: inline-flex;
  }

  .mobile-linkedin {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    min-height: 38px;
    padding: 0 14px;
  }

  .brand img {
    height: 36px;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 68px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.88) 54%, rgba(247, 244, 239, 0.56) 82%, rgba(247, 244, 239, 0.18) 100%),
      linear-gradient(180deg, transparent 76%, var(--paper) 100%);
  }

  .hero::before {
    background-position: center bottom;
    transform: scale(1.02);
  }

  .hero-video {
    opacity: 0.04;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .metrics,
  .split,
  .two-columns,
  .story-deep-grid,
  .service-grid,
  .office-grid,
  .app-dashboard,
  .careers-layout,
  .contact-premium,
  .contact-offices,
  .form-two,
  .sociale-intro,
  .sociale-grid,
  .partners-intro,
  .partners-grid,
  .publication-grid,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .publications-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .publication-filters {
    flex-wrap: wrap;
    margin-inline: -18px;
    padding: 0 18px;
  }

  .publication-filters button {
    flex: 0 0 auto;
  }

  .publication-category-head {
    align-items: start;
    display: grid;
    gap: 4px;
  }

  .publication-card {
    min-height: 180px;
  }

  .editorials-shell,
  .publications-shell {
    gap: 18px;
    margin-bottom: 88px;
    margin-top: -10px;
    width: min(100% - 28px, 1180px);
  }

  .editorial-agent {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .editorial-agent h2 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .agent-meta {
    align-items: stretch;
  }

  .editorial-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .editorial-card {
    grid-template-columns: 118px 1fr;
    min-height: 150px;
  }

  .editorial-card img,
  .editorial-fallback {
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
  }

  .editorial-card-copy {
    align-content: start;
    gap: 7px;
    padding: 14px;
  }

  .editorial-card-copy span {
    font-size: 9px;
    line-height: 1.25;
  }

  .editorial-card-copy h3 {
    display: -webkit-box;
    font-size: 17px;
    line-height: 1.16;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .editorial-card-copy p {
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.38;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .editorial-card-copy a {
    font-size: 12px;
    margin-top: 0;
  }

  .editorial-detail {
    padding: 56px 0 96px;
    width: min(100% - 28px, 900px);
  }

  .editorial-detail-image {
    margin: 18px 0;
  }

  .editorial-body p {
    font-size: 16px;
    line-height: 1.68;
  }

  .careers-form {
    position: static;
  }

  .team-section {
    margin-bottom: 66px;
  }

  .team-section-heading {
    align-items: start;
    display: grid;
  }

  .team-grid-real {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 112px 1fr;
  }

  .team-photo {
    height: 100%;
  }

  .team-copy {
    padding: 16px;
  }

  .team-bio {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-map,
  .location-map iframe {
    min-height: 260px;
  }

  .location-people {
    grid-template-columns: 1fr;
  }

  .profile-hero,
  .service-detail-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    padding-top: 66px;
  }

  .profile-photo {
    max-width: 320px;
  }

  .profile-aside {
    position: static;
  }

  .service-detail-aside {
    position: static;
  }

  .metrics {
    margin-top: 0;
    width: 100%;
  }

  .metrics article {
    min-height: 96px;
    padding: 22px;
  }

  .split {
    padding-top: 72px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .app-dashboard {
    min-height: auto;
    padding-bottom: 110px;
  }

  .phone-panel {
    border-radius: 28px;
    min-height: 560px;
  }

  .site-footer {
    align-items: start;
    gap: 22px;
    grid-template-columns: 1fr;
    padding-bottom: 120px;
    width: min(100% - 28px, 1180px);
  }

  .site-footer nav {
    display: grid;
    gap: 0 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    width: 100%;
  }

  .site-footer nav > * + * {
    border-left: 0;
  }

  .site-footer a,
  .site-footer button {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    min-height: 42px;
    padding: 8px 0;
  }

  .legal-page {
    margin-bottom: 88px;
    width: min(100% - 28px, 900px);
  }

  .legal-page p,
  .legal-page li {
    font-size: 16px;
  }

  .cookie-banner {
    bottom: calc(94px + env(safe-area-inset-bottom));
    gap: 14px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 130px);
    overflow: auto;
    padding: 18px;
    width: calc(100% - 24px);
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .mobile-tabbar {
    align-items: center;
    backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 43, 80, 0.12);
    border-radius: 24px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 22px 70px rgba(17, 26, 50, 0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    left: 12px;
    min-height: 72px;
    padding: 8px;
    position: fixed;
    right: 12px;
    z-index: 20;
  }

  .mobile-tabbar a {
    align-items: center;
    border-radius: 18px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 10px;
    font-weight: 700;
    gap: 5px;
    justify-content: center;
    min-height: 56px;
    position: relative;
  }

  .mobile-tabbar a i {
    align-items: center;
    background: rgba(30, 43, 80, 0.08);
    border-radius: 999px;
    display: flex;
    height: 25px;
    justify-content: center;
    width: 25px;
  }

  .mobile-tabbar a i::before {
    border: 2px solid currentColor;
    border-radius: 4px;
    content: "";
    display: block;
    height: 11px;
    width: 11px;
  }

  .mobile-tabbar a[data-tab="home"] i::before {
    border-radius: 3px 3px 5px 5px;
    transform: rotate(45deg);
  }

  .mobile-tabbar a[data-tab="servizi"] i::before {
    border-radius: 999px;
  }

  .mobile-tabbar a[data-tab="team"] i::before {
    border-radius: 999px 999px 4px 4px;
    height: 10px;
    width: 13px;
  }

  .mobile-tabbar a[data-tab="contatti"] i::before {
    border-radius: 3px;
    height: 9px;
    width: 13px;
  }

  .mobile-tabbar a.active {
    background: var(--navy);
    color: #ffffff;
  }

  .mobile-tabbar a.active i {
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-tabbar a.active::after {
    background: var(--gold);
    border-radius: 999px;
    bottom: 5px;
    content: "";
    height: 3px;
    position: absolute;
    width: 18px;
  }
}

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

  .hero-video {
    display: none;
  }

  .reveal-item {
    filter: none;
    opacity: 1;
    transform: none;
  }

  .publication-loading {
    animation: none;
  }

  .tmc-cursor-dot,
  .tmc-cursor-ring {
    display: none;
  }
}
