/* -----------------------------------------------------------------------------
   Virginia Sanchez — sushiwoman · tinta, papel y salmón
   ----------------------------------------------------------------------------- */

:root {
  --ink: #14110f;
  --ink-2: #1e1a17;
  --ink-3: #2b2521;
  --paper: #f5f0e7;
  --paper-2: #fbf8f2;
  --text: #1b1714;
  --muted: #6a6058;
  --salmon: #f27a54;
  --salmon-deep: #d9532f;
  --salmon-soft: #fde3d8;
  --rice: #fffdf8;
  --wasabi: #a8c256;
  --red: #c8321e;
  --line: rgba(20, 17, 15, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 17, 15, 0.07);
  --shadow-md: 0 16px 44px rgba(20, 17, 15, 0.13);
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Shippori Mincho", "Yu Mincho", Georgia, serif;
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
h3 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container { width: min(92%, 1100px); margin: 0 auto; }
.center { text-align: center; }
.hidden { display: none !important; }

.skip-link {
  position: absolute; left: -999px; top: 0.5rem; z-index: 2000;
  padding: 0.6rem 1rem; background: #fff; color: var(--ink); border-radius: var(--radius-sm);
}
.skip-link:focus { left: 0.5rem; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--salmon); outline-offset: 3px; }

section { position: relative; padding: var(--space-section) 0; scroll-margin-top: 4.25rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--salmon-deep);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--salmon); }

.section-subtitle {
  text-align: center;
  max-width: 36rem;
  margin: -0.35rem auto 2.75rem;
  font-size: 1.04rem;
  text-wrap: balance;
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Maki: a roll seen from above, drawn in CSS -------------------------------- */
.maki {
  display: inline-block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, var(--salmon) 0 20%, transparent 21%),
    radial-gradient(circle at 60% 58%, var(--wasabi) 0 11%, transparent 12%),
    radial-gradient(circle, var(--rice) 0 58%, #1a2420 59% 100%);
}
.maki--float { position: absolute; opacity: 0.9; pointer-events: none; }
.maki--a { width: 74px; height: 74px; left: 4%; bottom: 22%; animation: bob 7s ease-in-out infinite alternate; }
.maki--b { width: 44px; height: 44px; right: 6%; top: 16%; animation: bob 9s ease-in-out infinite alternate-reverse; }
.maki--c { width: 30px; height: 30px; left: 46%; top: 9%; opacity: 0.6; animation: bob 11s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translate3d(14px, -22px, 0) rotate(40deg); } }

