/* Fonts, self-hosted: General Sans (Fontshare, ITF Free Font License) and Geist Mono (SIL OFL). */
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
  --paper: #121714;      /* page */
  --panel: #18201b;      /* stages behind screenshots */
  --card: #1c241f;       /* raised */
  --ink: #e4e8de;        /* text */
  --ink-soft: #9ba79e;
  --edge: #3b4840;       /* frames and borders */
  --rule: #29332d;       /* dividers */
  --grid: rgba(228, 232, 222, .055);  /* blueprint grid lines */
  --green: #1d3326;
  --lime: #cfe76c;
  --on-lime: #141a15;
  --drop: #050806;       /* hard offset shadows */
  --wrapw: min(1160px, 100vw - 2rem);
  --gutter: calc((100vw - var(--wrapw)) / 2);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --z-header: 20; --z-skip: 30; --z-grain: 40;
}
@media (min-width: 740px) { :root { --wrapw: min(1160px, 100vw - clamp(3rem, 9vw, 8rem)); } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
/* Film grain: breaks the flat digital look. Fixed, never intercepts clicks. */
body::after { content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
em { font-style: normal; color: var(--lime); }
.wrap { width: var(--wrapw); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--lime); color: var(--on-lime); padding: .5rem 1rem; z-index: var(--z-skip); }
.skip:focus { left: .5rem; }

/* Reveal on scroll. Visible by default; .js (set in <head>) arms the fade. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) calc(var(--d, 0) * 90ms), transform .7s var(--ease) calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Header */
.masthead { position: sticky; top: 0; z-index: var(--z-header); background: rgba(18, 23, 20, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
nav { display: flex; gap: clamp(.8rem, 2.5vw, 1.8rem); align-items: center; font: 400 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.nav-cta { border: 1px solid var(--lime); padding: .4rem .8rem; background: var(--lime); color: var(--on-lime); transition: background-color .15s; }
.nav-cta:hover { text-decoration: none; background: #e2f39a; }

/* Type */
.label { font: 400 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.num, .idx { color: var(--lime); margin-right: .6rem; font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(3.3rem, 11vw, 9.6rem); font-weight: 300; line-height: .94; letter-spacing: -.045em; margin-block: 1.2rem 0; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }

/* Hero */
.hero { position: relative; overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 85% 75% at 25% 15%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 85% 75% at 25% 15%, #000 15%, transparent 75%); }
.hero-in { position: relative; padding-top: clamp(3rem, 8vw, 6.5rem); }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(2.2rem, 5vw, 3.8rem); padding-bottom: clamp(2.8rem, 6vw, 5rem); }
.intro { max-width: 30rem; font-size: 1.13rem; margin-bottom: 1.7rem; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.1rem; background: var(--lime); color: var(--on-lime); border: 1px solid var(--lime); text-decoration: none; font: 400 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; text-align: center; transition: transform .12s, background-color .15s, filter .15s; }
.button:hover { filter: brightness(1.06); }
.button:active { transform: translateY(1px) scale(.99); }
@media (prefers-reduced-motion: reduce) { .button:active { transform: none; } }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--edge); }
.button.ghost:hover { background: var(--card); filter: none; }
/* The screenshot bleeds off the right edge of the page. */
.hero-shot { margin-right: calc(var(--gutter) * -1); }
.mockup { background: var(--card); border: 1px solid var(--edge); border-right: 0; overflow: hidden; box-shadow: -14px 14px 0 var(--green); }
.chrome { display: flex; gap: 5px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--edge); font-size: .75rem; }
.chrome i { width: 7px; height: 7px; border: 1px solid var(--ink-soft); border-radius: 100%; }
.chrome span { margin-left: .6rem; color: var(--ink-soft); }
figcaption { padding-top: 1rem; font: 400 .72rem var(--mono); letter-spacing: .06em; color: var(--ink-soft); }

/* The level (spirit-level vial). --bub is set from scroll in script; 0 means dead center. */
.vial { position: relative; height: 3.5rem; border: 1px solid var(--edge); background-color: var(--panel); background-image: repeating-linear-gradient(90deg, var(--edge) 0 1px, transparent 1px 2.5%); background-size: 100% 26%; background-repeat: no-repeat; background-position: bottom; overflow: hidden; }
.vial::before, .vial::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--lime); opacity: .6; }
.vial::before { left: 39%; }
.vial::after { left: 61%; }
.vial.tall { height: clamp(4.5rem, 9vw, 7rem); }
.bubble { position: absolute; left: 50%; top: 14%; width: 22%; height: 72%; border-radius: 50%; border: 1px solid var(--lime); background: rgba(207, 231, 108, .14); transform: translateX(calc(-50% + var(--bub, 0) * 1%)); will-change: transform; }
.bubble::after { content: ""; position: absolute; left: 14%; top: 16%; width: 30%; height: 22%; border-radius: 50%; background: var(--lime); opacity: .4; }

/* Spec sheet, under the intro */
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 2.4rem; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.specs li { padding: 1rem 1rem 1.1rem 0; }
.specs li:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.specs li:nth-child(n+3) { border-top: 1px solid var(--rule); }
.specs strong { display: block; margin-top: .3rem; font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }

/* Work */
.work { border-top: 1px solid var(--rule); padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.project .kicker { font: 400 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem; }
.project h3 { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; }
.project p { color: var(--ink); text-wrap: pretty; }
.project .stack { font: 400 .74rem/1.7 var(--mono); letter-spacing: .04em; color: var(--ink-soft); margin: 1.1rem 0 1.2rem; }
.status { font: 400 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--edge); padding: .1rem .45rem; background: var(--card); }
.shot { display: block; border: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
a.shot:hover img, .shot a:hover img { transform: scale(1.025); }
.link { font-weight: 500; text-decoration-thickness: 2px; text-decoration-color: var(--lime); transition: text-decoration-color .15s; }
.link:hover { text-decoration-color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(4.5rem, 10vw, 8rem); }
.feature h3 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.feature p { font-size: 1.05rem; max-width: 36rem; }
.feature.flip .shot-stack, .feature.flip .phone-stage { order: 2; }

/* Smaller projects: unequal columns, second column drops lower. */
.grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4.5rem); align-items: start; }
.card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -.03em; }
.card .shot, .card .deck { margin-bottom: 1.4rem; }
.card:nth-child(even) { margin-top: clamp(3rem, 8vw, 7rem); }
.card:nth-child(even) .shot { aspect-ratio: 4 / 5; }
.card:nth-child(even) .shot img { height: 100%; aspect-ratio: auto; object-position: 16% 50%; }
.card:nth-child(even) .gh-card { aspect-ratio: 1; }
.terminal { background: #0b100d; color: #cfe3c4; padding: 1.2rem 1.3rem; aspect-ratio: 16 / 10; display: flex; align-items: center; }
.terminal pre { margin: 0; font: .85rem/1.7 var(--mono); white-space: pre-wrap; }
.terminal span { color: var(--lime); }
.terminal b { color: #f0a36b; font-weight: 600; }
.terminal em { color: var(--lime); font-style: normal; }

/* Logo mosaic: one big, a few small, one wide. */
.logos { margin-top: clamp(5rem, 11vw, 9rem); }
.logos-head { margin-bottom: 1.6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.6rem; }
.logos h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -.03em; }
.logos-note { color: var(--ink-soft); }
.logos ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 22vw, 280px); gap: .5rem; }
.logos li { position: relative; overflow: hidden; background: var(--card); }
.logos li.big { grid-column: span 2; grid-row: span 2; }
.logos li.wide { grid-column: span 2; }
.logos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.logos li:hover img { transform: scale(1.04); }
.logos span { position: absolute; left: .5rem; bottom: .5rem; padding: .22rem .5rem; background: rgba(5, 8, 6, .84); font: 400 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* The name: one big statement and a level that reacts to scrolling. */
.standard { border-top: 1px solid var(--rule); padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
.standard h2 { margin-top: 1.2rem; max-width: 19ch; font-size: clamp(2.3rem, 5.8vw, 5.2rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; }
.standard .wrap + .wrap { margin-top: clamp(3rem, 7vw, 5.5rem); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--rule); align-items: start; }
.services-head { position: sticky; top: 6rem; display: grid; gap: .9rem; }
.price { margin-top: 1.4rem; }
.price .from { display: block; max-width: 21rem; color: var(--ink-soft); }
.price strong { display: block; margin-top: .3rem; font: 300 clamp(4rem, 9vw, 7rem)/.95 var(--sans); letter-spacing: -.055em; color: var(--lime); font-variant-numeric: tabular-nums; }
.price small { margin-left: .5rem; font: 400 .85rem var(--mono); letter-spacing: .06em; color: var(--ink-soft); }
.fine { font-size: .8rem; color: var(--ink-soft); max-width: 22rem; }
dl { margin: 0; counter-reset: svc; border-top: 1px solid var(--rule); }
dl div { counter-increment: svc; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) minmax(0, 1.6fr); gap: .5rem 1rem; align-items: baseline; border-bottom: 1px solid var(--rule); padding-block: 1.6rem; transition: background-color .25s, padding-left .25s var(--ease); }
dl div::before { content: counter(svc, decimal-leading-zero); font: 400 .72rem var(--mono); letter-spacing: .1em; color: var(--lime); }
dl div:hover { background: linear-gradient(90deg, var(--card), transparent 85%); padding-left: .6rem; }
dt { font-size: 1.45rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
dd { margin: 0; color: var(--ink-soft); text-wrap: pretty; }

/* About */
.about { background: var(--panel); border-top: 1px solid var(--rule); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(4rem, 9vw, 7rem); }
.about h2 { margin-block: .9rem 1.4rem; }
.about-inner > div:first-child p:not(.label) { font-size: 1.08rem; max-width: 34rem; text-wrap: pretty; }
.about-inner > div:first-child p + p { margin-top: 1rem; }
.resume h3 { font: 400 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .6rem; display: block; }
.resume h3:not(:first-child) { margin-top: 1.8rem; }
.resume ul { list-style: none; padding: 0; margin: 0; }
.resume li strong { font-weight: 500; }
.resume li { display: grid; gap: .1rem; padding-block: .7rem; border-bottom: 1px solid var(--rule); }
.resume li span { color: var(--ink-soft); font-size: .95rem; }
.toolbox { line-height: 1.8; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--green); }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(207, 231, 108, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 231, 108, .07) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 100% at 90% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 100% at 90% 100%, #000, transparent 70%); }
.contact-inner { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.contact .label { color: #a9bfae; }
.contact h2 { margin-top: 1rem; max-width: 13ch; font-size: clamp(2.6rem, 7.4vw, 6.4rem); font-weight: 300; letter-spacing: -.045em; line-height: .98; }
.contact-copy { max-width: 44ch; margin-top: 1.5rem; text-wrap: pretty; }
.contact-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; margin-top: 2.4rem; }
.mail { font: 300 clamp(1.5rem, 3.6vw, 2.7rem)/1.1 var(--sans); letter-spacing: -.03em; color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: .22em; overflow-wrap: anywhere; }
.mail:hover { color: #e2f39a; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.3rem; font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero-row, .feature, .services, .about-inner, .grid { grid-template-columns: 1fr; }
  .hero-shot { margin-right: 0; }
  .mockup { border-right: 1px solid var(--edge); box-shadow: -8px 8px 0 var(--green); }
  .feature.flip .shot-stack, .feature.flip .phone-stage { order: 0; }
  .card:nth-child(even) { margin-top: 0; }
  .card:nth-child(even) .shot { aspect-ratio: 16 / 10; }
  .services-head { position: static; }
  .logos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  nav { width: 100%; justify-content: space-between; }
  dl div { grid-template-columns: 2.2rem minmax(0, 1fr); }
  dl dd { grid-column: 2; }
  .vial { height: 2.8rem; }
}

/* Games: main shot with a smaller inset */
.shot-stack { position: relative; padding-bottom: 14%; }
.shot-stack .inset { position: absolute; right: -4%; bottom: 0; width: 52%; box-shadow: -6px -6px 0 var(--paper); }
@media (max-width: 900px) { .shot-stack .inset { right: 0; } }
.shot-stack .inset img { aspect-ratio: 960 / 620; }

/* GitHub card */
.gh-card { aspect-ratio: 16 / 10; background: var(--green); color: var(--ink); border: 1px solid var(--edge); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.2rem, 3vw, 2rem); text-decoration: none; margin-bottom: 1.4rem; }
.gh-handle { font: 400 clamp(1.1rem, 2.4vw, 1.6rem)/1.2 var(--mono); }
.gh-handle b { color: var(--lime); }
.gh-lines { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.gh-lines i { aspect-ratio: 1; background: var(--lime); opacity: .25; transition: opacity .3s; }
.gh-lines i:nth-child(3n) { opacity: .55; } .gh-lines i:nth-child(5n) { opacity: .9; } .gh-lines i:nth-child(7n+2) { opacity: .1; }
.gh-card:hover .gh-lines i { opacity: .8; }

/* Phone mockup */
.phone-stage { display: flex; align-items: center; justify-content: center; gap: 2rem; background: var(--panel); border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.5rem); text-decoration: none; }
.phone { width: min(230px, 55%); border: 7px solid #050806; border-radius: 26px; overflow: hidden; background: #050806; box-shadow: 0 0 0 1px var(--edge), 8px 8px 0 var(--green); flex-shrink: 0; }
.phone img { width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.stage-note { max-width: 12rem; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 520px) { .stage-note { display: none; } }

/* Pavlos Prints card deck */
.deck-cards { list-style: none; margin: 0; padding: 0; position: relative; aspect-ratio: 16 / 10; background: var(--panel); border: 1px solid var(--rule); overflow: hidden; cursor: pointer; }
.deck-cards li { --i: 0; position: absolute; top: 6%; left: 50%; height: 88%; aspect-ratio: 1; border: 6px solid #e9ecdf; outline: 1px solid var(--drop); box-shadow: 0 10px 20px -12px rgba(0,0,0,.6); transform: translateX(-50%) rotate(calc((var(--i) - 1) * 2.4deg)) translateY(calc(var(--i) * 2px)); transition: transform .45s cubic-bezier(.3,.7,.3,1), opacity .45s; }
.deck-cards li:first-child { transform: translateX(-50%) rotate(-1deg); }
.deck-cards li:nth-child(n+5) { opacity: 0; }
.deck-cards li img { width: 100%; height: 100%; object-fit: cover; }
.deck-cards li.fly { transform: translateX(80%) rotate(16deg); opacity: 0; }
.deck-ui { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; }
.deck-next { font: 400 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--on-lime); border: 1px solid var(--lime); padding: .35rem .8rem; cursor: pointer; transition: background-color .15s; }
.deck-next:hover { background: #e2f39a; }
.deck-cap { font: 400 .72rem var(--mono); letter-spacing: .06em; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .deck-cards li { transition: none; } }

/* Logo B: "DEAD [vial] LEVEL" bar, inline SVG in currentColor */
.brand { color: var(--lime); }
.logo { display: block; height: 1.9rem; width: auto; }
@media (max-width: 640px) { .logo { height: 1.65rem; } }

/* Chips (shared by the home teaser and /ai) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--edge); background: var(--card); padding: .42rem .75rem; font: 400 .74rem var(--mono); letter-spacing: .06em; }

/* Home: AI Services teaser */
.ai-teaser { border-top: 1px solid var(--rule); position: relative; overflow: hidden; }
.ai-teaser::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--grid) 1.5px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000, transparent 70%); }
.ai-teaser-in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; padding-block: clamp(4rem, 9vw, 7rem); }
.ai-teaser h2 { margin-block: .9rem 1.3rem; max-width: 14ch; }
.ai-teaser-copy { max-width: 34rem; font-size: 1.08rem; text-wrap: pretty; }
.ai-teaser-side { display: grid; gap: 1.6rem; justify-items: start; }
.ai-teaser-price strong { display: block; font: 300 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--sans); letter-spacing: -.045em; color: var(--lime); }
.ai-teaser-price span { display: block; margin-top: .4rem; font: 400 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 900px) { .ai-teaser-in { grid-template-columns: 1fr; align-items: start; } }
