/* ==========================================================================
   StephaniLuna.com — site styles (v2)
   No build step: this file is served as-is by GitHub Pages.
   ========================================================================== */

:root {
  /* Color — navy carried over from v1, warmed up with paper + liquid teal */
  --ink: #0b1a2b;
  --ink-2: #12283f;
  --ink-3: #1c3854;
  --paper: #f7f5f0;
  --paper-2: #efebe3;
  --card: #ffffff;
  --line: #ddd6c8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #1b2430;
  --muted: #5a6573;
  --on-ink: #eef3fa;
  --on-ink-muted: rgba(238, 243, 250, 0.72);
  --accent: #0f7b80;        /* liquid teal */
  --accent-ink: #0a5d61;
  --accent-soft: #d9ecec;
  --copper: #c46a2b;        /* LATAM / warm highlight */
  --copper-soft: #f6e4d6;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 26, 43, 0.06), 0 12px 32px rgba(11, 26, 43, 0.08);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 720px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels — a "shipping manifest" mono style used for eyebrows and data */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.label::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.on-ink .label, .label--light { color: #7fd0d2; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.on-ink .lead { color: var(--on-ink-muted); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.on-ink .btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.on-ink .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 26, 43, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand__role { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-ink-muted); text-decoration: none;
  font-size: 0.93rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #7fd0d2; border-radius: 0; }
.nav .nav__cta { margin-left: 8px; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 18px; }
.nav .nav__cta:hover { background: #12959b; }
.nav .nav__cta[aria-current="page"] { box-shadow: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #7fd0d2; padding-left: 14px; }
  .nav .nav__cta { margin: 16px 0 0; text-align: center; border-bottom: 0; padding: 14px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--alt { background: var(--paper-2); }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: #fff; }
.on-ink a:not(.btn) { color: #9fe0e2; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% 30%, rgba(15,123,128,.28), transparent 70%),
    radial-gradient(520px 360px at 70% 95%, rgba(196,106,43,.16), transparent 70%);
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #9fe0e2; font-weight: 500; }
.hero .lead { max-width: 580px; margin-bottom: 28px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-dark); list-style: none; }
.hero__facts li { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-ink-muted); display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li strong { color: #fff; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7fd0d2; flex: none; }
.dot--copper { background: #e59a62; }
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 8px auto 0; }
}

/* Inner page hero */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 380px at 90% 20%, rgba(15,123,128,.25), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .lead { max-width: 680px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.crumbs { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.card--link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card--link .text-link { margin-top: auto; padding-top: 14px; color: var(--accent-ink); }
.card__icon { width: 64px; height: 64px; margin-bottom: 18px; }
.card__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.on-ink .card { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-ink); }
.on-ink .card p { color: var(--on-ink-muted); }

/* Equipment cards (data-plate style) */
.equip { position: relative; }
.equip__art { background: var(--paper-2); border-radius: 10px; margin: -6px -6px 20px; padding: 18px; display: grid; place-items: center; aspect-ratio: 16 / 9; }
.equip__art svg { width: 100%; height: 100%; }
.plate { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 0.88rem; }
.plate dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.plate dd { margin: 0; color: var(--text); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.chip--copper { background: var(--copper-soft); border-color: transparent; color: #8a4517; }
.on-ink .chip { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--on-ink); }

/* ---------- Home: "at a glance" strip ---------- */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.glance > div { padding: 24px 24px 22px; border-right: 1px solid var(--line); }
.glance > div:last-child { border-right: 0; }
.glance h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.glance p { margin: 0; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.3; color: var(--ink); }
@media (max-width: 900px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance > div:nth-child(2) { border-right: 0; }
  .glance > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .glance { grid-template-columns: 1fr; }
  .glance > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .glance > div:last-child { border-bottom: 0; }
}

/* ---------- Markets: region rows ---------- */
.region { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.region:last-child { border-bottom: 1px solid var(--line); }
.region__tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; }
.region__tag strong { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.01em; text-transform: none; color: var(--ink); font-weight: 600; margin-top: 6px; line-height: 1.15; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.status--current { color: var(--copper); }
.status--broad { color: var(--accent-ink); }
.status--growing { color: #6a5bb0; }
@media (max-width: 720px) { .region { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Bilingual band ---------- */
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.bilingual > div { padding: clamp(24px, 3.4vw, 40px); }
.bilingual > div + div { border-left: 1px solid var(--line-dark); }
.bilingual .lang { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: #7fd0d2; margin-bottom: 12px; display: block; }
.bilingual p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; color: #fff; margin: 0; }
@media (max-width: 720px) {
  .bilingual { grid-template-columns: 1fr; }
  .bilingual > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; position: relative; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.tl { position: relative; padding: 0 0 48px 52px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
}
.tl--current::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(15,123,128,.18); }
.tl--earlier::before { border-color: #9aa5b1; }
.tl__when { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl__role { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--ink); margin: 6px 0 2px; line-height: 1.2; }
.tl__org { font-weight: 600; color: var(--accent-ink); margin-bottom: 14px; }
.tl--earlier .tl__org { color: var(--muted); }
.tl__theme { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px; }
.tl--earlier .tl__theme { background: var(--paper-2); color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.tl--earlier .ticks li::before { background: #9aa5b1; }

/* Progression ribbon */
.ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.ribbon li { font-size: 0.88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--on-ink); }
.ribbon li.arrow { background: none; border: 0; padding: 0 2px; color: #7fd0d2; }
.ribbon li.now { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Skills */
.skillset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skillset h4 { margin-bottom: 12px; }
@media (max-width: 860px) { .skillset { grid-template-columns: 1fr; } }

/* Education */
.edu { display: grid; gap: 16px; }
.edu .card { flex-direction: row; gap: 20px; align-items: flex-start; }
.edu__year { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .08em; color: var(--accent-ink); white-space: nowrap; padding-top: 4px; min-width: 120px; }
@media (max-width: 560px) { .edu .card { flex-direction: column; gap: 6px; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent-ink); padding-top: 3px; }
.steps h4 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.on-ink .steps li { border-color: var(--line-dark); }
.on-ink .steps li::before { color: #7fd0d2; }
.on-ink .steps p { color: var(--on-ink-muted); }

/* ---------- Quote / pull ---------- */
.pull { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; font-weight: 500; color: var(--ink); max-width: 880px; margin: 0; }
.pull em { color: var(--accent-ink); }
.on-ink .pull { color: #fff; }
.on-ink .pull em { color: #9fe0e2; }

/* ---------- Article (Insights) ---------- */
.article { padding: clamp(48px, 7vw, 88px) 0; }
.prose { max-width: 700px; margin-inline: auto; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.93rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: 22px; }
.article-end { max-width: 700px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card a { font-weight: 600; word-break: break-word; }
.copy-btn { margin-top: 8px; font: inherit; font-size: 0.85rem; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; color: var(--muted); }
.copy-btn:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 56px 0 32px; font-size: 0.93rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #9fe0e2; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h4 { color: #fff; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-brand p { max-width: 380px; margin-top: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Animated trade-lane dashes in the hero globe */
@keyframes lane { to { stroke-dashoffset: -40; } }
.lane-anim { stroke-dasharray: 4 6; animation: lane 2.4s linear infinite; }
@keyframes pulse { 0%, 100% { r: 5; opacity: 1; } 50% { r: 9; opacity: .35; } }
.pulse { animation: pulse 2.6s ease-in-out infinite; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 56px; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

/* Horizontal card with art on the left (home: ocean / air) */
.card--row { flex-direction: row; gap: 22px; align-items: center; }
.card--row__art { width: 44%; flex: none; background: var(--paper-2); border-radius: 10px; padding: 10px; }
@media (max-width: 520px) { .card--row { flex-direction: column; align-items: stretch; } .card--row__art { width: 100%; } }
.dot--violet { background: #8b7fd6; }
.on-ink .status--current { color: #e59a62; }
.on-ink .status--broad { color: #7fd0d2; }
.on-ink .status--growing { color: #b9aef0; }
.on-ink .dot--violet { background: #b9aef0; }
.card--ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink-muted); }
.card--ink h3 { color: #fff; }
.card--ink .label { color: #7fd0d2; }
.legend { border: 0; margin: 0; padding: 0; flex-direction: column; gap: 12px; }
a.chip { text-decoration: none; }
a.chip:hover { border-color: #7fd0d2; color: #fff; }
.section--alt .card--ink, .card--ink { color: var(--on-ink-muted); }

.page-hero--full { min-height: 62vh; display: grid; align-items: center; }

/* ---------- Resume ---------- */
.crumbs--dark, .crumbs--dark a { color: var(--muted); }
.crumbs--dark a:hover { color: var(--accent-ink); }
.resume-bar h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.resume-wrap { padding-top: 0; }
.resume {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 880px; margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  font-size: 0.95rem; line-height: 1.55;
}
.resume__head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 8px; }
.resume__head h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0; }
.resume__title { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 6px 0 10px; }
.resume__contact { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 0.88rem; color: var(--muted); }
.resume__contact a { color: var(--text); text-decoration: none; }
.resume section { padding-top: 18px; }
.resume h3 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.resume ul { padding-left: 1.15em; margin: 0; }
.resume li { margin-bottom: 3px; }
.resume__job { margin-bottom: 14px; }
.resume__jobhead { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 4px; color: var(--ink); }
.resume__jobhead span { margin-left: auto; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); padding-top: 2px; }
.resume__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 680px) { .resume__cols { grid-template-columns: 1fr; } .resume__jobhead span { margin-left: 0; width: 100%; } }

/* ---------- Print ---------- */
@media print {
  @page { size: letter; margin: 0.42in 0.5in; }
  body { background: #fff; font-size: 10pt; }
  .site-header, .site-footer, .skip-link, .resume-bar, .btn, .nav-toggle { display: none !important; }
  .section, .section--tight { padding: 0 !important; }
  .wrap { width: 100%; }
  .resume { border: 0; box-shadow: none; padding: 0; max-width: none; font-size: 9.3pt; line-height: 1.36; }
  .resume li { margin-bottom: 1px; }
  .resume h3 { margin-bottom: 6px; }
  .resume__head { padding-bottom: 12px; }
  .resume__head h2 { font-size: 22pt; }
  .resume section { padding-top: 10px; }
  .resume__job { margin-bottom: 8px; break-inside: avoid; }
  .resume a { color: inherit; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Polish */
.ribbon { padding: 0; margin-bottom: 0; }
.tl--earlier .tl__theme { background: var(--card); border: 1px solid var(--line); }
@media (min-width: 901px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 40px); } }