/* Nav --------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(20, 17, 15, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.site-nav.is-scrolled { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }

.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }

.nav-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; }
.nav-brand-mark { width: 2.2rem; height: 2.2rem; transition: transform 0.6s var(--ease); }
.nav-brand:hover .nav-brand-mark { transform: rotate(180deg); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-weight: 700; font-size: 0.95rem; }
.nav-brand-role { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.1rem; cursor: pointer;
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  position: relative; padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 500; font-size: 0.93rem;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--salmon); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-link--cta { padding: 0.45rem 1.1rem; border-radius: 999px; color: var(--ink); font-weight: 700; background: var(--salmon); }
.nav-links a.nav-link--cta::after { display: none; }
.nav-links a.nav-link--cta:hover { color: var(--ink); background: #ff906c; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 100%; left: -4.5%; right: -4.5%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem;
    background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: block; padding: 0.85rem 1.5rem; }
  .nav-links a::after { display: none; }
  .nav-links a.nav-link--cta { margin: 0.5rem 1.5rem 0; text-align: center; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 60% 60% at 82% 30%, rgba(242, 122, 84, 0.22), transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink-3) 100%);
}

.hero-kanji {
  position: absolute; right: -0.06em; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(11rem, 30vw, 24rem); line-height: 0.9;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none; user-select: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.25rem; padding: 0.4rem 0.95rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.15);
}
.pulse-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--wasabi); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wasabi); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }

.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 5.4rem); letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 1.1rem;
}
.hero-title span { color: var(--salmon); }

.hero-role {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.hero-role-sep { width: 2.25rem; height: 2px; background: var(--salmon); }

.hero-tagline { max-width: 33rem; font-size: clamp(1rem, 1.6vw, 1.1rem); color: rgba(255, 255, 255, 0.8); margin-bottom: 1.75rem; }

.cta-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-cv { overflow: hidden; min-width: 12.5rem; color: var(--ink); background: var(--salmon); }
.btn-cv:hover { background: #ff906c; box-shadow: 0 14px 36px rgba(242, 122, 84, 0.4); }
.btn-cv-copy { display: inline-flex; }
.btn-cv-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); animation: shimmer 3.6s ease-in-out infinite; pointer-events: none;
}
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-cv > :not(.btn-cv-shimmer) { position: relative; }
.btn-outline { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover { background: #1faa59; border-color: #1faa59; }
.download-thanks { margin-top: 0.9rem; font-size: 0.92rem; color: var(--salmon-soft); }

/* Photo */
.hero-photo { position: relative; justify-self: center; width: min(100%, 320px); }
.hero-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--salmon); border-radius: var(--radius-lg);
  transition: inset 0.5s var(--ease);
}
.hero-photo:hover::before { inset: 8px -8px -8px 8px; }
.hero-photo-frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.hero-photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hero-photo:hover .hero-photo-frame img { transform: scale(1.04); }

/* Hanko: red seal stamp */
.hanko {
  position: absolute; left: -1.5rem; bottom: 1.5rem;
  display: grid; place-items: center; align-content: center;
  width: 5.25rem; height: 5.25rem; border-radius: 12px;
  color: #fff; background: var(--red);
  box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5px rgba(255, 255, 255, 0.85), 0 14px 30px rgba(0, 0, 0, 0.4);
  transform: rotate(-8deg);
  animation: stamp 0.7s 0.5s var(--ease) both;
}
.hanko span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hanko strong { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 0.95; }
@keyframes stamp {
  from { opacity: 0; transform: rotate(-8deg) scale(2.2); }
  to { opacity: 1; transform: rotate(-8deg) scale(1); }
}

