:root {
  --red: #d6253b;
  --oxblood: #6d0f1f;
  --deep: #21090f;
  --ink: #22181a;
  --cream: #f5efe7;
  --paper: #fbf7f1;
  --line: rgba(34, 24, 26, .18);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: var(--deep);
  background: var(--paper);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  color: #fff;
}

.brand,
.header-actions,
.x-link {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -.01em;
}

.brand-mark,
.cta-mark {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions { gap: 30px; }

.header-actions a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.header-actions > a:first-child {
  border-bottom: 1px solid rgba(255,255,255,.65);
  padding-bottom: 4px;
}

.x-link { gap: 9px; }
.x-link strong { font-size: 17px; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background: url('/assets/hero-connection.webp') 64% 52% / cover no-repeat;
  animation: hero-breathe 12s cubic-bezier(.2,.7,.2,1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 5, 9, .97) 0%, rgba(34, 7, 13, .82) 36%, rgba(31, 7, 12, .22) 69%, rgba(17, 3, 6, .18) 100%),
    linear-gradient(0deg, rgba(19, 4, 8, .42), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  width: min(780px, 58vw);
  flex-direction: column;
  justify-content: center;
  padding: 125px 40px 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--oxblood); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4358;
  box-shadow: 0 0 0 5px rgba(255,67,88,.17);
  animation: pulse 2.6s ease-in-out infinite;
}

