/* ==========================================================
   Romina.OS — retro desktop portfolio
   ========================================================== */

:root {
  --blush: #e9edf9;
  --lilac: #dfe6fb;
  --pink-200: #c9d3f5;
  --pink-400: #8fa3ef;
  --pink-500: #5f78e6;
  --pink-700: #2f3fa8;      /* small accent text, AA on background */
  --plum: #1e2240;          /* ink: the night sky from the CV */
  --plum-soft: #4e5576;
  --violet: #f0601e;        /* meteor orange from the CV */
  --butter: #ffe45c;
  --paper: #ffffff;

  --font-pixel: "Pixelify Sans", ui-monospace, monospace;
  --font-body: "Figtree", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius-window: 14px;
  --shadow-hard: 6px 6px 0 var(--plum);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--plum);
  background:
    radial-gradient(1200px 700px at 85% 10%, var(--lilac), transparent 60%),
    radial-gradient(900px 600px at 0% 60%, #f3e8da, transparent 65%),
    var(--blush);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Film grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .13 0 0 0 0 .25 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Menu bar ---------- */
.menubar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px var(--gutter);
  font-family: var(--font-pixel);
  font-size: 1rem;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--plum);
}
.menubar a { text-decoration: none; }
.menubar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.menubar__logo {
  width: 14px; height: 14px;
  background: var(--pink-500);
  box-shadow: 4px 4px 0 var(--violet);
}
.menubar__nav { display: flex; gap: 20px; }
.menubar__nav a:hover { color: var(--pink-700); }
.menubar__clock { color: var(--plum-soft); white-space: nowrap; }
.lang {
  margin-left: auto;
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  font: 700 .95rem/1 var(--font-pixel);
  color: var(--plum);
  background: var(--violet);
  border: 2px solid var(--plum);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--plum);
  cursor: pointer;
}
.lang:active { transform: translate(2px, 2px); box-shadow: none; }

