:root {
  --navy: #003062;
  --navy-deep: #002448;
  --ink: #0e2238;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --surface: #faf7f0;
  --silver: #c4c6cb;
  --muted: #5a6d80;
  --border: #d8d2c6;
  --shadow: 0 0 0 1px rgb(14 34 56 / 0.06), 0 1px 2px -1px rgb(14 34 56 / 0.06),
    0 2px 4px 0 rgb(14 34 56 / 0.04);
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

button,
[role="button"] {
  cursor: pointer;
  font-family: inherit;
}

::selection {
  background: var(--navy);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 60;
  background: var(--paper);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 8px;
}

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

@media (min-width: 640px) {
  .wrap {
    width: min(1152px, calc(100% - 64px));
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.header.is-scrolled {
  border-bottom-color: rgb(243 240 232 / 0.1);
  box-shadow: 0 8px 24px rgb(0 36 72 / 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
@media (min-width: 640px) {
  .header-inner {
    height: 72px;
  }
}
.logo-nav {
  height: 32px;
  width: auto;
}
@media (min-width: 640px) {
  .logo-nav {
    height: 36px;
  }
}
.nav-desktop {
  display: none;
  gap: 32px;
}
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-desktop a {
  color: rgb(243 240 232 / 0.8);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-desktop a:hover {
  color: var(--paper);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-header {
  display: none;
}
@media (min-width: 640px) {
  .btn-header {
    display: inline-flex;
  }
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--paper);
  border-radius: 8px;
}
.menu-btn:hover {
  background: rgb(243 240 232 / 0.1);
}
@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 150ms ease, transform 150ms ease;
}
.btn:active {
  transform: scale(0.96);
}
.btn-lg {
  height: 48px;
  padding: 0 24px;
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}
.btn-navy {
  background: var(--navy);
  color: var(--paper);
}
.btn-navy:hover {
  background: var(--navy-deep);
}
.btn-paper {
  background: var(--paper);
  color: var(--navy);
}
.btn-paper:hover {
  background: var(--paper-2);
}
.btn-line {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgb(243 240 232 / 0.35);
}
.btn-line:hover {
  background: rgb(243 240 232 / 0.1);
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(0 36 72 / 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 51;
  width: min(100%, 20rem);
  height: 100%;
  background: var(--navy);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 200ms var(--ease);
}
.drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
}
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--paper);
  border-radius: 8px;
}
.drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px 0;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
}
.drawer-nav a:hover {
  background: rgb(243 240 232 / 0.1);
}
.drawer-cta {
  padding: 20px;
}
.drawer-cta .btn {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}
.hero-art {
  display: none;
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy), rgb(0 48 98 / 0.6), rgb(0 48 98 / 0.25));
}
@media (min-width: 1024px) {
  .hero-art {
    display: block;
  }
}
.hero-grid {
  position: relative;
  padding: 48px 0 64px;
}
@media (min-width: 1024px) {
  .hero-grid {
    padding: 80px 0 96px;
  }
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
}
.logo-wordmark {
  margin-top: 32px;
  height: 64px;
  width: auto;
}
@media (min-width: 640px) {
  .logo-wordmark {
    height: 96px;
  }
}
@media (min-width: 1024px) {
  .logo-wordmark {
    height: 112px;
  }
}
.hero h1 {
  margin: 32px 0 0;
  max-width: 36rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero .lead {
  margin: 24px 0 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgb(243 240 232 / 0.8);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}
.stats {
  position: relative;
  border-top: 1px solid rgb(243 240 232 / 0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 24px 20px;
  border-right: 1px solid rgb(243 240 232 / 0.1);
}
.stat dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
.stat dd {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

/* Sections */
.section {
  padding: 80px 0;
  scroll-margin-top: 96px;
}
@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}
.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.section h2 {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose {
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(14 34 56 / 0.85);
}
.prose p + p {
  margin-top: 20px;
}
.photo {
  overflow: hidden;
  border-radius: 16px;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgb(14 34 56 / 0.1);
  outline-offset: -1px;
}

.about-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
  }
  .about-copy {
    padding-top: 40px;
  }
}
.values {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 32px;
}
@media (min-width: 640px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}
.values h3 {
  margin: 8px 0 0;
  font-size: 1rem;
}
.values p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.surface {
  background: var(--surface);
}
.services-head {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .services-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
  .services-head .aside {
    justify-self: end;
    max-width: 28rem;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
  }
}
.services-body {
  margin-top: 56px;
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .services-body {
    grid-template-columns: 5fr 7fr;
  }
}
.services-body .photo {
  min-height: 288px;
}

details.acc {
  border-bottom: 1px solid var(--border);
}
details.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.125rem;
}
details.acc summary::-webkit-details-marker {
  display: none;
}
.acc-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 640px) {
  .acc-title {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
}
.acc-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 200ms ease;
  flex-shrink: 0;
}
details[open] .chevron {
  transform: rotate(180deg);
}
.acc-body {
  padding: 0 0 24px;
}
.acc-body p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}
.acc-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .acc-list {
    grid-template-columns: 1fr 1fr;
  }
}
.acc-list li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: rgb(14 34 56 / 0.85);
}
.acc-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--navy);
  flex-shrink: 0;
}

.cards-2 {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .cards-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--paper);
}
.card h3 {
  margin: 20px 0 0;
  font-size: 1.125rem;
}
.card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.process {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
  }
}
.process li {
  background: var(--navy);
  color: var(--paper);
  border-radius: 16px;
  padding: 32px;
}
.process .num {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.process h3 {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.process p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgb(243 240 232 / 0.75);
}

.quote {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
}
.quote-inner {
  max-width: 48rem;
  margin-inline: auto;
}
.quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.35;
}
.quote footer {
  margin-top: 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.insights-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.note {
  background: var(--paper);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.note time {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.note h3 {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
}
.note p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(14 34 56 / 0.8);
}

.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
  }
}
address {
  font-style: normal;
}
.form {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .form {
    padding: 32px;
  }
}
.fields {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 0 12px;
  height: 44px;
  box-shadow: var(--shadow);
  outline: none;
}
textarea {
  height: auto;
  min-height: 8rem;
  padding: 12px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--navy);
}
.error {
  margin: 0;
  font-size: 12px;
  color: var(--navy);
}
.success {
  display: none;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.success.show {
  display: flex;
}
.success h3 {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--paper);
}
.footer-grid {
  display: grid;
  gap: 48px;
  padding: 64px 0;
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
  }
}
.footer .logo-wordmark {
  height: 64px;
  margin-top: 0;
}
.footer .tag {
  margin: 24px 0 0;
  max-width: 24rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgb(243 240 232 / 0.8);
}
.footer h2 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  font-family: var(--font-sans);
}
.footer ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.footer li + li {
  margin-top: 12px;
}
.footer a {
  font-size: 14px;
  color: rgb(243 240 232 / 0.8);
}
.footer a:hover {
  color: var(--paper);
}
.footer address {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(243 240 232 / 0.8);
}
.legal {
  border-top: 1px solid rgb(243 240 232 / 0.1);
}
.legal-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  font-size: 12px;
  color: rgb(243 240 232 / 0.55);
}
@media (min-width: 640px) {
  .legal-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

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