:root {
  --navy: #202976;
  --navy-deep: #161c58;
  --coral: #ff6583;
  --coral-ink: #c23a56;
  --ink: #202976;
  --text: #2c3140;
  --muted: #4e5566;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --white: #ffffff;
  --line: rgba(32, 41, 118, 0.14);
  --shadow: 0 24px 60px rgba(32, 41, 118, 0.1);
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, .serif {
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 4.6vw, 4.15rem); margin: 0 0 0.45em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); margin: 0 0 0.45em; }
h3 { font-size: 1.45rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.9em; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--coral);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(32, 41, 118, 0.28); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 28px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header);
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.site-nav a:not(.btn):hover { color: var(--coral-ink); }
.nav-phone { color: var(--navy) !important; font-weight: 650 !important; }
.nav-phone:hover { color: var(--coral-ink) !important; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px 10px;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { padding: 28px 0 18px; }
.hero-grid {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 150px);
}
.hero p.lede { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.hero-note a { color: var(--navy); font-weight: 600; }
.hero-note a:hover { color: var(--coral-ink); }
.hero-visual { position: relative; }
.hero-frame { position: relative; }
.hero-visual img.primary {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 28px;
  display: block;
}
.hero-visual img.secondary {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 16px;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  top: auto;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  max-width: 11rem;
  z-index: 2;
}
.hero-chip strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.7rem; font-weight: 560; }
.hero-chip span { color: var(--muted); font-size: 0.88rem; }

.trust {
  display: grid;
  grid-template-columns: 1.1fr auto auto;
  gap: 36px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 10px auto 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.trust p { margin: 0; color: var(--muted); }
.trust h2 { font-size: 1.35rem; margin: 0 0 6px; }
.trust img { height: 64px; width: auto; max-width: 220px; object-fit: contain; }

.services { padding: 96px 0 40px; }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head p { color: var(--muted); margin: 0; }
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}
.feature, .service-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.feature {
  position: relative;
  min-height: 560px;
  color: #fff;
  border: 0;
}
.feature img, .stack img { width: 100%; height: 100%; object-fit: cover; }
.feature img { position: absolute; inset: 0; }
.feature .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 28, 88, 0.05) 20%, rgba(22, 28, 88, 0.78) 100%);
}
.feature .copy, .service-card .copy { position: relative; }
.feature .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.feature h3 { font-size: 2.2rem; color: #fff; }
.stack { display: grid; gap: 18px; }
.service-card { display: grid; grid-template-columns: 132px 1fr; min-height: 174px; }
.service-card img { width: 132px; height: 100%; object-fit: cover; }
.service-card .copy { padding: 20px 20px 16px; }
.service-card p, .feature p { color: inherit; margin: 0; }
.service-card p { color: var(--muted); }
.index {
  display: block;
  margin-bottom: 6px;
  color: var(--coral-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.mosaic {
  width: min(1160px, calc(100% - 48px));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 14px;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.mosaic img:first-child { grid-row: 1 / span 2; }

.about { padding: 96px 0; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px 28px 28px 90px;
}
.mission {
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 48px 48px 36px;
}
.mission h2, .mission h3 { color: #fff; }
.mission .eyebrow { color: var(--coral); }
.mission .eyebrow::before { background: var(--coral); }
.mission h2 { max-width: 18ch; }
.mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.mission-grid p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.mission-grid h3 { font-family: Outfit, sans-serif; font-size: 0.95rem; letter-spacing: 0.04em; font-weight: 600; }

.leadership { padding: 20px 0 90px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lead-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(32, 41, 118, 0.04);
}
.lead-card header { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.lead-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; }
.lead-card h3 { margin: 0; font-size: 1.35rem; }
.role { margin: 2px 0 0; color: var(--coral-ink); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.lead-card blockquote { margin: 0; }
.lead-card p { color: var(--muted); }

.team { background: var(--mist); padding: 90px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.member {
  background: #fff;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  line-height: 0;
  overflow: hidden;
}
.portrait img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  display: block;
  object-fit: cover;
  object-position: center 32%;
}
.portrait img.face-high { object-position: center 18%; }
.portrait img.face-mid { object-position: center 42%; }
.member .pad { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.member h3 { font-size: 1.15rem; line-height: 1.25; min-height: 2.5em; margin: 0; }
.member .excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.text-btn {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 650;
  padding: 0;
  cursor: pointer;
}
.text-btn:hover { color: var(--coral-ink); text-decoration: underline; }

dialog {
  width: min(640px, calc(100% - 28px));
  border: 0;
  border-radius: 24px;
  padding: 28px 28px 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(22, 28, 88, 0.58); }
dialog h3 { font-size: 2rem; }
dialog .dialog-body p { color: var(--muted); }
.dialog-close {
  float: right;
  border: 0;
  background: var(--mist);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.faq { padding: 96px 0; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-layout > p { color: var(--muted); }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

.recruit {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--navy);
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
}
.recruit-copy { padding: 56px 48px; }
.recruit h2 { color: #fff; }
.recruit .eyebrow { color: var(--coral); }
.recruit .eyebrow::before { background: var(--coral); }
.recruit p { color: rgba(255, 255, 255, 0.84); max-width: 38rem; }
.recruit img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.9fr;
  gap: 32px;
}
.logo-plate {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
}
.logo-plate img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--paper);
}
.site-footer h3 {
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 650;
}
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--coral); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.phone { font-size: 1.25rem; font-weight: 650; color: #fff !important; }
.contact-line { margin: 0 0 12px; }
.contact-line span, .mail-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer address {
  font-style: normal;
  line-height: 1.45;
  margin: 0 0 14px;
}
.legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero-grid, .section-head, .bento, .about-layout, .lead-grid, .faq-layout, .recruit, .footer-grid, .mission-grid, .trust {
    grid-template-columns: 1fr;
  }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 0; }
  .hero-visual img.primary { aspect-ratio: 16 / 11; object-position: center 42%; }
  .hero-visual img.secondary { width: 28%; }
  .service-card { grid-template-columns: 110px 1fr; }
  .feature { min-height: 420px; }
  .mosaic { grid-template-rows: 220px 140px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn, .nav-phone { width: fit-content; }
  .topbar { display: none; }
  .recruit-copy { padding: 36px 24px; }
  .mission { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .wrap, .hero-grid, .trust, .mosaic, .recruit { width: calc(100% - 28px); }
  .team-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 220px 160px 160px; }
  .mosaic img:first-child { grid-row: auto; }
  .hero { padding-top: 12px; }
  .hero-grid { min-height: 0; gap: 24px; }
  .hero-visual img.primary { aspect-ratio: 4 / 5; object-position: center 40%; }
  .hero-chip { position: static; max-width: none; margin-top: 14px; }
  .hero-visual img.secondary { width: 36%; bottom: 12px; right: 12px; }
  .logo img { height: 46px; }
  .site-header { padding-inline: 14px; }
}