/* ---------- Desktop / hero ---------- */
.desk {
  position: relative;
  min-height: calc(100svh - 46px);
  padding: 32px var(--gutter) 48px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.waves path { fill: none; stroke: #fff; stroke-width: 10; opacity: .75; }
.waves--soft path { stroke-width: 8; opacity: .6; }

.desk__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
  text-align: center;
}

.hero__name {
  margin: 0;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: .86;
  letter-spacing: -.01em;
  color: var(--violet);
  text-shadow: 4px 4px 0 var(--pink-400), 8px 8px 0 var(--plum);
}
.hero__lede {
  max-width: 44ch;
  margin: 18px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
}

/* The big glossy folder */
.folder {
  --w: min(400px, 68vw);
  position: relative;
  width: var(--w);
  aspect-ratio: 1.3;
  perspective: 900px;
}
.folder__back {
  position: absolute;
  inset: 10% 4% 0 0;
  border-radius: 28px;
  background: linear-gradient(170deg, #9fb1f2, #6d84ea);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5);
}
.folder__back::before {           /* the tab */
  content: "";
  position: absolute;
  top: -12%;
  left: 0;
  width: 42%;
  height: 20%;
  border-radius: 22px 22px 0 0;
  background: #9fb1f2;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}
.folder__paper {
  position: absolute;
  left: 10%;
  right: 14%;
  height: 60%;
  background: var(--paper);
  border-radius: 10px;
  box-shadow: 0 2px 0 rgba(58, 39, 71, .08);
  transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
.folder__paper--1 { top: 8%; transform: rotate(-3deg); }
.folder__paper--2 {
  top: 14%;
  left: 18%;
  transform: rotate(4deg);
  background: repeating-linear-gradient(#fff 0 18px, #e3e8f8 18px 20px);
}
.folder__front {
  position: absolute;
  inset: 30% 0 0 2%;
  border-radius: 28px;
  background: linear-gradient(165deg, #b9c6f7 0%, #8fa3ef 45%, #5f78e6 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .65),
    inset 0 -10px 30px rgba(47, 63, 168, .25),
    0 34px 60px -24px rgba(47, 63, 168, .6);
  transform-origin: 50% 100%;
  transform: rotateX(-14deg) skewX(-7deg);
  animation: folder-open 1s .2s cubic-bezier(.3, 1.4, .5, 1) both;
}
.folder:hover .folder__paper--1 { transform: translateY(-16%) rotate(-6deg); }
.folder:hover .folder__paper--2 { transform: translateY(-10%) rotate(7deg); }

.tag {
  position: absolute;
  z-index: 3;
  padding: 2px 16px;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  background: #fff;
  border: 2px solid var(--plum);
  box-shadow: 3px 3px 0 var(--plum);
  animation: tag-drop .6s cubic-bezier(.3, 1.5, .5, 1) both;
}
.tag--plan  { top: 26%; left: -14%; transform: rotate(7deg);   animation-delay: .9s; }
.tag--build { top: 4%;  right: -6%; transform: rotate(-14deg); animation-delay: 1.05s; background: var(--butter); }
.tag--ship  { bottom: -6%; left: 30%; transform: rotate(-9deg); animation-delay: 1.2s; }

.cursor { width: 34px; fill: #fff; stroke: var(--plum); stroke-width: 1.6; stroke-linejoin: round; }
.cursor--hero {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 8%;
  animation: cursor-in 1.1s 1.3s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes folder-open {
  from { transform: rotateX(0) skewX(0); }
}
@keyframes tag-drop {
  from { opacity: 0; translate: 0 -40px; }
}
@keyframes cursor-in {
  from { opacity: 0; translate: 120px 80px; }
  80%  { scale: 1; }
  90%  { scale: .85; }
  to   { scale: 1; }
}

/* Desktop shortcut icons */
.icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.icon {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 112px;
  padding: 8px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  pointer-events: auto;
  align-content: start;
}
.icon:hover { background: rgba(255, 255, 255, .55); }
.icon--profile  { top: 22%; left: 8%; }
.icon--projects { top: 18%; right: 9%; }
.icon--process  { bottom: 14%; left: 12%; }
.icon--contact  { bottom: 12%; right: 12%; }

.mini-folder {
  position: relative;
  width: 76px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(165deg, #b9c6f7, #5f78e6);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 10px 18px -10px rgba(47, 63, 168, .7);
}
.mini-folder::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 40%; height: 12px;
  border-radius: 6px 6px 0 0;
  background: #9fb1f2;
}
.mini-file {
  position: relative;
  width: 50px;
  height: 62px;
  background: #fff repeating-linear-gradient(transparent 0 10px, #d6ddf5 10px 12px) 0 18px / 100% 70% no-repeat;
  border: 2px solid var(--plum);
  border-radius: 4px 14px 4px 4px;
  box-shadow: 3px 3px 0 var(--plum);
}

/* Pixel meteors */
.meteors { position: absolute; inset: 0; pointer-events: none; }
.meteor {
  position: absolute;
  width: 128px;
  image-rendering: pixelated;
  rotate: 152deg;
  animation: meteor-drift 9s linear infinite;
}
.meteor svg { shape-rendering: crispEdges; width: 100%; }
.pixel {
  position: absolute;
  width: 16px;
  height: 6px;
  background: var(--violet);
  opacity: .35;
}
@keyframes meteor-drift {
  from { translate: 0 0; }
  50%  { translate: -14px 10px; }
  to   { translate: 0 0; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.section--projects { max-width: none; }
.section--projects > :not(.waves) { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; position: relative; }

.section__hint,
.section__lede { color: var(--plum-soft); max-width: 60ch; margin-top: 8px; }
.section__lede { font-size: 1.15rem; }

/* Title framed like selected text, the signature of the reference */
.sel-title {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  margin: 0 0 clamp(32px, 5vw, 56px);
}
.sel-title__folder {
  flex: none;
  width: clamp(64px, 9vw, 120px);
  aspect-ratio: 1.25;
  border-radius: 14px;
  background: linear-gradient(165deg, #b9c6f7, #5f78e6);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 18px 30px -16px rgba(47, 63, 168, .8);
  position: relative;
}
.sel-title__folder::before {
  content: "";
  position: absolute;
  top: -9%; left: 0;
  width: 42%; height: 18%;
  border-radius: 10px 10px 0 0;
  background: #9fb1f2;
}
.sel-title__box {
  position: relative;
  padding: 0 .18em;
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  background: rgba(66, 92, 220, .88);
  border-inline: 2px solid var(--pink-700);
}
.sel-title__box::before,
.sel-title__box::after {          /* selection handles */
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--pink-700);
}
.sel-title__box::before { top: -8px; left: -7px; }
.sel-title__box::after  { bottom: -8px; right: -7px; }

/* ---------- Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
}
.profile__statement {
  margin: 0 0 32px;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  font-weight: 500;
}
.profile__statement em { font-style: normal; color: var(--pink-700); font-weight: 700; }

.card-id {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0 0 28px;
}
.card-id dt { color: var(--pink-700); font-weight: 700; }
.card-id dd { margin: 0; }

.profile__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-content: start;
}
.list-block--wide { grid-column: 1 / -1; }
.list-block h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: var(--pink-700);
}

.timeline, .plain { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(58, 39, 71, .25);
}
.timeline__date { color: var(--plum-soft); font-variant-numeric: tabular-nums; }
.timeline__role { font-weight: 700; }
.timeline__org { color: var(--plum-soft); text-align: right; }

.plain li { display: grid; padding: 6px 0; }
.plain span { color: var(--plum-soft); font-size: .95rem; }

.skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px 24px;
}
.skills li { display: flex; align-items: center; gap: 10px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-200); }
.dots i.on { background: var(--pink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
  color: var(--plum);
  background: var(--violet);
  border: 2px solid var(--plum);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--plum);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--plum); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--plum); }
.btn--ghost { color: var(--plum); background: #fff; }

/* ---------- Projects ---------- */
.project-grid {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 32px;
}
.project {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 12px;
  font: inherit;
  color: inherit;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
}
.project:hover { background: rgba(255, 255, 255, .45); }
.project .mini-folder {
  width: 136px;
  height: 100px;
  border-radius: 14px;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
}
.project .mini-folder::before { top: -11px; height: 18px; border-radius: 10px 10px 0 0; }
.project:hover .mini-folder,
.project:focus-visible .mini-folder { transform: translateY(-6px) rotate(-3deg); }
.project__name { font-size: 1.25rem; font-weight: 800; color: var(--pink-700); }
.project__meta { color: var(--plum-soft); margin-top: -10px; }

/* ---------- Windows ---------- */
.window {
  background: #fff;
  border: 2px solid var(--plum);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 40px;
  padding: 6px 48px;
  border-bottom: 2px solid var(--plum);
  background:
    repeating-linear-gradient(var(--pink-400) 0 2px, transparent 2px 5px) 0 50% / 100% 14px no-repeat,
    var(--pink-200);
}
.window__title {
  padding: 0 12px;
  font-family: var(--font-pixel);
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--pink-200);
}
.window__close {
  position: absolute;
  left: 10px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  font: 700 1.1rem/1 var(--font-body);
  color: var(--plum);
  background: #fff;
  border: 2px solid var(--plum);
  border-radius: 6px;
  cursor: pointer;
}
.window__close::after { content: ""; position: absolute; inset: -10px; } /* 44px touch target */
.window__body { padding: clamp(20px, 4vw, 40px); }

/* Project dialog */
.window--dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  color: var(--plum);
}
.window--dialog[open] { display: flex; flex-direction: column; animation: window-open .28s cubic-bezier(.2, 1.2, .4, 1); }
.window--dialog .window__body { overflow-y: auto; }
.window--dialog::backdrop { background: rgba(58, 39, 71, .35); backdrop-filter: blur(3px); }
@keyframes window-open { from { opacity: 0; transform: scale(.92) translateY(14px); } }

.case__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.case__facts div { padding: 12px 14px; background: var(--blush); border-radius: 10px; }
.case__facts dt { font-size: .85rem; color: var(--pink-700); font-weight: 700; }
.case__facts dd { margin: 0; font-weight: 600; }
.case h3 { margin: 28px 0 8px; font-size: 1.2rem; }
.case p, .case li { max-width: 68ch; }
.case ul { padding-left: 1.2em; }
.case__values { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0 !important; margin: 0; }
.case__values li::before { content: "( "; color: var(--pink-500); font-weight: 700; }
.case__values li::after  { content: " )"; color: var(--pink-500); font-weight: 700; }
.case h4 { margin: 18px 0 6px; font-size: 1.05rem; }
.case__modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.module {
  padding: 18px 20px;
  border: 2px solid var(--plum);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--plum);
}
.module h4 { margin: 0 0 6px; font-family: var(--font-pixel); font-size: 1.25rem; color: var(--pink-700); }
.module p { margin: 0 0 12px; }
.module ul { margin: 0; padding: 0 !important; list-style: none; display: grid; gap: 4px; }
.module li { padding-left: 18px; position: relative; font-weight: 600; font-size: .95rem; }
.module li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--violet);
}
.case__improve {
  margin-top: 32px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--blush);
  border-radius: 14px;
}
.case__improve h3 { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; list-style: none; margin: 12px 0 0; }
.chips li {
  padding: 4px 12px;
  font-size: .9rem;
  font-weight: 600;
  background: #fff;
  border: 2px solid var(--plum);
  border-radius: 999px;
}
.steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 8px 0 16px; display: grid; gap: 8px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 12px; }
.steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  font: 800 .9rem/1 var(--font-body);
  color: #fff;
  background: var(--pink-700);
  border-radius: 50%;
}
.fix {
  margin-top: 20px;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  border: 2px solid var(--plum);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--plum);
}
.case .fix__title { margin: 0 0 10px; font-family: var(--font-pixel); font-size: 1.3rem; color: var(--pink-700); }
.fix__why { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.fix__why dt { font-weight: 700; }
.fix__why dd { margin: 0; }
.fix h5 { margin: 16px 0 4px; font-size: 1rem; }
.results {
  list-style: none;
  padding: 0 !important;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.results li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--blush);
  border-left: 4px solid var(--violet);
  border-radius: 6px;
}
.results strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.results span { font-size: .88rem; color: var(--plum-soft); line-height: 1.4; }
@media (max-width: 560px) {
  .fix__why { grid-template-columns: 1fr; }
  .fix__why dd { margin-bottom: 8px; }
}
.gallery { display: grid; gap: 20px; margin: 24px 0 8px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: auto;
  border: 2px solid var(--plum);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--plum);
}
.gallery figcaption { margin-top: 8px; font-size: .9rem; color: var(--plum-soft); }
.case__link { margin: 28px 0 0; }
.todo {
  display: inline-block;
  padding: 0 8px;
  font-size: .9em;
  background: var(--butter);
  border-radius: 4px;
  transform: rotate(-1deg);
}

