:root {
  --navy-950: #071521;
  --navy-900: #0b1d2b;
  --navy-800: #10283a;
  --ink: #162131;
  --slate-700: #465064;
  --slate-600: #667084;
  --slate-100: #eef5f8;
  --paper: #f8fbfc;
  --white: #ffffff;
  --teal: #8fc9df;
  --teal-dark: #4a93ad;
  --coral: #ff746d;
  --coral-dark: #e85c55;
  --gold: #c9a227;
  --muted-teal: #2f7d7e;
  --sage: #6b8f71;
  --copper: #b7794c;
  --steel: #3f5f76;
  --line: rgba(13, 31, 45, 0.14);
  --shadow: 0 20px 55px rgba(7, 21, 33, 0.14);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--navy-950);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
.brand img, .hero-panel img, .about-panel img, .footer-logo { image-rendering: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header .container { width: min(1280px, calc(100% - 40px)); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--white);
  color: var(--navy-950);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 99;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 21, 33, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
  min-width: max-content;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));
}
.brand strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 900;
}
.brand em {
  display: block;
  margin-top: 4px;
  color: rgba(143, 201, 223, 0.72);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 650;
}
.main-nav { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.main-nav a {
  color: var(--white);
  font-weight: 760;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--teal); }
.main-nav .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 10px 15px;
  margin-left: 6px;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(255, 116, 109, 0.25);
}
.main-nav .nav-cta:hover { background: var(--coral-dark); color: var(--white); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 7px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 80% 32%, rgba(143,201,223,0.20), transparent 30%), linear-gradient(135deg, #06121e 0%, #0d2130 55%, #142d3d 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,21,33,0.98) 0%, rgba(7,21,33,0.82) 45%, rgba(7,21,33,0.58) 100%),
    radial-gradient(circle at 78% 58%, rgba(255,116,109,0.16), transparent 34%),
    linear-gradient(160deg, transparent 0 58%, rgba(143,201,223,0.18) 58% 59%, transparent 59% 100%);
  opacity: 1;
}
.hero-grid {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.04fr 0.72fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  font-size: 0.78rem;
}
.eyebrow.coral { color: var(--coral); }
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.45rem, 4.9vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.056em;
}
.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
}
.button:focus-visible { box-shadow: 0 0 0 3px rgba(143,201,223,0.42); outline: none; }
.button.primary { background: var(--coral); color: white; box-shadow: 0 14px 32px rgba(255, 116, 109, 0.24); }
.button.primary:hover { background: var(--coral-dark); }
.button.secondary { color: white; border-color: rgba(143,201,223,0.88); background: rgba(255,255,255,0.03); }
.button.secondary:hover, .button.outline:hover { background: rgba(143,201,223,0.12); }
.button.outline { color: var(--navy-950); border-color: var(--coral); background: transparent; }
.hero-panel {
  justify-self: end;
  width: min(390px, 100%);
  text-align: center;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  background: rgba(4, 14, 23, 0.38);
  box-shadow: 0 30px 100px rgba(0,0,0,0.30);
}
.hero-panel img { width: 245px; margin: 0 auto 18px; filter: drop-shadow(0 22px 42px rgba(0,0,0,0.24)); }
.hero-panel .tagline {
  color: var(--teal);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 17px;
}
.panel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.panel-list span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.92);
  font-weight: 750;
}

