/* Hullfolio — marketing landing page
   Narrative (Salvage Patina) system, per hullfoliobrandguidelines.md v1 */

:root {
  --patina-green: #24403A;
  --oxidized-copper: #C1663B;
  --oxidized-copper-text: #9E5330;
  --aged-parchment: #F2E9D8;
  --walnut-ink: #2B241C;
  --confirmed: #3A5A44;
  --line: #DDCFAF;
  --line-soft: #E8DFC7;
  --panel: #FBF7EE;

  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--aged-parchment);
  color: var(--walnut-ink);
  font-family: 'Spectral', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--oxidized-copper-text); }

/* ---- header ---- */

header.site {
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  flex: 1;
}

.site-nav a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5A4E38;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--oxidized-copper-text); }

.site-nav a.is-active {
  color: var(--patina-green);
  border-bottom: 2px solid var(--oxidized-copper);
  padding-bottom: 2px;
}

@media (max-width: 680px) {
  .site-nav { display: none; }
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark svg { display: block; }

.wordmark .word {
  font-size: 21px;
  letter-spacing: -0.01em;
}

.wordmark .hull {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--patina-green);
}

.wordmark .folio {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  color: var(--oxidized-copper-text);
}

/* Inline brand mention — same two-tone treatment as the wordmark,
   used wherever "Hullfolio" appears inside body copy. */
.brand-name .hull {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--patina-green);
}

.brand-name .folio {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  color: var(--oxidized-copper-text);
}

.snap-card.dark .brand-name .hull { color: var(--aged-parchment); }
.snap-card.dark .brand-name .folio { color: #D6A56B; }

.nav-cta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  color: #fff;
  background: var(--oxidized-copper);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta:hover { background: #A8542D; }

/* ---- hero ---- */

.hero {
  padding: 88px 0 72px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxidized-copper-text);
  margin-bottom: 18px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 68px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--patina-green);
  max-width: 900px;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 22px;
  max-width: 640px;
  color: #4A4030;
  margin: 0 0 22px;
}

/* ---- waitlist form ---- */

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 260px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--walnut-ink);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--oxidized-copper-text);
  box-shadow: 0 0 0 3px rgba(158, 83, 48, 0.15);
}

.waitlist-form button {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  background: var(--oxidized-copper);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist-form button:hover { background: #A8542D; }
.waitlist-form button:focus-visible,
.waitlist-form input:focus-visible {
  outline: 2px solid var(--oxidized-copper-text);
  outline-offset: 2px;
}

.form-note {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: #7A6E56;
  margin-top: 10px;
}

.form-confirm {
  display: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  color: var(--confirmed);
  background: rgba(58, 90, 68, 0.1);
  border: 1px solid rgba(58, 90, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  max-width: 460px;
}

.form-confirm.visible { display: block; }

/* ---- how it works ---- */

section { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 26px; }

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 40px;
  color: var(--patina-green);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 17px;
  color: #4A4030;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--oxidized-copper-text);
  margin-bottom: 10px;
}

.step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--patina-green);
  margin: 0 0 8px;
}

.step p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: #4A4030;
  margin: 0;
  line-height: 1.55;
}

/* record preview card (illustrative, not a live UI) */

.record-preview {
  margin-top: 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  max-width: 420px;
}

.record-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--patina-green);
  margin-bottom: 2px;
}

.record-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #8A7F63;
}

.record-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--confirmed);
  background: rgba(58, 90, 68, 0.12);
  border-radius: 20px;
  padding: 4px 10px 4px 8px;
  margin-top: 12px;
}

.record-badge svg { display: block; }

.record-source {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #8A7F63;
  margin-top: 10px;
}

/* ---- differentiators ---- */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 760px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-card {
  border-top: 3px solid var(--oxidized-copper);
  padding: 20px 0 0;
}

.diff-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--patina-green);
  margin: 0 0 8px;
}

