@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1e33;
  --navy-2: #123049;
  --navy-3: #1a3d5c;
  --ink: #16202a;
  --muted: #5b6672;
  --line: #d9d3c7;
  --paper: #f6f3ee;
  --white: #ffffff;
  --green: #7baf3a;
  --green-dark: #5d8d28;
  --teal: #2e7d6f;
  --shadow: 0 18px 50px rgba(11, 30, 51, 0.12);
  --header: 78px;
  --max: 1180px;
  --wide: 1280px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.7em;
  color: var(--navy);
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

p.lead { font-size: 1.08rem; color: var(--muted); max-width: 46rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #e8eef4; }
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .lead { color: #c5d0da; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-wide { gap: 48px; }

.media {
  position: relative;
  overflow: hidden;
  background: #d7d2c9;
  min-height: 320px;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tall { min-height: 520px; }
.media-banner { min-height: 460px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font: 600 0.92rem/1 "Outfit", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: #10210a;
}

.btn-primary:hover { background: #8bc247; }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover { background: var(--navy-2); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-line {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

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

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.06);
}

.header-inner {
  position: relative;
  height: var(--header);
  width: min(var(--wide), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-mark {
  width: 46px;
  height: auto;
  display: block;
}

.logo-type {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-type strong {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.logo-type span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-2);
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--teal); }

.nav-cta { margin-left: 8px; min-height: 42px; padding: 0 16px; }

.site-nav a.nav-cta {
  background: var(--green);
  color: #10210a;
  font-weight: 600;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  background: #8bc247;
  color: #10210a;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) 1.15fr;
  background: var(--navy);
  color: var(--white);
}

.hero-copy {
  padding: 72px 48px 72px max(40px, calc((100vw - var(--wide)) / 2 + 8px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 { color: var(--white); max-width: 15ch; }

.hero p { color: #d5dee6; max-width: 38rem; }

.hero-media { position: relative; min-height: 100%; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-kicker {
  color: #d4e8a8;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,18,30,0.82) 0%, rgba(8,18,30,0.42) 55%, rgba(8,18,30,0.18) 100%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 90px 0 64px;
}

.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero p { color: #dce4eb; max-width: 40rem; }

/* Trust */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 92px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--navy);
}

.trust-item:last-child { border-right: 0; }

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

/* Compare */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-card .media { min-height: 420px; }

.compare-label {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

/* Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-card .media { min-height: 240px; }

.service-card-body { padding: 26px 24px 28px; }

.service-card h3 { margin-bottom: 10px; }

.service-card p { color: var(--muted); font-size: 0.98rem; }

.card-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.card-link:hover { color: var(--green-dark); }

/* Lists */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.cap-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--navy-2);
}

.cap-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--green);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.detail-item {
  padding: 22px 20px;
  background: var(--white);
  border-top: 2px solid var(--green);
}

.detail-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.detail-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.audience {
  padding: 28px 20px 26px;
  border-top: 2px solid var(--navy);
}

.audience.featured {
  background: var(--paper);
  border-top-color: var(--green);
}

.audience h3 { font-size: 1.15rem; }
.audience p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.floors-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
}

.floors-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.floors-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,18,30,0.78) 0%, rgba(8,18,30,0.28) 100%);
}

.floors-banner .wrap { position: relative; z-index: 1; }
.floors-banner h2 { color: var(--white); max-width: 14ch; }
.floors-banner p { color: #e4ebf1; max-width: 34rem; }

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-item {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 650;
}

.process-item h3 { font-size: 1.15rem; }
.process-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--white);
}

.project-card .media { min-height: 250px; }

.project-card-body { padding: 22px 20px 24px; }

.project-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 26px;
}

.inline-links a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.chip {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--navy-2);
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form .full { grid-column: 1 / -1; }

.quote-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 12px;
  font: 400 1rem/1.4 "Outfit", sans-serif;
  color: var(--ink);
}

