:root {
  --ink: #101010;
  --muted: #66625d;
  --line: #ded9d0;
  --paper: #fbf9f5;
  --soft: #fbf9f5;
  --accent: #8e7358;
  --start-blue: #2563eb;
  --start-blue-soft: #dbeafe;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 16, 16, 0.08);
  --serif: "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 56px);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  transform: translateY(0);
  opacity: 1;
  transition:
    padding 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 220ms ease,
    opacity 180ms ease;
  will-change: transform;
}

.brand {
  position: relative;
  display: inline-flex;
  width: 82px;
  height: 76px;
  align-items: center;
  justify-content: center;
  transition:
    width 180ms ease,
    height 180ms ease;
}

.brand-logo {
  display: block;
  width: 76px;
  height: 72px;
  object-fit: contain;
  transition:
    width 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-left: clamp(8px, 1.6vw, 22px);
  padding-right: clamp(18px, 4vw, 56px);
  padding-bottom: 14px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-scrolled .brand {
  width: 38px;
  height: 38px;
}

.site-header.is-scrolled .brand-logo {
  width: 36px;
  height: 36px;
}

.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #282520;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.slides {
  min-height: 100vh;
}

.slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 0;
  padding: 124px clamp(20px, 4vw, 56px) 84px;
  background: var(--paper);
}

.slide-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.hero-slide {
  min-height: 100vh;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

.gradient-background {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(125% 125% at 50% -50%, rgba(199, 210, 254, 0.68) 40%, transparent 100%),
    var(--paper);
  pointer-events: none;
}

.marquee-backdrop {
  position: relative;
  width: 100vw;
  min-height: clamp(70px, 8vw, 100px);
  margin: clamp(10px, 1.6vw, 18px) 0 clamp(8px, 1.4vw, 16px);
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-slide 42s linear infinite;
  color: rgba(16, 16, 16, 0.075);
  font-family: var(--serif);
  font-size: clamp(74px, 9vw, 122px);
  font-weight: 700;
  line-height: 0.85;
}

.marquee-track span {
  flex: 0 0 auto;
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-statement {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 920px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge,
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 9px 14px;
}

.hero-services {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  max-width: 860px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(58px, 7.8vw, 104px);
}

h2 {
  font-size: clamp(38px, 6vw, 78px);
}

h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-statement .lead {
  max-width: 720px;
  margin-top: 0;
}

.title-line {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.full-width {
  width: 100%;
}

.contact-box {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.07);
}

.fineprint {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.56fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 18px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
}

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

.feature-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  min-height: 235px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.07);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.timeline-item,
.contact-box {
  --spot-x: 50%;
  --spot-y: 50%;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.feature-card::before,
.feature-card::after,
.timeline-item::before,
.timeline-item::after,
.contact-box::before,
.contact-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.feature-card::before,
.timeline-item::before,
.contact-box::before {
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background:
    radial-gradient(
      320px circle at var(--spot-x) var(--spot-y),
      rgba(37, 99, 235, 0.78),
      transparent 72%
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.feature-card::after,
.timeline-item::after,
.contact-box::after {
  z-index: 0;
  background:
    radial-gradient(
      420px circle at var(--spot-x) var(--spot-y),
      rgba(37, 99, 235, 0.12),
      transparent 78%
    );
}

.feature-card:hover,
.timeline-item:hover,
.contact-box:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.12);
}

.feature-card:hover::before,
.feature-card:hover::after,
.timeline-item:hover::before,
.timeline-item:hover::after,
.contact-box:hover::before,
.contact-box:hover::after {
  opacity: 1;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: rgba(16, 16, 16, 0.72);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  font-size: 26px;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.52;
}

.process-slide {
  background: var(--paper);
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

.section-heading.compact .eyebrow {
  margin-bottom: 18px;
}

.section-heading.compact p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 26px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  border-top: 0;
  border-left: 2px solid rgba(37, 99, 235, 0.72);
  padding-left: 34px;
}

.timeline-item {
  position: relative;
  display: block;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.62);
  padding: 26px 26px 26px 62px;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.07);
}