.priority-strip {
  background: linear-gradient(180deg, #0b1d2b, #071521);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.priority-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(6, 1fr);
  align-items: stretch;
}
.priority-grid h2 {
  margin: 0;
  padding: 32px 24px 32px 0;
  display: flex;
  align-items: center;
  font-size: 1.12rem;
  font-weight: 650;
}
.priority-grid a {
  min-height: 122px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.priority-grid a:hover { background: rgba(143,201,223,0.10); color: var(--teal); }

.section { padding: 82px 0; }
.section-intro { max-width: 620px; }
.section-intro.centered { text-align: center; margin: 0 auto 34px; }
.section-intro.narrow { max-width: 720px; }
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section p { color: #243244; }
.insights {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}
.split-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.split-intro p:last-child {
  margin: 0;
  font-size: 1.15rem;
  color: #243244;
}
.services { background: white; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  min-height: 335px;
  border: 0;
  background: transparent;
  border-radius: 18px;
  perspective: 1200px;
  cursor: pointer;
}
.service-card:focus { outline: none; }
.service-card:focus-visible { outline: 3px solid rgba(74,147,173,0.36); outline-offset: 5px; }
.service-card-inner {
  position: relative;
  min-height: 335px;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(.2,.7,.2,1), box-shadow 180ms ease;
}
.service-card:hover .service-card-inner,
.service-card:focus .service-card-inner {
  transform: rotateY(180deg);
}
.service-card-face {
  position: absolute;
  inset: 0;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(7,21,33,0.06);
  backface-visibility: hidden;
  overflow: hidden;
}
.service-card-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--accent-wash), rgba(255,255,255,0.84));
  opacity: 0.96;
  z-index: 0;
}
.service-card-face > * { position: relative; z-index: 1; }
.service-card-front { background: white; }
.service-card-back {
  background: #071521;
  color: white;
  transform: rotateY(180deg);
  border-color: color-mix(in srgb, var(--accent) 52%, transparent);
}
.service-card-back::before {
  background: linear-gradient(145deg, rgba(7,21,33,0.98), color-mix(in srgb, var(--accent) 28%, #071521));
}
.service-card:hover .service-card-face,
.service-card:focus .service-card-face { box-shadow: var(--shadow); }
.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 16px;
  color: var(--accent);
  background: rgba(255,255,255,0.64);
  margin-bottom: 22px;
}
.icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { margin: 0 0 12px; line-height: 1.15; }
.service-card p { margin: 0; font-size: 0.95rem; }
.service-card-back h3 { color: white; margin-bottom: 18px; }
.service-card-back ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.service-card-back li { color: rgba(255,255,255,0.88); line-height: 1.45; }
.accent-gold { --accent: var(--gold); --accent-wash: rgba(201,162,39,0.13); }
.accent-teal { --accent: var(--muted-teal); --accent-wash: rgba(47,125,126,0.12); }
.accent-slate { --accent: var(--steel); --accent-wash: rgba(63,95,118,0.11); }
.accent-sage { --accent: var(--sage); --accent-wash: rgba(107,143,113,0.13); }
.accent-copper { --accent: var(--copper); --accent-wash: rgba(183,121,76,0.13); }
.accent-blue { --accent: var(--teal-dark); --accent-wash: rgba(74,147,173,0.12); }

.approach {
  background: linear-gradient(90deg, #f6fbfd, #edf6fa);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.approach-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: start;
}
.steps { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(7,21,33,0.15);
}
.step span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-dark);
  color: white;
  font-weight: 950;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; }

.about { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.about-panel {
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-950));
  color: white;
  box-shadow: var(--shadow);
}
.about-panel img { width: 260px; margin: 0 auto 28px; }
.about-panel blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 4px solid var(--coral);
  font-size: 1.28rem;
  line-height: 1.28;
  font-weight: 800;
}

.contact-section { background: linear-gradient(180deg, #f7fbfd, #eaf4f8); }
.contact-form {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  color: var(--navy-950);
  font-weight: 760;
  font-size: 0.78rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(7,21,33,0.22);
  background: white;
  border-radius: 6px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy-950);
}
.contact-form textarea { resize: vertical; min-height: 135px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(143,201,223,0.44);
  border-color: var(--teal-dark);
}
.contact-form .wide { grid-column: span 2; }
.message-field { grid-column: span 2; grid-row: span 2; }
.form-button { justify-self: start; align-self: end; }
.hidden { display: none; }

.site-footer {
  background: #06121e;
  color: white;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.7fr;
  gap: 42px;
}
.footer-logo { width: 190px; margin-bottom: 16px; }
.site-footer h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}
.site-footer p,
.site-footer a { color: rgba(255,255,255,0.78); font-size: 0.93rem; }
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card-inner { transition: none; transform: none !important; }
  .service-card-face { position: relative; backface-visibility: visible; }
  .service-card-back { margin-top: 14px; transform: none; }
}

