@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f5f3ef;
  --paper-soft: #faf8f4;
  --paper-deep: #ece7df;
  --white: #ffffff;
  --graphite: #3c3c3b;
  --graphite-deep: #2f2f2e;
  --muted: #6e6b66;
  --line: rgba(60, 60, 59, 0.12);
  --blue: #124492;
  --blue-deep: #0d356f;
  --blue-soft: rgba(18, 68, 146, 0.08);
  --max-width: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-lg: 24px;
  --radius-md: 16px;
  --display: "Instrument Sans", "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, Arial, sans-serif;
  --body: "Manrope", "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
figure, blockquote, p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
button { font: inherit; }
::selection { background: var(--blue); color: var(--white); }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}
.section { padding-block: clamp(96px, 10vw, 158px); }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 46px;
  filter: drop-shadow(0 1px 12px rgba(255,255,255,.44));
}
.language-switch {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(60, 60, 59, 0.14);
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.86);
  color: var(--muted);
  font-family: var(--display);
  box-shadow: 0 8px 30px rgba(60, 60, 59, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.language-button {
  min-width: 43px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.language-button.is-active { background: var(--graphite); color: var(--white); }

/* Hero */
.hero { position: relative; background: var(--paper); }
.hero-stage {
  position: relative;
  min-height: clamp(650px, 84svh, 900px);
  overflow: hidden;
  background: #d7c9b8;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(247, 244, 238, 0.90) 0%,
      rgba(247, 244, 238, 0.76) 22%,
      rgba(247, 244, 238, 0.38) 43%,
      rgba(247, 244, 238, 0.10) 62%,
      rgba(247, 244, 238, 0) 76%),
    linear-gradient(180deg,
      rgba(247, 244, 238, 0.16) 0%,
      rgba(247, 244, 238, 0) 28%,
      rgba(31,31,30,0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 52px;
}
.hero-copy { width: min(700px, 56vw); min-width: 0; }
.hero h1 {
  margin-bottom: 16px;
  color: var(--graphite-deep);
  font-size: clamp(4rem, 6.35vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 680;
}
.hero-claim {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.026em;
  font-weight: 580;
}

/* Shared editorial sections */
.editorial-grid,
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.72fr);
  gap: clamp(64px, 9vw, 144px);
  align-items: start;
}
.section-heading,
.editorial-copy,
.vision-copy { min-width: 0; }
.section-heading h2,
.principles-intro h2,
.footer-identity h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 4.8vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 680;
}
.editorial-copy,
.vision-copy {
  max-width: 710px;
  padding-top: 18px;
  color: var(--muted);
}
.editorial-copy p,
.vision-copy p { margin-bottom: 28px; }
.editorial-copy p:last-child,
.vision-copy p:last-child { margin-bottom: 0; }
.lead-copy {
  color: var(--graphite);
  font-size: clamp(1.28rem, 1.65vw, 1.62rem);
  line-height: 1.48;
  letter-spacing: -0.025em;
}
.purpose-section {
  background:
    linear-gradient(180deg, rgba(235, 227, 215, 0.23), transparent 28%),
    var(--paper);
}

/* Portfolio */
.portfolio-section {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}
.section-heading-wide {
  max-width: 900px;
  margin-bottom: clamp(52px, 7vw, 84px);
}
.swipe-hint {
  display: none;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}
.portfolio-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  padding: clamp(28px, 2.5vw, 36px);
  border: 1px solid rgba(18, 68, 146, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 32px rgba(60,60,59,.035);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18,68,146,.23);
  box-shadow: 0 24px 56px rgba(60,60,59,.08);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 46px;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portfolio-card h3 {
  margin-bottom: 20px;
  color: var(--graphite);
  font-size: clamp(1.52rem, 1.75vw, 1.92rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 680;
  overflow-wrap: anywhere;
}
.portfolio-card p {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* Principles */
.principles-section {
  padding-block: clamp(100px, 11vw, 172px);
  border-top: 1px solid rgba(60,60,59,.07);
  border-bottom: 1px solid rgba(60,60,59,.07);
  background:
    radial-gradient(circle at 86% 18%, rgba(18,68,146,.09), transparent 28rem),
    linear-gradient(180deg, rgba(18,68,146,.045), rgba(255,255,255,0) 48%),
    linear-gradient(180deg, #f7f4ee 0%, #f1ece4 100%);
}
.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, .6fr) minmax(0, 1fr);
  gap: clamp(64px, 9vw, 150px);
  align-items: start;
}
.principles-intro p {
  max-width: 520px;
  margin-top: 30px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}
.principle-list { margin-top: -8px; }
.principle-list p {
  margin-bottom: 14px;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.55vw, 5.1rem);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 650;
}
.principle-list p:nth-child(2) { color: var(--blue); }
.principles-support {
  max-width: 690px;
  margin: 52px 0 0;
  color: var(--muted);
}

/* Vision */
.vision-section {
  background:
    linear-gradient(180deg, rgba(18,68,146,.045), transparent 50%),
    var(--paper);
}

/* Footer */
.site-footer {
  padding-block: clamp(82px, 9vw, 126px) 34px;
  color: var(--white);
  background: var(--blue);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  gap: 64px;
  align-items: end;
  padding-bottom: clamp(78px, 9vw, 126px);
}
.footer-identity h2 {
  margin-bottom: clamp(48px, 6vw, 76px);
  color: var(--white);
}
.footer-logo {
  width: clamp(180px, 19vw, 260px);
  height: auto;
  margin-bottom: 18px;
}
.footer-identity p { margin-bottom: 0; color: rgba(255,255,255,.68); }
.footer-contact {
  display: grid;
  gap: 12px;
  justify-self: end;
  justify-items: end;
  width: min(100%, 430px);
  text-align: right;
  font-size: clamp(1.38rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.footer-contact a {
  width: fit-content;
  margin-left: auto;
  border-bottom: 1px solid rgba(255,255,255,.46);
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.58);
  font-size: .76rem;
}

/* Tablet */
@media (max-width: 1080px) {
  .editorial-grid,
  .vision-grid,
  .principles-grid { grid-template-columns: 1fr; }
  .hero-copy { width: min(640px, 68vw); }
  .editorial-copy,
  .vision-copy { max-width: 850px; padding-top: 0; }
  .principles-content { max-width: 900px; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 20px; --radius-lg: 20px; }
  body { font-size: 17px; }
  .section { padding-block: 84px; }
  .header-inner { min-height: 78px; }
  .brand-logo { height: 36px; }
  .language-switch { gap: 4px; padding: 4px; }
  .language-button { min-width: 37px; padding: 6px 8px; font-size: .7rem; }

  .hero-stage { min-height: 640px; }
  .hero-video { object-position: 61% center; }
  .hero-veil {
    background:
      linear-gradient(90deg,
        rgba(247,244,238,.92) 0%,
        rgba(247,244,238,.79) 45%,
        rgba(247,244,238,.24) 82%,
        rgba(247,244,238,.03) 100%),
      linear-gradient(180deg, rgba(247,244,238,.12), transparent 34%, rgba(31,31,30,.08));
  }
  .hero-content { padding-top: 92px; padding-bottom: 40px; }
  .hero-copy { width: min(370px, 88vw); }
  .hero h1 {
    margin-bottom: 13px;
    font-size: clamp(3rem, 13.3vw, 4.25rem);
    line-height: .94;
  }
  .hero-claim { max-width: 330px; font-size: clamp(1.2rem, 5.3vw, 1.52rem); }

  .section-heading h2,
  .principles-intro h2,
  .footer-identity h2 {
    font-size: clamp(2.65rem, 11vw, 3.85rem);
    line-height: 1;
  }
  .lead-copy { font-size: 1.2rem; }
  .section-heading-wide { margin-bottom: 40px; }
  .swipe-hint { display: block; }

  .portfolio-track {
    display: flex;
    gap: 14px;
    width: calc(100% + var(--gutter));
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .portfolio-track::-webkit-scrollbar { display: none; }
  .portfolio-card {
    flex: 0 0 min(84vw, 360px);
    width: min(84vw, 360px);
    min-height: 340px;
    padding: 28px;
    scroll-snap-align: start;
  }
  .card-icon { margin-bottom: 42px; }
  .portfolio-card h3 { font-size: clamp(1.62rem, 6.9vw, 2rem); }

  .principles-section { padding-block: 88px; }
  .principles-intro p { margin-top: 24px; }
  .principle-list p { font-size: clamp(2.55rem, 11vw, 3.9rem); }
  .principles-support { margin-top: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 54px; }
  .footer-identity h2 { margin-bottom: 46px; }
  .footer-logo { width: clamp(150px, 46vw, 210px); margin-bottom: 14px; }
  .footer-contact {
    justify-self: stretch;
    justify-items: end;
    width: 100%;
    text-align: right;
  }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .hero-stage { min-height: 600px; }
  .hero h1 { font-size: clamp(2.75rem, 12.5vw, 3.55rem); }
  .section-heading h2,
  .principles-intro h2,
  .footer-identity h2 { font-size: clamp(2.4rem, 10.5vw, 3.15rem); }
  .portfolio-card { flex-basis: 86vw; }
  .portfolio-card h3 { font-size: 1.75rem; }
}

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

/* V12.1 — stronger visual rhythm between sections */

/* Purpose: quiet editorial opener with a precise brand accent */
.purpose-section .editorial-copy {
  position: relative;
  padding-left: clamp(30px, 3.5vw, 54px);
}
.purpose-section .editorial-copy::before {
  content: "";
  position: absolute;
  inset: 22px auto 8px 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), rgba(18, 68, 146, 0.12));
}

/* Principles: a deliberate dark manifesto band in the middle of the page */
.principles-section {
  color: var(--white);
  border-top: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(18, 68, 146, 0.54), transparent 30rem),
    radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.055), transparent 24rem),
    linear-gradient(145deg, #343433 0%, #292928 58%, #242423 100%);
}
.principles-intro h2,
.principle-list p {
  color: var(--white);
}
.principles-intro p,
.principles-support {
  color: rgba(255, 255, 255, 0.62);
}
.principle-list p:nth-child(2) {
  color: #8eafe2;
}