/* Stats */
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats li { padding: 1.4rem 1.5rem 0.4rem 0; }
.hero-stats li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.hero-stats strong {
  display: flex; align-items: baseline; gap: 0.15rem;
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1;
  color: var(--salmon); font-variant-numeric: tabular-nums;
}
.hero-stats small { margin-left: 0.4rem; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: #fff; }
.hero-stats li > span { display: block; margin-top: 0.45rem; font-size: 0.88rem; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(58%, 230px); margin-bottom: 0.5rem; }
  .hanko { left: -1.1rem; bottom: 1rem; width: 4.2rem; height: 4.2rem; }
  .hanko strong { font-size: 2rem; }
  .hero-copy { text-align: center; }
  .hero-role, .cta-buttons { justify-content: center; }
  .hero-tagline { margin-inline: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { padding: 1.1rem 0; }
  .hero-stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .maki--a { bottom: auto; top: 30%; left: -20px; }
}

/* About ------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-text .eyebrow { justify-content: flex-start; }
.about-text p { font-size: 1.06rem; }
.about-text strong { color: var(--text); }

.facts { padding: 0.5rem 1.6rem; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.facts li { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; }
.facts li + li { border-top: 1px solid var(--line); }
.facts i {
  flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  color: var(--salmon-deep); background: var(--salmon-soft); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.facts li:hover i { transform: rotate(-10deg) scale(1.1); color: #fff; background: var(--salmon-deep); }
.facts strong { display: block; line-height: 1.3; }
.facts span { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Path -------------------------------------------------------------------- */
#path {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(242, 122, 84, 0.2), transparent 65%),
    var(--ink);
}
#path h2 { color: #fff; }
#path .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto; }
.path::before, .path::after {
  content: ""; position: absolute; top: 2.75rem; left: 16.66%; right: 16.66%; height: 3px; border-radius: 3px;
}
.path::before { background: rgba(255, 255, 255, 0.14); }
.path::after { background: linear-gradient(90deg, #8a8078, var(--salmon)); transform: scaleX(0); transform-origin: left; }
.path.is-visible::after { transform: scaleX(1); transition: transform 1.6s 0.3s var(--ease); }

.path-step { position: relative; z-index: 1; text-align: center; padding: 0 0.5rem; }
.path-node {
  display: grid; place-items: center; width: 5.5rem; height: 5.5rem; margin: 0 auto 1.1rem; border-radius: 50%;
  font-family: var(--font-display); font-size: 2.3rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.75); background: var(--ink-3); border: 3px solid #5d544d;
  transition: transform 0.4s var(--ease);
}
.path-step:hover .path-node { transform: scale(1.08); }
.path-step:nth-child(2) .path-node { border-color: #b98670; color: #fff; }
.path-step--top .path-node {
  width: 6.5rem; height: 6.5rem; margin-top: -0.5rem; font-size: 3rem;
  color: var(--ink); background: var(--salmon); border-color: #ffb199;
  box-shadow: 0 0 0 8px rgba(242, 122, 84, 0.18), 0 18px 44px rgba(242, 122, 84, 0.4);
}
.path-step h3 { color: #fff; margin-bottom: 0.2rem; }
.path-step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }
.path-step--top h3 { color: var(--salmon); }

@media (max-width: 560px) {
  .path-node { width: 4.25rem; height: 4.25rem; font-size: 1.8rem; }
  .path-step--top .path-node { width: 4.9rem; height: 4.9rem; font-size: 2.2rem; margin-top: -0.35rem; }
  .path::before, .path::after { top: 2.1rem; }
  .path-step h3 { font-size: 0.92rem; }
  .path-step p { font-size: 0.8rem; }
}

/* Skills ------------------------------------------------------------------ */
.skills-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; }
.skills-card {
  padding: 1.9rem 1.75rem; border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.skills-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.skills-card header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; }
.skills-card h3 { font-family: var(--font-display); font-size: 1.45rem; }
.skills-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.15rem; color: #fff; background: var(--salmon-deep); }

.check-list { columns: 2; column-gap: 1.5rem; }
.check-list li { position: relative; break-inside: avoid; padding: 0.4rem 0 0.4rem 1.7rem; font-weight: 500; line-height: 1.4; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.72rem;
  position: absolute; left: 0; top: 0.55rem; display: grid; place-items: center;
  width: 1.15rem; height: 1.15rem; border-radius: 50%; color: var(--salmon-deep); background: var(--salmon-soft);
}
.skills-card--dark { color: #fff; background: var(--ink); border-color: transparent; }
.skills-card--dark .check-list { columns: 1; }
.skills-card--dark .skills-icon { color: var(--ink); background: var(--salmon); }
.skills-card--dark .check-list li::before { color: var(--ink); background: var(--salmon); }

@media (max-width: 860px) { .skills-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .check-list { columns: 1; } }

/* Experience -------------------------------------------------------------- */
#experience { background: linear-gradient(180deg, #ece5d8, var(--paper)); border-top: 1px solid var(--line); }
#experience > .container { max-width: 960px; }
#experience h2 { margin-bottom: 2.25rem; }

.xp-main {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.xp-main-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  padding: 1.6rem 1.75rem; color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--ink-3));
  border-bottom: 4px solid var(--salmon);
}
.xp-main-head h3 { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.xp-main-head .xp-org { color: rgba(255, 255, 255, 0.75); margin: 0.2rem 0 0; }
.xp-main-head .xp-when { color: var(--salmon); }
.xp-badge {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.18rem 0.65rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--salmon);
}
.xp-org { font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.xp-when { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--salmon-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }

.xp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 1.75rem; }
.xp-cols h4 { margin-bottom: 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--salmon-deep); }

