:root {
  --navy: #071b33;
  --navy-2: #0b1f3a;
  --blue: #102a43;
  --gold: #c8a45d;
  --gold-2: #b9954d;
  --paper: #f8f6f1;
  --paper-2: #f2eee6;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --line: #e4ddcf;
  --line-dark: #243d5b;
  --danger: #b42318;
  --success: #0f766e;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(7, 27, 51, 0.1);
  --shadow-soft: 0 10px 28px rgba(7, 27, 51, 0.07);
  --focus: 0 0 0 3px rgba(200, 164, 93, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.45rem, 9vw, 5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.45rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

p {
  color: var(--muted);
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 221, 207, 0.86);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 176px;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 800;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.mobile-nav-tools {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.language-switcher {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.language-switcher a {
  min-width: 40px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switcher a[aria-current="true"] {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 6px 16px rgba(7, 27, 51, 0.08);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span:not(.sr-only) {
  width: 21px;
  height: 2px;
  background: var(--navy);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(7, 27, 51, 0.2);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.button-ghost {
  color: var(--navy);
  border-color: transparent;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.text-link,
.service-card a,
.blog-card a,
.link-list a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(200, 164, 93, 0.65);
  text-underline-offset: 0.28em;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.muted-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

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

.navy-section h2,
.navy-section h3,
.navy-section p,
.navy-section .kicker {
  color: var(--white);
}

.top-space {
  margin-top: 1.4rem;
}

.kicker {
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: #475467;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 27, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 51, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero-grid,
.page-hero-grid,
.split,
.profile-strip,
.faq-layout,
.contact-preview-grid,
.contact-layout,
.service-layout,
.profile-details {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-grid {
  position: relative;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy {
  max-width: 740px;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.trust-row div {
  border-left: 2px solid var(--gold);
  padding-left: 0.8rem;
}

.trust-row dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-row dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.intro-band {
  background: var(--white);
}

.split {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.feature-card,
.blog-card,
.contact-panel,
.service-sidebar section,
.info-table,
.legal-disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card,
.feature-card,
.blog-card {
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.feature-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  border-color: #d4c8b3;
  box-shadow: var(--shadow);
}

.service-card span,
.process-list span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--gold-2);
  font-weight: 900;
  margin-bottom: 1rem;
}

.service-card.large h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.profile-strip {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
}

.profile-strip img,
.page-hero img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
}

.process-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 2rem;
}

.process-list.compact li {
  background: var(--paper);
  border-color: var(--line);
}

.process-list.compact h3 {
  color: var(--navy);
}

.process-list.compact p {
  color: var(--muted);
}

.faq-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 0.8rem;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.accordion-item button {
  width: 100%;
  min-height: 58px;
  padding: 1rem 1.15rem;
  border: 0;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font-weight: 900;
}

.accordion-item button::after {
  content: "+";
  float: right;
  color: var(--gold-2);
}

.accordion-item button[aria-expanded="true"]::after {
  content: "−";
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.15rem 1rem;
}

.contact-preview {
  background: var(--white);
}

.contact-preview-grid {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
}

.map-frame {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.map-frame.large {
  min-height: 480px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.page-hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.breadcrumbs {
  margin-top: 1.4rem;
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.service-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}

.service-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}

.service-sidebar section,
.contact-panel,
.info-table {
  padding: 1.2rem;
}

.prose {
  max-width: 860px;
}

.prose h2,
.article-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-top: 2rem;
}

.prose h2:first-child,
.article-content h2:first-child {
  margin-top: 0;
}

.prose li {
  margin-bottom: 0.45rem;
  color: #344054;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.category-row span,
.eyebrow,
.meta-row span {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: #725a27;
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.article-content {
  max-width: 880px;
}

.article-content section {
  margin-top: 2rem;
}

.legal-disclaimer {
  padding: 1rem;
  margin-bottom: 1.2rem;
  color: #344054;
  background: var(--paper);
}

.contact-layout {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-list div,
.info-table dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
}

.contact-list div:last-child,
.info-table dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list dt,
.info-table dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-list dd,
.info-table dd {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: 0.82rem 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .field-error {
  border-color: var(--danger);
}

.checkbox-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: #344054;
}

.checkbox-label input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note {
  font-size: 0.9rem;
}

.form-status {
  margin: 0;
  font-weight: 900;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.profile-details {
  grid-template-columns: 1fr 0.85fr;
  align-items: start;
}

.info-table dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sitemap-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band.compact {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band .kicker {
  color: #e6c989;
}

.not-found {
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--paper);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.95fr 1.05fr 0.85fr;
  gap: 1.5rem;
}

.footer-brand img {
  width: 202px;
  margin-bottom: 1rem;
}

.site-footer h2 {
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #d8dee8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: #b8c2d2;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-socials a {
  color: #e6c989;
  font-weight: 900;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #cbd5e1;
}

.footer-bottom div {
  display: flex;
  gap: 0.8rem;
  font-weight: 900;
}

.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  gap: 0.5rem;
}

.floating-contact a {
  min-width: 116px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.floating-contact a + a {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .header-cta {
    display: none;
  }

  .site-nav ul {
    gap: 0.7rem;
  }

  .card-grid.four,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    justify-self: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.8rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-nav a {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    padding: 0.65rem 0.8rem;
  }

  .site-nav a[aria-current="page"] {
    background: var(--paper);
  }

  .mobile-nav-tools {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-tools .language-switcher {
    justify-self: start;
  }

  .mobile-nav-tools .button {
    width: 100%;
  }

  .site-nav .mobile-nav-tools .button-primary {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .profile-strip,
  .faq-layout,
  .contact-preview-grid,
  .profile-details {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .page-hero img {
    max-height: 460px;
    width: 100%;
    object-fit: cover;
  }

  .process-list,
  .process-list.compact,
  .card-grid.three,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100vw - 24px));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-link img {
    width: 144px;
  }

  .header-actions > .language-switcher a {
    min-width: 34px;
    min-height: 34px;
  }

  .site-nav {
    top: 70px;
    left: 12px;
    right: 12px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .hero-actions .button,
  .cta-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .trust-row,
  .card-grid.four,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .floating-contact a {
    min-width: 0;
  }

  .site-footer {
    padding-bottom: 64px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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