:root {
  --ink: #111317;
  --muted: #626975;
  --line: #d7dce2;
  --paper: #f5f6f7;
  --white: #ffffff;
  --navy: #172233;
  --blue: #233b58;
  --charcoal: #24272d;
  --shadow: 0 22px 58px rgba(17, 19, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

picture {
  display: block;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  color: var(--white);
  background: #111317;
  box-shadow: 0 8px 28px rgba(17, 19, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-toggle,
.menu-toggle {
  color: currentColor;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.76fr);
  column-gap: clamp(28px, 4vw, 72px);
  min-height: 104vh;
  min-height: 104svh;
  color: var(--white);
  background: linear-gradient(135deg, #111317 0%, #172233 58%, #233b58 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding: 150px 0 90px clamp(22px, 7vw, 104px);
}

.hero-media {
  min-height: 104vh;
  min-height: 104svh;
  margin: 0;
  overflow: hidden;
}

.hero-media picture {
  height: 100%;
  min-height: 104vh;
  min-height: 104svh;
}

.hero-media img {
  height: 100%;
  min-height: 104vh;
  min-height: 104svh;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.74);
}

.eyebrow {
  margin: 0 0 16px;
  color: #b5c4d6;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 8vw, 7.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  font-weight: 760;
}

.hero-subtitle {
  width: min(620px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.55rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
}

.page-main {
  padding-top: 76px;
}

.section {
  padding: clamp(76px, 11vw, 140px) 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(38px, 7vw, 92px);
}

.section-copy,
.section-heading,
.contact-copy {
  max-width: 780px;
}

.subpage .site-header {
  min-height: 66px;
  color: var(--ink);
  background: rgba(245, 246, 247, 0.96);
  box-shadow: 0 8px 28px rgba(17, 19, 23, 0.08);
  backdrop-filter: blur(16px);
}

.subpage .section-copy .eyebrow,
.subpage .section-heading .eyebrow {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.subpage .areas-section .section-heading .eyebrow {
  color: var(--white);
}

.about-text p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-copy h1 {
  font-size: clamp(0.95rem, 2vw, 1.95rem);
}

.inline-photo {
  margin: 36px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.inline-photo img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
}

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

.areas-section .section-heading {
  margin-bottom: 42px;
}

.accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.accordion-heading {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 27px 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.accordion-trigger strong {
  display: block;
  max-width: 900px;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.accordion-icon {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
}

.accordion-icon::before,
.accordion-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  transition: max-height 260ms ease;
}

.accordion-panel p {
  width: min(920px, 100%);
  margin: 0 0 18px;
}

.accordion-item.is-open .accordion-panel {
  padding-bottom: 30px;
}

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

.contact-layout {
  display: block;
}

.contact-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #111317;
}

.footer-grid {
  display: block;
}

.site-footer address {
  font-style: normal;
}

.site-footer p {
  margin: 16px 0 0;
  font-size: 0.82rem;
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(181, 196, 214, 0.8);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .menu-toggle {
    position: relative;
    z-index: 22;
    display: block;
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line);
    box-shadow: 0 8px 24px rgba(17, 19, 23, 0.18);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: max(78px, calc(env(safe-area-inset-top) + 70px));
    right: 18px;
    left: auto;
    bottom: auto;
    z-index: 21;
    display: grid;
    align-content: start;
    justify-items: stretch;
    gap: 14px;
    width: max-content;
    max-width: calc(100vw - 36px);
    padding: 18px;
    overflow: visible;
    color: var(--ink);
    background: #f5f6f7 !important;
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(17, 19, 23, 0.22);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: clamp(0.9rem, 2.7vw, 1rem);
    line-height: 1.15;
  }

  .language-toggle {
    justify-self: start;
    width: max-content;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.95rem;
  }

  .hero,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 104vh;
    min-height: 104svh;
    row-gap: 0;
    overflow: hidden;
  }

  .hero-content {
    min-height: 104vh;
    min-height: 104svh;
    padding: 116px 40px 76px;
    color: var(--white);
  }

  .hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 100%;
    opacity: 1;
  }

  .hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(17, 19, 23, 0.86), rgba(17, 19, 23, 0.64));
  }

  .hero-media img {
    height: 100%;
    min-height: 100%;
    filter: grayscale(100%) contrast(1.08) brightness(0.64);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 0.84rem;
  }

  .hero-content {
    padding: 116px 20px 74px;
  }

  .primary-nav {
    right: 12px;
    gap: 12px;
    max-width: calc(100vw - 24px);
    padding: 16px;
  }

  .primary-nav a {
    font-size: clamp(0.78rem, 3.7vw, 0.95rem);
  }

  .hero-subtitle {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }
}
