@import url("/assets/css/style-core.css?v=2");

.team-section .section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.team-portraits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.team-person {
  margin: 0;
}

.team-person-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--mist);
}

.team-person-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  background: var(--pink);
  content: "";
}

.team-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-person figcaption {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.team-person h3 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.team-person p {
  margin: 0;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cabinet-wide-photo img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .image-frame::after { right: 0; }
  .team-portraits { grid-template-columns: 1fr; gap: 40px; }
  .team-person-photo { aspect-ratio: 1 / .92; }
}

/* Legal pages and privacy controls */
.legal-prose { max-width: 880px; }
.legal-prose h2 { margin-top: 2.1em; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.legal-prose ul { padding-left: 1.25rem; }
.policy-meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.optional { color: var(--muted); font-weight: 400; }
.form-privacy { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.privacy-confirmation { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink); font-size: .84rem; line-height: 1.55; }
.privacy-confirmation input { width: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.privacy-confirmation span { font-weight: 500; }
.privacy-confirmation a { color: var(--blue); }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 650px; }
.table-wrap th, .table-wrap td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--navy); background: var(--mist); }
.footer-cookie-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.footer-cookie-button:hover, .footer-cookie-button:focus-visible { color: #fff; text-decoration: underline; }
.cookie-panel { position: fixed; z-index: 1000; inset: 50% auto auto 50%; width: min(680px, calc(100% - 32px)); transform: translate(-50%, -50%); padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(11, 29, 48, .25); background: #fff; color: var(--ink); }
.cookie-panel--banner { inset: auto 20px 20px auto; width: min(760px, calc(100% - 40px)); transform: none; }
.cookie-panel h2 { margin-bottom: 10px; font-size: clamp(1.55rem, 3vw, 2rem); }
.cookie-panel p { margin-bottom: 0; }
.cookie-panel__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-panel .btn { min-height: 46px; white-space: nowrap; }
.cookie-panel .btn-outline { color: var(--navy); border-color: var(--navy); }
@media (max-width: 720px) {
  .cookie-panel--banner { inset: auto 10px 10px; width: auto; }
  .cookie-panel__inner { grid-template-columns: 1fr; gap: 20px; }
  .cookie-panel__actions { justify-content: stretch; }
  .cookie-panel__actions .btn { width: 100%; }
}
/* Homepage hero: wider copy and optical linework */
.hero-grid,
.hero-copy {
  min-width: 0;
}
.hero-identity {
  display: grid;
  gap: 3px;
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--pink);
  line-height: 1.25;
}
.hero-identity span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-identity strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: .01em;
}
.hero-optic {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(481px, 72%);
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-optic img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 58% 42%; }
  .hero-copy { padding-bottom: 190px; }
  .hero-copy h1 {
    max-width: 690px;
    font-size: clamp(3.15rem, 4.7vw, 4.55rem);
    white-space: nowrap;
  }
  .hero-media { min-width: 0; }
  .hero-media img { object-position: 52% center; }
}
@media (max-width: 1000px) and (min-width: 601px) {
  .team-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-copy { min-height: 620px; padding-bottom: 190px; }
  .hero-optic { width: min(481px, 72%); }
}
@media (max-width: 600px) {
  .hero-copy {
    width: 100%;
    min-height: auto;
    padding: 48px 20px 170px;
    overflow: hidden;
  }
  .hero-copy h1 {
    width: 100%;
    max-width: 340px;
    font-size: clamp(2.55rem, 12vw, 3.2rem);
  }
  .hero-identity { margin-bottom: 18px; }
  .hero-identity span { font-size: .68rem; }
  .hero-copy .lead,
  .hero-copy .button-row {
    width: 100%;
    max-width: 100%;
  }
  .hero-copy .button-row .btn { width: 100%; }
  .hero-optic { width: 100%; max-width: 100%; }
  .hero-media { min-height: 285px; }
}

.footer-bottom .footer-credit {
  display: inline-flex;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .2s ease, transform .2s ease;
}

.footer-bottom .footer-credit:hover,
.footer-bottom .footer-credit:focus-visible {
  color: #fff;
  text-decoration: underline;
  transform: translateY(-1px);
}
