/* hudsonfloydit.com — implemented from "HFITS Landing v3.dc.html" (Claude Design).
   Colors and type are taken from the design. Muted text alphas were raised slightly
   where the design's values fell below WCAG 2.1 AA contrast. */

:root {
  --bg: #0A0A0A;
  --bg-2: #0C0C0C;
  --bg-3: #101317;
  --ink: #F5F4F0;
  --ink-70: rgba(245, 244, 240, 0.7);
  --ink-62: rgba(245, 244, 240, 0.62);
  --ink-55: rgba(245, 244, 240, 0.55);
  --ink-50: rgba(245, 244, 240, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.06);
  --blue: #5E90BD;
  --blue-light: #93B9D8;
  --blue-border: rgba(94, 144, 189, 0.45);
  --blue-border-soft: rgba(94, 144, 189, 0.4);

  --paper: #FAFAF8;
  --white: #FFFFFF;
  --dark: #0A0A0A;
  --dark-60: rgba(10, 10, 10, 0.6);
  --dark-55: rgba(10, 10, 10, 0.55);
  --dark-line: rgba(10, 10, 10, 0.1);
  --dark-input: rgba(10, 10, 10, 0.18);
  --blue-deep: #2F6A96;
  --blue-deep-border: rgba(47, 106, 150, 0.45);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Inter', -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 11vw, 130px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--blue-deep); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--blue); color: var(--dark); padding: 10px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; color: var(--dark); }

.wrap { max-width: var(--max); margin: 0 auto; }

/* Type roles */
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue);
}
.eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow-row .rule { flex: 1; height: 1px; background: var(--line); }
.light .eyebrow { color: var(--blue-deep); }
.light .eyebrow-row .rule { background: var(--dark-line); }

h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; text-wrap: pretty; }
h1 em, h2 em { font-style: italic; color: var(--blue); }
.light h2 em { color: var(--blue-deep); }
h2 { font-size: clamp(32px, 4.4vw, 68px); line-height: 0.98; color: var(--ink); }
.light h2 { color: var(--dark); }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--blue-border-soft); padding: 16px 34px;
  background: transparent; cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:hover { background: var(--blue); color: var(--dark); border-color: var(--blue); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 26px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  background-color: rgba(10, 10, 10, 0);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.nav.is-scrolled { background-color: rgba(10, 10, 10, 0.94); border-bottom-color: var(--line); }
.brand { display: flex; flex-direction: column; gap: 3px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { font-family: var(--serif); font-weight: 300; font-size: 20px; letter-spacing: 0.2em; line-height: 1; color: var(--ink); }
.brand-sub { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); }
.nav-right { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(14px, 2.4vw, 40px); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 2.2vw, 34px); }
.nav-links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-62);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--blue-border); padding: 10px 18px; white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease;
}
.nav-cta:hover { background: var(--blue); color: var(--dark); border-color: var(--blue); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(64px, 10vw, 96px); max-width: var(--max); margin: 0 auto; }
.hero-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 44px; }
.hero-tag .tick { width: 28px; height: 1px; background: var(--blue); flex-shrink: 0; }
.hero-tag span:last-child { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); }
.hero h1 {
  font-size: clamp(34px, 7vw, 120px); line-height: 0.94; color: var(--ink);
  margin-bottom: 48px; overflow-wrap: break-word;
}
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: end;
  border-top: 1px solid var(--line); padding-top: 40px;
}
.hero-lede { font-size: 15px; line-height: 1.85; letter-spacing: 0.01em; color: var(--ink-62); max-width: 58ch; }
.hero-lede strong { font-weight: 400; color: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.link-quiet { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-55); }
.link-quiet:hover { color: var(--ink); }

/* Sections */
.section { scroll-margin-top: 96px; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section.tinted { background: var(--bg-2); border-top: 1px solid var(--line); }
.section.ruled { border-top: 1px solid var(--line); }
.section.light { background: var(--paper); color: var(--dark); }

/* Package */
.package-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: 52px;
}
.package-head h2 { max-width: 20ch; }
.price { display: flex; flex-direction: column; gap: 12px; }
.price-main { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: 1; color: var(--ink); }
.price-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; line-height: 1.8; color: var(--ink-55); max-width: 34ch; }

.grid-cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  list-style: none;
}
.cell {
  background: var(--bg); box-shadow: inset -1px -1px 0 var(--line);
  padding: clamp(26px, 3.5vw, 38px) clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
}
.cell-code { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); }
.cell-name { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.15; color: var(--ink); }
.cell-desc { font-size: 13px; line-height: 1.8; color: var(--ink-55); max-width: 38ch; }

.footnote {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; line-height: 1.9;
  color: var(--ink-55); margin-top: 32px; max-width: 66ch;
}

/* Split */
.split h2 { margin-bottom: 52px; max-width: 22ch; }
.split-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.split-col { box-shadow: inset -1px -1px 0 var(--line); padding: clamp(36px, 5vw, 52px) clamp(26px, 4vw, 44px); display: flex; flex-direction: column; }
.split-col.you { background: var(--bg-3); }
.split-col.us { background: var(--bg-2); }
.split-label { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); margin-bottom: 28px; }
.split-col.us .split-label { color: var(--ink-50); }
.jobs { list-style: none; }
.jobs li {
  display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--line); align-items: baseline;
}
.jobs .n { font-family: var(--mono); font-size: 10px; color: var(--blue); }
.jobs .t { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.split-close { font-size: 12.5px; line-height: 1.8; color: var(--ink-55); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 18px; }
.ours { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 32px; }
.ours li { font-size: 12.5px; line-height: 1.6; color: var(--ink-62); padding: 9px 0; border-top: 1px solid var(--line-soft); }

/* Decisions */
.decisions-lede { font-size: 14.5px; line-height: 1.9; color: var(--dark-60); max-width: 62ch; margin-bottom: 52px; }
.decisions {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line);
}
.decisions li {
  background: var(--white); box-shadow: inset -1px -1px 0 var(--dark-line);
  padding: 30px 32px; display: flex; flex-direction: column; gap: 12px;
}
.decisions .q { font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 400; line-height: 1.35; color: var(--dark-55); }
.decisions .a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-deep); }

