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

:root {
  --serif: "Instrument Serif", serif;
  --sans: "Inter", sans-serif;
  --line: rgba(0, 0, 0, 0.1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background: #fff;
  color: #000;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
}

.page {
  width: 1200px;
  margin: 0 auto;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 77px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 -1px 0 var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.58);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #000;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.82;
}

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-light {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  color: #000;
}

.btn-sm {
  height: 33px;
  padding: 0 16px;
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 112px 0 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  height: 27px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.66);
}

.hero-title {
  margin-top: 30px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 78px;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-title .line {
  display: block;
}

.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title .char {
  display: inline-block;
}

.hero-sub {
  margin-top: 30px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.68);
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.pillars {
  width: 960px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.pillars p {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.46);
}

/* ---------- Sections ---------- */

.services,
.process,
.contact {
  box-shadow: inset 0 1px 0 var(--line);
}

/* ---------- Services ---------- */

.services {
  padding: 96px 80px;
}

.trust {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.marquee {
  width: 700px;
  height: 78px;
  margin: 25px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 25%, #000 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.marquee-track {
  list-style: none;
  display: flex;
  align-items: flex-end;
  width: max-content;
  height: 100%;
  animation: marquee 48.9s linear infinite;
}

.logo {
  flex: none;
  margin-right: 74px;
}

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

.logo-lg { width: 144px; height: 89px; }
.logo-md { width: 167px; height: 69px; }
.logo-sm { width: 122px; height: 65px; }

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

.services-head {
  margin-top: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.services-head h2 {
  width: 560px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.services-head p {
  width: 360px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.58);
}

.cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  height: 248px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 18px 48px rgba(0, 0, 0, 0.08);
}

.card-wide {
  grid-column: span 2;
}

.card-num {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.38);
}

.card h3 {
  margin-top: 46px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.56);
}

/* ---------- Process ---------- */

.process {
  padding: 84px 80px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}

.steps::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.step {
  height: 180px;
  padding: 28px;
  background: #fff;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}

.step p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.56);
}

/* ---------- Contact ---------- */

.contact {
  padding: 96px 80px 34px;
}

.cta {
  display: flex;
  justify-content: space-between;
  padding: 36px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.cta-copy {
  width: 440px;
}

.cta-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.cta-copy p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.6);
}

.cta-form {
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.54);
}

.field-box {
  display: block;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  transition: box-shadow 0.2s ease;
}

.field-box:focus-within {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42);
}

.field-box-tall {
  height: 96px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 100%;
  padding: 13px 14px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(0, 0, 0, 0.34);
}

.submit {
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit:hover {
  opacity: 0.82;
}

.submit:disabled {
  cursor: default;
  opacity: 0.6;
}

.form-status {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
}

.footer {
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 var(--line);
}

.footer p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.54);
}

.footer .footer-place {
  color: rgba(0, 0, 0, 0.34);
}

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* ---------- Motion ---------- */

.js [data-intro],
.js [data-appear],
.js .hero-title .char {
  opacity: 0;
  transform: translateY(var(--from, 20px));
  transition:
    opacity 0.7s var(--ease-out) var(--delay, 0s),
    transform 0.9s var(--ease-out) var(--delay, 0s);
  will-change: transform, opacity;
}

.js [data-appear="marquee"] {
  transform: translateY(80px) scale(0.9);
}

.js .is-in,
.js .is-in .char,
.js [data-appear].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-intro],
  .js [data-appear],
  .js .hero-title .char {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ---------- Phone (Framer only defines desktop ≥1200 and a 390px phone layout) ---------- */

@media (max-width: 1199px) {
  .page {
    width: auto;
    max-width: 390px;
  }

  .nav {
    height: 69px;
    padding: 0 20px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .nav-links {
    display: none;
  }

  .btn-sm {
    padding: 0 14px;
  }

  .hero {
    padding: 72px 20px 70px;
  }

  .badge {
    height: 24px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero-title {
    margin-top: 24px;
    font-size: 48px;
    line-height: 0.96;
  }

  .hero-title .line {
    display: inline;
  }

  .hero-sub {
    margin-top: 24px;
    max-width: 330px;
    font-size: 16px;
  }

  .hero-ctas {
    margin-top: 24px;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .pillars {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .services {
    padding: 103px 20px 68px;
  }

  .marquee {
    width: 278px;
    height: 89px;
    margin-top: 24px;
  }

  .services-head {
    margin-top: 69px;
    flex-direction: column;
    align-items: stretch;
  }

  .services-head h2 {
    width: auto;
    font-size: 38px;
    line-height: 1.04;
  }

  .services-head p {
    width: auto;
    margin-top: 18px;
  }

  .cards {
    margin-top: 35px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    height: 210px;
    padding: 22px;
  }

  .card-wide {
    grid-column: auto;
  }

  .card h3 {
    margin-top: 34px;
  }

  .process {
    padding: 56px 20px;
  }

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

  .step {
    height: 160px;
    padding: 24px;
  }

  .step h3 {
    font-size: 28px;
  }

  .contact {
    padding: 64px 20px 29px;
  }

  .cta {
    flex-direction: column;
    padding: 26px;
  }

  .cta-copy,
  .cta-form {
    width: auto;
  }

  .cta-copy h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .cta-form {
    margin-top: 30px;
  }

  .footer {
    margin-top: 30px;
    flex-direction: column;
    gap: 12px;
  }
}

/* Contact form honeypot: hidden from people, filled only by bots. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
