/* techguywhomoves.com. Tokens from the design handoff; nothing outside that list. */
:root {
  --ink: #0B0F17; --ink-800: #0E131D; --ink-700: #111623; --ink-text: #1A2130; --navy: #122052;
  --paper: #F7F8FB; --white: #FFFFFF; --mist: #EEF1F6; --muted: #64708A; --muted-2: #93A0B4;
  --cobalt: #3B7BFF; --cobalt-600: #1848C0; --cobalt-text: #1F5AE0; --cobalt-dark: #6B9BFF;
  --line: rgba(11,15,23,.08); --line-2: rgba(11,15,23,.14);
  --line-dark: rgba(255,255,255,.1); --line-dark-2: rgba(255,255,255,.14);
  --sh-card: 0 1px 2px rgba(11,15,23,.05);
  --sh-lift: 0 10px 30px rgba(11,15,23,.12), 0 40px 80px rgba(11,15,23,.1);
  --sh-term: 0 30px 80px rgba(0,0,0,.45);
  --ring: 0 0 0 3px rgba(59,123,255,.28);
  --font-display: Archivo, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", Archivo, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 48px);
  --grade: contrast(1.05) saturate(.92);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body { font-family: var(--font-body); color: var(--ink-text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--cobalt-text); text-decoration: none; }
a:hover { color: var(--cobalt-600); }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; font-size: inherit; }
:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: var(--ring); }
a:focus-visible { box-shadow: var(--ring); border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.photo { filter: var(--grade); width: 100%; height: 100%; object-fit: cover; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  background: rgba(11,15,23,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-dark-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--font-display); font-size: 18px; letter-spacing: -0.03em; }
.brand:hover { color: var(--paper); }
.brand svg { display: block; flex: none; }
.brand b { font-weight: 800; }
.brand i { font-style: normal; font-weight: 500; opacity: .78; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.62); transition: color .15s; }
.nav-link:hover { color: #fff; }
.nav-link.on { color: var(--paper); border-bottom: 2px solid var(--cobalt); padding-bottom: 2px; }
.nav-link.on:hover { color: var(--paper); }

/* Buttons. Pills, always. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: none; cursor: pointer; font-weight: 600; white-space: nowrap;
  transition: background .15s, color .15s, transform .09s, border-color .15s; }
.btn:active { transform: scale(.975); }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-600); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-text); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--mist); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.32); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: var(--paper); }
.btn-lg { font-size: clamp(17px, 2vw, 19px); padding: 16px 28px; }
.btn-md { font-size: 17px; padding: 13px 24px; }
.btn-sm { font-size: 15px; padding: 9px 16px; }
.btn-nav { font-size: 15px; padding: 9px 20px; }

/* Text bits */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-text); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; display: block; }
.eyebrow.plain::before { display: none; }
.eyebrow.dim { color: rgba(255,255,255,.6); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.mono-eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; color: var(--cobalt-dark); }
.h1 { margin: 24px 0 0; font-family: var(--font-display); font-weight: 900; font-stretch: 110%; line-height: .92; letter-spacing: -0.035em; text-wrap: balance; }
.h1 em { font-style: normal; color: var(--cobalt); }
.h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 105%; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.lede { margin: 24px 0 0; line-height: 1.5; color: rgba(255,255,255,.72); text-wrap: pretty; }
.body { margin: 0; font-size: 17px; line-height: 1.55; }

/* Hero shell */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%); }
.hero-inner { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero-photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink-700); }