/* Two-column prose sections */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.two-col h2 { font-size: clamp(30px, 4.2vw, 62px); margin-bottom: 32px; max-width: 22ch; }
.prose p { font-size: 14.5px; line-height: 1.9; color: var(--ink-62); max-width: 56ch; }
.prose p + p { margin-top: 24px; }

.terms { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.terms li { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.terms .term { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.terms .gloss { font-size: 13px; line-height: 1.8; color: var(--ink-62); max-width: 44ch; }

/* Who */
.who-grid { margin-bottom: clamp(48px, 6vw, 80px); }
.who-grid h2 { max-width: 20ch; }
.aside { display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); }
.aside-label { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-50); }
.aside-label + .aside-label, .aside p + .aside-label { margin-top: 8px; }
.aside p { font-size: 13.5px; line-height: 1.85; color: var(--ink-62); max-width: 44ch; }
.partners-label { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.partners-lede { font-size: 13.5px; line-height: 1.85; color: var(--ink-62); max-width: 62ch; margin-bottom: 36px; }
.partners { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.partners .cell { padding: 30px 32px; gap: 10px; }
.partners .role { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.partners .note { font-size: 12.5px; line-height: 1.8; color: var(--ink-55); max-width: 36ch; }
.partners-foot { margin-top: 28px; max-width: 62ch; }

/* Steps */
.steps-head { margin-bottom: 52px; }
.steps { list-style: none; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.steps li {
  display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 40px); padding: 34px 0;
  border-top: 1px solid var(--line); align-items: baseline;
}
.steps .when { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); flex: 0 0 auto; min-width: 104px; }
.steps .name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); flex: 0 1 auto; min-width: 190px; }
.steps .desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-62); max-width: 56ch; flex: 1 1 300px; }
.steps-foot { max-width: 60ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.contact-tag .tick { width: 28px; height: 1px; background: var(--blue-deep); flex-shrink: 0; }
.contact h2 { line-height: 0.96; margin-bottom: 32px; }
.contact .prose p { color: var(--dark-60); max-width: 50ch; }
.contact .prose p + p { margin-top: 24px; }
.contact .prose { margin-bottom: 44px; }
.direct { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--dark-line); padding-top: 28px; }
.direct-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--dark-55); margin-bottom: 8px; }
.direct a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--blue-deep); }
.direct a:hover { text-decoration: underline; }
.direct span:last-child { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--dark-55); }

.card { background: var(--white); border: 1px solid var(--dark-line); padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 44px); }
.form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dark-55); }
.field input, .field select, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--dark-input);
  padding: 9px 0; font-size: 14px; font-weight: 300; outline: none; border-radius: 0;
  color: var(--dark); width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: var(--dark); background: var(--white); }
.field textarea { resize: vertical; font-family: inherit; min-height: 4.5em; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--blue-deep); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }

/* Honeypot: hidden from people and from the tab order, present for bots. */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.turnstile { min-height: 65px; }

.btn-submit {
  align-self: flex-start; margin-top: 10px;
  color: var(--dark); border-color: var(--blue-deep-border);
}
.btn-submit:hover:not(:disabled) { background: var(--blue-deep); color: var(--paper); border-color: var(--blue-deep); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-status { font-size: 12.5px; line-height: 1.7; color: var(--dark-60); }
.form-status.is-error { color: #A3271E; }
.form-status:empty { display: none; }

.received { display: flex; flex-direction: column; gap: 16px; padding: 40px 0; }
.received .eyebrow { color: var(--blue-deep); }
.received .big { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; color: var(--dark); }
.received .small { font-size: 12.5px; line-height: 1.8; color: var(--dark-55); }
[hidden] { display: none !important; }

.nojs-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.7; color: var(--dark-60); }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 44px var(--gutter); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .mark { font-family: var(--serif); font-weight: 300; font-size: 16px; letter-spacing: 0.2em; color: var(--ink-62); }
.footer-brand .legal { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-55); }
.footer-hhp { display: flex; flex-direction: column; gap: 8px; max-width: 38ch; }
.footer-hhp .label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-55); }
.footer-hhp p { font-size: 12.5px; line-height: 1.8; color: var(--ink-62); }
.footer-meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--ink-55); }
.footer-brand .footer-legal-link {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-55); margin-top: 6px;
}
.footer-brand .footer-legal-link:hover { color: var(--ink); }

/* Privacy note under the form's submit button */
.form-privacy { font-size: 12px; line-height: 1.7; color: var(--dark-55); }
.form-privacy a { color: var(--blue-deep); }
.form-privacy a:hover { text-decoration: underline; }

/* Text pages (privacy) */
.doc { max-width: 64ch; }
.doc h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px; }
.doc .doc-org { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; line-height: 1.8; color: var(--ink-55); }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ink); margin: 44px 0 12px; }
.doc p { font-size: 14.5px; line-height: 1.9; color: var(--ink-62); }
.doc .doc-updated {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55);
}

/* Reveal on scroll (JS adds .reveal-ready; reduced-motion users never see it) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* On narrow screens the wrapped nav would cover half the viewport if it stayed sticky. */
@media (max-width: 720px) {
  .nav { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--bg); }
  .section, .hero { scroll-margin-top: 16px; }
}
