:root {
  --ink: #071b35;
  --ink-soft: #38506a;
  --navy: #071d39;
  --navy-2: #0b2a4c;
  --aqua: #08b5c7;
  --aqua-dark: #0694a4;
  --mist: #f4f8fa;
  --line: #dce7eb;
  --white: #ffffff;
  --surface: #ffffff;
  --shell: 1180px;
  --shadow: 0 20px 60px rgba(4, 30, 57, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", system-ui, -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;
  text-decoration: none;
}

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

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.4rem;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 231, 235, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 15rem;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.93rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--aqua);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-current::after {
  right: 0;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--aqua);
  border-radius: 0.4rem;
  background: var(--aqua);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 181, 199, 0.2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--aqua-dark);
  border-color: var(--aqua-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  margin-left: auto;
  padding: 0.72rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--mist);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 38rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 25, 48, 0.98) 0%, rgba(5, 25, 48, 0.86) 45%, rgba(5, 25, 48, 0.12) 86%),
    linear-gradient(180deg, rgba(5, 25, 48, 0.05), rgba(5, 25, 48, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #65d9e5;
}

.hero h1 {
  max-width: 52rem;
  margin: 0;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.1rem, 6.4vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span {
  color: #40d1df;
}

.hero-copy {
  max-width: 43rem;
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.values {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.values article {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 2rem 2rem;
  border-right: 1px solid var(--line);
}

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

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

.value-number {
  color: var(--aqua);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.values h2 {
  margin: 0 0 0.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
}

.values p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section {
  padding-block: 7rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7rem;
  align-items: start;
}

.section-title {
  max-width: 48rem;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.intro-copy {
  padding-top: 1.9rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
  color: var(--aqua-dark);
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(0.3rem);
}

.services-preview {
  background:
    linear-gradient(rgba(7, 29, 57, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 29, 57, 0.025) 1px, transparent 1px),
    var(--mist);
  background-size: 44px 44px;
}

.section-heading {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
}

.desktop-link {
  flex: 0 0 auto;
  margin-bottom: 0.5rem;
}

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

.service-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 18px 42px rgba(6, 34, 61, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(8, 181, 199, 0.45);
  box-shadow: 0 24px 54px rgba(6, 34, 61, 0.12);
}

.service-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.service-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.8rem;
  border-radius: 50%;
  background: rgba(8, 181, 199, 0.1);
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.featured .service-icon {
  background: rgba(64, 209, 223, 0.16);
  color: #65d9e5;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card a {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--aqua-dark);
  font-weight: 800;
}

.featured a {
  color: #65d9e5;
}

.clients-heading {
  align-items: center;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-logo-link {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border-radius: 0.35rem;
  isolation: isolate;
  transition: transform 180ms ease;
}

/* Reserve the original logo space so larger images do not resize the section. */
.client-logo-link::before {
  content: "";
  display: block;
  width: min(9rem, 80%);
  aspect-ratio: var(--logo-ratio);
  max-height: 4.25rem;
}

.client-logo-unicef { --logo-ratio: 2429 / 1479; }
.client-logo-peroni { --logo-ratio: 251 / 96.016; }
.client-logo-ansa { --logo-ratio: 382 / 132; }
.client-logo-camera { --logo-ratio: 311 / 162; }
.client-logo-angelini { --logo-ratio: 736 / 402; }

.client-logos img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(9rem, 80%);
  height: auto;
  max-height: 4.25rem;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.client-logo-camera img,
.client-logo-angelini img {
  width: min(11rem, 100%);
  max-height: 5.5rem;
}

.client-logo-unicef img {
  width: min(12rem, 100%);
  max-height: 7rem;
}

/* Match the menu underline while keeping logo dimensions and grid spacing. */
.client-logo-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1.5rem;
  height: 2px;
  background: var(--aqua);
  pointer-events: none;
  transition: right 180ms ease;
}

.client-logo-indicator {
  position: absolute;
  right: 0.5rem;
  bottom: -1.25rem;
  color: var(--aqua-dark);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.client-logo-link:focus-visible { outline: none; }

.client-logo-link:focus-visible::after {
  right: 0;
  background: var(--aqua-dark);
}

.client-logo-link:focus-visible .client-logo-indicator {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .client-logo-link:hover { transform: translateY(-2px); }
  .client-logo-link:hover::after { right: 0; }
  .client-logo-link:hover .client-logo-indicator {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .client-logo-indicator { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-link:hover { transform: none; }
  .client-logo-indicator { transform: none; }
}


.contact-band {
  overflow: hidden;
  padding-block: 5.4rem;
  background:
    radial-gradient(circle at 85% 0%, rgba(64, 209, 223, 0.22), transparent 24rem),
    var(--navy);
  color: var(--white);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-band h2 {
  max-width: 48rem;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.button-light {
  flex: 0 0 auto;
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  background: #dff9fb;
  border-color: #dff9fb;
  color: var(--navy);
}

.site-footer {
  padding-block: 2.5rem;
  background: #041426;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.page-hero {
  padding-block: clamp(5rem, 10vw, 8.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(101, 217, 229, 0.28), transparent 24rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 54rem;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.page-hero-grid > p {
  max-width: 35rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.14rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.story-marker {
  position: sticky;
  top: 8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
}

.story-copy {
  max-width: 50rem;
  margin-top: 2.2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.principles-section {
  background: var(--mist);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.principles-grid article {
  min-height: 22rem;
  padding: 2.4rem;
  background: var(--surface);
}

.principles-grid article > span {
  display: inline-block;
  margin-bottom: 5rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.principles-grid h3 {
  margin: 0 0 0.7rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
}

.principles-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.approach-section {
  color: var(--white);
  background: #06182d;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(4rem, 10vw, 9rem);
}

.approach-grid h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.approach-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.approach-list li > span {
  color: #65d9e5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.approach-list h3 {
  margin: 0 0 0.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
}

.approach-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.company-page .page-hero h1 span {
  color: #40d1df;
}

.company-page .section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.company-page .principles-grid {
  margin-top: 2.5rem;
}

.company-page .principles-grid article {
  min-height: 0;
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.company-page .principles-grid article > span {
  margin-bottom: 2rem;
}

.company-page .principles-grid h3 {
  line-height: 1.25;
}

/* Light closing section for the company page. */
.company-next-band {
  background: var(--surface);
  color: var(--ink);
}

.company-next-band .eyebrow {
  color: var(--ink-soft);
}

.company-next-band .button-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.company-next-band .button-ghost:hover,
.company-next-band .button-ghost:focus-visible {
  background: var(--mist);
  border-color: var(--ink);
}

.company-next-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Service page: concise sections and a light closing band. */
.services-page .page-hero h1 span {
  color: #40d1df;
}

.services-page .service-detail {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  scroll-margin-top: 6.5rem;
}

.services-page .service-detail-number {
  margin-bottom: 2rem;
}

.services-page .service-detail-offerings {
  margin-top: 4.5rem;
}

.service-evidence {
  margin-top: 2rem;
}

.service-evidence h3 {
  margin-bottom: 0.75rem;
}

.service-evidence p {
  margin: 0;
  color: var(--ink-soft);
}

.service-evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Service answers share the existing typography and section backgrounds. */
.service-answer {
  margin-top: 2rem;
  scroll-margin-top: 6.5rem;
}

.service-answer h3,
.service-answer h4 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.service-answer p {
  max-width: 37rem;
  margin: 0;
  color: var(--ink-soft);
}

.service-answer p + p { margin-top: 0.85rem; }

.service-detail-offerings > .service-answer:first-child {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.service-questions { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

.service-questions > h3 {
  margin: 0 0 1.5rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
}

.service-questions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-questions-grid > .service-answer { margin-top: 0; }

@media (max-width: 980px) {
  .service-questions-grid { grid-template-columns: 1fr; }
}

.services-contact-band {
  background: var(--surface);
  color: var(--ink);
}

.services-contact-band .eyebrow {
  color: var(--ink-soft);
}

.services-hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.services-index {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.services-index-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-index a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.5rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.services-index a:first-child {
  border-left: 1px solid var(--line);
}

.services-index a:hover,
.services-index a:focus-visible {
  background: var(--mist);
  color: var(--aqua-dark);
}

.services-index span {
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.service-detail {
  scroll-margin-top: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.service-detail-tinted {
  background: var(--mist);
}

.service-detail-dark {
  background: var(--navy);
  color: var(--white);
  border-bottom: 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 10vw, 9rem);
  align-items: start;
}

.service-detail-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-detail-dark .service-detail-number {
  color: #65d9e5;
}

.service-detail-intro h2 {
  max-width: 39rem;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.service-detail-intro > h2 + p {
  max-width: 37rem;
  margin: 1.7rem 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.service-detail-dark .service-detail-intro > h2 + p {
  color: rgba(255, 255, 255, 0.72);
}

.service-detail-offerings {
  margin-top: 7rem;
}

.service-detail-offerings h3 {
  margin: 0 0 1.2rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.service-detail-offerings ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-detail-offerings li {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.service-detail-offerings li::before {
  content: "";
  position: absolute;
  top: 1.78rem;
  left: 0;
  width: 0.55rem;
  height: 0.18rem;
  background: var(--aqua);
}

.service-detail-dark .service-detail-offerings ul,
.service-detail-dark .service-detail-offerings li {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Projects: quick navigation and original logos on white. */
.projects-page .projects-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.projects-page .page-hero h1 {
  font-size: clamp(2.65rem, 4.6vw, 4.5rem);
}

.projects-page .page-hero h1 span {
  color: #40d1df;
}

.projects-index {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.projects-index-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-block: 1.25rem;
}

.projects-index a {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.projects-index a:hover,
.projects-index a:focus-visible {
  background: var(--mist);
  border-color: var(--ink-soft);
}

.projects-page .projects-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.projects-page .project-logo-area {
  min-height: 12rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.projects-page .project-card-featured .project-logo-area {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.projects-hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.projects-section {
  background: var(--mist);
}

.projects-heading {
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  scroll-margin-top: 6.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 18px 42px rgba(6, 34, 61, 0.05);
}

.project-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.project-logo-area {
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: #eaf3f6;
}

.project-card-featured .project-logo-area {
  position: relative;
  min-height: 23rem;
  justify-content: center;
  padding: 2.8rem;
}

.project-logo-area img {
  width: auto;
  height: auto;
  max-width: min(100%, 16rem);
  max-height: 6.75rem;
  align-self: center;
  object-fit: contain;
  object-position: center;
}

.project-card-featured .project-logo-area img {
  max-width: min(100%, 23rem);
  max-height: 14rem;
}

.project-logo-area img.logo-on-light {
  mix-blend-mode: multiply;
}

.project-card-featured .project-number {
  position: absolute;
  top: 2.8rem;
  left: 2.8rem;
}

.project-number {
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.project-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.2rem;
}

.project-card-featured .project-card-content {
  justify-content: center;
  padding: clamp(2.2rem, 5vw, 4.5rem);
}

.project-sector {
  margin: 0 0 1rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 1.2rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.project-card-featured h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
}

.project-card h3 span {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.65vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.project-summary {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.project-summary dt {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 800;
}

.project-summary dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.project-features {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.2rem;
  margin-block: 1rem;
}

.project-features li::marker {
  color: var(--ink);
}

.project-source-note {
  margin: 0;
  font-size: 0.94rem;
}

.project-document-link {
  margin-top: 1.5rem;
}

.project-contact-copy {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.team-hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.team-section {
  background: var(--mist);
}

.team-section-heading {
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-card {
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 18px 42px rgba(6, 34, 61, 0.05);
}

.team-number {
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.team-portrait {
  width: 13rem;
  height: 13rem;
  margin: 2.6rem auto 2.8rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 0 0.65rem #eaf3f6;
}

.team-card-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.team-card h3 {
  margin: 0 0 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.team-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--aqua-dark);
  font-weight: 800;
}

.team-card a span {
  transition: transform 180ms ease;
}

.team-card a:hover span,
.team-card a:focus-visible span {
  transform: translate(0.15rem, -0.15rem);
}

/* Five team members: balanced rows and explicit draft placeholders. */
.team-page .page-hero h1 span {
  color: #40d1df;
}

.team-page .team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.team-page .team-card {
  flex: 0 1 calc((100% - 2.5rem) / 3);
  min-width: 0;
}

.team-page img.team-portrait {
  filter: grayscale(1);
}

.team-portrait-crop {
  flex-shrink: 0;
  overflow: hidden;
}

.team-portrait-zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.4);
  transform-origin: 50% 15%;
  filter: grayscale(1);
}

/* Bring the face forward within the existing circular frame, without editing the photo. */
.team-portrait-claudia {
  object-position: 50% 43%;
  transform: scale(1.8);
  transform-origin: 50% 43%;
}

.team-portrait-placeholder {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f3f4;
}

.team-portrait-placeholder::before,
.team-portrait-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #b7c1c9;
}

.team-portrait-placeholder::before {
  top: 22%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
}

.team-portrait-placeholder::after {
  bottom: 13%;
  width: 57%;
  height: 33%;
  border-radius: 50% 50% 18% 18%;
}

.team-role {
  margin: -0.2rem 0 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.team-placeholder-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Documents: clear choices, aligned actions and accessible cover links. */
.documents-page .page-hero h1 {
  font-size: clamp(2.65rem, 4.8vw, 4.5rem);
}

.documents-page .page-hero h1 span {
  color: #40d1df;
}

.documents-page .documents-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.documents-page .document-card {
  display: flex;
  flex-direction: column;
}

.documents-page .document-cover {
  display: block;
}

.documents-page .document-cover:focus-visible {
  outline-offset: -5px;
}

.documents-page .document-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.documents-page .document-content > p:not(.document-meta):not(.document-note) {
  min-height: 0;
}

.document-topics {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.document-topics li::marker {
  color: var(--ink);
}

.documents-page .document-actions {
  margin-top: auto;
  padding-top: 1.7rem;
}

.document-related {
  align-self: flex-start;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.documents-hero {
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
}

.documents-section {
  background: var(--mist);
}

.documents-heading {
  margin-bottom: 2.5rem;
}

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

.document-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(4, 30, 57, 0.06);
}

.document-cover {
  padding: 1rem;
  background: #e9f1f3;
}

.document-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(7, 27, 53, 0.08);
  border-radius: 0.25rem;
  box-shadow: 0 12px 28px rgba(4, 30, 57, 0.12);
}

.document-content {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.document-meta {
  margin: 0 0 0.65rem;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-meta span {
  padding-inline: 0.3rem;
}

.document-content h3 {
  margin: 0 0 0.8rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.document-content > p:not(.document-meta):not(.document-note) {
  min-height: 5.1rem;
  margin: 0;
  color: var(--ink-soft);
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.7rem;
}

.document-download {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--aqua);
  text-underline-offset: 0.3rem;
}

.document-download:hover,
.document-download:focus-visible {
  color: var(--aqua-dark);
}

.document-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.contact-page {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--mist);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-details h1 {
  max-width: 38rem;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.contact-intro {
  max-width: 36rem;
  margin: 1.7rem 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.contact-primary {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-primary > span,
.contact-facts h2 {
  margin: 0;
  color: var(--aqua-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-primary a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.contact-primary a:hover,
.contact-primary a:focus-visible,
.contact-facts a:hover,
.contact-facts a:focus-visible {
  color: var(--aqua-dark);
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.2rem;
}

.contact-facts address,
.contact-facts p,
.contact-facts a {
  display: inline-block;
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

/* Contact helpers retain the existing light page and navy title. */
.contact-email-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 0.65rem;
}

.copy-email-button {
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #bfcfd6;
  border-radius: 0.35rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-email-button:hover,
.copy-email-button:focus-visible {
  background: var(--mist);
  border-color: var(--ink-soft);
}

.contact-copy-status {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact-optional {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 400;
}

.contact-field-help {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-form-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.contact-form-intro {
  margin: 1rem 0 2rem;
  color: var(--ink-soft);
}

.contact-field {
  margin-bottom: 1.35rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #bfcfd6;
  border-radius: 0.4rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--aqua-dark);
}

.contact-form-card .button {
  width: 100%;
}

.contact-form-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-inner img {
  width: 10rem;
  height: auto;
}

.footer-inner p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid #72e3eb;
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem max(1.5rem, calc((100vw - var(--shell)) / 2));
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem 0;
  }

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

@media (max-width: 980px) {
  .team-page .team-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .projects-page .projects-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .projects-page .project-card-featured .project-logo-area {
    min-height: 13rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services-page .service-detail-offerings {
    margin-top: 0;
  }

  .company-page .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }


  .hero {
    min-height: 35rem;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 25, 48, 0.97), rgba(5, 25, 48, 0.72));
  }

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

  .values article,
  .values article:first-child,
  .values article:last-child {
    padding: 1.35rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-hero-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-grid {
    grid-template-columns: 10rem 1fr;
    gap: 2.5rem;
  }

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

  .principles-grid article {
    min-height: 0;
  }

  .principles-grid article > span {
    margin-bottom: 2.5rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-detail-number {
    margin-bottom: 2.5rem;
  }

  .service-detail-offerings {
    margin-top: 0;
  }

  .project-card-featured {
    grid-template-columns: 1fr;
  }

  .project-card-featured .project-logo-area {
    min-height: 13rem;
  }

  .project-card-featured .project-logo-area img {
    max-width: min(100%, 20rem);
    max-height: 11rem;
  }

  .team-card {
    min-height: 27rem;
    padding: 1.5rem;
  }

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

  .document-content > p:not(.document-meta):not(.document-note) {
    min-height: 0;
  }

  .team-portrait {
    width: min(100%, 11rem);
    height: auto;
    aspect-ratio: 1;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 18rem;
  }

  .client-logos {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }

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

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .team-page .team-card {
    flex-basis: 100%;
  }

  .projects-page .project-logo-area,
  .projects-page .project-card-featured .project-logo-area {
    min-height: 10rem;
    padding: 1.6rem;
  }


  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .brand img {
    width: 11.75rem;
  }

  .hero {
    min-height: 39rem;
  }

  .hero-image {
    object-position: 82% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 25, 48, 0.97) 0%, rgba(5, 25, 48, 0.88) 40%, rgba(5, 25, 48, 0.80) 70%, rgba(5, 25, 48, 0.55) 100%);
  }

  .hero-content {
    padding-block: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.3rem);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 5rem;
  }

  .page-hero {
    padding-block: 4.5rem;
  }

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

  .page-hero-grid > p {
    font-size: 1.04rem;
  }

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

  .services-index a {
    min-height: 4.5rem;
    padding: 0.8rem 0.55rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .services-index a:first-child {
    border-left: 0;
  }

  .services-index a:nth-child(2n) {
    border-right: 0;
  }

  .service-detail {
    scroll-margin-top: 4.75rem;
  }

  .service-detail-intro h2 {
    font-size: clamp(2.15rem, 10vw, 3.6rem);
  }

  .service-detail-intro > h2 + p {
    font-size: 1rem;
  }

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

  .projects-heading {
    margin-bottom: 2.25rem;
  }

  .project-logo-area,
  .project-card-featured .project-logo-area {
    min-height: 10rem;
    padding: 1.6rem;
  }

  .project-logo-area img {
    max-width: min(100%, 14rem);
    max-height: 6rem;
  }

  .project-card-featured .project-logo-area img {
    max-width: min(100%, 16rem);
    max-height: 8rem;
  }

  .project-card-featured .project-number {
    top: 1.6rem;
    left: 1.6rem;
  }

  .project-card-content,
  .project-card-featured .project-card-content {
    padding: 1.6rem;
  }

  .project-card h3,
  .project-card-featured h3 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .project-tech {
    padding-top: 1.5rem;
  }

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

  .team-section-heading {
    margin-bottom: 2.25rem;
  }

  .team-card {
    min-height: 0;
    padding: 1.7rem;
  }

  .team-portrait {
    width: 11rem;
    margin-block: 2.3rem;
  }

  .documents-heading {
    margin-bottom: 2.25rem;
  }

  .document-cover {
    padding: 0.75rem;
  }

  .document-content {
    padding: 1.5rem;
  }

  .document-actions .button {
    width: 100%;
  }

  .contact-page {
    padding-block: 4rem;
  }

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

  .contact-intro {
    font-size: 1rem;
  }

  .contact-primary {
    margin-top: 2rem;
  }

  .contact-facts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

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

  .story-marker {
    position: static;
    width: 7rem;
  }

  .principles-grid article {
    padding: 1.7rem;
  }

  .section-heading,
  .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .desktop-link {
    margin-top: 0.5rem;
  }

  .service-grid {
    margin-top: 2.25rem;
  }

  .service-card {
    min-height: 20rem;
    padding: 1.7rem;
  }

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

  .contact-band {
    padding-block: 4rem;
  }
}

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


/* Footer information opens only on request; native dialog handles focus and Esc. */
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.privacy-link,
.privacy-disclosure > summary {
  border: 0;
  padding: 0.35rem 0;
  background: transparent;
  color: #b8cbd9;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.privacy-link:hover,
.privacy-disclosure > summary:hover {
  color: #72e3eb;
}

.privacy-open { overflow: hidden; }

.privacy-dialog {
  position: fixed;
  inset: auto 1.75rem 1.75rem auto;
  margin: 0;
  width: 27.5rem;
  max-width: calc(100vw - 2rem);
  max-height: min(75vh, 42rem);
  max-height: min(75dvh, 42rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 15px 70px #071b3540;
}

.privacy-dialog::backdrop { background: rgba(7, 27, 53, 0.28); }

.privacy-close {
  position: sticky;
  top: 0;
  float: right;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.75rem -0.75rem 0 0.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-content { color: var(--ink-soft); text-align: left; }
.privacy-content h2 {
  margin: 0.5rem 0 1rem;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.privacy-content h3 { margin: 1.3rem 0 0.4rem; color: var(--ink); font-size: 0.95rem; }
.privacy-content p { margin: 0 0 0.7rem; font-size: 0.88rem; line-height: 1.6; }
.privacy-content .privacy-eyebrow { color: var(--aqua-dark); font-size: 0.65rem; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; }
.privacy-content a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-disclosure[open] { max-width: 30rem; }
.privacy-disclosure .privacy-content { margin-top: 1rem; padding: 1.25rem; background: var(--surface); border-radius: 0.5rem; }

@media (max-width: 980px) {
  .footer-meta { align-items: flex-start; }
}
@media (max-width: 640px) {
  .privacy-dialog { right: 1rem; bottom: 1rem; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 1.5rem; }
}

.footer-inner .privacy-content p { text-align: left; }


/* Optional analytics: two equally prominent choices, with no page-wide overlay. */
.cookie-banner {
  position: fixed;
  z-index: 120;
  inset: auto 1.75rem 1.75rem auto;
  width: 28rem;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 15px 70px #071b3540;
}
.cookie-banner[hidden], .wt-consent-controls[hidden] { display: none; }
.cookie-banner h2 { margin: 0 2rem 0.75rem 0; font: 800 1.25rem/1.25 "Manrope", sans-serif; letter-spacing: -0.03em; }
.cookie-banner p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }
.cookie-banner-close { position: absolute; top: 0.65rem; right: 0.65rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font: inherit; font-size: 1.4rem; cursor: pointer; }
.wt-consent-controls { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.wt-consent-button { flex: 1 1 9rem; min-height: 2.75rem; padding: 0.65rem 0.8rem; border: 1px solid var(--ink); border-radius: 0.4rem; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.wt-consent-button:hover, .wt-consent-button:focus-visible { background: var(--mist); }
.cookie-more { display: inline-block; margin-top: 0.85rem; padding: 0.35rem 0; border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-list { padding-left: 1.2rem; margin: 0.75rem 0; font-size: 0.88rem; line-height: 1.6; }
.cookie-list li + li { margin-top: 0.65rem; }
.cookie-list code { overflow-wrap: anywhere; font-size: 0.85em; }
.privacy-content .cookie-status { margin: 1rem 0; font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .cookie-banner { right: 1rem; bottom: 1rem; padding: 1.25rem; } }

/* Essential navigation remains available if the shared header cannot run. */
.header-fallback-contact { margin-left: auto; }

/* Expandable information stays below the consent controls. */
.wt-info-section { margin-top: 1rem; border-top: 1px solid var(--line); }
.wt-info-section > summary { padding: 0.8rem 0; color: var(--ink); font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.wt-info-section > summary:focus-visible { outline: 2px solid var(--aqua-dark); outline-offset: 3px; }
.wt-info-body code { overflow-wrap: anywhere; font-size: 0.85em; }
.wt-info-body { overflow-wrap: anywhere; }

/* Appearance: keep white text and brand navy independent from page surfaces. */
:root { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #0c1b2c;
  --ink: #edf5fa;
  --ink-soft: #b9cbd9;
  --mist: #12263b;
  --line: #2b4358;
  --aqua-dark: #42d1dc;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
[data-theme="dark"] .site-header {
  background: rgba(12, 27, 44, 0.96);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .button:not(.button-ghost):not(.button-light) { color: var(--navy); }
[data-theme="dark"] .document-download { color: var(--ink); }
[data-theme="dark"] .contact-field input,
[data-theme="dark"] .contact-field textarea,
[data-theme="dark"] .copy-email-button { border-color: var(--line); }
[data-theme="dark"] .team-portrait { box-shadow: 0 0 0 0.65rem var(--mist); }
[data-theme="dark"] .document-cover { background: var(--mist); }
/* Client artwork keeps its proportions; theme changes must not alter layout. */
[data-theme="dark"] .projects-page .project-logo-area { background: var(--white); }
[data-theme="dark"] .project-logo-area .project-number { color: #0694a4; }
[data-theme="dark"] .client-logos {
  background: #d3dee6;
  border-color: #d3dee6;
  border-radius: 0.65rem;
  isolation: isolate;
}
[data-theme="dark"] .client-logo-link { isolation: auto; }
[data-theme="dark"] .client-logos img { mix-blend-mode: multiply; }
.client-logo-art { display: contents; }
/* Blend each image against its own stable backing, including during transforms. */
[data-theme="dark"] .client-logo-art {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(9rem, 80%);
  transform: translate(-50%, -50%);
  background: #d3dee6;
  isolation: isolate;
}
[data-theme="dark"] .client-logo-camera .client-logo-art,
[data-theme="dark"] .client-logo-angelini .client-logo-art { width: min(11rem, 100%); }
[data-theme="dark"] .client-logo-unicef .client-logo-art { width: min(12rem, 100%); }
[data-theme="dark"] .client-logos .client-logo-art img {
  position: static;
  width: 100%;
  transform: none;
}
.client-logo-backdrop { display: none; }
[data-theme="dark"] .client-logo-backdrop {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8rem;
  transform: translateY(-50%);
  border-radius: 0.35rem;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
}
/* Only backing colors change; blending and isolation stay stable on exit. */
[data-theme="dark"] .client-logo-link:focus-visible { transform: translateY(-2px); }
[data-theme="dark"] .client-logo-link:focus-visible .client-logo-backdrop { opacity: 1; }
[data-theme="dark"] .client-logo-link:focus-visible .client-logo-art { background: var(--white); }
@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .client-logo-link:hover .client-logo-backdrop { opacity: 1; }
  [data-theme="dark"] .client-logo-link:hover .client-logo-art { background: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="dark"] .client-logo-link:focus-visible { transform: none; }
}
[data-theme="dark"] .client-logo-indicator { color: #0694a4; }
[data-theme="dark"] .client-logo-link:focus-visible::after { background: #0694a4; }

.appearance-control { position: relative; flex: 0 0 auto; }
.appearance-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.appearance-toggle:hover,
.appearance-toggle[aria-expanded="true"] { background: var(--mist); border-color: var(--aqua-dark); }
.appearance-toggle span { display: flex; }
.appearance-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 12.5rem;
  padding: 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
}
.appearance-panel[hidden] { display: none; }
.appearance-panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.appearance-panel legend { padding: 0.25rem 0.5rem 0.5rem; font-size: 0.85rem; font-weight: 700; }
.appearance-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.appearance-option:hover,
.appearance-option:focus-within { background: var(--mist); }
.appearance-option input { margin-left: auto; accent-color: var(--aqua-dark); }
.appearance-option svg { flex-shrink: 0; }
@media (pointer: coarse), (max-width: 640px) {
  .appearance-toggle { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 640px) {
  .header-inner { gap: 0.25rem; }
  .menu-toggle { flex-shrink: 0; }
}
