/* Hallmark · shape: Bento Grid (draw 2884e2) · genre: modern-minimal · theme: Console (deal 3/3, seed freelance-web-developer-websites-d005·d6415bd6·2026-11-23·r0) · redesign: full
 * hero: Index · nav: edge-aligned · footer: mast (swapped from index columns: no sitemap) · imagery: screenshots 3 (capture.mjs) · signature: the sites she runs, listed as the hero with the live screenshot on the lead row · console: graphite
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, a freelancer page argues little; led with the record of sites kept running instead of a pitch */
/* Hallmark · dropped #prosessi, #ukk · the sections stay on the page; the edge-aligned nav keeps two links and one action */
/* Hallmark · dropped "4+", "03:00" · the four sites are now listed in the hero; the status card was a drawn window (47a) */
/* Hallmark · reworded section heads and cut card bullets to fit the 450-word budget (58) and drop eyebrows (54); every fact and price kept */
/* Hallmark · waive 44c · the site list with the live screenshot reaches 875px of 900 at 1440x900 · Index posture: the list is the visual and the text column is centred on it */
/* Hallmark · waive 79 · the site list with the live screenshot reaches 875px of 900 at 1440x900 · the text foot sits higher because it is centred on the taller list */
@import url("./tokens.css");
@import url("./base.css");

.skip { position: absolute; top: var(--space-xs); left: var(--space-sm); z-index: var(--z-toast); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }
.skip:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 44px; padding: var(--space-sm) var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill);
  background: var(--color-paper-2); color: var(--color-ink);
  font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.btn:hover { border-color: var(--color-ink-2); }
.btn:active { background: var(--color-paper-3); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); }
.btn--primary:active { background: var(--color-ink-2); }
.text-link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-2); font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.text-link:hover { color: var(--color-accent); }
.text-link:focus-visible, .wordmark:focus-visible, .nav-links a:focus-visible, .contact-mail a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.lang {
  min-height: 44px; min-width: 44px; padding: var(--space-xs) var(--space-sm);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill);
  background: transparent; color: var(--color-muted); font-weight: 500; cursor: pointer;
  transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.lang:hover { color: var(--color-ink); border-color: var(--color-rule-2); }
.lang:active { background: var(--color-paper-3); }
.lang:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }

/* Nav: edge-aligned */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { white-space: nowrap; font-weight: 500; font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links > a:not(.btn) { color: var(--color-muted); text-decoration: none; font-weight: 500; transition: color var(--dur-short) var(--ease-out); }
.nav-links > a:not(.btn):hover, .nav-links > a.active { color: var(--color-ink); }
@media (max-width: 48rem) { .nav-links > a:not(.btn) { display: none; } .nav-links { gap: var(--space-sm); } }
@media (max-width: 26rem) { .wordmark { font-size: var(--text-md); } .nav-links .btn { padding-inline: var(--space-sm); } }

/* Hero: Index */
.hero { min-height: calc(100svh - 73px); display: grid; align-content: center; padding-block: var(--space-xl); }
@media (max-width: 60rem) { .hero { min-height: 0; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: var(--text-display-s); max-width: 12ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (max-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

.panels { display: grid; gap: var(--rule-hair); color: var(--color-ink); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.panels > * { background: var(--color-paper-2); color: var(--color-ink); }

.index-cells { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 2fr); gap: var(--space-md); align-items: baseline; }

.index-row { padding: var(--space-md) var(--space-lg); }
.index-row .site { font-size: var(--text-lg); max-width: none; letter-spacing: -0.01em; }
.index-row .role { color: var(--color-muted); }
.index-row--lead { display: grid; gap: var(--space-md); padding-block: var(--space-lg); }
.index-row--lead .site { font-size: var(--text-2xl); }
.measured { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-cool); text-align: right; }
@media (max-width: 40rem) {
  .index-head { display: none; }
  .index-cells { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .index-cells .measured { text-align: left; }
  .index-row--lead .site { font-size: var(--text-xl); }
}

/* Screenshots: product pictures, full colour, hairline edge */
.shot { margin: 0; border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule); }
.shot[data-kind="product"] > img { filter: none; mix-blend-mode: normal; object-position: top center; }
.shot[data-kind="product"]::before { content: none; }
.index-row--lead .shot { aspect-ratio: 16 / 10; }
.shot--phone { aspect-ratio: 390 / 844; width: 100%; max-width: 340px; justify-self: end; }
.shot--crop { aspect-ratio: 16 / 4.2; }  /* crops above the old contact address on the captured page */

/* Sections */
.section { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }

/* Case: one site opened */
.case-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.case-facts { margin: var(--space-xl) 0 0; display: grid; gap: var(--space-lg); }
.case-facts dt { color: var(--color-accent); font-weight: 500; font-size: var(--text-sm); }
.case-facts dd { margin: var(--space-2xs) 0 0; color: var(--color-ink-2); max-width: 52ch; }
.reading { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.reading-value { font-family: var(--font-outlier); font-size: var(--text-display); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums slashed-zero; }
.reading-label { margin-top: var(--space-sm); color: var(--color-cool); }
@media (max-width: 60rem) { .case-grid { grid-template-columns: minmax(0, 1fr); } .shot--phone { justify-self: start; max-width: 280px; } }

/* Prices: head beside rows */
.prices-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); }
.prices-head p { margin-top: var(--space-md); color: var(--color-muted); max-width: 32ch; }
.price-rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.price-rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.price-rows h3 { font-size: var(--text-title); font-variant-numeric: tabular-nums; }
.price-rows p { color: var(--color-muted); }
.price-rows .price { color: var(--color-ink); font-size: var(--text-2xl); font-weight: 500; letter-spacing: var(--tracking-display); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0; }
@media (max-width: 60rem) {
  .prices-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .price-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .price-rows li p:not(.price) { grid-column: 1 / -1; grid-row: 2; }
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile { margin: 0; padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); display: flex; flex-direction: column; gap: var(--space-md); }
.tile p { color: var(--color-muted); }
.tile--lead { grid-column: span 7; min-height: 300px; justify-content: flex-end; }
.tile--lead h2 { font-size: var(--text-section); }
.tile--lead p { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 44ch; }
.tile--where { grid-column: span 5; }
.where-big { color: var(--color-ink) !important; font-size: var(--text-3xl); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.05; }
.tile--steps { grid-column: span 5; }
.tile--shot { grid-column: span 7; padding: var(--space-md); }
.tile--shot figcaption { color: var(--color-muted); font-size: var(--text-sm); }
.tile--tool { grid-column: span 12; flex-direction: row; align-items: baseline; gap: var(--space-2xl); }
.tile--tool h3 { flex: 0 0 auto; }
.steps { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-sm); color: var(--color-ink-2); }
.steps li::marker { color: var(--color-accent); font-weight: 500; }
@media (max-width: 60rem) {
  .bento > * { grid-column: 1 / -1; }
  .tile--tool { flex-direction: column; gap: var(--space-md); }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); }
.faq-list { border-top: var(--rule-hair) solid var(--color-rule-2); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { cursor: pointer; list-style: none; padding-block: var(--space-lg); padding-right: var(--space-xl); position: relative; font-size: var(--text-title); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: var(--space-lg); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-muted); }
@media (max-width: 60rem) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