/* ---------- Process journey ---------- */
.journey {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0; right: 0;
  border-top: 3px dotted var(--plum-soft);
}
.journey__step { position: relative; }
.journey__node {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 800;
  font-weight: 700;
  color: #fff;
  background: var(--plum);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--blush);
}
.journey__step:nth-child(2) .journey__node { background: var(--pink-700); }
.journey__step:nth-child(3) .journey__node { background: var(--violet); color: var(--plum); }
.journey__step--loop {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border: 2px dashed var(--plum-soft);
  border-radius: 14px;
}
.journey__step--loop .journey__node { flex: none; margin: 0; font-size: 1.3rem; background: var(--pink-500); box-shadow: none; }
.journey__step h3 { margin: 0 0 6px; font-size: 1.35rem; }
.journey__step p { margin: 0; color: var(--plum-soft); }

/* ---------- Contact ---------- */
.window--contact { max-width: 760px; margin: 0 auto; }
.contact__big {
  margin: 0 0 12px;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.05;
  color: var(--pink-700);
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.contact__lines {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(58, 39, 71, .3);
}
.contact__lines dt { color: var(--pink-700); font-weight: 700; }
.contact__lines dd { margin: 0; overflow-wrap: anywhere; }
.contact__lines a { text-decoration-color: var(--pink-400); text-underline-offset: 3px; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  padding: 12px 0;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  background: var(--butter);
  border-block: 2px solid var(--plum);
}
.ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker__track span { white-space: pre; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .profile { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .journey::before { display: none; }
}

@media (max-width: 760px) {
  .menubar__nav { display: none; }
  .desk { grid-template-rows: auto auto auto; gap: 40px; }
  .hero { padding-top: 32px; }
  .tag--plan { left: -4%; }
  .tag--build { right: -2%; }
  .icons {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .icon { position: static; width: auto; padding: 6px 0; font-size: .85rem; }
  .icon .mini-folder { width: 56px; height: 42px; }
  .icon .mini-file { width: 38px; height: 48px; }
  .meteor { width: 84px; }
  .meteor:nth-child(2), .pixel { display: none; }
  .hero__name { font-size: clamp(3.2rem, 17vw, 5rem); }
}

@media (max-width: 560px) {
  .profile__lists { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr auto; }
  .timeline__date { grid-column: 1 / -1; font-size: .9rem; }
  .journey { grid-template-columns: 1fr; }
  .sel-title { gap: 12px; }
}

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