:root {
  --navy: #0d3145;
  --slate: #4a5568;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --rule: rgba(13, 49, 69, 0.12);
  --underline-muted: #c8d0d5;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(13, 49, 69, 0.1);
  --shadow-soft: 0 10px 28px rgba(13, 49, 69, 0.08);
  --space-page: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1260px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.9rem, 6.7vw, 5.75rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.85rem);
}

h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

p {
  color: var(--slate);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  border: 1px solid var(--navy);
  background: var(--white);
  padding: 0.75rem 1rem;
  color: var(--navy);
  font-weight: 500;
  transition: transform 180ms ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--space-page);
}

.wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  line-height: 1;
}

.logo-img {
  width: auto;
  height: clamp(2.3rem, 5vw, 3.55rem);
  max-width: min(62vw, 310px);
  object-fit: contain;
}

.menu-toggle {
  position: relative;
  z-index: 120;
  display: grid;
  gap: 0.45rem;
  width: 2.4rem;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--navy);
  transform-origin: center;
  transition: transform 220ms ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(0.23rem) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-0.23rem) rotate(-45deg);
}

.nav-links {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

body.menu-open .nav-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  position: relative;
  display: block;
  border-top: 1px solid var(--navy);
  padding: 1.2rem var(--space-page);
  color: var(--navy);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(2.15rem, 10vw, 4.4rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.nav-links a:last-child {
  border-bottom: 1px solid var(--navy);
}

.nav-links a::after,
.text-link::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-links a::after {
  display: none;
}

.nav-links a.is-active::after,
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--navy);
  background: var(--white);
  padding: calc(var(--header-height) + 4rem) var(--space-page) 4rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero-content p {
  max-width: 790px;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.text-link {
  position: relative;
  display: inline-block;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
}

.content-section,
.service-strip,
.projects-shell,
.faq-list,
.contact-grid,
.policy-copy,
.editorial-copy {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--space-page);
}

.section-muted {
  width: 100%;
  max-width: none;
  background: var(--off-white);
}

.section-muted > * {
  width: min(100%, var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.section-bordered {
  border-bottom: 1px solid var(--navy);
}

.service-strip {
  display: grid;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.service-strip article {
  border-bottom: 1px solid var(--navy);
  padding: 2rem 0;
}

.service-strip article:last-child {
  border-bottom: 0;
}

.service-strip h3,
.rule-columns h3,
.team-card h3,
.service-editorial h3,
.project-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
}

.service-strip p,
.rule-columns p,
.team-card p,
.project-card p,
.service-editorial p,
.profile-block p,
.editorial-copy p,
.policy-copy p {
  margin-top: 1rem;
}

.section-grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.section-copy p,
.narrow-copy p,
.page-hero p,
.project-intro p {
  max-width: 790px;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.section-copy .text-link {
  margin-top: 1.7rem;
}

.media-frame {
  margin: 0;
  border: 1px solid var(--navy);
  background: var(--off-white);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-frame.grayscale img {
  filter: grayscale(100%);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
}

.team-card,
.stat-grid article,
.project-card {
  border: 1px solid var(--navy);
  background: var(--white);
}

.team-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.rule-columns {
  display: grid;
}

.rule-columns article {
  border-bottom: 1px solid var(--navy);
  padding: 2rem 0;
}

.rule-columns article:first-child {
  padding-top: 0;
}

.rule-columns article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trusted-section {
  border-top: 1px solid var(--navy);
}

.stat-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.stat-grid article {
  padding: 1.5rem;
}

.stat-grid strong {
  display: block;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 0.55rem;
  color: var(--slate);
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  border-bottom: 1px solid var(--navy);
  padding: clamp(5rem, 12vw, 9.5rem) var(--space-page) clamp(3rem, 8vw, 5rem);
}

.page-hero h1 {
  max-width: 1160px;
}

.editorial-copy,
.policy-copy {
  max-width: 980px;
}

.editorial-copy p,
.policy-copy p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.editorial-copy p + p {
  margin-top: 1.3rem;
}

.profile-block,
.service-editorial {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--navy);
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.profile-block:last-child,
.service-editorial:last-child {
  border-bottom: 1px solid var(--navy);
}

.role,
.location-tag,
.form-row label,
.contact-details dt {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.projects-shell {
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.project-tabs {
  display: flex;
  gap: 1.8rem;
  border-bottom: 1px solid var(--navy);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.project-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 0.95rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.2;
}

.project-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.project-tab.is-active::after,
.project-tab:hover::after,
.project-tab:focus-visible::after {
  transform: scaleX(1);
}

.project-intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.project-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.project-card {
  display: grid;
}

.project-card-copy {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.location-tag {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.faq-list {
  max-width: 1040px;
}

body[data-page="faqs"] .faq-list {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.faq-item {
  border-top: 1px solid var(--navy);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--navy);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  border: 0;
  background: var(--white);
  padding: 1.55rem 0;
  text-align: left;
  color: var(--navy);
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.faq-icon {
  position: relative;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--navy);
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-answer p {
  max-width: 820px;
  padding: 0 0 1.5rem;
}

body[data-page="faqs"] .faq-item {
  padding: clamp(1.25rem, 3vw, 2.2rem);
}

body[data-page="faqs"] .faq-question {
  padding: 0;
}

body[data-page="faqs"] .faq-answer p {
  max-width: 860px;
  padding: 1.25rem 0 0;
}

body[data-page="about"] #team,
body[data-page="about"] [aria-labelledby="about-services-title"] {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.45rem);
}

body[data-page="about"] #team .section-heading,
body[data-page="about"] [aria-labelledby="about-services-title"] .section-heading {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

body[data-page="about"] .profile-block,
body[data-page="about"] .service-editorial {
  padding: clamp(1.65rem, 4vw, 2.9rem);
}

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 8vw, 6rem);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.contact-details {
  border-top: 1px solid var(--navy);
  padding-top: 1.7rem;
}

.contact-details h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-details dl {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.contact-details dd {
  margin: 0.3rem 0 0;
  color: var(--slate);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  border: 1px solid var(--navy);
  padding: clamp(1.2rem, 4vw, 2.3rem);
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label span {
  color: var(--slate);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--white);
  padding: 0.85rem 0.9rem;
  color: var(--navy);
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 1px solid var(--navy);
  outline-offset: 2px;
}

.submit-button {
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  padding: 1rem 1.25rem;
  color: var(--white);
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.form-message {
  min-height: 1.6rem;
  color: var(--navy);
  font-weight: 500;
}

.policy-copy h2 {
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy);
  font-size: clamp(1.85rem, 4vw, 3.2rem);
}

.policy-copy h2:first-child {
  margin-top: 0;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 0 var(--space-page);
}

.footer-top,
.footer-bottom {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--white);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.footer-wordmark {
  color: var(--white);
}

.footer-logo-img {
  width: auto;
  height: clamp(2.55rem, 6vw, 3.9rem);
  max-width: min(70vw, 290px);
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-content: start;
}

.footer-nav a {
  position: relative;
  color: var(--white);
  font-weight: 500;
}

.site-footer address {
  max-width: 260px;
  color: var(--white);
  font-style: normal;
}

.footer-bottom {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.25rem 0 1.5rem;
}

.footer-bottom p {
  color: var(--white);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  text-decoration-color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 300ms ease, transform 300ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  :root {
    --header-height: 94px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    z-index: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.2rem, 3vw, 2.3rem);
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    border: 0;
    padding: 0;
    font-family: "Satoshi", Arial, sans-serif;
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
  }

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

  .nav-links a::after {
    display: block;
    bottom: -0.35rem;
  }

  .service-strip {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: none;
    border-top: 0;
    padding-right: var(--space-page);
    padding-left: var(--space-page);
  }

  .service-strip article {
    border-right: 1px solid var(--navy);
    border-bottom: 0;
    padding: clamp(2rem, 4vw, 3.2rem);
  }

  .service-strip article:first-of-type {
    padding-left: 0;
  }

  .service-strip article:last-child {
    border-right: 0;
    padding-right: 0;
  }

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

  .team-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rule-columns.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rule-columns article {
    border-right: 1px solid var(--navy);
    border-bottom: 0;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
  }

  .rule-columns article:first-child {
    padding-left: 0;
  }

  .rule-columns article:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .profile-block,
  .service-editorial {
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  }

  .project-card {
    grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  }

  .project-card .media-frame,
  .project-card .media-frame img {
    height: 100%;
  }

  .project-card .media-frame img {
    aspect-ratio: auto;
  }

  .footer-top {
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.8fr) minmax(220px, 1fr);
    align-items: start;
  }

  .footer-nav {
    justify-content: center;
  }

  .site-footer address {
    justify-self: end;
    text-align: right;
  }

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

  .footer-bottom p:last-child {
    text-align: right;
  }
}

@media (min-width: 1100px) {
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

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

@media (max-width: 420px) {
  .logo-img {
    height: 2.05rem;
    max-width: 58vw;
  }

  .hero-actions {
    gap: 1.1rem;
  }
}

/* Softer visual system requested after initial build. */
.site-header.is-scrolled,
body.menu-open .site-header,
.hero,
.section-bordered,
.footer-top,
.footer-bottom,
.page-hero,
.profile-block,
.service-editorial,
.project-tabs,
.faq-item,
.faq-item:last-child,
.contact-details,
.policy-copy h2 {
  border: 0;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  box-shadow: 0 8px 24px rgba(13, 49, 69, 0.08);
}

.hero-video {
  opacity: 0.42;
  filter: grayscale(100%) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.hero-content {
  z-index: 2;
}

.service-strip,
.rule-columns,
.team-grid,
.stat-grid,
.project-grid {
  gap: clamp(1rem, 2.5vw, 1.65rem);
}

.home-hero + .service-strip {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.service-strip article,
.team-card,
.rule-columns article,
.stat-grid article,
.project-card,
.media-frame,
.profile-block,
.service-editorial,
.faq-item,
.contact-details,
.contact-form {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-strip article,
.rule-columns article,
.profile-block,
.service-editorial,
.contact-details {
  padding: clamp(1.35rem, 3vw, 2.3rem);
}

.section-muted .team-card,
.section-muted .stat-grid article {
  background: var(--white);
}

.media-frame img {
  border-radius: var(--radius);
}

.project-card .media-frame {
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: none;
}

.project-card .media-frame img {
  border-radius: var(--radius) var(--radius) 0 0;
}

.project-tab,
.text-link,
.submit-button {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 550;
  line-height: 1.25;
}

.text-link::after,
.project-tab::after,
.submit-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.34rem;
  width: 100%;
  height: 3px;
  background: var(--underline-muted);
  transform: scaleX(1);
  transform-origin: left center;
  transition: background 180ms ease, transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after,
.project-tab:hover::after,
.project-tab:focus-visible::after,
.project-tab.is-active::after,
.submit-button:hover::after,
.submit-button:focus-visible::after {
  background: var(--navy);
}

.submit-button {
  justify-self: start;
  padding: 0 0 0.34rem;
  color: var(--navy);
}

.submit-button:hover,
.submit-button:focus-visible {
  background: transparent;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  border: 0;
  border-radius: 12px;
  background: var(--off-white);
  box-shadow: inset 0 0 0 1px rgba(13, 49, 69, 0.08);
  font-weight: 550;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(13, 49, 69, 0.42), var(--shadow-soft);
}

.project-popup {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 140;
  width: min(calc(100vw - 2rem), 360px);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.project-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.project-popup__panel {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.25rem;
  box-shadow: 0 20px 55px rgba(13, 49, 69, 0.18);
}

.project-popup__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-popup h2 {
  max-width: 260px;
  font-size: clamp(1.8rem, 8vw, 2.35rem);
  line-height: 1.02;
}

.project-popup p {
  font-size: 0.95rem;
}

.project-popup__close {
  position: relative;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy);
}

.project-popup__close::before,
.project-popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 2px;
  background: currentColor;
}

.project-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.project-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.project-popup .text-link {
  justify-self: start;
}

.role,
.location-tag,
.form-row label,
.contact-details dt,
.nav-links a,
.footer-nav a,
.project-tab {
  font-weight: 550;
}

.nav-links a {
  border: 0;
  border-radius: var(--radius);
  margin: 0.45rem var(--space-page);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-strip h3,
.rule-columns h3,
.team-card h3,
.service-editorial h3,
.project-card h3,
.faq-question,
.contact-details h2,
.policy-copy h2 {
  font-weight: 300;
}

@media (min-width: 760px) {
  .service-strip article,
  .rule-columns article {
    border: 0;
  }

  .nav-links a {
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-strip article:first-of-type,
  .service-strip article:last-child,
  .rule-columns article:first-child,
  .rule-columns article:last-child {
    padding: clamp(1.35rem, 3vw, 2.3rem);
  }

  .project-card {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  }

  .project-card .media-frame {
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .project-card .media-frame img {
    border-radius: var(--radius) 0 0 var(--radius);
  }
}