/* Contact close */
.contact { padding-block: var(--section-gap-s); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: end; }
.contact h2 { font-size: var(--text-display-s); }
.contact-card { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.contact-cell { padding: var(--space-xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.contact-label { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.contact-mail { white-space: nowrap; font-size: clamp(1.125rem, 3.4vw + 0.25rem, 1.5625rem); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-mail a { text-decoration: underline; text-decoration-color: var(--color-rule-2); transition: color var(--dur-short) var(--ease-out); }
.contact-mail a:hover { color: var(--color-accent); }
@media (max-width: 60rem) { .contact-grid, .contact-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .contact-cell { padding: var(--space-lg) var(--space-md); } }

/* Footer: mast */
.footer { padding-block: var(--space-2xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer-mast { font-size: var(--text-display); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--color-ink-2); overflow-wrap: break-word; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }

/* Subpages: projects and CV */
.page-head { padding-block: var(--space-3xl) var(--space-2xl); }
.page-head h1 { font-size: var(--text-display-s); }
.page-head .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 62ch; }
.group-title { font-size: var(--text-section); margin-bottom: var(--space-xl); }
.projects { display: grid; gap: var(--gap-columns); }
.projects--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project { padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.project--shot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.project--shot .shot { aspect-ratio: 16 / 10; overflow: hidden; }
.project--shot .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); }
.project h2 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
.project-role { color: var(--color-accent); font-weight: 500; font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: baseline; }
.project-body { color: var(--color-ink-2); max-width: 56ch; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.tags li { padding: var(--space-3xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); }
.cv-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); }
.cv-grid > h2 { font-size: var(--text-section); }
.cv-rows { border-top: var(--rule-hair) solid var(--color-rule-2); }
.cv-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); align-items: baseline; }
.cv-row .measured { text-align: left; }
.cv-row h3 { font-size: var(--text-title); }
.cv-row p:not(.measured):not(.cv-key) { color: var(--color-ink-2); }
.cv-key { color: var(--color-muted); font-weight: 500; }
.cv-list { margin: var(--space-sm) 0 0; padding-left: var(--space-lg); display: grid; gap: var(--space-2xs); color: var(--color-ink-2); }
.cv-list li::marker { color: var(--color-accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (max-width: 60rem) {
  .projects--grid, .project--shot, .cv-grid { grid-template-columns: minmax(0, 1fr); }
  .cv-grid { gap: var(--space-lg); }
  .project--shot { gap: var(--space-lg); }
}
@media (max-width: 40rem) { .cv-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } .project { padding: var(--space-lg); } }

/* Portrait in the about tile */
.tile--portrait { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: var(--space-xl); row-gap: var(--space-md); align-content: end; }
.tile--portrait .portrait { grid-row: 1 / span 2; align-self: end; width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); border: var(--rule-hair) solid var(--color-rule); }
.tile--portrait h2 { align-self: end; }
@media (max-width: 40rem) { .tile--portrait { grid-template-columns: minmax(0, 1fr); } .tile--portrait .portrait { grid-row: auto; width: 140px; } }

/* ============ FX layer: atmosphere, motion, hover light ============ */
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }

/* Atmosphere: two slow glows and a faint grid behind everything */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
body::before {
  z-index: -2;
  background:
    radial-gradient(55vmax 55vmax at 88% -8%, color-mix(in oklab, var(--color-accent) 20%, transparent), transparent 62%),
    radial-gradient(48vmax 48vmax at -12% 38%, color-mix(in oklab, var(--color-cool) 17%, transparent), transparent 62%),
    radial-gradient(40vmax 40vmax at 60% 110%, color-mix(in oklab, var(--color-accent) 10%, transparent), transparent 60%);
  animation: fx-drift 22s var(--ease-in-out) infinite alternate;
}
body::after {
  z-index: -1;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--color-ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--color-ink) 5%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}
@keyframes fx-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2.5%, 0) scale(1.08); } }

/* Scroll progress line (browsers with scroll timelines) */
@supports (animation-timeline: scroll()) {
  .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, var(--color-accent), var(--color-cool)); animation: fx-progress linear both; animation-timeline: scroll(root); }
  @keyframes fx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Glass nav */
.nav { background: color-mix(in oklab, var(--color-paper) 68%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.wordmark { transition: color var(--dur-short) var(--ease-out); }
.wordmark:hover { color: var(--color-accent); }

/* Hero */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), color-mix(in oklab, var(--color-accent) 13%, transparent), transparent 65%); }
.hero.lit::before { opacity: 1; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw + 0.6rem, 4.6rem); max-width: 11ch; }
.glow-text { background: linear-gradient(100deg, var(--color-accent) 0%, oklch(88% 0.12 60) 35%, var(--color-cool) 70%, var(--color-accent) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-shimmer 7s linear infinite; }
@keyframes fx-shimmer { to { background-position: -220% 0; } }
.prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5ch; min-height: 1.6em; margin-bottom: var(--space-lg); font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.prompt-user { color: var(--color-ok); }
.prompt-path { color: var(--color-cool); }
.prompt-cmd { color: var(--color-ink); }
.caret { display: inline-block; width: 0.6ch; height: 1.15em; background: var(--color-accent); animation: fx-blink 1.1s steps(1) infinite; }
@keyframes fx-blink { 50% { opacity: 0; } }

/* Tech marquee */
.marquee { overflow: hidden; border-block: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-lg); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: var(--space-2xl); padding-right: var(--space-2xl); animation: fx-marquee 38s linear infinite; font-family: var(--font-outlier); font-size: var(--text-lg); color: var(--color-muted); white-space: nowrap; }
.marquee-track span:nth-child(3n + 1) { color: var(--color-ink); }
.marquee-track span:nth-child(5n + 2) { color: var(--color-accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }

/* Cards: light follows the pointer */
.project, .tile, .index-row, .price-rows li, .contact-cell { position: relative; }
.project, .tile { transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); background: color-mix(in oklab, var(--color-paper-2) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project::after, .tile::after, .index-row::after, .contact-cell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), color-mix(in oklab, var(--color-accent) 15%, transparent), transparent 65%); }
.project:hover::after, .tile:hover::after, .index-row:hover::after, .contact-cell:hover::after { opacity: 1; }
.project:hover, .tile:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--color-accent) 55%, var(--color-rule)); box-shadow: 0 24px 60px -30px color-mix(in oklab, var(--color-accent) 55%, transparent); }
.project > *, .tile > * { position: relative; z-index: 1; }
.shot { overflow: hidden; }
.shot img { transition: transform 900ms var(--ease-out); }
.project:hover .shot img, .index-row--lead:hover .shot img, .tile--shot:hover .shot img, .case .shot:hover img { transform: scale(1.035); }
.project h2 { transition: color var(--dur-short) var(--ease-out); }
.project:hover h2 { color: var(--color-accent); }
.tags li { transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.project:hover .tags li { color: var(--color-ink-2); border-color: color-mix(in oklab, var(--color-accent) 40%, var(--color-rule-2)); }
.price-rows li { transition: padding-left var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out); }
.price-rows li:hover { padding-left: var(--space-md); background: color-mix(in oklab, var(--color-accent) 5%, transparent); }
.price-rows li:hover .price { color: var(--color-accent); }