.diff-card p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  color: #4A4030;
  margin: 0;
  line-height: 1.55;
}

/* ---- who it's for ---- */

.pull-quote {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 44px;
  line-height: 1.35;
  color: var(--walnut-ink);
  max-width: 880px;
  border-left: 4px solid var(--oxidized-copper);
  padding-left: 32px;
  margin: 0;
}

/* ---- closing CTA ---- */

.closing {
  background: var(--patina-green);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin: 24px 0 72px;
}

.closing h2 { color: var(--aged-parchment); }

.closing .section-sub { color: #C9D6CE; }

.closing .waitlist-form input[type="email"] {
  border-color: rgba(242, 233, 216, 0.3);
}

.closing .form-note { color: #9FB3A6; }

/* ---- footer ---- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site .wordmark .word { font-size: 15px; }

footer.site .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #8A7F63;
}

footer.site .meta a { color: var(--oxidized-copper-text); }

/* ---- subpage hero (smaller than the home hero) ---- */

.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 36px;
}

.page-hero .hero-sub {
  font-size: 17px;
  margin-bottom: 0;
}

/* ---- breadcrumb-style back link ---- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--oxidized-copper-text);
  text-decoration: none;
  margin-bottom: 18px;
}

.back-link:hover { text-decoration: underline; }

/* ---- five-response list (how it works) ---- */

.response-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.response-item {
  background: var(--panel);
  padding: 17px 22px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .response-item { grid-template-columns: 1fr; gap: 6px; }
}

.response-item .r-label {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--patina-green);
}

.response-item .r-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: #4A4030;
  line-height: 1.55;
}

/* ---- format pills ---- */

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.format-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--walnut-ink);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 7px 14px;
}

/* ---- feature block (why-hullfolio) ---- */

.feature-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
}

.feature-block:first-of-type { padding-top: 0; }
.feature-block:last-of-type { border-bottom: none; }

@media (max-width: 680px) {
  .feature-block { grid-template-columns: 1fr; gap: 12px; }
}

.feature-block .f-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--oxidized-copper-text);
}

.feature-block h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--patina-green);
  margin: 0 0 10px;
}

.feature-block p {
  font-size: 16px;
  color: #4A4030;
  max-width: 620px;
  margin: 0 0 12px;
}

.feature-block p:last-child { margin-bottom: 0; }

/* ---- callout / aside ---- */

.callout {
  background: var(--panel);
  border-left: 3px solid var(--line-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-top: 18px;
}

.callout p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: #5A4E38;
  margin: 0;
  line-height: 1.6;
}

/* ---- safeguard list (transfer) ---- */

.safeguard-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.safeguard {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .safeguard { grid-template-columns: 1fr; gap: 6px; }
}

.safeguard .s-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oxidized-copper-text);
  padding-top: 3px;
}

.safeguard .s-body {
  font-size: 16.5px;
  color: #4A4030;
  line-height: 1.55;
}

.safeguard .s-body strong { color: var(--walnut-ink); }

/* ---- transfer state timeline ---- */

.timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 28px 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 9px;
  left: calc(50% + 14px);
  width: calc(100% - 14px);
  height: 1.5px;
  background: var(--confirmed);
}

.tl-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--confirmed);
  color: var(--aged-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  z-index: 1;
}

.tl-dot svg { display: block; }

.tl-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--patina-green);
}

.tl-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #8A7F63;
  margin-top: 2px;
}