.timeline-number {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: -51px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--start-blue);
  box-shadow:
    0 0 0 6px var(--paper),
    0 10px 24px rgba(37, 99, 235, 0.24);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.timeline-check {
  position: absolute;
  z-index: 1;
  top: 29px;
  left: 24px;
  width: 22px;
  height: 22px;
  fill: rgba(37, 99, 235, 0.1);
  stroke: var(--start-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.timeline-item > div,
.contact-box > * {
  position: relative;
  z-index: 1;
}

.timeline-item p {
  margin: 0;
}

.timeline-item h3 {
  color: var(--ink);
}

.contact-slide {
  background: var(--paper);
  color: var(--ink);
}

.contact-copy p {
  color: var(--muted);
}

.contact-copy p {
  max-width: 650px;
  margin-top: 28px;
  font-size: 18px;
}

.contact-box {
  padding: clamp(26px, 4vw, 42px);
  color: var(--ink);
}

.contact-brand {
  margin: 0 0 34px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  line-height: 0.95;
}

.slide-footer {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(16, 16, 16, 0.14);
  padding-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dl {
  margin: 0 0 28px;
}

dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
}

.animated-footer {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(480px, 52vw, 640px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 74px) 0;
}

.footer-brand-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 500;
  line-height: 1;
}

.footer-description {
  width: min(420px, 100%);
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.footer-contact-links,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-contact-links {
  margin-top: 22px;
}

.footer-contact-links a {
  display: inline-flex;
  min-width: 62px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  padding: 0 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.footer-contact-links a:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.footer-nav {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-meta {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta p {
  margin: 0;
}

.footer-background-text {
  position: absolute;
  left: 50%;
  bottom: 152px;
  width: 95vw;
  margin: 0;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.19), rgba(16, 16, 16, 0.02));
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(74px, 12vw, 158px);
  font-weight: 700;
  line-height: 0.86;
  text-align: center;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-line {
  position: absolute;
  left: 50%;
  bottom: 130px;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.footer-shadow {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 100vw;
  height: 110px;
  transform: translateX(-50%);
  background: linear-gradient(0deg, var(--paper), rgba(251, 249, 245, 0.62), transparent);
  filter: blur(18px);
  pointer-events: none;
}

@media (max-width: 980px) {
  .site-header {
    gap: 16px;
  }

  .main-nav {
    position: fixed;
    inset: 86px 18px auto;
    display: none;
    grid-column: 1 / -1;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
    gap: 8px;
  }

  .menu-button {
    display: block;
  }

  .split-layout,
  .contact-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px 10px;
  }

  .brand {
    width: 48px;
    height: 48px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .slide {
    min-height: 100svh;
    justify-content: flex-start;
    padding: 96px 18px 68px;
  }

  .hero-slide {
    justify-content: center;
    padding-top: 86px;
  }

  .hero-services {
    width: 100%;
    max-width: none;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    white-space: nowrap;
  }

  .site-header.is-scrolled {
    padding: 10px 18px 8px;
  }

  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .brand-logo {
    width: 34px;
    height: 34px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: rgba(251, 249, 245, 0.78);
    backdrop-filter: blur(10px);
  }

  .main-nav {
    inset: 70px 18px auto;
    border-radius: 8px;
    background: rgba(251, 249, 245, 0.9);
    backdrop-filter: blur(16px);
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(34px, 10.5vw, 40px);
    line-height: 1.02;
  }

  h3 {
    font-size: 25px;
  }

  .lead {
    margin-top: 2px;
    font-size: 17px;
    line-height: 1.58;
  }

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

  .hero-actions {
    gap: 12px;
    margin-top: 34px;
  }

  .button {
    min-height: 46px;
    padding: 12px 18px;
  }

  .marquee-track {
    font-size: 104px;
  }

  .marquee-backdrop {
    min-height: 78px;
    margin: 8px 0 10px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p:not(.eyebrow),
  .section-heading.compact p:not(.eyebrow),
  .contact-copy p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.62;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    min-height: auto;
    padding: 22px;
  }

  .feature-icon {
    width: 24px;
    height: 24px;
  }

  .feature-card h3 {
    margin-top: 32px;
    font-size: 25px;
  }

  .feature-card p,
  .timeline-item p {
    line-height: 1.56;
  }

  .timeline {
    gap: 14px;
    border-left: 0;
    padding-left: 0;
  }

  .timeline-item {
    padding: 22px 22px 22px 56px;
  }

  .timeline-number {
    display: none;
  }

  .timeline-check {
    top: 26px;
    left: 22px;
    width: 20px;
    height: 20px;
  }

  .contact-layout {
    gap: 28px;
  }

  .contact-box {
    padding: 24px 22px;
  }

  .contact-brand {
    margin-bottom: 24px;
    font-size: 38px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0;
  }

  dd {
    font-size: 21px;
    line-height: 1.28;
  }

  .slide-footer {
    display: none;
  }

  .footer-inner {
    width: min(100% - 36px, 1180px);
    min-height: 560px;
    padding: 46px 0 34px;
  }

  .footer-background-text {
    bottom: 128px;
    font-size: clamp(54px, 17vw, 82px);
  }

  .footer-line {
    bottom: 112px;
  }

  .footer-brand-name {
    font-size: 44px;
  }

  .footer-contact-links,
  .footer-nav {
    gap: 10px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