/* Buttons */
.btn { transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--primary { box-shadow: 0 10px 34px -14px var(--color-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px var(--color-accent); }
.btn--primary:active { transform: translateY(0); }

/* Big number, portrait, headings */
.reading-value { background: linear-gradient(180deg, var(--color-ink) 30%, var(--color-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile--portrait .portrait { box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 45%, transparent), 0 26px 60px -24px color-mix(in oklab, var(--color-accent) 60%, transparent); transition: transform var(--dur-long) var(--ease-out); }
.tile--portrait:hover .portrait { transform: rotate(-2deg) scale(1.03); }
.page-head { position: relative; }
.page-head h1 { font-size: var(--text-display); background: linear-gradient(180deg, var(--color-ink) 35%, color-mix(in oklab, var(--color-accent) 80%, var(--color-ink))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.group-title::before, .cv-grid > h2::before { content: "// "; font-family: var(--font-outlier); font-size: 0.5em; vertical-align: middle; color: var(--color-accent); letter-spacing: 0; }

/* Contact and footer */
.contact { background: linear-gradient(180deg, color-mix(in oklab, var(--color-paper-3) 80%, transparent), var(--color-paper-3)); }
.footer-mast { background: linear-gradient(180deg, var(--color-ink-2) 0%, color-mix(in oklab, var(--color-accent) 70%, transparent) 70%, transparent 108%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(3rem, 11vw, 11rem); padding-bottom: 0.1em; }

/* Scroll reveal (only when script runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .project.reveal.in:hover, .js .tile.reveal.in:hover { transform: translateY(-4px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  body::before, .glow-text, .marquee-track, .caret { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hosting plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; }
.plan { gap: var(--space-md); align-items: flex-start; }
.plan h2 { font-size: var(--text-2xl); }
.plan-tag { color: var(--color-muted); min-height: 3em; }
.plan-price { font-size: var(--text-display-s); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink) !important; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0; }
.plan-list { list-style: none; margin: var(--space-sm) 0 var(--space-md); padding: 0; display: grid; gap: var(--space-sm); color: var(--color-ink-2); flex: 1; }
.plan-list li { padding-left: 1.6em; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-ok); font-family: var(--font-outlier); }
.plan .btn { align-self: stretch; }
.plan--featured { border-color: color-mix(in oklab, var(--color-accent) 60%, var(--color-rule)); box-shadow: 0 30px 70px -40px var(--color-accent); }
.plan--featured .plan-price { color: var(--color-accent) !important; }
.plan-badge { align-self: flex-start; padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent) !important; font-family: var(--font-outlier); font-size: var(--text-xs); }
.plans-note { margin-top: var(--space-xl); color: var(--color-muted); max-width: 70ch; }
@media (max-width: 60rem) { .plans { grid-template-columns: minmax(0, 1fr); } .plan-tag { min-height: 0; } }