/* ---- competitive comparison ---- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 20px;
}

@media (max-width: 680px) {
  .compare-grid { grid-template-columns: 1fr; gap: 8px; }
}

.compare-col h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.compare-col.muted h3 { color: #8A7F63; }
.compare-col.rare h3 { color: var(--oxidized-copper-text); }

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.compare-item:last-child { border-bottom: none; }

.compare-item .mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-top: 1px;
}

.compare-col.muted .mark {
  background: #EAE3D2;
  color: #8A7F63;
}

.compare-col.rare .mark {
  background: rgba(193, 102, 59, 0.16);
  color: var(--oxidized-copper-text);
}

.compare-item .c-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: var(--walnut-ink);
  line-height: 1.5;
}

.compare-col.muted .c-text { color: #5A4E38; }

.compare-item .c-stat {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #8A7F63;
  margin-top: 3px;
}

.verdict-line {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 25px;
  color: var(--patina-green);
  border-left: 3px solid var(--oxidized-copper);
  padding-left: 22px;
  margin: 0;
  max-width: 640px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .hero { padding: 56px 0 48px; }
  .closing { padding: 36px 24px; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .pull-quote { font-size: 26px; padding-left: 18px; }
  .verdict-line { font-size: 19px; padding-left: 16px; }
}

/* ================================================================
   Snap-card layout — full-viewport cards, Apple product-page style.
   The page never scrolls continuously; it snaps card to card. Each
   <section class="snap-card"> is exactly one viewport tall.
   ================================================================ */

html, body.snap-body { height: 100%; }

body.snap-body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

body.snap-body header.site { flex-shrink: 0; }

main.snap-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.snap-card {
  height: 100%;
  max-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 0;
  position: relative;
}

.snap-card.dark {
  background: var(--patina-green);
  color: var(--aged-parchment);
}

.snap-card.dark h2 { color: var(--aged-parchment); }
.snap-card.dark .section-sub { color: #C9D6CE; }

.snap-card .wrap { width: 100%; }

.snap-card-content {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.snap-card.is-visible .snap-card-content {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .snap-card-content { transition: none; transform: none; opacity: 1; }
}

/* "scroll to continue" cue */

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  color: var(--oxidized-copper-text);
  opacity: 0.75;
  animation: scrollCueBounce 2.2s ease-in-out infinite;
}

.snap-card.dark .scroll-cue { color: var(--aged-parchment); opacity: 0.6; }

.scroll-cue svg { display: block; }

@keyframes scrollCueBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

/* dot navigation */

.card-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.card-nav a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(43, 36, 28, 0.22);
  transition: background 0.2s, transform 0.2s;
  display: block;
}

.card-nav a:hover { background: var(--oxidized-copper); }

.card-nav a.is-active {
  background: var(--oxidized-copper-text);
  transform: scale(1.4);
}

.card-counter {
  position: fixed;
  left: 26px;
  bottom: 22px;
  z-index: 40;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #8A7F63;
  letter-spacing: 0.04em;
}

/* When the active card is a dark (.dark) card, snap.js adds this body
   class so the fixed overlay nav/counter stay legible against it. */
body.on-dark-card .card-nav a { background: rgba(242, 233, 216, 0.35); }
body.on-dark-card .card-nav a:hover { background: var(--aged-parchment); }
body.on-dark-card .card-nav a.is-active { background: var(--aged-parchment); }
body.on-dark-card .card-counter { color: #9FB3A6; }

@media (max-width: 760px) {
  .card-nav {
    right: auto;
    top: auto;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
  }
  .card-counter { display: none; }
  .snap-card { padding: 28px 0; }
  h2 { font-size: 27px; }
  .section-head { margin-bottom: 16px; }
  .response-item { padding: 13px 18px; }
  .safeguard-list { gap: 14px; }
  .steps { gap: 14px; }
  .step { padding: 16px 18px; }
}

/* footer folded into the final card */

.snap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 233, 216, 0.25);
}

.snap-footer .wordmark .hull { color: var(--aged-parchment); }
.snap-footer .wordmark .folio { color: var(--brass-light, #D6A56B); }
.snap-footer .meta { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #9FB3A6; }
.snap-footer nav { display: flex; gap: 18px; }
.snap-footer nav a { font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; color: #C9D6CE; text-decoration: none; }
.snap-footer nav a:hover { color: var(--aged-parchment); }
