:root {
  --bg: #f4efe7;
  --surface: #fbf8f2;
  --surface-strong: #f0e8dc;
  --ink: #161820;
  --muted: #5d6472;
  --line: rgba(22, 24, 32, 0.12);
  --accent: #c49a7a;
  --accent-deep: #9f7357;
  --accent-soft: rgba(196, 154, 122, 0.14);
  --dark: #10141d;
  --dark-soft: #171c28;
  --max-width: 1180px;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(19, 26, 39, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(244, 239, 231, 0.84);
  border-bottom: 1px solid rgba(22, 24, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
}

.brand-text {
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(22, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 44px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: 180ms ease;
}

.lang-button.is-active {
  background: var(--ink);
  color: white;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 180ms ease;
}

.header-cta {
  flex-shrink: 0;
  padding-inline: 18px;
}

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

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(159, 115, 87, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.button-dark-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.portal-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.portal-link:hover,
.portal-link:focus-visible {
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--dark);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 20, 29, 0.84) 0%, rgba(16, 20, 29, 0.45) 48%, rgba(16, 20, 29, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 20, 29, 0.08) 0%, rgba(16, 20, 29, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 104px 0 72px;
  color: white;
  max-width: min(1120px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.84rem;
  font-weight: 700;
}

.eyebrow-contrast {
  color: #e0b494;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Baskerville", "Palatino Linotype", serif;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.9rem, 4.8vw, 4.4rem);
  max-width: none;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  max-width: none;
  line-height: 1.08;
}

h3 {
  font-size: 1.45rem;
}

.hero-copy,
.section-heading p,
.feature-copy p,
.dark-copy p,
.showcase-copy p,
.insight-copy p,
.contact-copy p {
  font-size: 1.04rem;
  color: inherit;
}

.hero-copy {
  max-width: min(760px, 60vw);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero h1 {
  max-width: min(760px, 66vw);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.text-link-light {
  color: #f1d2bb;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.text-link-light:hover,
.text-link-light:focus-visible {
  color: white;
}

.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -74px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  background: rgba(251, 248, 242, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.trust-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-grid h2 {
  font-size: 1.5rem;
  max-width: none;
  margin-bottom: 12px;
}

.trust-grid p,
.service-card p,
.dark-metrics span,
.feature-list,
.contact-items,
.site-footer {
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--surface);
}

.home-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.home-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.home-card p {
  color: var(--muted);
}

.value-grid,
.principles-grid,
.steps-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

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

.feature-copy .principles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

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

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.risk-grid .home-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.section-dark .home-card p {
  color: rgba(255, 255, 255, 0.76);
}

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

.legal-card {
  background: white;
}

.step-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-deep);
  letter-spacing: 0.16em;
  font-size: 0.84rem;
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  max-width: 920px;
}

.compact-heading h2 {
  max-width: 100%;
}

.section-heading h2 {
  max-width: 100%;
}

.section-heading p {
  max-width: 760px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 244px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 239, 231, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-index {
  color: var(--accent-deep);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.feature-section {
  background:
    linear-gradient(180deg, rgba(196, 154, 122, 0.08), transparent 26%),
    var(--bg);
}

.feature-layout,
.insight-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 42px;
  align-items: center;
}

.feature-media img,
.dark-media img,
.contact-image img,
.showcase-card img,
.insight-media-grid img {
  border-radius: var(--radius);
}

.feature-list {
  margin: 24px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.process-section {
  background: var(--bg);
}

.trust-facts-section {
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.03), transparent 44%), var(--bg);
}

.trust-facts-priority {
  padding-top: 72px;
}

.trust-facts-panel {
  display: grid;
  gap: 28px;
}

.trust-facts-panel-strong {
  gap: 22px;
}

.facts-heading {
  margin-bottom: 14px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.facts-grid-strong article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 239, 231, 0.92) 100%);
  box-shadow: 0 18px 40px rgba(19, 26, 39, 0.08);
}

.facts-grid article,
.fit-grid article {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.facts-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-grid strong {
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.facts-card-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.facts-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(22, 24, 32, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
  transition: 180ms ease;
}

.facts-card-link:hover,
.facts-card-link:focus-visible {
  border-color: rgba(159, 115, 87, 0.3);
  background: rgba(196, 154, 122, 0.12);
  color: var(--accent-deep);
}

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

.home-workflow-grid article {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.home-workflow-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.dark-inline-cta {
  grid-column: 1 / -1;
}

.fit-section {
  background: var(--surface);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 26px;
  align-items: start;
}

.fit-grid {
  display: grid;
  gap: 16px;
}

.philosophy-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.philosophy-grid article {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

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

.dark-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  gap: 26px;
  align-items: start;
}

.dark-copy {
  max-width: 650px;
}

.dark-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.dark-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.dark-metrics article {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.dark-metrics span {
  color: rgba(255, 255, 255, 0.66);
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
}

.cards-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.results-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.results-primary,
.results-rail-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.results-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 231, 0.92) 100%);
}

.results-rail {
  display: grid;
  gap: 18px;
}

.results-rail-card {
  background: rgba(255, 255, 255, 0.82);
}

.results-label {
  display: inline-flex;
  margin: 24px 28px 0;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(196, 154, 122, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.showcase-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.showcase-card-large img {
  height: 380px;
}

.showcase-copy {
  padding: 22px;
}

.text-showcase-card {
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 239, 231, 0.9) 100%);
}

.text-showcase-card .showcase-copy {
  padding: 28px;
}

.results-note {
  margin-bottom: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(196, 154, 122, 0.08);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.insight-section {
  background:
    radial-gradient(circle at top left, rgba(196, 154, 122, 0.14), transparent 24%),
    var(--surface-strong);
}

.insight-copy h2 {
  max-width: min(760px, 100%);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-deep);
  font-weight: 600;
}

.insight-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.insight-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.insight-single-media .insight-main {
  height: 520px;
  border-radius: var(--radius);
}

.insight-main {
  grid-column: 1 / -1;
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.insight-secondary {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.contact-section {
  background: var(--surface);
}

.docs-section {
  background: var(--surface);
}

.docs-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 26px;
  align-items: start;
}

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

.docs-grid article {
  padding: 20px 22px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.contact-secondary {
  border-color: rgba(22, 24, 32, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.contact-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 232, 220, 0.74) 100%);
  border-radius: 34px;
  border: 1px solid rgba(22, 24, 32, 0.08);
}

.contact-items {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-items p {
  margin: 0;
  display: grid;
  gap: 4px;
}

.contact-items strong {
  color: var(--ink);
}

.site-footer {
  padding: 26px 0 34px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.footer-grid > div,
.footer-grid > nav {
  min-width: 0;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}

.footer-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f0c3a6;
}

.homepage-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 78ch;
}

.footer-utility {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-utility p {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  .services-grid,
  .dark-metrics,
  .cards-showcase,
  .results-dashboard,
  .trust-grid,
  .value-grid,
  .principles-grid,
  .steps-grid,
  .legal-grid,
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-layout,
  .insight-layout,
  .contact-panel,
  .dark-panel,
  .split-heading,
  .docs-panel,
  .fit-layout {
    grid-template-columns: 1fr;
  }

  .dark-media {
    max-width: 520px;
  }

  .section-heading h2,
  .dark-copy h2,
  .insight-copy h2 {
    max-width: none;
  }

  .home-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

  .footer-bottom {
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .site-nav,
  .header-cta {
    display: none;
  }

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

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 96px 0 64px;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.6rem, 9.4vw, 4rem);
    max-width: none;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
    max-width: none;
  }

  .hero h1,
  .hero-copy {
    max-width: none;
  }

  .trust-bar {
    margin-top: 0;
    padding-top: 18px;
  }

  .services-grid,
  .dark-metrics,
  .cards-showcase,
  .results-dashboard,
  .results-rail,
  .trust-grid,
  .value-grid,
  .principles-grid,
  .steps-grid,
  .legal-grid,
  .insight-media-grid,
  .docs-grid,
  .home-workflow-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 82px 0;
  }

  .contact-panel {
    padding: 22px;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-utility {
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
}
