/* ==========================================================
   Andrea Orue · CV y portfolio
   Fondo claro, tinta casi negra y rosa Porkbun como único acento.
   Todos los pares de texto cumplen WCAG AA (ver comentarios).
   ========================================================== */

:root {
  --pink: #EF7373;          /* acento de marca: rellenos, logo, marcas */
  --pink-ink: #B83B3B;      /* rosa para texto sobre blanco: 5.6:1 */
  --pink-soft: #FDECEC;
  --ink: #1A1A1A;           /* texto: 17:1 sobre blanco, 6.1:1 sobre rosa */
  --muted: #5C5C5C;         /* texto secundario: 6.7:1 sobre blanco, 6.1:1 sobre panel */
  --bg: #FFFFFF;
  --panel: #F5F5F5;
  --rule: #DEDEDE;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --edge: clamp(1rem, 2.2vw, 2rem);        /* margen estrecho de la cabecera, como IED */
  --maxw: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
  accent-color: var(--pink-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #BDBDBD var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;   /* la banda a todo ancho usa vw; clip no rompe el header sticky */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
::selection { background: var(--pink); color: var(--ink); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--pink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* Titulares: Fraunces ligera, serif elegante con tracking cerrado (prueba) */
.name, .sec > h2, .portfolio-title, .work-text h3, .contact-title, .stamp-num {
  font-family: var(--display);
  font-weight: 300;
  
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* ---------- Cabecera: franja de secciones, barra fija con píldoras e imagen casi a sangre (como IED Kunsthal) ---------- */
.hero { display: contents; }
.strip {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  padding: 0.7rem var(--edge);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.2;
  border-bottom: 1px solid var(--rule);
}
.strip p { margin: 0; white-space: nowrap; }
.strip-base { color: var(--muted); }
.strip s { text-decoration-thickness: 1px; text-decoration-color: currentColor; }
@media (max-width: 560px) { .strip-base { display: none; } }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem var(--edge);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo { width: 3rem; height: auto; display: block; }
.topbar ul { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.topbar ul a { text-decoration: none; font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; }
.topbar .nl a:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
@media (max-width: 760px) { .topbar .nl { display: none; } }
@media (max-width: 460px) { .brand { font-size: 1.1rem; } .logo { width: 2.5rem; } .topbar .pill-line { display: none; } }
@media (max-width: 400px) { .topbar { gap: 0.5rem; } .brand { font-size: 1rem; gap: 0.5rem; } .logo { width: 2.2rem; } .topbar .pill { padding: 0.3rem 0.85rem; min-height: 2.2rem; font-size: 0.88rem; } }
@media (max-width: 520px) { .role { white-space: normal; } }

/* Píldoras: botones redondeados como los de IED */
.pill {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 2.4rem; padding: 0.35rem 1.15rem;
  border: 1px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none !important;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.topbar ul a.pill { font-weight: 600; font-size: 0.92rem; }
.pill-line { background: transparent; color: var(--ink); }
.pill-line:hover { background: var(--ink); color: #fff; }
.pill-fill { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.pill-fill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-ink { background: var(--ink); color: #fff; }
.pill-ink:hover { background: transparent; color: var(--ink); }

.hero-figure {
  position: relative;
  margin: 0;                                   /* a sangre: 100% del ancho */
  height: clamp(480px, 88svh, 900px);
  overflow: hidden;
  background: #5b2c3d;
}
.hero-media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: settle 1.6s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.04); } to { transform: none; } }
}

/* Velo oscuro sobre el vídeo para que el texto blanco destaque: uniforme y más intenso abajo a la izquierda */
.hero-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 6, 8, 0.6) 0%, rgba(10, 6, 8, 0.25) 45%, rgba(10, 6, 8, 0) 75%),
    linear-gradient(to right, rgba(10, 6, 8, 0.35) 0%, rgba(10, 6, 8, 0) 65%),
    rgba(10, 6, 8, 0.18);
}
.hero-text {
  z-index: 1;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  --rfs: clamp(1.2rem, 2.1vw, 1.75rem);       /* tamaño de "Escuchar..."; el nombre se calcula a partir de él */
  width: max-content; max-width: 100%;
  padding: 0 var(--gutter);
  color: #fff;
  text-shadow: 0 0 1.6rem rgba(26, 26, 26, 0.5), 0 0 0.35rem rgba(26, 26, 26, 0.35), 0 0.1rem 0.15rem rgba(26, 26, 26, 0.25);
}
.name {
  margin: 0;
  font-size: calc(var(--rfs) * 3.36);          /* el nombre mide lo mismo que "Escuchar. Comprender. Asesorar." */
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.role { margin: calc(clamp(0.15rem, 0.4vw, 0.4rem) + 20px) 0 0; font-weight: 500; font-size: calc(var(--rfs) * 0.9); line-height: 1.2; letter-spacing: -0.015em; white-space: nowrap; }
.statement {
  margin: clamp(1.75rem, 3.6vw, 3.25rem) 0 0; width: min(41.5rem, calc(100vw - 2 * var(--gutter)));
  font-family: var(--body); font-weight: 300;
  font-size: clamp(1.035rem, 1.71vw, 1.485rem);
  line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty;
}

/* ---------- Datos clave: título de bloque y tarjetas ---------- */
.facts {
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.facts-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
@media (max-width: 800px) { .facts-head { grid-template-columns: 1fr; } }
.block-title {
  margin: 0; font-family: var(--display); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(2.25rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.025em; text-wrap: balance;
}
.facts-text { margin: clamp(1.1rem, 2vw, 1.75rem) 0 0; max-width: none; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; letter-spacing: -0.01em; }
.facts-logo { display: block; width: clamp(9rem, 22vw, 20rem); height: auto; align-self: end; }
.traits { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: 0.95rem; }
.traits li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.9rem; border: 1px solid var(--ink); border-radius: 999px; }
.traits li::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--pink); }
.stamps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.stamp { background: var(--panel); border-radius: 6px; padding: clamp(1.25rem, 2vw, 1.75rem); min-height: 14rem; display: flex; flex-direction: column; justify-content: flex-start; gap: 1.75rem; }
.stamp-num { display: block; font-size: clamp(3.5rem, 6vw, 5rem); line-height: 0.9; margin: 0; }
.stamp p { margin: 0; color: var(--muted); line-height: 1.4; font-size: 0.98rem; }
.stamp strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }

/* ---------- Secciones ---------- */
main { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 2.6fr;
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--rule);
}
main > .sec:first-child { border-top: 0; }
@media (max-width: 800px) { .sec { grid-template-columns: 1fr; } }