/* Vision: contained statement panel and reversed editorial direction */
.vision-section {
  background:
    linear-gradient(180deg, rgba(18, 68, 146, 0.035), transparent 45%),
    var(--paper-soft);
}
.vision-section .vision-grid {
  position: relative;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.72fr);
  padding: clamp(52px, 6vw, 88px);
  border: 1px solid rgba(18, 68, 146, 0.12);
  border-radius: clamp(24px, 2.5vw, 34px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.56)),
    var(--paper-soft);
  box-shadow: 0 28px 80px rgba(60, 60, 59, 0.07);
  overflow: hidden;
}
.vision-section .vision-grid::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -150px;
  top: -180px;
  border-radius: 50%;
  background: rgba(18, 68, 146, 0.055);
  pointer-events: none;
}
.vision-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.vision-copy {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
  padding-right: clamp(18px, 3vw, 46px);
}
.vision-heading h2 {
  color: var(--blue);
}

/* Footer: Contact becomes a quiet label, logo remains the primary identity */
.footer-identity h2 {
  margin-bottom: clamp(36px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.2rem, 1.45vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 620;
}

@media (max-width: 1080px) {
  .vision-section .vision-grid {
    grid-template-columns: 1fr;
  }
  .vision-heading,
  .vision-copy {
    grid-column: 1;
  }
  .vision-heading {
    grid-row: 1;
  }
  .vision-copy {
    grid-row: 2;
    padding-right: 0;
    padding-top: 34px;
  }
}

@media (max-width: 760px) {
  .purpose-section .editorial-copy {
    padding-left: 24px;
  }
  .purpose-section .editorial-copy::before {
    inset: 4px auto 4px 0;
  }
  .vision-section .vision-grid {
    padding: 34px 26px 38px;
    border-radius: 22px;
  }
  .vision-copy {
    padding-top: 28px;
  }
  .footer-identity h2 {
    margin-bottom: 34px;
    font-size: 1.18rem;
  }
}
