/* ===========================================
   Nick's Big Rods — editorial nautical
   =========================================== */

:root {
  --ink:        #0e1a24;        /* deep navy/black */
  --ink-soft:   #1a2a36;
  --paper:      #f3ecdd;        /* warm off-white / sailcloth */
  --paper-warm: #ebe1cb;
  --rust:       #c14a2a;        /* bold accent */
  --rust-deep:  #962f15;
  --gold:       #c9a14a;        /* signature accent */
  --line:       #0e1a2422;

  --serif:   'DM Serif Display', 'Times New Roman', serif;
  --display: 'Anton', 'Bebas Neue', 'Impact', sans-serif;
  --display-condensed: 'Bebas Neue', 'Anton', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture via layered gradients */
body {
  background-image:
    radial-gradient(circle at 20% 10%, #00000008 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #00000010 0%, transparent 50%),
    repeating-linear-gradient(0deg, #00000005 0px, #00000005 1px, transparent 1px, transparent 3px);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ TOP BAR ============ */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 50;
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  border-radius: 2px;
  transform: rotate(-4deg);
}

.logo-text {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.5px;
}

.nav { display: flex; gap: 32px; align-items: center; }

.nav a {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rust);
  transition: width 0.25s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--rust); }

/* ============ HERO ============ */
.hero {
  padding: 60px 48px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* --- Left side --- */
.hero-left { 
    position: relative;
    top: -60px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.dot {
  width: 8px; height: 8px;
  background: var(--rust);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #c14a2a22;
}

.title {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
  white-space: nowrap;
}

.title-line {
  display: inline-block;
  animation: fadeUp 0.9s ease both;
}
.line-1 { animation-delay: 0.15s; }
.line-2 {
  animation-delay: 0.3s;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
  margin: 0 0.15em;
  letter-spacing: -0.01em;
}
.line-3 {
  animation-delay: 0.45s;
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.tagline {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 460px;
  animation: fadeUp 0.9s 0.6s ease both;
}

/* --- Right side photo --- */
.hero-photo {
  position: relative;
  animation: fadeIn 1.2s 0.3s ease both;
}

.photo-frame {
  position: relative;
  background: white;
  padding: 14px 14px 60px;
  box-shadow:
    0 1px 2px #00000022,
    0 24px 50px -10px #00000055,
    0 60px 100px -20px #0e1a2455;
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.photo-frame:hover { transform: rotate(0deg) scale(1.01); }

.photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}

/* Polaroid-style tape */
.photo-tape {
  position: absolute;
  width: 100px; height: 26px;
  background: rgba(201, 161, 74, 0.55);
  border-left: 1px dashed #00000022;
  border-right: 1px dashed #00000022;
}
.tape-tl { top: -10px; left: -16px; transform: rotate(-32deg); }
.tape-br { bottom: 28px; right: -18px; transform: rotate(-28deg); }

.hero-photo figcaption {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-left: 14px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transform: rotate(2deg);
}

.caption-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  text-transform: none;
  color: var(--rust);
  letter-spacing: 0;
}

/* --- Marquee --- */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
  margin: 0 -48px;
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--display-condensed);
  font-size: 22px;
  letter-spacing: 0.15em;
}

.marquee-track .sep { color: var(--rust); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ PITCH SECTION ============ */
.pitch {
  padding: 120px 48px;
  position: relative;
}

.pitch::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: var(--ink);
  opacity: 0.3;
}

.pitch-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.pitch-copy { position: relative; }

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--rust);
  margin-bottom: 16px;
}

.pitch-heading {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  max-width: 640px;
}
.pitch-heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
}

.lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 600px;
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 40px;
}

.feature-list {
  list-style: none;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  max-width: 580px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.feature-list li span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--rust);
  min-width: 36px;
}

/* CTA */
.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--rust);
  color: var(--paper);
  padding: 20px 36px;
  font-family: var(--display-condensed);
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.25s ease;
  box-shadow: 0 8px 0 -2px var(--rust-deep), 0 14px 30px -10px #962f1555;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}
.btn-primary:hover svg { transform: translateX(4px); }

.cta-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
}

/* --- Spec card --- */
.spec-card {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 32px;
  border-radius: 2px;
  position: relative;
  position: sticky;
  top: 110px;
  box-shadow: 0 30px 60px -20px #0e1a2466;
}

.spec-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid #ffffff15;
  pointer-events: none;
}

.spec-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffffff20;
}

.spec-label { color: var(--gold); }
.spec-id { color: #ffffff80; }

.spec-name {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.spec-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ffffff15;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px 16px;
  margin-bottom: 32px;
}

.spec-list dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff80;
  align-self: center;
}

.spec-list dd {
  font-size: 14px;
  font-weight: 500;
}

.spec-price {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.spec-stamp {
  font-family: var(--display-condensed);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-align: center;
  padding: 12px;
  border: 1px dashed #c9a14a55;
  border-radius: 2px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}

.footer-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffffaa;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .topbar { padding: 18px 24px; }
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }

  .hero { padding: 40px 24px 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .title {
    font-size: clamp(56px, 13vw, 100px);
    white-space: normal;
  }
  .line-2 { margin: 0 0.1em; }
  .tagline { font-size: 18px; }

  .marquee { margin: 0 -24px; }

  .pitch { padding: 80px 24px; }
  .pitch-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .spec-card { position: static; }
  .pitch-heading { font-size: clamp(36px, 7vw, 56px); }
  .lede { font-size: 18px; }
  .spec-name { font-size: 44px; }

  .footer { padding: 30px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .btn-primary {
    font-size: 16px;
    padding: 16px 24px;
    width: 100%;
    justify-content: center;
  }
  .cta-row { gap: 16px; }
  .photo-frame { transform: rotate(1deg); }
  .photo-tape { display: none; }
}