/* Terminal */
.term { font-family: var(--font-mono); font-size: 14px; line-height: 1.7; background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.term-bar i { width: 11px; height: 11px; border-radius: 99px; display: block; }
.term-bar span { margin: 0 auto; font-size: 12px; color: rgba(255,255,255,.45); }
.term-body { padding: 18px 20px 22px; color: #E6E8EB; }
.term .p { color: var(--cobalt); }
.term .o { color: rgba(255,255,255,.45); }
.term .cur { display: inline-block; width: 8px; height: 15px; background: var(--cobalt); vertical-align: -2px; margin-left: 4px; animation: tgwm-blink 1.1s steps(1) infinite; }
.term.mini { font-size: 13px; border-radius: 12px; }
.term.mini .term-bar { gap: 6px; padding: 10px 14px; }
.term.mini .term-bar i { width: 9px; height: 9px; }
.term.mini .term-bar span { font-size: 11px; }
.term.mini .term-body { padding: 14px 16px; }
@keyframes tgwm-blink { 50% { opacity: 0; } }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 80px) var(--gutter) 40px; }
.footer.slim { padding: clamp(40px, 6vw, 56px) var(--gutter) 40px; }
.footer-top { max-width: 1200px; margin: 0 auto; display: flex; gap: 64px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { font-size: 24px; gap: 12px; }
.footer-brand p { margin: 12px 0 0; font-size: 15px; color: var(--muted-2); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 16px; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); }
.footer-cols div > div { display: grid; gap: 12px; }
.footer-cols a { font-size: 15px; color: var(--paper); opacity: .82; }
.footer-cols a:hover { opacity: 1; color: var(--paper); }
.footer-bottom { max-width: 1200px; margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--line-dark-2); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.footer.slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: none; }
.footer-bottom span { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--paper); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  [data-reveal][data-in] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .term .cur { animation: none; }
  .btn:active { transform: none; }
}

/* ---------- Landing ---------- */
.home-hero .hero-inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 8vw, 80px) var(--gutter) 64px; grid-template-columns: 1.05fr .95fr; }
.home-hero .h1 { font-size: clamp(52px, 9vw, 92px); }
.home-hero .lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 44ch; }
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-term { margin-top: 56px; max-width: 520px; box-shadow: var(--sh-term); }
.hero-right { position: relative; }
.hero-photo img { object-position: 50% 40%; transform: scale(1.12); will-change: transform; }
.badge { position: absolute; left: -28px; bottom: 48px; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: var(--sh-lift); display: flex; gap: 14px; align-items: center; }
.badge svg { display: block; flex: none; }
.badge .mono { color: var(--muted); }
.badge b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -0.03em; }

.offers { padding-top: clamp(64px, 12vw, 128px); padding-bottom: clamp(64px, 12vw, 128px); }
.offers .h2 { max-width: 22ch; }
.offers-cta { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.offers-cta span { font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
.card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 18px; transition: transform .24s, box-shadow .24s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.card .body { flex: 1; }
.card .btn { align-self: flex-start; }
.card-white { background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-card); }
.card-white .body { color: var(--muted); }
.card-ink { background: var(--ink); color: var(--paper); }
.card-navy { background: var(--navy); color: var(--paper); }
.card-ink .h3, .card-navy .h3 { color: inherit; }
.card-ink .body, .card-navy .body { color: rgba(255,255,255,.72); }
.card-photo { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.card-photo img { object-position: 50% 60%; }
.heat { padding: 16px; border-radius: 12px; background: var(--ink-800); border: 1px solid var(--line-dark); }
.heat-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.heat-head b { font-weight: 400; color: var(--cobalt); }
.heat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; } /* 7 rows x 12 weeks, row-major */
.heat-grid i { display: block; aspect-ratio: 1; min-width: 0; border-radius: 2px; }
.heat-grid .h0 { background: rgba(255,255,255,.07); }
.heat-grid .h1 { background: rgba(59,123,255,.35); }
.heat-grid .h2 { background: rgba(59,123,255,.65); }
.heat-grid .h3 { background: var(--cobalt); }

.story-teaser { background: var(--white); padding: clamp(64px, 12vw, 128px) 0; }
.story-teaser .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-photos > div { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; }
.story-photos > div:first-child { margin-top: 48px; }
.story-teaser .h2 { margin-top: 24px; }
.story-teaser .body { margin-top: 16px; max-width: 54ch; }
.story-teaser .body.first { margin-top: 24px; }
.story-teaser .cta { margin-top: 32px; }

.stats { background: var(--mist); padding: clamp(56px, 9vw, 96px) var(--gutter); }
.stats .grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 48px; line-height: .94; letter-spacing: -0.035em; color: var(--ink); }
.stat b span { color: var(--cobalt); }
.stat .mono { margin-top: 8px; color: var(--muted); letter-spacing: 0; }