.sec > h2, .portfolio-title {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  line-height: 0.95;
}
/* Viñetas de marca: el triángulo y el círculo del logo, siempre en rosa */
.sec > h2::before, .portfolio-title::before,
.work-text h3::before, .skill h3::before, .index-kind::before, .work-text .meta::before, .band .row .when::before, .contact-kicker::before, .duo h3::before {
  content: ""; display: inline-block; flex: none;
  width: var(--bw, 0.5em); height: var(--bh, 0.5em);
  margin-right: 0.45em; vertical-align: 0.04em;
  background: var(--pink); border-radius: 50%;
}
.sec > h2::before, .portfolio-title::before, .contact-kicker::before {
  --bw: 0.42em; --bh: 0.36em; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); margin-right: 0.3em;
}
.work-text h3::before { --bw: 0.3em; --bh: 0.3em; margin-right: 0.22em; vertical-align: 0.1em; }
.skill:nth-child(even) h3::before, .index li:nth-child(even) .index-kind::before, .band .row:nth-child(even) .when::before {
  border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); height: 0.58em; width: 0.67em;
}
.index-kind::before, .work-text .meta::before, .band .row .when::before, .duo h3::before { --bw: 0.6em; --bh: 0.6em; margin-right: 0.5em; vertical-align: 0; }
.skill h3::before { --bw: 0.42em; --bh: 0.42em; margin-right: 0.5em; vertical-align: 0.03em; }
.tags li::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.45em; border-radius: 50%; background: var(--pink); }
.tags li:nth-child(even)::before { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); height: 0.43em; }

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose .big { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.35; letter-spacing: -0.005em; margin-bottom: 1.5rem; }

.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
@media (max-width: 640px) { .skills { grid-template-columns: 1fr; } }
.skill { background: var(--panel); border-radius: 6px; padding: clamp(1.25rem, 2vw, 1.75rem); }
.skill h3 { margin: 0 0 0.6rem; font-size: 1.3rem; letter-spacing: -0.015em; font-weight: 600; line-height: 1.3; }
.skill p { margin: 0; color: var(--muted); }

