:root {
  --brand: #1d3d56;
  --brand-deep: #122d41;
  --sky: #dcebf1;
  --sky-soft: #eef5f7;
  --paper: #f6f4ef;
  --white: #ffffff;
  --ink: #17242d;
  --muted: #5f6a70;
  --line: rgba(29, 61, 86, 0.18);
  --yellow: #f3c947;
  --shadow: 0 28px 70px rgba(15, 43, 61, 0.18);
  --shell: min(1180px, calc(100vw - 64px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(29, 61, 86, 0.1);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  width: 246px;
  height: auto;
}

.header-phone {
  display: grid;
  justify-items: end;
  text-decoration: none;
  color: var(--brand);
  line-height: 1.25;
}

.header-phone span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-phone strong {
  margin-top: 4px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.015em;
}

.hero {
  overflow: hidden;
  background: #c9dce7;
}

.hero picture,
.hero img {
  width: 100%;
}

.hero img {
  height: auto;
  aspect-ratio: 1440 / 518;
  object-fit: cover;
  object-position: 50% 50%;
}

.expertise {
  color: var(--white);
  background: var(--brand);
}

.expertise-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 48px);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.expertise i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

.announcement {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 144px) 0;
  background: var(--paper);
}

.announcement-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.eyebrow,
.card-kicker,
.legal-label {
  margin: 0 0 24px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 34px;
  height: 3px;
  background: var(--yellow);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.announcement h1,
.legal-hero h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(3.3rem, 7.2vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.announcement h1 em {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.announcement h1.announcement-title-new em {
  display: inline-block;
  font-size: 0.83em;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.lead {
  max-width: 660px;
  margin: clamp(30px, 4vw, 48px) 0 0;
  color: #364750;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.62;
}

.contact-card {
  position: relative;
  padding: clamp(34px, 4.5vw, 56px);
  color: var(--white);
  background: var(--brand-deep);
  box-shadow: var(--shadow);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 5px;
  background: var(--yellow);
}

.card-kicker {
  margin-bottom: 13px;
  color: #a9c4d1;
}

.contact-card h2 {
  margin: 0 0 32px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.contact-link span {
  grid-column: 1;
  color: #bcd0d9;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-link strong {
  grid-column: 1;
  overflow-wrap: anywhere;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
}

.contact-link b {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.contact-link:hover b {
  transform: translate(3px, -3px);
}

.contact-card address {
  margin-top: 28px;
  color: #c7d7de;
  font-size: 0.96rem;
  font-style: normal;
}

.contact-card address span {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-weight: 760;
}

.site-footer {
  color: #cedbe1;
  background: #0d2638;
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner a {
  text-underline-offset: 4px;
}

/* Legal pages */
.legal-page {
  background: var(--sky-soft);
}

.legal-page .site-header {
  background: var(--white);
}

.legal-back {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.legal-hero {
  padding: clamp(70px, 10vw, 130px) 0 clamp(55px, 7vw, 88px);
  color: var(--white);
  background: var(--brand);
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 64px;
  align-items: end;
}

.legal-hero .eyebrow {
  color: #c8dce5;
}

.legal-hero h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.legal-hero-grid > p {
  margin: 0;
  color: #d5e2e8;
  font-size: 1.08rem;
}

.legal-content {
  padding: clamp(58px, 8vw, 104px) 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legal-card,
.legal-section {
  padding: clamp(30px, 4vw, 46px);
  background: var(--white);
  border: 1px solid rgba(29, 61, 86, 0.1);
  overflow-wrap: anywhere;
}

.legal-card-primary {
  color: var(--white);
  background: var(--brand-deep);
}

.legal-card-wide,
.legal-section {
  grid-column: 1 / -1;
}

.legal-card h2,
.legal-section h2 {
  margin: 0 0 24px;
  color: var(--brand-deep);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.legal-card-primary h2 {
  color: var(--white);
}

.legal-card h3,
.legal-section h3 {
  margin: 30px 0 8px;
  color: var(--brand);
  font-size: 1.08rem;
}

.legal-card p,
.legal-section p {
  margin: 0 0 1em;
}

.legal-card p:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-label {
  color: #51758c;
}

.legal-card-primary .legal-label {
  color: #a9c7d5;
}

.legal-card address {
  margin-bottom: 24px;
  font-style: normal;
}

.legal-facts {
  margin: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.legal-card-primary .legal-facts div {
  border-color: rgba(255, 255, 255, 0.18);
}

.legal-facts dt {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card-primary .legal-facts dt {
  color: #aac2ce;
}

.legal-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-section + .legal-section,
.legal-grid + .legal-section {
  margin-top: 24px;
}

.legal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

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

.legal-list li + li {
  margin-top: 8px;
}

.status-box {
  margin-bottom: 24px;
  padding: 24px 28px;
  border-left: 5px solid var(--yellow);
  background: #fff9e7;
}

.status-box strong {
  display: block;
  color: var(--brand-deep);
}

.status-box p {
  margin: 5px 0 0;
}

.source-note {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 720px);
  }

  .hero img {
    height: 42vw;
    min-height: 270px;
    aspect-ratio: auto;
    object-position: 48% 50%;
  }

  .announcement {
    background: var(--paper);
  }

  .announcement-grid,
  .legal-hero-grid {
    grid-template-columns: 1fr;
  }

  .announcement-grid {
    gap: 56px;
  }

  .contact-card {
    width: min(100%, 590px);
  }

  .legal-hero-grid {
    gap: 28px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .header-inner {
    min-height: 88px;
    gap: 18px;
  }

  .brand img {
    width: min(55vw, 205px);
  }

  .header-phone span {
    display: none;
  }

  .header-phone strong {
    font-size: 0.92rem;
  }

  .hero img {
    height: 310px;
    min-height: 0;
    object-position: 49% 50%;
  }

  .expertise-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 7px 16px;
    justify-items: center;
    font-size: 0.69rem;
  }

  .expertise-inner i:nth-of-type(2) {
    display: none;
  }

  .announcement h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .contact-card {
    padding: 34px 26px;
  }

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-back {
    max-width: 34vw;
    text-align: right;
  }

  .legal-grid,
  .legal-columns {
    grid-template-columns: 1fr;
  }

  .legal-card-wide,
  .legal-section {
    grid-column: auto;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 390px) {
  .header-phone strong {
    font-size: 0.78rem;
  }

  .hero img {
    height: 280px;
  }

  .contact-link {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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