@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-400.ttf") format("truetype");
}

@font-face {
  font-family: Roboto;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-400i.ttf") format("truetype");
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-700.ttf") format("truetype");
}

@font-face {
  font-family: Vollkorn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/vollkorn-400.ttf") format("truetype");
}

@font-face {
  font-family: Vollkorn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/vollkorn-700.ttf") format("truetype");
}

:root {
  --navy: #082b68;
  --navy-deep: #061a42;
  --ink: #2d2d2d;
  --muted: #6b7280;
  --line: #d8d8d8;
  --paper: #fff;
  --overlay: rgba(8, 43, 104, 0.45);
  --max: 1140px;
  --header-h: 76px;
  --serif: Vollkorn, "Times New Roman", serif;
  --sans: Roboto, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
}

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

a {
  color: var(--navy);
}

a:hover {
  color: #0a3d8f;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 10000;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(8, 43, 104, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.logo img {
  width: 56px;
  height: auto;
}

.logo-icon img {
  width: 220px;
}

.logo-wordmark img {
  width: 48px;
  height: auto;
}

@media (min-width: 901px) {
  .site-header--solid .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px 0 14px;
  }

  .site-header--solid .logo-wordmark,
  .site-header--solid .nav-toggle {
    display: none;
  }

  .site-header--solid .logo-icon img {
    width: 240px;
  }
}


.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.nav-list a[aria-current="page"],
.nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle,
.nav-close {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  color: inherit;
}

.nav-toggle svg,
.nav-close svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.site-header--splash {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
  color: var(--paper);
}

.site-header--splash .logo {
  display: none;
}

.site-header--splash .nav-list a {
  color: var(--paper);
}

.site-header--splash.is-scrolled {
  background: rgba(8, 43, 104, 0.88);
  box-shadow: none;
}

.site-header--splash .nav-toggle {
  color: var(--paper);
}

@media (min-width: 901px) {
  .site-header--splash .header-inner {
    justify-content: center;
  }
}

.nav-overlay {
  display: none;
}

/* Mobile overlay */
@media (max-width: 900px) {
  .nav-toggle,
  .nav-close {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .site-header--splash .logo,
  .logo {
    display: block;
    margin-inline: auto;
  }

  .logo-icon {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }

  .logo img,
  .logo-wordmark img {
    width: 44px;
    margin-inline: auto;
  }

  .site-header--solid .logo-wordmark img {
    width: 44px;
  }

  .nav-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--navy);
    color: var(--paper);
    padding: 40px 24px;
    text-align: center;
  }

  .nav-overlay[hidden] {
    display: none;
  }

  .nav-overlay .nav-close {
    position: absolute;
    top: 18px;
    left: 14px;
    color: var(--paper);
  }

  .nav-overlay .logo-wordmark {
    margin-bottom: 36px;
  }

  .nav-overlay .logo-wordmark img {
    width: 72px;
  }

  .nav-overlay .nav-list {
    flex-direction: column;
    gap: 22px;
    font-size: 22px;
  }

  .nav-overlay .nav-list a {
    color: var(--paper);
  }

  .nav-overlay .mail {
    margin-top: 48px;
    color: var(--paper);
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding: 28px 0;
}

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

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 14px;
}

.footer-logo img {
  width: 168px;
  margin-inline: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-nav {
    align-items: flex-start;
    order: -1;
  }

  .footer-logo img {
    margin: 0;
  }
}

/* Slider / hero */
.slider {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #111;
}

.slider--page {
  min-height: 520px;
  height: 58vh;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: #111 center / cover no-repeat;
}

.slider--page .slide {
  transition-duration: 1.4s;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.slider--home .slide::after {
  background: rgba(0, 0, 0, 0.18);
}

.hero-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-logo img {
  width: min(520px, 78vw);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 90px 24px 40px;
  text-align: center;
}

.hero-copy p {
  max-width: 820px;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.contact-hero {
  min-height: 280px;
  background: #111 center / cover no-repeat;
}

/* Sections */
.section {
  padding: 56px 0 72px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 36px;
  font-size: 22px;
  font-weight: 400;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-title--left {
  justify-content: flex-start;
}

.section-title--left::before {
  display: none;
}

.section-title--left::after {
  flex: 1;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.approach-card h2 {
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  font-size: 22px;
}

.approach-card p {
  margin: 0;
  padding: 22px 20px;
  background: #f4f6f9;
  min-height: 140px;
  font-style: italic;
}

.approach-note {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
}

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 22px;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy);
  color: var(--paper);
}

.btn--light {
  border-color: var(--paper);
  color: var(--paper);
}

.btn--light:hover {
  background: var(--paper);
  color: var(--navy);
}

/* Services */
.service-block + .service-block {
  margin-top: 40px;
}

.service-row {
  display: grid;
  gap: 20px;
}

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

.service-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 28px 20px;
  color: var(--paper);
  text-align: center;
  background: #1a2b48 center / cover no-repeat;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 43, 104, 0.82), rgba(8, 43, 104, 0.25));
}

.service-card h3,
.service-card .btn {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font-size: 22px;
}

/* Who we are */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.founder h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.slider--collab {
  min-height: 420px;
  height: 52vh;
}

.collab-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: center;
}

.collab-card {
  background: rgba(255, 255, 255, 0.94);
  padding: 28px 24px;
}

.collab-card h3 {
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

/* Contact */
.contact-details {
  max-width: 640px;
}

.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: none;
}

.linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Insights */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: 0 6px 22px rgba(8, 43, 104, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.insight-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.insight-card .meta {
  padding: 18px 18px 12px;
}

.badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
}

.insight-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.insight-card .date {
  margin-top: auto;
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--muted);
}

.article {
  padding: 40px 0 72px;
}

.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 20px 0 32px;
}

.article-body {
  max-width: 760px;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.6em;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.share a {
  color: var(--navy);
}

.share svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  padding: 48px 0 72px;
}

.legal h1 {
  margin-top: 0;
}

/* Dialog */
.popup {
  width: min(760px, calc(100% - 32px));
  padding: 36px 32px 28px;
  border: 0;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

.popup::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.popup h2 {
  margin-top: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

dialog.popup {
  position: relative;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--paper);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
}

@media (max-width: 900px) {
  .approach-grid,
  .founder,
  .collab-grid,
  .insight-grid,
  .service-row--split {
    grid-template-columns: 1fr;
  }

  .slider--page {
    min-height: 380px;
    height: 48vh;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .section {
    padding: 40px 0 56px;
  }
}