.rows { margin: 0; padding: 0; list-style: none; max-width: 76ch; }
.row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.25rem 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}
.row:first-child { border-top: 0; padding-top: 0; }
.row .when { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.row h3 { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.row h3 span { font-weight: 400; color: var(--muted); }
.row p { margin: 0.3rem 0 0; color: var(--muted); }
@media (max-width: 540px) { .row { grid-template-columns: 1fr; } }

/* Panel gris a todo el ancho para la experiencia */
.band {
  position: relative;
  background: var(--panel);
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
}
.band .sec { border-top-color: var(--rule); }
.band .rows { max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.band .row { grid-template-columns: 1fr; align-content: start; gap: 0.75rem; padding: clamp(1.1rem, 2vw, 1.5rem); background: var(--bg); border: 0; border-radius: 6px; }
.band .row:first-child { padding-top: clamp(1.1rem, 2vw, 1.5rem); }
.band .row .when { font-size: 0.8rem; letter-spacing: 0.01em; text-transform: uppercase; }
.band .sec:first-child, .band + .sec { border-top: 0; }

.edu { margin: 0; padding: 0; list-style: none; max-width: 76ch; }
.edu li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1.25rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); align-items: start; }
.edu li:first-child { border-top: 0; padding-top: 0; }
.ico {
  width: 2.75rem; height: 2.75rem; padding: 0.6rem;
  border-radius: 50%;
  background: var(--pink-soft);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.edu h3 { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.edu h3 span { font-weight: 400; color: var(--muted); }
.edu p { margin: 0.25rem 0 0; color: var(--muted); }
.when-mini { white-space: nowrap; }
.courses { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4rem); max-width: 76ch; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }
.duo h3 { margin: 0 0 0.9rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.duo-gap { margin-top: 2rem !important; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tags li { background: #333; color: #fff; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.92rem; font-weight: 600; }
.lang { margin: 0 0 0.9rem; line-height: 1.4; }
.lang strong { display: block; font-weight: 600; font-size: 1.1rem; }
.lang span { color: var(--muted); }

/* ---------- Portfolio ---------- */
.portfolio { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--rule); }
.portfolio-title { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.work + .work { margin-top: clamp(4.5rem, 9vw, 8rem); }
.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.work-text { display: contents; }
.work-text h3 { grid-column: 1; grid-row: 1 / span 2; align-self: end; margin: 0; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 0.95; }
.work-text .meta { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.01em; text-transform: uppercase; color: var(--pink-ink); }
.work-text .meta + p { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 800px) {
  .work-head { grid-template-columns: 1fr; }
  .work-text h3, .work-text .meta, .work-text .meta + p { grid-column: 1; grid-row: auto; }
}

/* Índice de proyectos: tarjetas con portada, como "Diseñado por estudiantes" en IED */
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(0.75rem, 1.5vw, 1.25rem); margin: 0 0 clamp(5rem, 10vw, 9rem); padding: 0; list-style: none; }
@media (max-width: 900px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .index { grid-template-columns: 1fr; } }
.index a { display: block; text-decoration: none; }
.index-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--panel); }
.index-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.8s var(--ease-out); }
.index a:hover .index-img img { transform: scale(1.03); }
.index-kind { display: block; margin-top: 0.85rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; text-transform: uppercase; color: var(--muted); }
.index-name { display: block; margin-top: 0.25rem; font-size: 1.3rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; }
.index a:hover .index-name { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.work { scroll-margin-top: 5rem; }

/* Masonry con columnas: cada foto en su proporción original, a tamaño grande */
.gallery { columns: var(--cols, 2) 14rem; column-gap: clamp(0.75rem, 1.5vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.gallery li { break-inside: avoid; margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem); }
.gallery .full { column-span: all; }
.gallery a { display: block; overflow: hidden; background: var(--panel); border-radius: 6px; }
.gallery img { display: block; width: 100%; height: auto; transition: transform 0.8s var(--ease-out); }
.gallery a:hover img { transform: scale(1.02); }

/* ---------- Contacto ---------- */
.contact {
  background: var(--pink);
  color: var(--ink);
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) max(1.5rem, env(safe-area-inset-bottom, 0px));
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: end;
}
@media (max-width: 800px) { .contact-inner { grid-template-columns: 1fr; } }
.contact-kicker { margin: 0 0 1rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; text-transform: uppercase; }
.contact-title { margin: 0; font-size: clamp(4rem, 11vw, 10rem); line-height: 0.82; letter-spacing: -0.04em; }
.contact-close { margin: clamp(1.25rem, 2.5vw, 2rem) 0 0; max-width: 34ch; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.35; letter-spacing: -0.01em; }
.contact-side { display: grid; gap: 0.4rem; justify-items: start; }
.contact-mail { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.contact-mail:hover, .contact-phone:hover { text-decoration-color: var(--ink); }
.contact-phone { font-size: 1.2rem; font-weight: 500; }
.contact-side p { margin: 0.6rem 0 1rem; }
.contact-base {
  max-width: var(--maxw);
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26,26,26,0.35);
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.95rem; font-weight: 500;
}
.contact-base .logo { width: 2.6rem; }

/* Datos pendientes de confirmar con Andrea: quitar antes de enviar */
.todo { background: #FFE36E; color: #1A1A1A; padding: 0 0.35em; border-radius: 3px; font-weight: 600; font-size: 0.9em; }
.tags .todo { background: #FFE36E; color: #1A1A1A; }

.print-only { display: none; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .name { animation: rise 1.2s var(--ease-out) both; }
  .hero-foot { animation: rise 1.2s 0.15s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img, .btn { transition: none; }
  .gallery a:hover img { transform: none; }
}

@media print {
  @page { size: A4; margin: 14mm 15mm; }
  html { font-size: 11px; }
  body { font-size: 1rem; line-height: 1.5; }
  .strip, .topbar, .portfolio, .actions, .contact-base, .todo, .facts-head { display: none !important; }
  .print-only { display: inline; }
  .hero { min-height: 0; background: none; }
  .hero-text { position: static; transform: none; width: auto; color: var(--ink); text-shadow: none; padding: 0; }
  .statement { width: auto; min-width: 0; }
  .sec > h2::before, .portfolio-title::before { display: none; }
  .name { font-size: 4.4rem; animation: none; }
  .hero-figure { height: auto; margin: 0; background: none; overflow: visible; }
  .hero-media { display: none; }
  .hero-foot { animation: none; margin-top: 0.8rem; padding-top: 0.6rem; grid-template-columns: 1fr; }
  .statement { font-size: 1.3rem; max-width: none; }
  .role { margin-bottom: 0.4rem; }
  .hero { display: block; }
  .band .rows { display: block; }
  .band .row { display: grid; background: none; padding: 0.5rem 0; border-radius: 0; border-top: 1px solid var(--rule); grid-template-columns: 6.5rem 1fr; }
  .stamp { padding: 0.6rem; min-height: 0; gap: 0.4rem; }
  .skill { padding: 0.6rem; }
  .facts { padding-bottom: 0; }
  .facts { padding: 1.2rem 0 0; max-width: none; }
  .traits { margin-bottom: 1rem; }
  .stamps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .stamp-num { font-size: 2.4rem; margin-bottom: 0.3rem; }
  main { padding: 0; max-width: none; }
  .sec { grid-template-columns: 9rem 1fr; gap: 0.5rem 1.5rem; padding: 1.1rem 0; }
  .sec > h2 { font-size: 1.9rem; }
  .prose .big { font-size: 1.2rem; margin-bottom: 0.6rem; }
  .skills { gap: 0.9rem 1.5rem; }
  .skill { padding-top: 0.5rem; }
  .skill h3, .row h3, .edu h3 { font-size: 1.05rem; }
  .row { padding: 0.5rem 0; grid-template-columns: 6.5rem 1fr; }
  .edu li { padding: 0.45rem 0; }
  .courses { margin-top: 0.8rem; padding-top: 0.6rem; }
  .band { background: none; margin: 0; padding: 0; }
  .contact { background: none; padding: 1rem 0 0; border-top: 2px solid var(--pink); }
  .contact-inner { grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
  .contact-title { font-size: 2.6rem; }
  .contact-mail { font-size: 1.3rem; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .row, .skill, .stamp, .edu li { break-inside: avoid; }
  .sec > h2 { break-after: avoid; }
}