.brand-display {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.5vw, 122px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .72;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.hero h1 em,
.x-copy h2 em {
  color: #ffb1ba;
  font-weight: 400;
}

.hero-copy {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: transform .25s ease, color .25s ease, background .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button-light { color: var(--deep); background: #fff; }
.button-light:hover { color: #fff; background: var(--red); }

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s ease;
}

.text-link:hover { border-color: #fff; }

.hero-note {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 40px;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up .8s cubic-bezier(.22,.8,.22,1) forwards;
}
.reveal-1 { animation-delay: .15s; }
.reveal-2 { animation-delay: .25s; }
.reveal-3 { animation-delay: .38s; }
.reveal-4 { animation-delay: .52s; }

.search-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(60px, 9vw, 150px);
  padding: 150px max(40px, calc((100vw - 1380px) / 2));
  overflow: hidden;
  background: var(--paper);
}

.section-index {
  position: absolute;
  top: 58px;
  right: 5vw;
  color: rgba(109, 15, 31, .08);
  font-family: var(--serif);
  font-size: clamp(120px, 17vw, 260px);
  line-height: 1;
}

.search-intro,
.search-workspace {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.search-intro h2,
.how-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.search-workspace { align-self: end; }

.search-workspace > p {
  max-width: 580px;
  margin: 0 0 46px;
  color: #675b5d;
  font-size: 17px;
  line-height: 1.7;
}

.partner-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--oxblood);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 2px solid var(--ink);
}

.search-row input {
  min-width: 0;
  padding: 13px 8px 16px 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
}

.search-row input::placeholder { color: #b6a7a8; }

.search-row button {
  display: flex;
  min-width: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: var(--oxblood);
  font-size: 12px;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}

.search-row button:hover { transform: translateY(-2px); background: var(--red); }
.search-row button:focus-visible,
.button:focus-visible,
.example-track button:focus-visible,
.header-actions a:focus-visible,
.brand:focus-visible { outline: 3px solid #ff7d8c; outline-offset: 4px; }

.arrow { font-size: 18px; }

.search-help {
  margin: 18px 0 4px;
  color: #857779;
  font-size: 12px;
}

.example-rail {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.example-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 14px;
  animation: drift 38s linear infinite;
}

.example-track:hover { animation-play-state: paused; }

.example-track button {
  padding: 8px 0;
  border: 0;
  cursor: pointer;
  color: #675b5d;
  background: none;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(109,15,31,.3);
  text-underline-offset: 4px;
}

.example-track span { color: var(--red); font-size: 9px; }
.form-message { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 12px; }

.how-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(60px, 9vw, 150px);
  padding: 120px max(40px, calc((100vw - 1380px) / 2)) 150px;
  background: var(--cream);
}

.steps { border-top: 1px solid var(--line); }

.steps article {
  display: grid;
  grid-template-columns: 48px minmax(160px, .75fr) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 17px;
}

.steps h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.steps p { margin: 0; color: #716466; font-size: 14px; line-height: 1.6; }

.x-section {
  position: relative;
  display: grid;
  min-height: 740px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: #fff;
  background: var(--oxblood);
}

.x-art {
  position: relative;
  min-height: 600px;
  background: radial-gradient(circle at 40% 45%, #e73349 0 18%, #a7142d 38%, #4a0916 77%);
}

.x-art img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(34vw, 360px);
  height: min(34vw, 360px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 36px 90px rgba(23,0,6,.38);
}

.ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
}
.ring-one { inset: 10%; animation: orbit 18s linear infinite; }
.ring-two { inset: 24%; border-color: rgba(255,255,255,.22); animation: orbit 13s linear infinite reverse; }
.ring::after { content: ''; position: absolute; top: 8%; left: 16%; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.x-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(40px, 7vw, 120px);
}

.x-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(47px, 5vw, 75px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .97;
}

.x-copy > p:not(.eyebrow) { max-width: 520px; margin: 34px 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; }
.x-copy .button { align-self: flex-start; }

.final-cta {
  display: flex;
  min-height: 570px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 100px 30px;
  text-align: center;
  background: var(--paper);
}

.cta-mark { width: 70px; margin-bottom: 34px; color: var(--red); }
.final-cta .eyebrow { margin-bottom: 18px; }
.email-link { margin-top: 36px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: clamp(16px, 2vw, 22px); font-weight: 650; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px 40px;
  border-top: 1px solid var(--line);
  color: #716466;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

footer p { margin: 0; }
footer p:nth-child(2) { text-align: center; }
footer a { justify-self: end; text-decoration: none; }

@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-breathe { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,67,88,0); } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .site-header { padding: 22px 24px; }
  .header-actions > a:first-child { display: none; }
  .hero-content { width: 70vw; padding-inline: 24px; }
  .brand-display { font-size: clamp(60px, 10vw, 88px); }
  .search-section,
  .how-section { grid-template-columns: 1fr; gap: 70px; padding: 110px 32px; }
  .search-intro h2,
  .how-heading h2 { max-width: 680px; }
  .search-workspace { max-width: 760px; }
  .x-copy { padding: 70px 40px; }
  footer { grid-template-columns: 1fr auto; gap: 16px; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .brand span { font-size: 16px; }
  .brand-mark { width: 33px; }
  .x-link span { display: none; }
  .hero { min-height: 760px; }
  .hero-photo { background-position: 58% 50%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(21,5,9,.94) 0%, rgba(31,7,12,.62) 72%, rgba(17,3,6,.24)),
      linear-gradient(0deg, rgba(19,4,8,.62), transparent 48%);
  }
  .hero-content { width: 100%; min-height: 760px; justify-content: flex-end; padding: 125px 24px 65px; }
  .brand-display { margin-bottom: 27px; font-size: clamp(54px, 16vw, 76px); }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-copy { max-width: 420px; font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 22px; margin-top: 28px; }
  .hero-note { display: none; }
  .search-section,
  .how-section { padding: 85px 24px; gap: 52px; }
  .section-index { top: 40px; }
  .search-intro h2,
  .how-heading h2,
  .final-cta h2 { font-size: clamp(42px, 12vw, 60px); }
  .search-intro h2 {
    max-width: 100%;
    font-size: clamp(36px, 10.5vw, 46px);
    letter-spacing: -.045em;
    line-height: 1.03;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .search-intro h2 br { display: none; }
  .search-workspace > p { margin-bottom: 35px; font-size: 15px; }
  .search-row { grid-template-columns: 1fr 55px; }
  .search-row input { font-size: 30px; }
  .search-row button { min-width: 0; padding: 0; justify-content: center; }
  .search-row button span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .steps article { grid-template-columns: 38px 1fr; gap: 16px; }
  .steps p { grid-column: 2; }
  .x-section { grid-template-columns: 1fr; }
  .x-art { min-height: 440px; }
  .x-art img { width: 220px; height: 220px; }
  .x-copy { padding: 72px 24px 86px; }
  .x-copy h2 { font-size: clamp(43px, 12vw, 60px); }
  .final-cta { min-height: 500px; }
  footer { padding: 26px 24px; font-size: 10px; }
}

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