:root {
  --navy: #071a38;
  --navy-2: #0c2954;
  --navy-3: #041025;
  --blue: #174f91;
  --gold: #f2bd3d;
  --gold-2: #ffd76f;
  --ink: #0d203d;
  --slate: #5c6879;
  --line: #dbe2ea;
  --mist: #f4f7fa;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(7, 26, 56, .13);
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: 108px 0; }
.section.mist { background: var(--mist); }
.section.navy { color: #fff; background: var(--navy); }
.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-2); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { font-size: 57px; line-height: 1.03; letter-spacing: -.05em; }
h2 { margin-bottom: 18px; color: var(--navy); font-size: 47px; line-height: 1.06; letter-spacing: -.045em; }
h3 { color: var(--navy); }
.navy h2 { color: #fff; }
.lead { max-width: 690px; color: var(--slate); font-size: 18px; line-height: 1.72; }
.navy .lead { color: rgba(255,255,255,.68); }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.gold { color: #2e2104; background: var(--gold); }
.button.gold:hover { background: var(--gold-2); }
.button.navy-button { color: #fff; background: var(--navy); }
.button.outline { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.05); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(4,16,37,.96);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(0,0,0,.17); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 auto; }
.brand img { width: 238px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav > a:not(.button), .nav-dropdown summary {
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}
.desktop-nav > a.active, .desktop-nav > a:hover, .nav-dropdown summary:hover, .nav-dropdown[open] summary { color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.dropdown-chevron { width: 15px; height: 15px; display: inline-flex; color: var(--gold); transition: transform .2s ease; }
.dropdown-chevron svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.nav-dropdown[open] .dropdown-chevron, .mobile-services[open] .dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown[open]::after { width: calc(100% + 32px); height: 20px; position: absolute; top: 100%; left: -16px; content: ""; }
.dropdown-menu {
  width: 350px;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(4,16,37,.99);
  box-shadow: 0 24px 65px rgba(0,0,0,.28);
  transform: translateX(-50%);
}
.dropdown-menu::before {
  width: 14px;
  height: 14px;
  position: absolute;
  top: -7px;
  left: calc(50% - 7px);
  border-top: 1px solid rgba(255,255,255,.11);
  border-left: 1px solid rgba(255,255,255,.11);
  background: var(--navy-3);
  transform: rotate(45deg);
  content: "";
}
.dropdown-menu a { position: relative; z-index: 1; padding: 11px 13px; border-radius: 9px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.35; }
.dropdown-menu a:hover, .dropdown-menu a.active { color: #fff; background: rgba(255,255,255,.08); }
.menu-toggle { width: 46px; height: 46px; display: none; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 19px; height: 2px; display: block; position: relative; background: currentColor; content: ""; transition: transform .2s ease, opacity .2s ease; }
.menu-lines::before { position: absolute; transform: translateY(-6px); }
.menu-lines::after { position: absolute; transform: translateY(6px); }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: rotate(45deg); }
.menu-open .menu-lines::after { transform: rotate(-45deg); }
.mobile-panel { height: 0; overflow: hidden; visibility: hidden; background: var(--navy-3); transition: height .25s ease, visibility .25s ease; }
.mobile-panel-inner { width: var(--wrap); display: grid; gap: 3px; margin-inline: auto; padding: 12px 0 26px; }
.mobile-panel a:not(.button), .mobile-services summary { padding: 13px 4px; color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; }
.mobile-services summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.mobile-services summary::-webkit-details-marker { display: none; }
.mobile-submenu { display: grid; padding: 5px 0 12px 13px; border-left: 1px solid rgba(255,255,255,.15); }
.mobile-panel .mobile-submenu a { padding: 9px 10px; color: rgba(255,255,255,.67); font-size: 13px; font-weight: 500; }

.inner-hero {
  min-height: 590px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(4,16,37,.96), rgba(4,16,37,.72) 53%, rgba(4,16,37,.32)), var(--hero-image) center / cover no-repeat;
}
.inner-hero::after { width: 430px; height: 430px; position: absolute; right: -170px; bottom: -230px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03); content: ""; }
.inner-hero-content { position: relative; z-index: 2; max-width: 830px; padding: 185px 0 92px; }
.inner-hero h1 { max-width: 820px; margin-bottom: 20px; color: #fff; }
.inner-hero p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.65; }
.breadcrumbs { margin-top: 25px; color: rgba(255,255,255,.55); font-size: 12px; }
.breadcrumbs a:hover { color: var(--gold); }

.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 125px); align-items: start; }
.intro-grid .intro-title { position: sticky; top: 125px; }
.copy-block p { color: var(--slate); font-size: 17px; line-height: 1.8; }
.copy-block p:last-child { margin-bottom: 0; }
.statement-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 45px; }
.statement-card { padding: 32px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; box-shadow: 0 14px 38px rgba(7,26,56,.08); }
.statement-card h3 { margin-bottom: 10px; font-size: 20px; }
.statement-card p { margin: 0; color: var(--slate); line-height: 1.65; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.value-card { min-height: 225px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(242,189,61,.36); border-radius: 13px; color: #b77d00; background: rgba(242,189,61,.14); transition: color .2s ease, background .2s ease, transform .2s ease; }
.value-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-card:hover .value-icon { color: var(--navy); background: var(--gold); transform: translateY(-2px); }
.value-card h3 { margin-bottom: 9px; font-size: 19px; }
.value-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.65; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-head h2 { max-width: 700px; margin-bottom: 0; }
.section-head .lead { max-width: 420px; margin-bottom: 3px; font-size: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-tile { min-height: 360px; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: 0 13px 35px rgba(7,26,56,.09); }
.service-tile img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: -2; object-fit: cover; transition: transform .55s ease; }
.service-tile::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,16,37,.03) 22%, rgba(4,16,37,.96)); content: ""; }
.service-tile:hover img { transform: scale(1.045); }
.service-tile-content { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; }
.service-tile .kicker { margin-bottom: auto; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-tile h3 { max-width: 410px; margin: 0 0 9px; color: #fff; font-size: 23px; }
.service-tile p { max-width: 470px; margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; }
.card-arrow { width: 42px; height: 42px; position: absolute; top: 25px; right: 25px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(4,16,37,.25); transition: background .2s, color .2s; }
.service-tile:hover .card-arrow { color: var(--navy); border-color: var(--gold); background: var(--gold); }

.detail-layout { display: grid; grid-template-columns: 290px 1fr; gap: clamp(50px, 8vw, 105px); align-items: start; }
.service-sidebar { position: sticky; top: 120px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.service-sidebar h3 { margin-bottom: 17px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.service-sidebar nav { display: grid; }
.service-sidebar a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--slate); font-size: 13px; line-height: 1.35; }
.service-sidebar a:last-child { border-bottom: 0; }
.service-sidebar a:hover, .service-sidebar a.active { color: var(--blue); }
.detail-copy > .lead { max-width: 780px; margin-bottom: 38px; }
.showcase-image { width: 100%; aspect-ratio: 16 / 8.4; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy h2 { margin-top: 55px; }
.detail-copy p { color: var(--slate); font-size: 17px; line-height: 1.78; }
.capability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 35px 0 0; padding: 0; list-style: none; }
.capability-list li { display: flex; align-items: center; gap: 12px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); font-weight: 600; }
.capability-list li::before { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); content: ""; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 55px; }
.image-pair img { width: 100%; height: 310px; object-fit: cover; border-radius: 18px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border-radius: 18px; background: var(--mist); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-list { display: grid; gap: 14px; }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.contact-card small { display: block; margin-bottom: 7px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a, .contact-card address { color: var(--ink); font-size: 16px; font-style: normal; line-height: 1.55; }
.contact-card a:hover { color: var(--blue); }
.contact-form { padding: 40px; border-radius: 24px; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.contact-form h2 { color: #fff; font-size: 34px; }
.contact-form > p { color: rgba(255,255,255,.65); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: #fff; background: rgba(255,255,255,.07); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.field select option { color: var(--ink); background: #fff; }
.form-grid .button { margin-top: 5px; border: 0; cursor: pointer; }

.cta-section { padding: 0 0 105px; }
.cta-panel { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; border-radius: 28px; background: var(--gold); box-shadow: var(--shadow); }
.cta-copy { padding: 65px clamp(30px, 7vw, 85px); }
.cta-copy h2 { max-width: 650px; margin-bottom: 28px; }
.cta-contact { display: grid; align-content: center; gap: 15px; padding: 48px; color: #fff; background: var(--navy-2); }
.cta-contact a { color: rgba(255,255,255,.8); }
.cta-contact a:hover { color: var(--gold-2); }

.site-footer { padding: 60px 0 28px; color: rgba(255,255,255,.65); background: var(--navy-3); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer-brand img { width: 270px; margin-bottom: 22px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-top: 20px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social-link:hover { color: var(--gold); }
.footer-brand p { max-width: 430px; margin: 0; font-size: 14px; line-height: 1.7; }
.footer-col { display: grid; align-content: start; gap: 11px; font-size: 14px; }
.footer-col h3 { margin-bottom: 7px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.11); font-size: 12px; }
.back-top { color: #fff; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-panel.open { height: calc(100vh - 72px); overflow-y: auto; visibility: visible; }
  .intro-grid, .detail-layout, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid .intro-title, .service-sidebar { position: static; }
  .service-sidebar nav { grid-template-columns: repeat(2, 1fr); column-gap: 25px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { gap: 35px; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 34px, 1180px); }
  .nav { min-height: 72px; }
  .brand img { width: 198px; }
  h1 { font-size: clamp(42px, 12vw, 57px); }
  h2 { font-size: clamp(34px, 10vw, 47px); }
  .section { padding: 80px 0; }
  .inner-hero { min-height: 540px; }
  .inner-hero-content { padding: 150px 0 70px; }
  .inner-hero p:not(.eyebrow) { font-size: 16px; }
  .statement-grid, .values-grid, .services-grid, .capability-list, .image-pair, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section-head { align-items: start; flex-direction: column; gap: 18px; }
  .service-tile { min-height: 330px; }
  .service-sidebar nav { grid-template-columns: 1fr; }
  .showcase-image { aspect-ratio: 4 / 3; }
  .image-pair img { height: 250px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 22px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-copy, .cta-contact { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Fluent Forms integration */
.fluent-form-shell .fluentform,
.fluent-form-shell .frm-fluent-form,
.fluent-form-shell .ff-el-group {
  color: #fff;
}
.fluent-form-shell .ff-el-group { margin-bottom: 16px; }
.fluent-form-shell .ff-t-container { gap: 16px; }
.fluent-form-shell .ff-el-input--label label,
.fluent-form-shell .ff-el-form-check-label,
.fluent-form-shell .ff-el-section-title,
.fluent-form-shell .ff-el-help-message {
  color: rgba(255,255,255,.76);
}
.fluent-form-shell .ff-el-input--label label {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
}
.fluent-form-shell .ff-el-form-control,
.fluent-form-shell input:not([type="checkbox"]):not([type="radio"]),
.fluent-form-shell select,
.fluent-form-shell textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.07);
  box-shadow: none;
  outline: none;
}
.fluent-form-shell textarea.ff-el-form-control,
.fluent-form-shell textarea { min-height: 130px; resize: vertical; }
.fluent-form-shell select option { color: var(--ink); background: #fff; }
.fluent-form-shell .ff-el-form-control::placeholder,
.fluent-form-shell input::placeholder,
.fluent-form-shell textarea::placeholder { color: rgba(255,255,255,.46); }
.fluent-form-shell .ff-el-form-control:focus,
.fluent-form-shell input:focus,
.fluent-form-shell select:focus,
.fluent-form-shell textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,189,61,.18);
}
.fluent-form-shell .ff-btn-submit,
.fluent-form-shell .ff-btn.ff-btn-submit,
.fluent-form-shell button[type="submit"] {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #2e2104 !important;
  border-color: var(--gold) !important;
  background: var(--gold) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.fluent-form-shell .ff-btn-submit:hover,
.fluent-form-shell .ff-btn.ff-btn-submit:hover,
.fluent-form-shell .ff-btn-submit:focus,
.fluent-form-shell .ff-btn.ff-btn-submit:focus,
.fluent-form-shell button[type="submit"]:hover,
.fluent-form-shell button[type="submit"]:focus {
  color: #2e2104 !important;
  border-color: var(--gold-2) !important;
  background: var(--gold-2) !important;
  box-shadow: 0 0 0 3px rgba(242,189,61,.2) !important;
  transform: translateY(-2px);
}
.fluent-form-shell .ff-el-is-error .ff-el-form-control { border-color: #ff8f8f; }
.fluent-form-shell .error,
.fluent-form-shell .text-danger { color: #ffb5b5; }
.fluent-form-shell .ff-message-success {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.1);
  box-shadow: none;
}
.fluent-form-shell .form-fallback { color: rgba(255,255,255,.72); }

@media (max-width: 720px) {
  .fluent-form-shell .ff-t-container { display: block; }
  .fluent-form-shell .ff-t-cell { margin-bottom: 16px; }
  .fluent-form-shell .ff-btn-submit,
  .fluent-form-shell button[type="submit"] { width: 100%; }
}
