:root {
  color-scheme: light;
  --ink: #10212a;
  --ink-soft: #3f5661;
  --muted: #657a83;
  --paper: #fffdf8;
  --surface: #ffffff;
  --mist: #eef5f3;
  --navy: #0f2f3c;
  --teal: #167b7a;
  --sage: #dfe9df;
  --gold: #c59b48;
  --coral: #c96f4a;
  --line: #dce5e2;
  --shadow: 0 22px 70px rgba(10, 35, 45, 0.16);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

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

:focus-visible {
  outline: 3px solid rgba(197, 155, 72, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.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;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(220, 229, 226, 0.86);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 54px;
  max-width: 150px;
  object-fit: contain;
  filter: sepia(0.9) saturate(2.9) hue-rotate(152deg) brightness(0.72) contrast(1.04);
}

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

.site-nav a {
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--mist);
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--navy);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle__bar {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 31, 40, 0.88) 0%, rgba(9, 31, 40, 0.74) 36%, rgba(9, 31, 40, 0.2) 70%, rgba(9, 31, 40, 0.04) 100%),
    linear-gradient(0deg, rgba(9, 31, 40, 0.42), rgba(9, 31, 40, 0));
}

.hero__content {
  color: #fff;
  padding-block: 74px 84px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c27f;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.button--primary {
  background: var(--gold);
  color: #10212a;
}

.button--primary:hover {
  background: #d5ad5c;
  color: #10212a;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.hero__proof li {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 12px;
}

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.section--intro {
  padding-block: clamp(46px, 7vw, 82px);
  background: var(--surface);
}

.section--muted {
  background: var(--mist);
}

.section--about {
  background: var(--navy);
  color: #fff;
}

.section--contact {
  background: #faf4e8;
}

.section--disclosure {
  padding-block: 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--disclosure p {
  max-width: 920px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.intro-grid,
.about-grid,
.contact-grid,
.partners {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.partners h2,
.about-copy h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-copy p,
.section-heading p,
.partners p,
.about-copy p,
.contact-grid p {
  color: var(--ink-soft);
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p {
  max-width: 650px;
  margin-top: 16px;
  font-size: 1.05rem;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
}

.service-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(10, 35, 45, 0.07);
  overflow: hidden;
}

.service-panel--accent {
  background: #f7fbf7;
}

.service-panel__header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.service-panel__icon,
.process-list__number {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
}

.service-panel--accent .service-panel__icon {
  background: var(--teal);
}

.service-panel h3,
.service-panel h4,
.process-list h3 {
  margin: 0;
  line-height: 1.18;
}

.service-panel h3 {
  font-size: 1.45rem;
}

.service-panel__header p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.service-list {
  display: grid;
}

.service-item {
  padding: 24px clamp(22px, 3vw, 32px);
}

.service-item + .service-item {
  border-top: 1px solid var(--line);
}

.service-item h4 {
  font-size: 1.04rem;
}

.service-item p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  color: var(--teal);
  font-weight: 800;
  margin-top: 12px;
  text-decoration: none;
}

.text-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

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

.process-list li {
  min-height: 100%;
  border: 1px solid rgba(15, 47, 60, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.process-list__number {
  background: var(--gold);
  color: var(--ink);
  margin-bottom: 22px;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.partners {
  align-items: center;
}

.partners__copy p {
  margin-top: 16px;
}

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: calc(var(--radius) + 4px);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.logo-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-grid li {
  display: grid;
  min-height: 108px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  scroll-snap-align: start;
}

.logo-grid img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.partners__note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__viewport::-webkit-scrollbar-thumb {
  background: transparent;
}

.carousel__control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(10, 35, 45, 0.08);
  font-size: 1.8rem;
  line-height: 1;
}

.carousel__control:hover:not(:disabled) {
  border-color: rgba(22, 123, 122, 0.36);
  color: var(--teal);
}

.carousel__control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel__control span {
  transform: translateY(-1px);
}

.contact-list a,
.contact-method strong,
.form-note a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-method strong {
  font-size: 1rem;
  line-height: 1.35;
}

.about-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 4vw, 38px);
}

.about-card__label {
  margin: 0 0 16px;
  color: #f4c27f;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.about-card p,
.about-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-list div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.about-copy .eyebrow {
  color: #f4c27f;
}

.about-copy p {
  margin-top: 18px;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(15, 47, 60, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 32px);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span,
.form-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-form label > span {
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-field input {
  width: auto;
  margin-top: 5px;
}

.form-note {
  margin: -4px 0 0;
}

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

.contact-method {
  display: block;
  border: 1px solid rgba(15, 47, 60, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
}

.contact-method:hover {
  border-color: rgba(22, 123, 122, 0.36);
  color: var(--ink);
}

.contact-method span {
  display: block;
  color: var(--coral);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.4;
}

address.contact-method {
  font-style: normal;
}

.site-footer {
  background: #091f28;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 42px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.site-footer p {
  max-width: 330px;
  margin: 16px 0 0;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), #17485a);
  color: #fff;
  padding-block: clamp(58px, 9vw, 98px);
}

.page-hero__inner {
  max-width: 860px;
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.breadcrumbs a {
  color: inherit;
}

.page-hero h1,
.content-page h2,
.contact-page h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.04;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 720px;
  margin: 20px 0 0;
}

.content-page {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.prose {
  display: grid;
  gap: 34px;
}

.prose section {
  display: grid;
  gap: 14px;
}

.prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.prose h3 {
  margin: 0;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p,
.prose ul,
.prose ol {
  margin: 0;
}

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

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

.topic-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

a.topic-card {
  color: var(--ink);
  text-decoration: none;
}

a.topic-card:hover {
  border-color: rgba(22, 123, 122, 0.36);
  color: var(--ink);
}

.topic-card h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.topic-card p {
  margin-top: 8px;
}

.page-photo,
.page-wide-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(10, 35, 45, 0.08);
}

.page-photo img,
.page-wide-photo img {
  width: 100%;
  object-fit: cover;
}

.page-photo img {
  aspect-ratio: 4 / 3;
}

.page-wide-photo {
  margin-bottom: 26px;
}

.page-wide-photo img {
  aspect-ratio: 16 / 7;
}

.page-photo--contact {
  margin-top: 24px;
}

.side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.side-card h2,
.side-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.side-card p {
  color: var(--ink-soft);
  margin: 0;
}

.side-card ul {
  color: var(--ink-soft);
  margin: 0;
  padding-left: 1.2rem;
}

.side-card .button {
  margin-top: 16px;
  width: 100%;
}

.footer-links,
.social-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.social-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
  color: #fff;
}

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

.footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 10px;
  }

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

  .site-nav a {
    border-radius: var(--radius);
    padding: 12px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero__image {
    object-position: 62% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(9, 31, 40, 0.9), rgba(9, 31, 40, 0.72));
  }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .partners,
  .service-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
  }

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

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

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .header__inner {
    min-height: 66px;
  }

  .brand__logo {
    height: 46px;
    max-width: 128px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-block: 62px 68px;
  }

  .hero__actions {
    display: grid;
  }

  .hero__proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 58px;
  }

  .section--disclosure {
    padding-block: 22px;
  }

  .service-panel__header {
    display: grid;
  }

  .process-list,
  .footer-grid,
  .topic-grid,
  .form-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-auto-columns: minmax(140px, 72vw);
  }

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

  .carousel__control {
    display: none;
  }

  .page-wide-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