.dot-list li { position: relative; padding-left: 1.1rem; margin-bottom: 0.5rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--salmon); }

.xp-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  margin-top: 1rem; padding: 1.4rem 1.75rem; border-radius: var(--radius-md);
  background: var(--paper-2); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.xp-row:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.xp-row .xp-org { margin: 0.15rem 0 0.5rem; }
.xp-row p:last-child { font-size: 0.95rem; }

.xp-other-title { margin: 2.25rem 0 0.9rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.xp-other { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.xp-other li { display: flex; flex-direction: column; padding: 1rem 1.1rem; border-radius: var(--radius-md); border: 1px dashed rgba(20, 17, 15, 0.22); }
.xp-other strong { line-height: 1.3; }
.xp-other span { font-size: 0.88rem; color: var(--muted); }
.xp-other em { margin-top: 0.35rem; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--salmon-deep); }

.edu { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.25rem; margin-top: 2.5rem; }
.edu-block { padding: 1.5rem 1.6rem; border-radius: var(--radius-md); background: var(--paper-2); border: 1px solid var(--line); }
.edu-block h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; font-family: var(--font-display); font-size: 1.25rem; }
.edu-block h3 i { color: var(--salmon-deep); font-size: 1rem; }
.edu-block li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.1rem 1rem; padding: 0.55rem 0; }
.edu-block li + li { border-top: 1px solid var(--line); }
.edu-block li span { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 760px) {
  .xp-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .xp-row { flex-direction: column; gap: 0.5rem; }
  .xp-row .xp-when { order: -1; }
  .xp-row:hover { transform: none; }
  .edu { grid-template-columns: 1fr; }
}

/* Contact ----------------------------------------------------------------- */
#contact { overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--ink), var(--ink-3)); }
.hero-kanji--contact { right: auto; left: -0.05em; font-size: clamp(9rem, 22vw, 17rem); }
.contact-panel { position: relative; z-index: 1; text-align: center; }
.contact-panel h2 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.3rem); }
#contact .section-subtitle { color: rgba(255, 255, 255, 0.75); }

.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.1rem; padding: 0.8rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.contact-chip:hover { transform: translateY(-4px); color: var(--ink); background: var(--salmon); border-color: var(--salmon); }
.contact-chip--whatsapp { background: #1faa59; border-color: #1faa59; }
.contact-chip--whatsapp:hover { color: #fff; background: #25c468; border-color: #25c468; box-shadow: 0 14px 36px rgba(31, 170, 89, 0.4); }

/* Footer ------------------------------------------------------------------ */
.site-footer { padding: 1.5rem 0; text-align: center; background: #0d0b0a; }
.site-footer p { margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.55); }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900;
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  font-size: 1.6rem; color: #fff; background: #1faa59; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); text-decoration: none;
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-shown:hover { transform: scale(1.1); }

/* CV celebration: it rains maki -------------------------------------------- */
.cv-celebration-root { position: fixed; inset: 0; pointer-events: none; z-index: 9998; overflow: hidden; }
.cv-mini-doc {
  position: absolute; top: -50px; width: 30px; height: 30px; border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, var(--salmon) 0 20%, transparent 21%),
    radial-gradient(circle at 60% 58%, var(--wasabi) 0 11%, transparent 12%),
    radial-gradient(circle, var(--rice) 0 58%, #1a2420 59% 100%);
  animation: makiFall linear forwards;
}
.cv-mini-doc:nth-child(3n) { width: 20px; height: 20px; }
.cv-mini-doc:nth-child(4n) { width: 38px; height: 38px; }
@keyframes makiFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translate3d(var(--cv-drift, 0), 112vh, 0) rotate(calc(var(--cv-rot, 12deg) * 8)); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .path::after { transform: scaleX(1); }
}

@media print { .site-nav, .wa-float, .maki--float, .cta-buttons { display: none; } }
