:root {
  --bg: #f5fafa;
  --surface: #ffffff;
  --surface-2: #eaf5f5;
  --line: #d2e2e4;
  --line-strong: #9fb7bb;
  --text: #13233a;
  --muted: #4b5b6c;
  --accent: #ef4b50;        /* coral: fills and large display text */
  --accent-ink: #c4343b;    /* darker coral: small text and links on light backgrounds */
  --accent-soft: rgba(239, 75, 80, .10);
  --pink: #ffd6d1;
  --cyan: #3fe6dd;          /* decorative fills only */
  --cyan-ink: #0a7672;      /* readable cyan for text */
  --cyan-soft: #d9f7f5;
  --font-main: Montserrat, system-ui, sans-serif;
  --font-body: Roboto, system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --max: 1180px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pink); color: var(--text); }

html[data-lang="es"] .en, html[data-lang="en"] .es { display: none !important; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--font-main); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 250, 250, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-main); font-weight: 600; font-size: 17px; }
.brand-mark { display: flex; align-items: center; gap: 2px; height: 22px; }
.brand-mark i { display: block; width: 3px; border-radius: 2px; background: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--font-main); font-weight: 500; text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 36px; }
.menu-btn span { display: block; width: 16px; height: 2px; background: var(--text); margin: 3px auto; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan-ink); font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; margin: 20px 0 18px; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { font-family: var(--font-main);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn.primary { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn.primary:hover { background: #a92a31; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 13px; }

.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 3px; opacity: .45; pointer-events: none; padding-inline: 8px; }
.wave i { flex: 1; background: linear-gradient(to top, var(--cyan), transparent); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: pulse 1.8s ease-in-out infinite alternate; }
@keyframes pulse { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* Video (click-to-load) */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #000 center / cover no-repeat; padding: 0;
}
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); transition: opacity .2s; }
.video .play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s;
}
.video .play svg { width: 24px; height: 24px; margin-left: 4px; fill: #fff; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video .video-label { position: absolute; z-index: 1; left: 16px; bottom: 14px; font-size: 12px; color: #fff; text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.loaded::after { opacity: 0; }
.hero-video { box-shadow: 0 30px 70px -30px rgba(10, 118, 114, .45); }

/* Sections */
section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin-top: 10px; }
.section-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; }
.kicker { color: var(--accent-ink); font-weight: 500; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Featured */
.featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface);
}
.featured-media { position: relative; min-height: 360px; background: #000; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media .badge { position: absolute; left: 16px; top: 16px; }
.featured-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.featured-body h3 { font-size: 40px; font-weight: 700; }
.featured-body p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); border: 1px solid var(--line); color: var(--cyan-ink); padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-ink); }
.role { font-size: 14px; color: var(--text) !important; font-weight: 500; }
.role b { color: var(--accent-ink); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
details { border-top: 1px solid var(--line); padding-top: 12px; }
summary { cursor: pointer; font-size: 14px; font-weight: 600; }
details ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
details li { margin: 4px 0; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 6px; }
.links a { font-size: 14px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Project grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 16px 40px -24px rgba(19, 35, 58, .35); }
.card .video, .card .thumb { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.thumb { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; background: #000; }
.thumb-art {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; position: relative;
  border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(circle at 25% 20%, var(--c1, var(--pink)), transparent 65%), radial-gradient(circle at 80% 90%, var(--c2, var(--cyan-soft)), transparent 60%), var(--surface-2);
}
.thumb-art span { font-family: var(--font-main); font-size: 26px; font-weight: 700; text-align: center; padding: 0 20px; line-height: 1.1; color: var(--text); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.card h3 { font-size: 22px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Film + music */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split h3 { font-size: 34px; font-weight: 600; margin: 10px 0 12px; }
.split p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.disciplines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.discipline { border-top: 1px solid var(--line); padding-top: 18px; }
.discipline h4 { font-family: var(--font-main); font-size: 18px; margin: 8px 0 6px; font-weight: 600; }
.discipline p { margin: 0; color: var(--muted); font-size: 14px; }
.soundcloud { margin-top: 56px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.soundcloud iframe { display: block; width: 100%; border: 0; }
.music-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.music-head h3 { font-size: 20px; }

/* About / experience */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.about-copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin: 10px 0 22px; }
.about-copy p { color: var(--muted); font-size: 16px; }
.about-copy p.lead { color: var(--text); font-size: 19px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.timeline { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; gap: 30px; }
.job { position: relative; }
.job::before { content: ""; position: absolute; left: -33px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.job time { color: var(--accent-ink); font-weight: 500; }
.job h3 { font-size: 20px; font-weight: 600; margin: 6px 0 2px; }
.job .org { color: var(--muted); font-size: 14px; }
.job ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.job li { margin: 5px 0; }

/* Skills & certifications */
#skills { border-top: 1px solid var(--line); }
.skillset { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel > h3 { font-size: 24px; font-weight: 600; margin: 8px 0 22px; }
.skill-group + .skill-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.skill-group h4 { margin: 0 0 10px; color: var(--muted); font-weight: 500; }
.skill-group .tag { font-size: 13px; color: var(--text); }
.soft { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.soft li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; }
.soft li::before { content: ""; grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7672' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.soft b { font-family: var(--font-main); font-weight: 600; font-size: 16px; }
.soft span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.certs-head { margin: 56px 0 20px; font-size: 24px; font-weight: 600; }
.certs { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 20px; align-items: start; }
.cert-main { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, var(--pink), var(--cyan-soft)); }
.cert-main .level { font-family: var(--font-main); font-size: 64px; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.cert-main h4 { font-family: var(--font-main); font-size: 20px; font-weight: 600; margin: 6px 0 0; }
.cert-main p { margin: 0; color: var(--muted); font-size: 14px; }
.cert-main a, .cert-list a { font-size: 14px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.cert-main a { margin-top: 12px; }
.cert-main a:hover, .cert-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cert-list { list-style: none; margin: 0; padding: 0; }
.cert-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cert-list li:first-child { padding-top: 0; }
.cert-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-list b { display: block; font-family: var(--font-main); font-weight: 600; font-size: 15px; line-height: 1.35; }
.cert-list span.meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.quote { margin: 64px 0 0; padding: 36px; border-radius: 20px; background: linear-gradient(135deg, var(--pink), var(--cyan-soft)); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-family: var(--font-main); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.quote figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; }
.quote figcaption { color: var(--text); }
.quote figcaption a { color: var(--accent-ink); font-weight: 600; }

/* Contact */
.contact { text-align: center; padding: 110px 0; }
.contact h2 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -.035em; margin: 14px 0; }
.contact h2 .accent { color: var(--accent); }
.contact p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.contact .actions { justify-content: center; }
.email-big { display: inline-block; margin-top: 28px; font-family: var(--font-main); font-size: clamp(22px, 3vw, 32px); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.copy-status { min-height: 22px; margin-top: 8px; font-size: 14px; color: var(--cyan-ink); font-weight: 500; }

footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Reveal */
.js .reveal { transform: translateY(12px); transition: transform .5s ease; }
.js .reveal.in { transform: none; }

@media (max-width: 960px) {
  .hero-grid, .featured, .split, .about { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .skillset { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .cert-main { grid-column: 1 / -1; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .about { gap: 40px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header-tools { display: flex; align-items: center; gap: 10px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .section-head { flex-direction: column; align-items: start; }
  .grid, .certs, .disciplines { grid-template-columns: 1fr; }
  .featured-body, .panel { padding: 24px; }
  .featured-body h3 { font-size: 32px; }
  .quote { padding: 24px; }
}
@media (min-width: 721px) { .header-tools { display: flex; align-items: center; gap: 26px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i { animation: none; transform: scaleY(.6); }
  .js .reveal { transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Multi-page: current nav item, hub path cards, area page header */
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path {
  display: flex; flex-direction: column; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.path:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 50px -28px rgba(19, 35, 58, .4); }
.path img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.path-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.path-body h3 { font-size: 30px; font-weight: 700; }
.path-body p { margin: 0; color: var(--muted); font-size: 15px; }
.path-cta { margin-top: 6px; font-family: var(--font-main); font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.path:hover .path-cta { text-decoration: underline; text-underline-offset: 4px; }
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -.035em; margin: 18px 0 16px; }
.page-head h1 .accent { color: var(--accent); }
.page-head .hero-lead { max-width: 640px; }
.page-head + section { padding-top: 48px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-main); font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.tool-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tool-row .panel h4 { margin: 0 0 12px; color: var(--muted); font-weight: 500; }
.tool-row .tag { font-size: 13px; color: var(--text); }
.single-col { max-width: 760px; }
@media (max-width: 960px) { .tool-row { grid-template-columns: 1fr 1fr; } .paths { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .paths, .tool-row { grid-template-columns: 1fr; } .path-body { padding: 22px; } .page-head { padding-top: 40px; } }
/* Music page: track cards with SoundCloud players */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.track { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.band .track { background: var(--bg); }
.track-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.track h3 { font-size: 22px; font-weight: 600; }
.track p { margin: 0; font-size: 14px; color: var(--muted); }
.track p b { color: var(--text); font-weight: 600; }
.track iframe { display: block; width: 100%; border: 0; border-radius: 10px; margin-top: 4px; background: var(--surface-2); }
.hero-player iframe { display: block; width: 100%; border: 0; }
@media (max-width: 960px) { .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .tracks { grid-template-columns: 1fr; } }

/* Game audio page: compact list of smaller jam entries */
.more-jams { margin-top: 48px; }
.more-jams h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.more-jams ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.more-jams li { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 6px 20px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.more-jams li:hover { background: var(--surface); }
.more-jams a { font-family: var(--font-main); font-weight: 600; font-size: 16px; color: var(--text); text-decoration: none; }
.more-jams a:hover { color: var(--accent-ink); }
.more-jams .mono { color: var(--muted); font-size: 11px; }
.more-jams li > span:last-child { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .more-jams li { grid-template-columns: 1fr; gap: 2px; } }
/* Home: portrait in the About section */
.portrait { margin: 0 0 28px; width: min(240px, 60%); padding: 6px; border-radius: 24px; background: var(--grad, linear-gradient(90deg, #ef4b50, #3fe6dd)); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
/* Nav: pages grouped as tabs; Contact is a distinct action (scrolls on the same page) */
.nav { gap: 14px; }
.nav-pages { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.nav .nav-pages a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; box-shadow: none; }
.nav .nav-pages a:hover { color: var(--text); background: rgba(255, 255, 255, .7); }
.nav .nav-pages a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 2px 8px -3px rgba(19, 35, 58, .3); }
.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--accent-ink); color: var(--accent-ink); font-weight: 600;
}
.nav .nav-cta svg { width: 16px; height: 16px; }
.nav .nav-cta:hover { background: var(--accent-ink); color: #fff; }

/* Home: short About preview */
.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.about-teaser .portrait { margin: 0; width: 220px; }
.about-teaser h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin: 10px 0 16px; }
.about-teaser .lead { color: var(--text); font-size: 18px; max-width: 620px; }

/* About page hero portrait */
.about-hero .portrait-lg { width: min(360px, 100%); margin: 0 auto; }
.about-hero .about-copy p { color: var(--muted); }
.about-hero .about-copy p.lead { color: var(--text); font-size: 19px; }

/* Contact section briefly highlights when reached from the nav */
.contact:target .email-big { animation: ping 1.2s ease-out 1; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(239, 75, 80, .45); } 100% { box-shadow: 0 0 0 18px rgba(239, 75, 80, 0); } }

@media (max-width: 960px) { .nav .nav-pages a { padding: 7px 10px; } }
@media (max-width: 720px) {
  .nav-pages { flex-direction: column; align-items: stretch; padding: 0; background: none; border: 0; border-radius: 0; gap: 0; }
  .nav .nav-pages a { border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .nav-pages a[aria-current="page"] { background: none; box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav .nav-cta { justify-content: center; margin-top: 12px; padding: 12px; font-size: 16px; border-bottom: 1.5px solid var(--accent-ink); }
  .about-teaser { grid-template-columns: 1fr; gap: 28px; }
  .about-teaser .portrait { width: 180px; }
}