.quote-form textarea { min-height: 120px; resize: vertical; }

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(123, 175, 58, 0.35);
  border-color: var(--green);
}

.file-field {
  border: 1px dashed var(--line);
  padding: 16px;
  text-align: center;
  color: var(--muted);
  position: relative;
}

.file-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-note { font-size: 0.88rem; color: var(--muted); margin: 8px 0 0; }

.alert {
  padding: 14px 16px;
  margin-bottom: 18px;
  border-left: 3px solid var(--green);
  background: #f3f7ea;
}

.alert-error {
  border-left-color: #a33;
  background: #f8ecec;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }

.contact-list li { margin-bottom: 16px; }

.contact-list span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.map-frame {
  min-height: 360px;
  background: #ddd;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.accordion { border-top: 1px solid var(--line); }

.accordion-item { border-bottom: 1px solid var(--line); }

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  font: 600 1.05rem/1.4 "Outfit", sans-serif;
  color: var(--navy);
  cursor: pointer;
}

.accordion-panel {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
}

.accordion-item.is-open .accordion-panel { display: block; }

.site-footer {
  background: #08141f;
  color: #dce4eb;
  padding: 64px 0 96px;
}

.footer-brand { max-width: 28rem; margin-bottom: 36px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
}

.footer-brand h2 {
  color: var(--white);
  font-size: 1.7rem;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer h3 {
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.site-footer li { margin-bottom: 8px; }

.site-footer a { text-decoration: none; color: #e8eef4; }

.site-footer a:hover { color: var(--white); }

.footer-copy {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: #b7c2cc;
}

.float-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
}

.float-bar .btn { box-shadow: var(--shadow); }

.float-bar .btn-line {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.float-bar .btn-line:hover,
.float-bar .btn-line:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--navy);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}

.mobile-cta .btn { flex: 1; }

.include-list,
.plain-list {
  padding-left: 18px;
  color: var(--muted);
}

.include-list li,
.plain-list li { margin-bottom: 8px; }

.two-col-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-item {
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.guide-toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}

.guide-toc a {
  display: block;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}

.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; }

.reveal.is-visible {
  animation: fame-reveal 0.55s ease both;
}

@keyframes fame-reveal {
  from { opacity: 0.72; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.is-visible { animation: none; }
}

@media (max-width: 1080px) {
  .audience-grid,
  .process,
  .cards-3,
  .project-grid,
  .detail-grid,
  .value-grid,
  .guide-toc { grid-template-columns: 1fr 1fr; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 48px 24px 40px; }
  .hero-media { min-height: 360px; }
  .hero h1 { max-width: none; }
  .split,
  .quote-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 4px;
  }

  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: 0; width: 100%; }
}

@media (max-width: 820px) {
  .trust-grid,
  .compare-grid,
  .cards-3,
  .cap-grid,
  .detail-grid,
  .audience-grid,
  .process,
  .project-grid,
  .quote-form,
  .two-col-blocks,
  .value-grid,
  .guide-toc,
  .footer-grid { grid-template-columns: 1fr; }

  .trust-item { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .media-tall,
  .compare-card .media,
  .floors-banner,
  .page-hero { min-height: 320px; }
  .hero-media { min-height: 280px; }
  .hero-media img { object-position: 50% 20%; }
  .float-bar { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; font-size: 16px; }
  .wrap,
  .wrap-wide { width: min(var(--max), calc(100% - 28px)); }
  .hero-copy { padding: 36px 20px 32px; }
  .page-hero .wrap { padding: 72px 0 40px; }
  .mobile-cta .btn { min-height: 46px; padding: 0 10px; font-size: 0.86rem; }
  .map-frame,
  .map-frame iframe { min-height: 260px; height: 260px; width: 100%; }
  .logo-type span { letter-spacing: 0.06em; font-size: 0.56rem; }
}

@media (max-width: 420px) {
  .btn-row .btn { width: 100%; }
}
