@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-500.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url(fonts/silkscreen-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #08080a;
  --ink: #ececef;
  --dim: #9a9ba3;
  --faint: #5d5e66;
  --line: #26272d;
  --gutter: clamp(20px, 4.4vw, 64px);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --px: "Silkscreen", "IBM Plex Mono", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
img { display: block; max-width: 100%; }

/* Type */
.px { font-family: var(--px); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.dim { color: var(--dim); }
.faint { color: var(--faint); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.display em { font-style: italic; color: transparent; background: linear-gradient(180deg, #d8d8dc 10%, #6f7078 95%); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.label { display: flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 7px; height: 7px; background: var(--ink); flex: none; }
.dotlink { font-family: var(--mono); font-size: 14px; font-weight: 500; border-bottom: 1px dashed var(--faint); padding-bottom: 2px; transition: border-color .3s; }
.dotlink:hover { border-bottom-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--bg); padding: 15px 22px; font-family: var(--px); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; box-shadow: 3px 3px 0 0 #3a3b42; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 0 #4a4b53; }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 #3a3b42; }
.btn .sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: .55; }
.rule { height: 1px; background: var(--line); border: 0; }

/* Boot screen */
.boot { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: #c9c9ce; }
.boot pre { font: inherit; white-space: pre; min-width: min(420px, 86vw); line-height: 1.7; }
.boot .cursor { display: inline-block; width: .6em; height: 1.1em; background: var(--ink); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.boot.gone { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.no-boot .boot { display: none; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--gutter); }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg) 30%, transparent); pointer-events: none; z-index: -1; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .mk { font-family: var(--display); font-size: 22px; font-style: italic; line-height: 1; }
.status { display: flex; align-items: center; gap: 14px; border: 1px solid #3a3b42; padding: 7px 14px 7px 12px; min-width: 250px; }
.status .live { width: 8px; height: 8px; background: var(--ink); animation: blink 1.6s steps(1) infinite; flex: none; }
.status .px { font-size: 10px; }
.status .mono { font-size: 10px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-family: var(--mono); font-size: 13px; color: var(--dim); }
.nav-links a:not(.btn) { transition: color .25s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { padding: 10px 16px; box-shadow: none; font-size: 10px; }
.nav-links .btn:hover { transform: none; box-shadow: 3px 3px 0 0 #3a3b42; }

/* Rail */
.rail { position: fixed; right: clamp(14px, 2vw, 30px); top: 50%; transform: translateY(-50%); z-index: 40; height: min(56vh, 460px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.rail::before { content: ""; position: absolute; right: 3px; top: 4px; bottom: 4px; width: 1px; background: repeating-linear-gradient(var(--faint) 0 2px, transparent 2px 6px); }
.rail a { position: relative; display: flex; align-items: center; gap: 12px; font-family: var(--px); font-size: 9px; letter-spacing: .14em; color: var(--faint); transition: color .3s; }
.rail a::after { content: ""; width: 7px; height: 1px; background: var(--faint); }
.rail a.on { color: var(--ink); }
.rail a:hover { color: var(--dim); }
.rail .knob { position: absolute; right: 0; top: 0; width: 7px; height: 7px; background: var(--ink); will-change: transform; }

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 0; position: relative; }
.hero-inner { padding-bottom: 130px; }
.hero h1 { font-size: clamp(60px, min(10.4vw, 15.5vh), 176px); line-height: .9; margin: 26px 0 30px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .ln > span { display: inline-block; will-change: transform; }
.hero .lede { max-width: 25ch; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.38; color: var(--dim); }
.hero .lede b { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }
.hero .credit { margin-top: 34px; color: var(--dim); }
.scrollcue { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); text-align: center; color: var(--dim); }
.scrollcue i { display: block; font-style: normal; margin-top: 6px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); overflow: hidden; padding: 17px 0; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span { font-family: var(--px); font-size: 11px; letter-spacing: .18em; color: var(--dim); white-space: nowrap; padding: 0 22px; }
.ticker-track span.sep { color: var(--faint); padding: 0; }

/* Sections */
.sec { padding: clamp(110px, 18vh, 200px) var(--gutter); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(48px, 8vh, 90px); }
.sec h2 { font-size: clamp(48px, 7vw, 116px); line-height: .92; max-width: 13ch; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about-copy p.big { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.22; letter-spacing: -.01em; margin-top: clamp(34px, 5vh, 56px); max-width: 26ch; }
.about-copy p.big .w { transition: none; }
.spec { margin-top: clamp(44px, 7vh, 72px); border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--px); font-size: 10px; letter-spacing: .16em; color: var(--faint); padding-top: 3px; }
.spec dd { font-family: var(--mono); font-size: 14px; }

.window { border: 1px solid #3a3b42; background: #0d0d10; }
.window-bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid #3a3b42; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 9px; height: 9px; border: 1px solid var(--faint); }
.window-bar .mono { font-size: 11px; color: var(--faint); }
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; filter: grayscale(.15) contrast(1.04); }
.photo.empty img { display: none; }
.photo.empty { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #0d0d10 0 10px, #111115 10px 20px); }
.photo.empty::after { content: "assets/images/" attr(data-file); font-family: var(--mono); font-size: 12px; color: var(--faint); }
.portrait .photo { aspect-ratio: 4 / 5; }
.portrait .window-foot { display: flex; justify-content: space-between; padding: 10px 12px; border-top: 1px solid #3a3b42; }
.portrait .window-foot span { font-family: var(--mono); font-size: 11px; color: var(--faint); }

/* Story (horizontal) */
.story { padding-bottom: 0; }
.story-pin { overflow: hidden; position: relative; }
.track { display: flex; gap: 0; width: max-content; padding: 0 var(--gutter) clamp(90px, 14vh, 150px); will-change: transform; }
.chapter { width: clamp(300px, 31vw, 470px); min-height: clamp(420px, 60vh, 580px); display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px 30px; border: 1px solid var(--line); margin-left: -1px; position: relative; background: var(--bg); }
.chapter-top { display: flex; justify-content: space-between; align-items: center; }
.chapter .num { font-family: var(--display); font-size: clamp(96px, 10vw, 160px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #3d3e45; margin: 30px 0 auto; }
.chapter-photo { aspect-ratio: 4 / 3; margin: 22px 0 auto; }
.chapter-photo img { filter: none; }
.chapter.hl .chapter-photo.empty { background: repeating-linear-gradient(45deg, #d9d9dd 0 10px, #e2e2e6 10px 20px); }
.chapter.hl .chapter-photo.empty::after { color: #6f7078; }.chapter h3 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 14px 0 16px; }
.chapter h3 em { font-style: italic; color: var(--dim); }
.chapter p { font-size: 17px; line-height: 1.5; color: var(--dim); max-width: 34ch; }
.chapter .org { font-family: var(--mono); font-size: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.chapter.hl { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chapter.hl .num { -webkit-text-stroke-color: #b9b9bf; }
.chapter.hl p, .chapter.hl h3 em { color: #4a4b52; }
.chapter.hl .org, .chapter.hl .px { color: var(--bg); }
.story-meter { display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter); position: absolute; left: 0; right: 0; bottom: clamp(40px, 6vh, 64px); }
.story-meter .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.story-meter .bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* Austin photo */
.austin { padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 7vh, 80px); position: relative; }
.austin-frame { height: 100svh; position: relative; }
.austin-frame .photo { position: absolute; inset: 0; will-change: clip-path; }
.austin-title { position: absolute; left: var(--gutter); bottom: clamp(40px, 8vh, 90px); font-size: clamp(56px, 10vw, 170px); line-height: .9; z-index: 2; mix-blend-mode: difference; pointer-events: none; }
.austin-cap { display: flex; justify-content: space-between; gap: 16px; padding: 16px var(--gutter) 0; }

/* Work */
.venture { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 120px; gap: 32px; align-items: start; padding: 42px 0; border-top: 1px solid var(--line); }
.venture:last-child { border-bottom: 1px solid var(--line); }
.venture .idx { padding-top: 16px; }
.venture h3 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.4vw, 88px); line-height: .95; letter-spacing: -.025em; transition: transform .7s var(--ease); }
.venture:hover h3 { transform: translateX(12px); }
.venture .meta { padding-top: 16px; }
.venture .meta .px { color: var(--faint); margin-bottom: 12px; }
.venture .meta p { color: var(--dim); font-size: 18px; max-width: 34ch; }
.venture .go { padding-top: 16px; text-align: right; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.venture .go span { display: inline-block; transition: transform .45s var(--ease); }
.venture:hover .go span { transform: translate(3px, -3px); }

/* Contact */
.contact { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
.contact h2 { font-size: clamp(72px, 14vw, 240px); line-height: .86; max-width: none; margin-top: 28px; }
.contact h2 .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.contact h2 .ln > span { display: inline-block; }
.mail { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(40px, 7vh, 70px); font-family: var(--display); font-size: clamp(26px, 3.6vw, 56px); letter-spacing: -.015em; border-bottom: 1px solid var(--line); padding-bottom: 8px; transition: border-color .4s; }
.mail:hover { border-bottom-color: var(--ink); }
.mail .cursor { display: inline-block; width: .42em; height: .8em; background: var(--ink); animation: blink 1s steps(1) infinite; }
.contact-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(56px, 9vh, 100px); border-top: 1px solid var(--line); }
.contact-grid > div { padding: 20px 20px 22px 0; border-right: 1px solid var(--line); }
.contact-grid > div + div { padding-left: 20px; }
.contact-grid > div:last-child { border-right: 0; }
.contact-grid .px { color: var(--faint); margin-bottom: 12px; font-size: 10px; }
.contact-grid a, .contact-grid span.v { font-family: var(--mono); font-size: 15px; word-break: break-word; transition: color .25s; }
.contact-grid a:hover { color: var(--dim); }
.sign { margin-top: clamp(40px, 7vh, 70px); display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.signature { height: clamp(80px, 10vw, 150px); width: clamp(220px, 28vw, 440px); }
.signature img { height: 100%; width: 100%; object-fit: contain; object-position: left bottom; }
.signature.empty { border: 1px dashed #3a3b42; display: flex; align-items: center; justify-content: center; }
.signature.empty img { display: none; }
.signature.empty::after { content: "assets/images/" attr(data-file); font-family: var(--mono); font-size: 12px; color: var(--faint); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); }

/* Small screens */
@media (max-width: 899px) {
  .status, .rail { display: none; }
  .nav-links a:not(.btn) { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
  .track { flex-direction: column; width: auto; }
  .chapter { width: auto; min-height: 0; margin-left: 0; margin-top: -1px; }
  .chapter .num { margin: 24px 0 28px; font-size: 90px; }
  .story-meter { display: none; }
  .austin-frame { height: 72svh; }
  .venture { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
  .venture .idx, .venture .meta, .venture .go { padding-top: 0; text-align: left; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid > div { border-bottom: 1px solid var(--line); }
  .contact-grid > div:nth-child(even) { border-right: 0; }
  .contact-grid > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .contact-grid > div:last-child:nth-child(odd) { border-right: 0; }
  .scrollcue { display: none; }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div { border-right: 0; padding-left: 0 !important; }
  .spec div { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .boot { display: none; }
}

/* ---------- Inner pages: blog, family, admin ---------- */
.page main { padding: 150px var(--gutter) 0; min-height: 80vh; }
.page-head { max-width: 1100px; margin-bottom: clamp(56px, 9vh, 100px); }
.page-head h1 { font-size: clamp(56px, 8.6vw, 140px); line-height: .92; margin: 26px 0 24px; }
.page-head .lede { font-size: clamp(19px, 1.6vw, 24px); color: var(--dim); max-width: 36ch; line-height: 1.4; }
.page-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: clamp(90px, 14vh, 160px) var(--gutter) 0; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--faint); }
.page-foot a:hover { color: var(--ink); }

.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: 32px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: clamp(30px, 3.4vw, 54px); line-height: 1; transition: transform .6s var(--ease); }
.post-row p { color: var(--dim); margin-top: 12px; max-width: 52ch; font-size: 18px; }
.post-row .mono { text-align: right; }
.post-row:hover h2 { transform: translateX(10px); }
.chip { display: inline-block; font-family: var(--px); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid #3a3b42; padding: 3px 7px; color: var(--dim); vertical-align: middle; }
.chip.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty-note { padding: 34px 0; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 44px; }
.article-head h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .96; margin: 24px 0 26px; }
.article-head .lede { font-size: clamp(20px, 1.7vw, 25px); color: var(--dim); line-height: 1.4; }
.article-cover { margin: 48px calc(50% - min(50vw, 600px)) 0; }
.article-cover img { width: 100%; max-height: 80vh; object-fit: cover; }
.prose { margin-top: 56px; font-size: 21px; line-height: 1.62; color: #d9d9de; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.015em; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-family: var(--px); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 2.4em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--ink); border-bottom: 1px dashed var(--faint); transition: border-color .3s; }
.prose a:hover { border-bottom-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose ul { list-style: square; }
.prose ul li::marker { color: var(--faint); }
.prose blockquote { border-left: 1px solid var(--ink); padding-left: 24px; font-style: italic; font-size: 1.15em; color: var(--ink); }
.prose img { width: 100%; height: auto; margin: 0 auto; }
.prose p:has(> img:only-child) { margin: 2em calc(50% - min(50vw, 560px)); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font-family: var(--mono); font-size: .8em; background: #16161a; padding: 2px 6px; }
.ig-embed { margin: 2.2em 0; display: flex; justify-content: center; }
.ig-embed iframe { border-radius: 4px !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 90px auto 0; border-top: 1px solid var(--line); padding-top: 24px; }
.post-nav a { display: block; }
.post-nav a .display { display: block; font-size: 24px; margin-top: 8px; line-height: 1.1; }
.post-nav a:last-child { text-align: right; }

/* Instagram */
.ig-sec { margin-top: clamp(100px, 16vh, 180px); }
.ig-sec .sec-head { margin-bottom: 40px; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.ig-grid .ig-embed { margin: 0; }
.ig-follow { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); padding: 30px; }
.ig-follow .display { font-size: clamp(30px, 3.6vw, 52px); }

/* Family password gate */
.gate { max-width: 520px; border: 1px solid #3a3b42; background: #0d0d10; }
.gate .window-bar { margin: 0; }
.gate form { padding: 30px; display: grid; gap: 16px; }
.gate p { color: var(--dim); }

/* Forms (gate + admin) */
.field { display: grid; gap: 8px; }
.field > span { font-family: var(--px); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.input, .textarea { width: 100%; background: #0d0d10; color: var(--ink); border: 1px solid #34353c; padding: 13px 14px; font-family: var(--mono); font-size: 15px; border-radius: 0; outline: none; transition: border-color .2s; }
.input:focus, .textarea:focus { border-color: var(--ink); }
.textarea { resize: vertical; line-height: 1.6; }
.form-error { font-family: var(--mono); font-size: 13px; color: #ff8a80; min-height: 1.2em; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #3a3b42; box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; transform: none; }
.btn.small { padding: 9px 14px; font-size: 10px; }
.btn:disabled { opacity: .5; pointer-events: none; }

@media (max-width: 899px) {
  .page main { padding-top: 120px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .post-row .mono { text-align: left; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .prose { font-size: 19px; }
}

/* ---------- The move: route map + day counter ---------- */
.move { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 90px); align-items: center; padding: 0 var(--gutter) clamp(80px, 12vh, 140px); }
.day { display: grid; margin-top: 28px; }
.day .px { margin-bottom: 4px; }
.day-num { font-size: clamp(120px, 15vw, 250px); line-height: .8; letter-spacing: -.05em; font-variant-numeric: lining-nums tabular-nums; }
.day-in { font-size: clamp(36px, 4vw, 64px); line-height: 1; margin-top: 14px; }
.move-stats { margin-top: clamp(32px, 5vh, 52px); border-top: 1px solid var(--line); max-width: 460px; }
.move-stats div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.move-stats dt { font-family: var(--px); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.move-stats dd { font-family: var(--mono); font-size: 14px; }
.move-map { position: relative; }
.move-map img, .move-map svg { display: block; width: 100%; height: auto; }
.move-map .route { position: absolute; inset: 0; overflow: visible; }
.route-path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.route-plane { fill: var(--ink); opacity: 0; }
.route.flying .route-plane { opacity: 1; }
.city { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.city.to { fill: var(--ink); }
.city-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.city-label { font-family: var(--px); font-size: 12px; letter-spacing: .18em; fill: var(--dim); }

/* Skyline video */
.photo video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Boarding pass in the Level one chapter */
.chapter-pass { margin: 26px 0 auto; }
.chapter-pass img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }

/* Skyline line drawing */
.skyline-art { margin-top: clamp(70px, 12vh, 140px); }
.skyline-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.skyline-art .sk path { fill: var(--bg); stroke: var(--dim); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.skyline-art .sk path.ground { fill: none; stroke: #3a3b42; }
.skyline-art .sk-labels path { stroke: var(--faint); stroke-width: 1; }
.skyline-art .sk-labels text { font-family: var(--px); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; fill: var(--faint); text-anchor: middle; }
.skyline-art .sk-labels text.coord { text-anchor: end; }

/* Blog cover that's a drawing, not a photo */
.article-cover.art { margin: 48px 0 0; }
.article-cover.art img { max-height: none; object-fit: contain; }

@media (max-width: 899px) {
  .move { grid-template-columns: 1fr; }
  .skyline-art .sk-labels text { font-size: 16px; }
}
/* Work: Implemented Systems sits under Earls Ventures */
.venture.sub h3 { font-size: clamp(32px, 4vw, 64px); display: flex; align-items: center; gap: 18px; }
.venture.sub .branch { width: 34px; height: 30px; flex: none; border-left: 1px solid var(--faint); border-bottom: 1px solid var(--faint); transform: translateY(-14px); }
@media (max-width: 899px) { .venture.sub { padding-left: 20px; border-left: 1px solid var(--line); } .venture.sub .branch { display: none; } }
/* Instagram Story share panel (admin) */
#story-panel { position: fixed; inset: 0; z-index: 200; background: rgba(4,4,6,.86); display: none; align-items: center; justify-content: center; padding: 24px; }
#story-panel.open { display: flex; }
.story-box { width: min(980px, 100%); max-height: calc(100vh - 48px); overflow: auto; }
.story-body { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 28px; align-items: start; }
.story-preview { aspect-ratio: 9 / 16; border: 1px solid #34353c; background: #08080a; }
.story-preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
.story-side h2 { font-size: clamp(36px, 4vw, 56px); margin: 16px 0 20px; }
.story-steps { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--dim); padding-left: 18px; display: grid; gap: 8px; }
.story-steps b { color: var(--ink); font-weight: 500; }
.story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
@media (max-width: 720px) { .story-body { grid-template-columns: 1fr; } .story-preview { max-width: 260px; } }
/* ---------- Phones ---------- */
@media (max-width: 899px) {
  /* Menu: keep the pages family needs (Home / Blog / Family); hide in-page jumps and LinkedIn */
  .nav { padding: 12px var(--gutter); gap: 12px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(.btn) { display: inline; }
  .nav-links a[data-scroll]:not(.btn), .nav-links a[target="_blank"] { display: none; }
  .nav-links .btn { padding: 9px 12px; }
  /* Tighter spacing between sections */
  .sec { padding: 84px var(--gutter); }
  .sec-head { margin-bottom: 40px; }
  .sec-head > span.px, .sec-head > .px.faint { display: none; }
  .hero { padding-top: 104px; }
  .hero-inner { padding-bottom: 96px; }
  .hero .btn .sub { display: none; }
  .hero-cta { gap: 22px; margin-top: 30px; }
  .about-copy p.big { font-size: 26px; }
  .portrait { max-width: none; }
  .story { padding-bottom: 0; }
  .track { padding-bottom: 40px; }
  .austin { padding: 20px 0 0; }
  .move { padding-bottom: 56px; gap: 36px; }
  .austin-cap .px.faint { display: none; }
  .day-num { font-size: 150px; }
  .contact { min-height: 0; }
  .contact h2 { font-size: 88px; }
  .mail { font-size: 22px; word-break: break-all; }
  .skyline-art { margin-top: 56px; }
  .page main { padding-top: 104px; }
  .page-head { margin-bottom: 48px; }
  .page-foot { margin-top: 80px; }
  .venture h3 { font-size: 44px; }
  .venture.sub h3 { font-size: 36px; }
}
@media (max-width: 520px) {
  .brand .px { display: none; }
  .brand .mk { font-size: 26px; }
  .hero h1 { font-size: clamp(56px, 16.5vw, 80px); }
}
/* Bigger tap targets on touch screens */
@media (pointer: coarse) {
  .dotlink { padding: 6px 0; }
  .post-row { padding: 26px 0; }
  .contact-grid a { display: inline-block; padding: 4px 0; }
}@media (max-width: 520px) {
  .contact-grid > div:nth-child(n) { border-right: 0; padding-left: 0; }
  .skyline-art .sk-labels { display: none; }
  #writing .sec-head .dotlink { white-space: nowrap; }
}.foot .credit-link { border-bottom: 1px dashed currentColor; }
.foot .credit-link:hover { color: var(--ink); }