@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --navy: #080a3c;
  --navy-deep: #00062f;
  --ink: #121833;
  --slate: #4a6f8a;
  --coral: #ff5252;
  --mint: #13c4a1;
  --ice: #f4f5fe;
  --line: #dfe4ee;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

summary,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--mint);
  color: var(--navy-deep);
}

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

.page-shell {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.compact-shell {
  width: min(100% - 3rem, 1080px);
}

.section-space {
  padding-block: clamp(5.5rem, 9vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--mint);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 5.4rem;
  border-bottom: 1px solid rgba(223, 228, 238, 0.75);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 40px rgba(8, 10, 60, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  width: min(100% - 3rem, 1320px);
  height: 100%;
  margin-inline: auto;
  grid-template-columns: 10rem 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: 7.1rem;
  height: auto;
  aspect-ratio: 214 / 150;
  align-items: center;
  overflow: visible;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.6rem);
}

.desktop-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  min-height: 2.9rem;
  padding: 0.7rem 1rem 0.7rem 1.2rem;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.6rem;
  background: var(--coral);
  box-shadow: 0 10px 25px rgba(255, 82, 82, 0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: 180ms ease;
}

.header-contact:hover {
  background: var(--mint);
  box-shadow: 0 12px 28px rgba(19, 196, 161, 0.24);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(51rem, calc(100vh - 5.4rem));
  min-height: min(51rem, calc(100svh - 5.4rem));
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
}

.hero-image {
  background: url("assets/hero.jpg") center 42% / cover no-repeat;
  transform: scale(1.015);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 6, 47, 0.94) 0%, rgba(0, 6, 47, 0.79) 48%, rgba(0, 6, 47, 0.24) 78%, rgba(0, 6, 47, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 6, 47, 0.35), transparent 45%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 5rem 5rem;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-content {
  display: flex;
  padding-block: clamp(5.5rem, 11vh, 8rem) 4rem;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.15rem, 6.2vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.mint {
  color: var(--mint);
}

.coral {
  color: var(--coral);
}

.hero-copy {
  max-width: 730px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  margin-top: 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  padding: 0.85rem 1.35rem 0.85rem 1.5rem;
  align-items: center;
  gap: 0.8rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 180ms ease;
}

.button-coral {
  background: var(--coral);
  box-shadow: 0 15px 40px rgba(255, 82, 82, 0.25);
  color: var(--white);
}

.button-coral:hover {
  background: var(--mint);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 0.22rem;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  transition: 180ms ease;
}

.text-link:hover {
  gap: 0.8rem;
  color: var(--coral);
}

.text-link-light {
  color: var(--white);
}

.text-link-light:hover {
  color: var(--mint);
}

.hero-proof {
  display: flex;
  margin-top: clamp(4rem, 10vh, 7rem);
  align-items: center;
  flex-wrap: wrap;
}

.hero-proof span {
  padding: 0.2rem 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-proof span:first-child {
  padding-left: 0;
  border-left: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
}

.intro-image-wrap {
  position: relative;
  min-height: 38rem;
}

.intro-image-wrap::before {
  position: absolute;
  z-index: -1;
  top: -1.4rem;
  right: -1.4rem;
  width: 54%;
  height: 62%;
  border-radius: 0 2.5rem 0 2.5rem;
  background: var(--mint);
  content: "";
}

.intro-image-wrap::after {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: 4rem;
  width: 6rem;
  height: 6rem;
  border: 1.4rem solid var(--coral);
  border-radius: 50%;
  content: "";
}

.intro-image-wrap > img {
  width: 100%;
  height: 38rem;
  border-radius: 0.25rem 2.5rem 0.25rem 2.5rem;
  box-shadow: 0 28px 70px rgba(8, 10, 60, 0.15);
  object-fit: cover;
}

.intro-image-label {
  position: absolute;
  right: 2.5rem;
  bottom: -2.1rem;
  display: flex;
  width: min(88%, 24rem);
  padding: 1.3rem 1.5rem;
  align-items: center;
  gap: 1rem;
  border-radius: 0.8rem;
  background: var(--navy-deep);
  box-shadow: 0 20px 50px rgba(0, 6, 47, 0.25);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
}

.intro-image-label .symbol {
  color: var(--mint);
  font-size: 1.7rem;
}

.intro-copy h2,
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.intro-copy > p:not(.eyebrow) {
  margin: 1.55rem 0 0;
  color: var(--slate);
  line-height: 1.9;
}

.intro-copy .text-link {
  margin-top: 2rem;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.services::before {
  position: absolute;
  top: -13rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 6rem solid rgba(19, 196, 161, 0.09);
  border-radius: 50%;
  content: "";
}

.section-heading {
  display: grid;
  margin-bottom: 4rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.65fr);
  align-items: end;
  gap: 4rem;
}

.section-heading > p {
  margin: 0;
  color: var(--slate);
  line-height: 1.85;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.65);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card {
  --card-accent: var(--mint);
  position: relative;
  display: flex;
  min-height: 27rem;
  padding: 2.2rem;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  transition: 200ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--card-accent);
  content: "";
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.service-card-coral {
  --card-accent: var(--coral);
}

.service-card-slate {
  --card-accent: #acc5db;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--card-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  letter-spacing: 0;
}

.service-card h3 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.service-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
  line-height: 1.8;
}

.service-card ul {
  display: grid;
  padding: 1.5rem 0 0;
  margin: 0;
  gap: 0.65rem;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.84rem;
}

.service-card li span {
  color: var(--card-accent);
}

.service-card > a {
  display: flex;
  padding-top: 1.2rem;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
}

.process {
  display: grid;
  margin-top: 5rem;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.process article {
  padding: 2rem 1.8rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.process article:not(:first-child) {
  padding-left: 1.8rem;
}

.process article:last-child {
  border-right: 0;
}

.process span {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process h3 {
  margin: 0.7rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.process p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  line-height: 1.7;
}

.fields {
  background: radial-gradient(circle at 5% 8%, rgba(19, 196, 161, 0.12), transparent 18rem), var(--ice);
}

.field-list {
  display: grid;
  gap: 1rem;
}

.field-details {
  scroll-margin-top: 6.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(8, 10, 60, 0.04);
}

.field-details summary {
  display: grid;
  min-height: 8rem;
  padding: 1.5rem 1.8rem;
  align-items: center;
  grid-template-columns: 3.4rem minmax(0, 1fr) 3rem 2.6rem;
  gap: 1.4rem;
  cursor: pointer;
  list-style: none;
}

.field-details summary::-webkit-details-marker,
.legal-list summary::-webkit-details-marker,
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.field-icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--navy-deep);
  color: var(--mint);
  font-weight: 700;
}

.field-summary-copy {
  display: grid;
  gap: 0.3rem;
}

.field-summary-copy strong {
  color: var(--navy);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.field-summary-copy > span {
  color: var(--slate);
  font-size: 0.9rem;
}

.field-count {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 700;
}

.field-arrow {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  transition: 180ms ease;
}

.field-details[open] .field-arrow {
  background: var(--mint);
  color: var(--navy-deep);
  transform: rotate(90deg);
}

.case-grid {
  display: grid;
  padding: 0 1.8rem 1.8rem 6.6rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.case-item {
  display: grid;
  padding: 1.2rem;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  border-radius: 0.75rem;
  background: var(--ice);
}

.case-item > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.case-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.case-item p {
  margin: 0.35rem 0 0;
  color: var(--slate);
  font-size: 0.78rem;
  line-height: 1.65;
}

.team {
  position: relative;
  overflow: hidden;
}

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

.team::before {
  position: absolute;
  z-index: -1;
  top: 18rem;
  right: -15rem;
  width: 30rem;
  height: 30rem;
  border: 4rem solid rgba(255, 82, 82, 0.06);
  border-radius: 50%;
  content: "";
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 10, 60, 0.07);
}

.person-image {
  height: 26rem;
  overflow: hidden;
  background: var(--ice);
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 400ms ease;
}

.person-card:hover .person-image img {
  transform: scale(1.025);
}

.person-copy {
  padding: 2rem;
}

.person-role {
  margin: 0;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-copy h3 {
  margin: 0.55rem 0 1rem;
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.person-copy > p:not(.person-role) {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.8;
}

.person-tags {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.person-tags span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
}

.publications {
  display: grid;
  padding: clamp(2rem, 5vw, 4rem);
  margin-top: 5rem;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  border-radius: 1.25rem;
  background: var(--navy-deep);
  color: var(--white);
}

.publications-header {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: space-between;
}

.publications-header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.publication-symbol {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.publication-grid a {
  position: relative;
  display: grid;
  min-height: 9.4rem;
  padding: 1.5rem 2.8rem 1.5rem 1.5rem;
  align-content: center;
  gap: 0.5rem;
  background: var(--navy-deep);
  transition: background 180ms ease;
}

.publication-grid a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.publication-grid a > span {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.publication-grid strong {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.publication-grid b {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
}

.contact {
  position: relative;
  padding-block: clamp(5.5rem, 9vw, 8rem);
  overflow: hidden;
  background: var(--coral);
  color: var(--white);
}

.contact-pattern {
  position: absolute;
  top: -12rem;
  left: -9rem;
  width: 34rem;
  height: 34rem;
  border: 5rem solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(23rem, 0.7fr);
  align-items: center;
  gap: 5rem;
}

.contact .eyebrow {
  color: var(--navy-deep);
}

.contact h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.contact-inner > div > p:last-child {
  max-width: 660px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-mail {
  position: relative;
  display: grid;
  min-height: 11rem;
  padding: 2rem;
  align-content: center;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 25px 60px rgba(130, 24, 35, 0.22);
  color: var(--navy-deep);
  transition: 200ms ease;
}

.contact-mail:hover {
  box-shadow: 0 30px 70px rgba(130, 24, 35, 0.3);
  transform: translateY(-6px);
}

.contact-mail > span,
.footer-mail > span {
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-mail strong {
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-mail b {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  color: var(--mint);
  font-size: 1.3rem;
}

.footer-top {
  display: grid;
  padding-block: 4rem 3rem;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 3rem;
}

.footer-top > .brand {
  margin: 0 2rem 1.5rem 0;
}

.footer-address {
  display: flex;
  gap: 0.85rem;
}

.footer-address > span {
  color: var(--coral);
  font-size: 0.7rem;
}

.footer-address p {
  margin: 0;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer-mail {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.footer-mail a {
  color: var(--navy);
  font-weight: 600;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-list details:first-child {
  border-right: 1px solid var(--line);
}

.legal-list summary {
  display: flex;
  padding: 1.25rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  list-style: none;
}

.legal-list summary span {
  color: var(--coral);
  transition: transform 180ms ease;
}

.legal-list details[open] summary span {
  transform: rotate(90deg);
}

.legal-content {
  max-height: 34rem;
  padding: 0 1.5rem 2rem;
  overflow-y: auto;
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.8;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: var(--navy);
  font-weight: 600;
}

.legal-content h2 {
  font-size: 1.35rem;
}

.legal-content h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1rem;
}

.legal-content h4 {
  margin: 1.3rem 0 0.45rem;
  font-size: 0.86rem;
}

.legal-content a {
  color: var(--coral);
}

.legal-source {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}

.footer-bottom {
  display: flex;
  padding-block: 1.5rem 2.2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--slate);
  font-size: 0.75rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 8rem 1fr auto;
    gap: 1rem;
  }

  .desktop-nav {
    gap: 1.35rem;
  }

  .desktop-nav a,
  .header-contact {
    font-size: 0.8rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card > a {
    margin-top: 2rem;
  }

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

  .process article:nth-child(2) {
    border-right: 0;
  }

  .process article:nth-child(n + 3) {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .publications {
    grid-template-columns: 1fr;
  }

  .publications-header {
    min-height: auto;
    flex-direction: row;
    align-items: flex-end;
  }
}

@media (max-width: 820px) {
  .page-shell,
  .compact-shell {
    width: min(100% - 2rem, 700px);
  }

  .site-header {
    height: 4.8rem;
  }

  .header-inner {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand img {
    width: 6.3rem;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav > summary {
    display: flex;
    min-height: 2.7rem;
    padding: 0.55rem 0.8rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.55rem;
    background: var(--navy-deep);
    color: var(--white);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 600;
    list-style: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    display: grid;
    width: min(78vw, 18rem);
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(8, 10, 60, 0.18);
  }

  .mobile-nav nav a {
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 600;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: calc(100vh - 4.8rem);
    min-height: calc(100svh - 4.8rem);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 6, 47, 0.94), rgba(0, 6, 47, 0.62));
  }

  .hero-content {
    padding-block: 5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .intro-grid,
  .section-heading,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .contact-inner {
    gap: 1.5rem;
  }

  .intro-grid {
    gap: 5rem;
  }

  .intro-image-wrap,
  .intro-image-wrap > img {
    min-height: 30rem;
    height: 30rem;
  }

  .case-grid {
    padding-left: 1.8rem;
    grid-template-columns: 1fr;
  }

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

  .person-image {
    height: min(75vw, 32rem);
  }

  .contact-inner {
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > .brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .section-space {
    padding-block: 4.8rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    display: grid;
    gap: 0.45rem;
  }

  .hero-proof span,
  .hero-proof span:first-child {
    padding: 0 0 0 0.8rem;
    border-left: 2px solid var(--mint);
  }

  .intro-image-wrap,
  .intro-image-wrap > img {
    min-height: 24rem;
    height: 24rem;
  }

  .intro-image-wrap::before {
    top: -0.8rem;
    right: -0.5rem;
  }

  .intro-image-wrap::after {
    display: none;
  }

  .intro-image-label {
    right: 1rem;
    bottom: -2.5rem;
    left: 1rem;
    width: auto;
  }

  .service-card {
    padding: 1.5rem;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process article,
  .process article:not(:first-child) {
    padding: 1.35rem 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
  }

  .field-details summary {
    min-height: 7.5rem;
    padding: 1.2rem;
    grid-template-columns: 2.9rem minmax(0, 1fr) 2.4rem;
    gap: 0.9rem;
  }

  .field-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .field-summary-copy > span,
  .field-count {
    display: none;
  }

  .field-arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .case-grid {
    padding: 0 0.8rem 0.8rem;
  }

  .person-image {
    height: 24rem;
  }

  .person-copy {
    padding: 1.45rem;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .publications {
    padding: 1.5rem;
  }

  .publications-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact h2 {
    font-size: 2.65rem;
  }

  .contact-mail {
    min-height: 9rem;
    padding: 1.5rem;
  }

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

  .footer-mail {
    justify-items: start;
  }

  .legal-list details:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

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