@media (max-width: 1120px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 0.74rem; }
  .main-nav .nav-cta { padding: 9px 13px; margin-left: 2px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .priority-grid { grid-template-columns: 1fr 1fr; }
  .priority-grid h2 { grid-column: 1 / -1; padding: 24px 0 12px; }
  .priority-grid a { border-top: 1px solid rgba(255,255,255,0.14); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #071521;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .nav-cta { border-radius: 0; text-align: center; }
  .hero-grid, .approach-grid, .about-grid, .split-intro { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 74px 0 54px; }
  .hero-panel { justify-self: stretch; width: 100%; }
  .hero-panel img { width: 190px; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .message-field { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 1rem; }
  .brand em { font-size: 0.58rem; letter-spacing: 0.20em; }
  .nav-wrap { min-height: 68px; }
  .hero h1 { font-size: clamp(2.25rem, 13vw, 3.55rem); }
  .hero-lede { font-size: 1.02rem; }
  .button { width: 100%; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-grid a { min-height: auto; justify-content: flex-start; text-align: left; border-left: 0; padding: 16px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-inner { min-height: 310px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .wide, .message-field { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* About panel refinement */
.about-lens {
  display: grid;
  gap: 22px;
  align-content: center;
  min-height: 430px;
}
.panel-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about-lens ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.about-lens li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,0.88);
  font-weight: 800;
}
.about-lens li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255,116,109,0.12);
}
.about-lens blockquote {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.about-lens blockquote span {
  display: block;
}


/* Owner section */
.owner {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border-top: 1px solid var(--line);
}
.owner-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 62px;
  align-items: center;
}
.owner-photo-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow);
  min-height: 640px;
}
.owner-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
}
.owner-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7,21,33,0.92) 100%);
  pointer-events: none;
}
.owner-photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: white;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(7,21,33,0.54);
  backdrop-filter: blur(10px);
}
.owner-photo-caption h3 {
  margin: 6px 0 6px;
  font-size: 1.55rem;
  line-height: 1;
}
.owner-photo-caption p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.82);
}
.owner-copy h2 {
  margin-bottom: 12px;
}
.owner-lede {
  margin: 0 0 24px;
  color: var(--teal-dark) !important;
  font-weight: 850;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.owner-copy p {
  font-size: 1.02rem;
}
.owner-credibility {
  margin: 28px 0 24px;
  padding: 24px;
  border: 1px solid rgba(7,21,33,0.12);
  border-radius: 18px;
  background: rgba(143,201,223,0.08);
}
.owner-credibility h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-950);
}
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.credential-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(74,147,173,0.26);
  color: #26384b;
  font-weight: 750;
  font-size: 0.84rem;
}
.owner-link {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .owner-grid { grid-template-columns: 1fr; }
  .owner-photo-card { min-height: 520px; }
  .owner-photo-card img { min-height: 520px; }
}

@media (max-width: 620px) {
  .owner-photo-card { min-height: 460px; }
  .owner-photo-card img { min-height: 460px; }
  .owner-photo-caption { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .owner-credibility { padding: 18px; }
}

/* Legal page */
.legal-page {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 32%, #f8fbfc 100%);
  color: var(--navy-950);
}
.legal-hero {
  padding: 72px 0 34px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-950));
  color: white;
}
.legal-container {
  max-width: 900px;
}
.legal-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.legal-updated {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
}
.legal-content {
  padding: 56px 0 76px;
}
.legal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 70px rgba(7, 21, 33, 0.10);
}
.legal-card p {
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 22px;
}
.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--navy-950);
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.legal-card h2:first-of-type {
  margin-top: 26px;
}
.legal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.legal-footer {
  padding-top: 0;
}

@media (max-width: 620px) {
  .legal-actions .button { width: 100%; }
  .about-lens { min-height: auto; }
}
