/* brandonray.me — static site. No framework, no build step. */

:root {
  --bg: #0a0c0f;
  --bg-2: #0f1216;
  --surface: #13171c;
  --surface-2: #181d23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef1;
  --text-2: #b5bcc5;
  --muted: #8a939e;
  --accent: #7fdcb0;
  --accent-ink: #062016;
  --accent-soft: rgba(127, 220, 176, 0.12);
  --warm: #f2b46d;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --line: rgba(20, 24, 28, 0.09);
  --line-strong: rgba(20, 24, 28, 0.18);
  --text: #14181c;
  --text-2: #3c444d;
  --muted: #69727c;
  --accent: #157a52;
  --accent-ink: #ffffff;
  --accent-soft: rgba(21, 122, 82, 0.1);
  --warm: #b8661b;
  --shadow: 0 30px 70px -35px rgba(20, 24, 28, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--text); color: var(--bg); font: 700 13px/1 var(--font-mono); letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 14.5px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--line); }
.nav-tools { display: flex; gap: 8px; align-items: center; }
.kbd-btn, .icon-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2);
  font: 500 13px/1 var(--font-sans); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.icon-btn { width: 36px; padding: 0; justify-content: center; }
.kbd-btn:hover, .icon-btn:hover { color: var(--text); border-color: var(--text-2); }
kbd { font: 500 11.5px/1 var(--font-mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 75% 30%, transparent, var(--bg) 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(56px, 9.5vw, 128px); font-weight: 700; letter-spacing: -0.045em; line-height: .92; margin: 26px 0 22px; }
.hero h1 .serif { font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.rotator { font-size: clamp(20px, 2.4vw, 28px); color: var(--text-2); line-height: 1.35; min-height: 2.7em; margin: 0 0 26px; max-width: 30em; }
.nowrap { white-space: nowrap; }
.rotator .word { color: var(--text); font-weight: 600; display: inline-block; border-bottom: 2px solid var(--accent); }
.rotator .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.12em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lede { color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn svg { width: 18px; height: 18px; }

.portrait { position: relative; justify-self: end; width: min(100%, 420px); }
.portrait-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line-strong); transform: rotate(1.5deg); transition: transform .6s var(--ease); }
.portrait:hover .portrait-frame { transform: rotate(0deg) scale(1.01); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait-tag { position: absolute; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 14px; }
.portrait-tag img { width: 30px; height: 30px; border-radius: 8px; }
.portrait-tag b { display: block; font-weight: 650; line-height: 1.2; }
.portrait-tag span { color: var(--muted); font-size: 12.5px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stat { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(6px); padding: 22px 22px 20px; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 56px; align-items: start; }
.section-head .mono { padding-top: 12px; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.035em; max-width: 16em; }
.section-head p { color: var(--muted); margin-top: 18px; max-width: 40em; font-size: 18px; }

/* About */
.story { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.story-text { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: var(--text-2); max-width: 32em; letter-spacing: -0.01em; }
.story-text strong { color: var(--text); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 64px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* Logos marquee */
.marquee { border-block: 1px solid var(--line); padding: 30px 0; overflow: hidden; 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; gap: 72px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 34px; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: .55; transition: opacity .2s; }
:root[data-theme="light"] .marquee img { filter: grayscale(1) brightness(0); opacity: .55; }
.marquee img:hover { opacity: .95; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; margin-bottom: 22px; }

/* Experience timeline */
.timeline { position: relative; display: grid; gap: 14px; }
.role { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.role:first-child { border-top: 0; }
.role-when { color: var(--muted); font: 500 13.5px/1.6 var(--font-mono); }
.role-when .now { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.role-when .now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.role-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.role-logo { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 8px; flex: none; border: 1px solid var(--line); }
.role-logo img { max-height: 100%; width: auto; object-fit: contain; }
.role-logo.is-pixx { display: block; background: #6b7360; padding: 0; overflow: hidden; }
.role-logo.is-pixx img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.role h3 { font-size: 23px; letter-spacing: -0.02em; }
.role .title { color: var(--text-2); font-size: 16px; margin-top: 4px; }
.role-intro { color: var(--text-2); margin-bottom: 14px; max-width: 46em; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.steps li { font: 500 12.5px/1 var(--font-mono); padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.steps li b { color: var(--text-2); font-weight: 600; }
.bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 48em; }
.bullets li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1.5px; background: var(--accent); }
.bullets li.more { display: none; }
.role.open .bullets li.more { display: list-item; }
.more-btn { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--accent); font: 600 14px/1 var(--font-sans); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.more-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.role.open .more-btn svg { transform: rotate(180deg); }

/* Pixx spotlight */
.pixx {
  --p-bg: #f6f1e7; --p-ink: #17140f; --p-sage: #6b7360; --p-muted: #5b574f;
  background: var(--p-bg); color: var(--p-ink); border-radius: 32px; padding: clamp(32px, 6vw, 72px); overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.pixx::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 115, 96, .25), transparent 65%); pointer-events: none; }
.pixx .mono { color: var(--p-sage); }
.pixx-logo { width: 64px; height: 64px; border-radius: 16px; margin: 18px 0 22px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.pixx h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.035em; color: var(--p-ink); }
.pixx h2 .serif { color: var(--p-sage); }
.pixx p { color: var(--p-muted); font-size: 17px; }
.pixx .quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: var(--p-ink); border-left: 3px solid var(--p-sage); padding-left: 18px; margin: 22px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chip { font: 500 13px/1 var(--font-sans); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(23, 20, 15, .14); color: var(--p-ink); background: rgba(255,255,255,.55); }
.pixx .btn-primary { background: var(--p-ink); color: var(--p-bg); }
.pixx .btn-primary:hover { background: var(--p-sage); color: #fff; }
.pixx .btn-ghost { border-color: rgba(23, 20, 15, .2); color: var(--p-ink); }
.phones { position: relative; height: clamp(420px, 48vw, 600px); }
.phone { position: absolute; width: 46%; aspect-ratio: 1206 / 2622; border-radius: 34px; padding: 9px; background: #111; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 1.5px #2a2a2a; will-change: transform; transition: transform .8s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone.p1 { left: 2%; top: 9%; transform: rotate(-7deg); z-index: 1; }
.phone.p2 { left: 27%; top: 0; z-index: 3; }
.phone.p3 { right: 0; top: 11%; transform: rotate(7deg); z-index: 2; }
.phones:hover .p1 { transform: rotate(-10deg) translateX(-12px); }
.phones:hover .p3 { transform: rotate(10deg) translateX(12px); }

/* Projects */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); position: relative; }
.project:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.project-media { display: flex; gap: 12px; padding: 26px 26px 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); height: 250px; overflow: hidden; }
.project-media img { width: 112px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.project:hover .project-media img:nth-child(odd) { transform: translateY(-8px); }
.project-media.barcode { align-items: center; justify-content: center; padding: 0; }
.barcode-art { display: flex; gap: 4px; height: 110px; align-items: stretch; }
.barcode-art i { display: block; background: var(--text); border-radius: 1px; }
.scanline { position: absolute; left: 18%; right: 18%; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: scan 2.6s var(--ease) infinite alternate; top: 72px; }
@keyframes scan { to { top: 176px; } }
.project-body { padding: 24px 26px 26px; }
.project-body h3 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.project-body p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 12px/1 var(--font-mono); padding: 6px 9px; border-radius: 6px; background: var(--line); color: var(--text-2); }
.tag.tag-o0 { background: color-mix(in srgb, #1e88e5 16%, transparent); color: #1e88e5; }
:root[data-theme="dark"] .tag.tag-o0 { color: #64b5f6; }
.arrow { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.project:hover .arrow { transform: translate(3px, -3px); color: var(--accent); }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.skill-group h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text-2); letter-spacing: 0; }
.skill-group .tags { gap: 8px; }
.skill-group .tag { font-size: 12.5px; padding: 7px 10px; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.cred { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: var(--surface); }
.cred img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; }
.cred b { display: block; font-size: 16.5px; }
.cred span { color: var(--muted); font-size: 14.5px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.contact h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.045em; line-height: .95; }
.contact h2 .serif { color: var(--accent); }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text-2); transition: color .2s, padding .3s var(--ease); }
.contact-list a:hover { color: var(--text); padding-left: 10px; }
.contact-list svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 999px; margin-top: 26px; }
.form { border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 34px); background: var(--surface); display: grid; gap: 14px; align-content: start; }
.form label { display: grid; gap: 7px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.form-msg { font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--text); display: none; margin: 0; }
.form-msg.show { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer a:hover { color: var(--text); }

/* Command palette */
.palette-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(5, 7, 9, .55); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh 16px 16px; }
.palette-backdrop.open { display: flex; animation: fadeIn .15s ease; }
.palette { width: min(620px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; animation: pop .2s var(--ease); }
.palette input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font: 500 17px/1 var(--font-sans); padding: 20px 20px; outline: none; }
.palette ul { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.palette li { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 10px; color: var(--text-2); cursor: pointer; font-size: 15px; }
.palette li .hint { margin-left: auto; font: 500 12px/1 var(--font-mono); color: var(--muted); }
.palette li.sel { background: var(--line); color: var(--text); }
.palette li svg { width: 17px; height: 17px; color: var(--muted); }
.palette .empty { padding: 18px; color: var(--muted); font-size: 14.5px; }
.palette-foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 95; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: all .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Project detail page */
.page-hero { padding: 150px 0 40px; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
.back:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.045em; }
.page-hero .lede { font-size: clamp(19px, 2vw, 23px); color: var(--text-2); max-width: 34em; margin-top: 20px; }
.page-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.outcomes { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.outcomes li { background: var(--bg); padding: 18px 20px; display: grid; gap: 4px; }
.outcomes strong { color: var(--text); font-weight: 600; }
.outcomes span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
/* Auto margins center the strip when it fits and collapse to 0 when it scrolls, so nothing is cut off. */
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 10px var(--gutter) 30px; scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery > :first-child { margin-left: auto; }
.gallery > :last-child { margin-right: auto; }
.gallery figure { margin: 0; width: 210px; flex: none; scroll-snap-align: start; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 50px -25px rgba(0,0,0,.6); }
.gallery figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.gallery-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: -10px; margin-bottom: 10px; }
.wide-shot { margin: 10px auto 30px; }
.tablet-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 auto 30px; }
.tablet-pair figure { margin: 0; }
.tablet-pair img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(0,0,0,.7); }
.tablet-pair figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 760px) { .tablet-pair { grid-template-columns: 1fr; } }
.wide-shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(0,0,0,.7); }
.prose { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.prose h2 { font-size: 15px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 500; padding-top: 6px; }
.prose .body { color: var(--text-2); max-width: 44em; }
.prose dl { margin: 0; display: grid; gap: 18px; }
.prose dt { color: var(--text); font-weight: 600; }
.prose dd { margin: 4px 0 0; color: var(--muted); }
.prose .body p + p { margin-top: 14px; }
.prose[id], .demo { scroll-margin-top: 90px; }
.howto { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; }
.howto li { position: relative; padding-left: 46px; counter-increment: step; }
.howto li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--accent); background: var(--accent-soft); }
.howto strong { color: var(--text); font-weight: 600; }
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 20px; padding: 56px 0 100px; border-top: 1px solid var(--line); }
.demo h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; line-height: .98; }
.demo h2 .serif { color: var(--accent); }
.demo p { color: var(--text-2); margin-top: 20px; max-width: 30em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: min(48%, 220px); order: -1; }
  .portrait-frame { aspect-ratio: 1 / 1.15; border-radius: 22px; transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section-head, .story, .role, .prose { grid-template-columns: 1fr; gap: 14px; }
  .pixx { grid-template-columns: 1fr; }
  .projects, .contact, .demo { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 6px; border-radius: 8px; }
  .menu-btn { display: inline-flex; }
  .nav-tools { margin-left: auto; }
  .kbd-btn .label, .kbd-btn kbd { display: none; }
  .kbd-btn { width: 36px; padding: 0; justify-content: center; }
  .cards, .skills, .creds { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .portrait-tag { display: none; }
  .hide-sm { display: none; }
  .hero h1 { margin-top: 20px; }
  .phones { height: 120vw; max-height: 520px; }
  .project-media img { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- v2: no-reflow typewriter, timeline rail, mesh hint, terminal ---------- */
/* The rotating word sits on top of invisible copies of every phrase, so its box is always as wide as the longest one. */
.rot-slot { display: inline-grid; white-space: nowrap; vertical-align: bottom; }
.rot-slot > * { grid-area: 1 / 1; }
.rot-ghosts { display: grid; visibility: hidden; }
.rot-ghosts > span { grid-area: 1 / 1; font-weight: 600; padding-right: 6px; }
.rot-live { justify-self: start; }

.stat span { display: block; max-width: 22em; }
.mesh-hint { margin: 56px 0 0; font-size: 11.5px; opacity: .55; text-align: right; }
.mesh-hint + .stats { margin-top: 12px; }

.timeline { position: relative; }
.rail { position: absolute; left: 236px; top: 34px; bottom: 34px; width: 2px; background: var(--line); border-radius: 2px; }
.rail-fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); border-radius: 2px; box-shadow: 0 0 12px var(--accent); }
.role { position: relative; }
.role::after { content: ""; position: absolute; left: 231px; top: 40px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color .4s, background .4s, box-shadow .4s; }
.role.lit::after { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.role > div:last-child { padding-left: 24px; }

/* Theme switch: circular reveal (browsers with View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Terminal easter egg */
.term-backdrop { position: fixed; inset: 0; z-index: 92; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 7, 9, .6); backdrop-filter: blur(6px); }
.term-backdrop.open { display: flex; animation: fadeIn .15s ease; }
.term { width: min(720px, 100%); height: min(460px, 80vh); display: flex; flex-direction: column; background: #0b0e11; color: #d7dde4; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); overflow: hidden; font: 500 14px/1.6 var(--font-mono); animation: pop .2s var(--ease); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #14181d; border-bottom: 1px solid rgba(255,255,255,.08); }
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.term-title { margin: 0 auto; color: #8a939e; font-size: 12.5px; }
.term-close { background: none; border: 1px solid rgba(255,255,255,.15); color: #8a939e; border-radius: 6px; font: 500 11px/1 var(--font-mono); padding: 4px 6px; cursor: pointer; }
.term-body { flex: 1; overflow: auto; padding: 16px 18px 6px; white-space: pre-wrap; word-break: break-word; }
.term-body .cmd { color: #fff; }
.term-body .cmd::before { content: "~ % "; color: #7fdcb0; }
.term-body .ok { color: #7fdcb0; }
.term-body .err { color: #f2b46d; }
.term-body .dim { color: #8a939e; }
.term-body a { color: #7fdcb0; text-decoration: underline; text-underline-offset: 3px; }
.term-line { display: flex; gap: 10px; padding: 8px 18px 16px; }
.term-prompt { color: #7fdcb0; }
.term-line input { flex: 1; background: transparent; border: 0; outline: none; color: #fff; font: inherit; caret-color: #7fdcb0; }

@media (max-width: 980px) {
  .rail, .role::after { display: none; }
  .role > div:last-child { padding-left: 0; }
  .mesh-hint { display: none; }
  .mesh-hint + .stats { margin-top: 48px; }
}

/* Project art: PlantOps module mosaic and Homestead rent board (pure CSS, no screenshots needed) */
.art-plantops { position: relative; align-items: center; justify-content: center; gap: 22px; padding: 26px; background: radial-gradient(420px 220px at 20% 30%, rgba(255,146,67,.18), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.art-plantops .mark { width: 72px; height: 72px; border: 0; box-shadow: 0 18px 40px -16px rgba(232,98,10,.6); flex: none; transition: transform .5s var(--ease); }
.project:hover .art-plantops .mark { transform: rotate(-6deg) scale(1.05); }
.art-plantops .modules { display: flex; flex-wrap: wrap; gap: 7px; max-width: 300px; }
.art-plantops .modules span { font: 500 12px/1 var(--font-mono); padding: 7px 9px; border-radius: 8px; border: 1px solid rgba(255,146,67,.35); color: var(--text-2); background: rgba(255,146,67,.07); transition: transform .4s var(--ease), background .3s; }
.project:hover .art-plantops .modules span:nth-child(odd) { transform: translateY(-3px); background: rgba(255,146,67,.16); }
.art-homestead { align-items: center; justify-content: center; background: radial-gradient(420px 220px at 80% 20%, rgba(22,163,74,.16), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.board { width: min(330px, 92%); border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-2); padding: 14px; box-shadow: 0 20px 50px -25px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.project:hover .board { transform: translateY(-6px); }
.board-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 12px; }
.board-head img { width: 18px; height: 18px; border: 0; box-shadow: none; border-radius: 0; }
.board-head span { margin-left: auto; font: 500 11.5px/1 var(--font-mono); color: var(--muted); }
.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.units i { font: 600 12px/1 var(--font-mono); font-style: normal; text-align: center; padding: 12px 0; border-radius: 9px; border: 1px solid var(--line); }
.units .paid, .legend .paid::before { background: rgba(22,163,74,.16); color: #4ade80; }
.units .due, .legend .due::before { background: rgba(242,180,109,.16); color: var(--warm); }
.units .late, .legend .late::before { background: rgba(255,107,107,.16); color: #ff8a8a; }
:root[data-theme="light"] .units .paid { color: #15803d; }
:root[data-theme="light"] .units .late { color: #c0392b; }
.units .late { animation: nudge 2.8s ease-in-out infinite; }
@keyframes nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateX(-2px); } 95% { transform: translateX(2px); } }
.legend { display: flex; gap: 12px; margin-top: 12px; font: 500 11px/1 var(--font-mono); color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; background: none !important; color: var(--muted) !important; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; }
.legend .paid::before { background: #22c55e; } .legend .due::before { background: var(--warm); } .legend .late::before { background: #ff6b6b; }

/* Pixx platform diagram */
.platform { margin-top: 16px; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.platform::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(107,115,96,.22), transparent 65%); pointer-events: none; }
.platform-head { position: relative; max-width: 40em; margin-bottom: 34px; }
.platform-head h3 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.035em; margin: 12px 0 10px; }
.platform-head h3 .serif { color: var(--accent); }
.platform-head p { color: var(--muted); margin: 0; }
.stack { position: relative; display: grid; gap: 0; }
.layer { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.layer-name { color: var(--accent); }
.nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.node { font: 500 13.5px/1 var(--font-sans); padding: 10px 13px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); cursor: default; transition: border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s; }
.node:hover, .node:focus { color: var(--text); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px -14px var(--accent); outline: none; }
.conn { position: relative; height: 34px; margin-left: 70px; width: 2px; background: linear-gradient(var(--line-strong), var(--line-strong)); }
.conn i { position: absolute; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flow 1.8s linear infinite; opacity: 0; }
.conn i:nth-child(2) { animation-delay: .6s; } .conn i:nth-child(3) { animation-delay: 1.2s; }
@keyframes flow { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 32px; opacity: 0; } }
.platform-foot { margin: 24px 0 0; color: var(--muted); text-transform: none; letter-spacing: .01em; font-size: 12.5px; }
.tip { margin: 10px 0 0; min-height: 1.5em; color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) {
  .layer { grid-template-columns: 1fr; gap: 10px; }
  .conn { margin-left: 24px; }
  .node { font-size: 13px; padding: 9px 11px; }
}

/* Project screenshots in a minimal browser frame; hover swaps to the second view */
.project-media.shots { display: block; padding: 22px 22px 0; height: 250px; }
.browser { height: 100%; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; background: var(--bg-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.project:hover .browser { transform: translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.browser-bar span { margin-left: 8px; font: 500 11px/1 var(--font-mono); color: var(--muted); }
.browser-view { position: relative; height: calc(100% - 26px); }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 0; border-radius: 0; box-shadow: none; transition: opacity .6s var(--ease); }
.browser-view img.alt { opacity: 0; }
.project:hover .browser-view img.alt, .project:focus-within .browser-view img.alt { opacity: 1; }
.project:hover .project-media.shots img { transform: none; }
.now-part { font: 500 11.5px/1 var(--font-mono); letter-spacing: .03em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 8px; margin-left: 8px; vertical-align: 4px; white-space: nowrap; }

/* Logo strip: extra vertical room so no logo is clipped (Safari clips to the masked box) */
.marquee { padding: 26px 0 32px; overflow-x: clip; overflow-y: visible; }
.marquee-track { padding: 6px 0; }
.marquee img { display: block; flex: none; }

/* Plants I've built for */
.plants { margin-top: 64px; }
.plants-head h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; margin: 12px 0 22px; max-width: 26em; }
.plants-head h3 .serif { color: var(--accent); }
.plant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plant { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.plant:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.plant-emoji { font-size: 24px; line-height: 1; display: inline-block; transform-origin: 50% 80%; }
.plant:hover .plant-emoji { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 25% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg); } 100% { transform: none; } }
.plant b { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--text); }
.plant span:last-child { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) { .plant-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .plant-grid { grid-template-columns: repeat(2, 1fr); } }
/* Safari: images in a max-content flex row ignore the height and scale from max-width:100%; pin the size. */
.marquee img { height: 40px; max-height: 40px; width: auto; max-width: none; flex: 0 0 auto; object-fit: contain; }
.cards > .plants { grid-column: 1 / -1; margin-top: 48px; }

/* Top secret projects: a compact band of sealed files under the side projects */
.classified { margin-top: 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); align-items: center; }
.classified::before { content: ""; position: absolute; inset: -60% auto auto -12%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--warm) 14%, transparent), transparent 65%); pointer-events: none; }
.classified-head { position: relative; }
.classified-head h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 8px; }
.classified-head h3 .serif { color: var(--warm); }
.classified-head p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.classified-head a { color: var(--warm); }
.classified-head a:hover { text-decoration: underline; }
.stamp { display: inline-block; font: 700 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--warm); border: 2px solid currentColor; border-radius: 5px; padding: 7px 10px 6px; transform: rotate(-4deg); opacity: 0; }
.classified.in .stamp { animation: stamp .5s .45s var(--ease) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-4deg) scale(1.7); } 60% { opacity: .9; transform: rotate(-4deg) scale(.96); } 100% { opacity: .9; transform: rotate(-4deg) scale(1); } }
.files { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.file { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); transition: transform .3s var(--ease), border-color .3s; }
.file:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--warm) 45%, transparent); }
.file b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); }
.redact { display: block; }
.redact i { display: block; width: var(--w); height: 13px; border-radius: 2px; background: color-mix(in srgb, var(--text) 82%, transparent); position: relative; overflow: hidden; }
.redact i span { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 6px; font: 700 8.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--surface); opacity: 0; transition: opacity .2s; }
.file:hover .redact i span { opacity: 1; transition-delay: .35s; }
.redact i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--warm) 55%, transparent), transparent); transform: translateX(-100%); }
.file:hover .redact i::after { animation: redact-scan 1.1s var(--ease); }
@keyframes redact-scan { to { transform: translateX(100%); } }
.file-stack { font: 500 11.5px/1.45 var(--font-mono); color: var(--muted); }
.file-stack .nb { white-space: nowrap; }
@media (max-width: 980px) { .classified { grid-template-columns: 1fr; align-items: start; } .classified-head { max-width: 40em; } }
@media (max-width: 560px) { .files { grid-template-columns: repeat(2, minmax(0, 1fr)); } .file { padding: 11px 12px; } }
@media (prefers-reduced-motion: reduce) { .stamp { opacity: .9; } }
@media (max-width: 480px) { .outcomes { grid-template-columns: 1fr; } }
.wide-shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.phone-row { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 40px; align-items: center; margin: 20px auto 40px; }
.phone-row figure { margin: 0; }
.phone-row img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(0,0,0,.7); }
.phone-row figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.phone-row .prose { margin: 0; }
@media (max-width: 760px) { .phone-row { grid-template-columns: 1fr; } .phone-row figure { max-width: 300px; margin: 0 auto; } }
.phone-row .prose { display: block; border: 0; padding: 0; } .phone-row .prose h2 { margin-bottom: 12px; }