.strip { padding: clamp(56px, 9vw, 96px) 0 0; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.strip-head .h2 { margin: 0; font-stretch: 100%; font-size: clamp(30px, 5vw, 40px); }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 40px; }
.strip-grid > div { aspect-ratio: 4 / 5; overflow: hidden; }

.letter { padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(56px, 9vw, 96px); }
.letter-box { padding: clamp(28px, 5vw, 48px); border-radius: 28px; background: var(--ink); color: var(--paper); }
.letter-box .h2 { color: inherit; font-stretch: 100%; font-size: clamp(30px, 5vw, 40px); max-width: 22ch; }
.letter-box .body { margin-top: 16px; color: rgba(255,255,255,.7); max-width: 52ch; }
.letter-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.letter-row input { flex: 1 1 240px; font-size: 17px; padding: 15px 20px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--paper); border: 1px solid var(--line-dark-2); outline: none; min-width: 0; }
.letter-row input::placeholder { color: rgba(255,255,255,.45); }
.letter-row .btn { font-size: 17px; padding: 15px 28px; }
.letter-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- My story ---------- */
.story-hero .hero-inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter) clamp(48px, 7vw, 80px); grid-template-columns: 1.1fr .9fr; }
.story-hero .h1 { font-size: clamp(44px, 7.5vw, 84px); line-height: .94; }
.story-hero .lede { font-size: clamp(17px, 2vw, 20px); max-width: 46ch; }
.story-hero .hero-photo img { object-position: 50% 30%; }

.changelog { padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(64px, 10vw, 112px); }
.changelog .cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.changelog .h2 { font-size: clamp(30px, 4.5vw, 44px); }
.log { margin-top: 32px; box-shadow: 0 30px 80px rgba(11,15,23,.18); }
.log .term-body { display: grid; gap: 14px; }
.log-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.log-row .d { color: var(--cobalt); }
.log-row b { font-weight: 400; color: var(--paper); }
.log-row small { display: block; font-size: inherit; color: rgba(255,255,255,.55); }
.longer { max-width: 58ch; }
.pull { margin: 24px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.longer .body { margin-top: 16px; text-wrap: pretty; }
.longer .body.first { margin-top: 20px; }
.honest { margin: 24px 0 0; display: grid; gap: 14px; padding: 20px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-card); }
.honest > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; font-size: 16px; line-height: 1.5; }
.honest .mono { color: var(--cobalt-text); padding-top: 3px; letter-spacing: 0; }
.closing { margin: 24px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }

.turn { padding-bottom: clamp(64px, 10vw, 112px); }
.turn-box { padding: clamp(28px, 5vw, 48px); border-radius: 28px; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.turn-box .h2 { color: inherit; font-stretch: 100%; font-size: clamp(30px, 5vw, 44px); }
.turn-box .body { margin-top: 16px; color: rgba(255,255,255,.7); max-width: 48ch; }
.turn-cta { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-link { display: none; }
  .hero-inner, .story-teaser .wrap, .changelog .cols, .turn-box { grid-template-columns: 1fr !important; gap: 40px !important; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .badge { left: 16px; bottom: 16px; }
  .strip-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scrollbar-width: none; }
  .strip-grid::-webkit-scrollbar { display: none; }
  .strip-grid > div { flex: 0 0 68vw; scroll-snap-align: start; }
  .log-row { grid-template-columns: 1fr; gap: 6px; }
  .turn-cta { justify-content: flex-start; }
}
