/* Stay Striving — Quiet Forward */
:root {
  --bg: #0B0B0C;          /* near-black */
  --bg-alt: #121214;      /* raised section */
  --surface: #17171A;     /* cards */
  --line: #2A2926;        /* hairlines */
  --text: #F4F0E8;        /* warm off-white */
  --muted: #A9A398;       /* secondary text */
  --accent: #C4843A;      /* copper */
  --accent-hover: #D6964B;
  --accent-ink: #0B0B0C;  /* text on copper */

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem .9rem; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.wordmark {
  font-weight: 600; font-size: .9rem; letter-spacing: .32em;
  text-decoration: none; white-space: nowrap;
  padding-right: .1em;
}
.nav-links { display: none; gap: 2rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: var(--radius);
  font-weight: 600; font-size: .975rem; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: .5rem 1rem; font-size: .875rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--text); }
.btn-block { width: 100%; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 2rem; }
.cta-center { justify-content: center; }

/* Hero */
.hero { padding: 5.5rem 0 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero .container { position: relative; }
.hero .hero-copy::after {
  content: ""; display: block; width: 64px; height: 2px; background: var(--accent); margin-top: 3.5rem;
}
.eyebrow, .section-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.75rem); max-width: 15ch; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--muted); }
.lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 40rem; line-height: 1.6; }
.hero-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }

/* Sections */
.section { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); max-width: 22ch; margin-bottom: 3rem; }
.section h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.section p { color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 1.25rem; }

/* Pillars */
.pillar { padding: 2rem 0 0; border-top: 1px solid var(--line); }
.pillar-num { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .15em; color: var(--accent); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 1.75rem 0 1.75rem 3.5rem; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.85rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Pricing */
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.price-card-featured { border-color: var(--accent); }
.badge {
  position: absolute; top: -0.7rem; left: 1.5rem;
  background: var(--accent); color: var(--accent-ink) !important;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 2px;
}
.price { margin: .75rem 0 .5rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price .amount { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 1rem; }
.price-desc { margin-bottom: 1.5rem; }
.features { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.features li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); color: var(--text); font-size: .975rem; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 10px; height: 1px; background: var(--accent); }
.fine-print { margin-top: 2rem; font-size: .9rem; max-width: 46rem; }

/* About */
.about { display: grid; gap: 3rem; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p + p { margin-top: 1rem; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; align-self: start; }
.about-card dl { margin: 0; display: grid; gap: 1.25rem; }
.about-card dt { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
.about-card dd { margin: 0; color: var(--text); }

/* Closing */
.closing { padding: 6rem 0; text-align: center; border-bottom: 1px solid var(--line); }
.closing h2 { font-size: clamp(1.9rem, 5vw, 3.25rem); max-width: 20ch; margin: 0 auto; letter-spacing: -0.03em; }

/* Footer */
.site-footer { padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; gap: 2rem; }
.footer-tag { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--text); }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-base p { color: var(--muted); font-size: .8rem; }

/* Tablet+ */
@media (min-width: 720px) {
  .container { padding: 0 2rem; }
  .hero { padding: 8rem 0 0; }
  .section { padding: 7rem 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .step:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .price-card { padding: 2.5rem 2.25rem; }
  .badge { left: 2.25rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links { text-align: right; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .about { grid-template-columns: 1.6fr 1fr; gap: 5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .step { padding: 2rem 0 0; border-bottom: none !important; }
  .step::before { position: static; display: block; margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* About: photo grid (Andrew with cameras over the years) */
.photo-grid-wrap { margin-top: 4rem; }
.photo-grid-wrap[hidden] { display: none; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  filter: saturate(.9);
}
.photo-grid figcaption { margin-top: .5rem; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* Very small phones: keep header on one line */
@media (max-width: 360px) {
  .wordmark { letter-spacing: .22em; font-size: .82rem; }
  .btn-small { padding: .5rem .8rem; }
}

/* Hero: two-column with photo (photo stacks below CTAs on mobile) */
.hero-grid { display: grid; gap: 2.5rem; }
.hero-media { margin: 0; position: relative; justify-self: center; width: 100%; max-width: 480px; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
/* hero JPG/WebP have the edge fade to #0B0B0C baked in */
.photo-grid figcaption { line-height: 1.45; }
@media (min-width: 720px) { .photo-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) {
  .hero { padding-top: 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
  .hero-copy { padding-bottom: 4rem; align-self: center; }
  .hero-copy::after { margin-top: 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); }
  .hero-media { max-width: 500px; justify-self: end; }
}
