/* ==========================================================================
   Adrian Calderon · Portfolio
   Minimal catalog look: white space, neutral palette, thin lines.
   To change the look, start with the variables below.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;      /* 5.3:1 on white, passes WCAG AA */
  --faint: #8c8c8c;
  --line: #e6e6e6;
  --surface: #f4f4f2;    /* background behind images */
  --accent: #111111;     /* buttons, active chips, focus ring */
  --accent-text: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--bg); padding: 8px 14px; border: 1px solid var(--text); }
.skip-link:focus { left: 16px; }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px;
}

/* A missing image shows the neutral surface instead of a broken-image icon */
img.is-missing { visibility: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.site-nav ul { display: flex; gap: clamp(16px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 0; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 120px; padding: 48px 0 32px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-name { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 6px; }
.footer-sub { color: var(--muted); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; color: var(--faint); font-size: 13px; }
.footer-bottom a { color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--text); background: var(--bg); color: var(--text);
  font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn-primary:hover { background: #333; border-color: #333; color: #fff; }
.btn-block { width: 100%; }
.text-link { font-size: 14px; color: var(--muted); }
.text-link:hover { color: var(--text); }

/* ---------- Home: intro + toolbar ---------- */
.page-intro { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-intro h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.page-intro p { color: var(--muted); max-width: 560px; margin: 0; font-size: 17px; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; margin-bottom: 40px;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px; padding: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.toolbar-right { display: flex; align-items: center; gap: 20px; flex: none; }
.result-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  font-size: 13px; color: var(--text); padding: 6px 18px 6px 2px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 6px top 55%, right 2px top 55%;
  background-size: 4px 4px; background-repeat: no-repeat;
}

/* ---------- Product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; list-style: none; margin: 0; padding: 0; }
.card a { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .45s var(--ease);
}
.card-media .img-hover { opacity: 0; }
@media (hover: hover) {
  .card a:hover .img-hover, .card a:focus-visible .img-hover { opacity: 1; }
  .card a:hover .card-media img, .card a:focus-visible .card-media img { transform: scale(1.035); }
}
.card a:focus-visible { outline-offset: 6px; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--bg); padding: 4px 9px; font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.card-info { padding-top: 14px; }
.card-title { font-size: 15px; font-weight: 500; margin: 0; letter-spacing: 0; }
.card-meta { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.card a:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.empty-state { color: var(--muted); padding: 64px 0; text-align: center; }
.grid > .loading, .grid > .empty-state { grid-column: 1 / -1; }

/* ---------- Project page ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 20px 0 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }

/* Gallery */
.gallery-main { margin: 0; }
.gallery-stage {
  display: block; width: 100%; padding: 0; border: 0; background: var(--surface);
  aspect-ratio: 4 / 3; cursor: zoom-in; position: relative;
}
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage .zoom-hint {
  position: absolute; right: 12px; bottom: 12px; background: var(--bg);
  font-size: 12px; padding: 4px 10px; opacity: 0; transition: opacity .2s;
}
.gallery-stage:hover .zoom-hint, .gallery-stage:focus-visible .zoom-hint { opacity: 1; }
.gallery-main figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 1.6em; }
.thumbs { display: flex; gap: 10px; list-style: none; margin: 16px 0 0; padding: 4px; overflow-x: auto; }
.thumbs button {
  display: block; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid transparent;
  background: var(--surface); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s;
}
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--text); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Info column */
.product-info h1 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 10px; line-height: 1.1; }
.product-dates { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; }
.tag-list li { font-size: 12px; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; color: #333; }
.product-summary { font-size: 16px; line-height: 1.65; margin: 0 0 32px; color: #222; }
.specs { border-top: 1px solid var(--text); margin-bottom: 32px; }
.specs h2 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 14px 0 6px; }
.specs dl { margin: 0; }
.specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: right; }
.product-actions { display: grid; gap: 10px; }
.product-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }

/* Detail sections below the fold */
.detail { margin-top: clamp(64px, 9vw, 120px); }
.detail > h2 { font-size: 22px; margin: 0 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-intro { color: var(--muted); font-size: 14px; margin: -12px 0 24px; }

.details-jump { margin: -18px 0 28px; }

/* Project body: all sections visible + sticky "On this page" menu */
.project-body {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--line);
}
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent;
  font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--text); border-left-color: var(--text); font-weight: 500; }
.doc-section { padding-bottom: 48px; }
.doc-section + .doc-section { border-top: 1px solid var(--line); padding-top: 40px; }
.doc-section > h2 { font-size: 24px; margin: 0 0 18px; }
.prose { max-width: 70ch; color: #2b2b2b; font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--faint); }
.prose > :last-child { margin-bottom: 0; }

/* 3D viewer */
model-viewer {
  width: 100%; height: clamp(340px, 62vh, 620px); background: var(--surface);
  --poster-color: var(--surface); --progress-bar-color: var(--accent);
}
.model-hint { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Before / after slider */
.compare { margin: 0 0 40px; max-width: 820px; }
.compare-frame { position: relative; overflow: hidden; background: var(--surface); --pos: 50%; user-select: none; touch-action: pan-y; }
.compare-frame img { width: 100%; height: auto; pointer-events: none; }
.compare-after { position: absolute; inset: 0; height: 100% !important; object-fit: cover; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--text); pointer-events: none; }
.compare-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--text);
  display: grid; place-items: center; font-size: 15px; letter-spacing: .1em;
}
.compare-label {
  position: absolute; top: 12px; background: var(--bg); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; pointer-events: none;
}
.compare-label.before { left: 12px; }
.compare-label.after { right: 12px; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare-frame:has(.compare-range:focus-visible) .compare-handle::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.video { margin: 0; }
.video-frame { aspect-ratio: 16 / 9; background: var(--surface); }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Downloads */
.downloads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.downloads a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.downloads a:hover .dl-name { text-decoration: underline; }
.dl-name { font-weight: 500; }
.dl-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* More projects row */
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(255, 255, 255, .985); color: var(--text);
}
.lightbox::backdrop { background: rgba(255, 255, 255, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-size: 13px; color: var(--muted); }
.lb-stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0 var(--gutter); min-height: 0; }
.lb-stage figure { margin: 0; height: 100%; min-height: 0; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; }
.lb-caption { text-align: center; font-size: 14px; color: var(--muted); padding: 16px var(--gutter) 24px; min-height: 3em; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  display: grid; place-items: center; cursor: pointer; font-size: 18px; line-height: 1; transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn[hidden] { visibility: hidden; display: grid; }

/* ---------- About ---------- */
.about-hero {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start;
  max-width: 980px; margin: 0 auto; padding-top: clamp(48px, 7vw, 96px);
}
.about-photo { margin: 0; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 8px; }
.about-headline { color: var(--muted); margin: 0 0 32px; }
.about-text p.bio { font-size: 17px; line-height: 1.7; margin: 0 0 18px; color: #222; max-width: 62ch; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.about-section { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; border-top: 1px solid var(--line); padding: 32px 0; }
.about-sections { margin-top: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.about-section h2 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 4px 0 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li + li { margin-top: 28px; }
.row-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.row-title { font-weight: 500; margin: 0; }
.row-sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.row-date { color: var(--muted); font-size: 14px; white-space: nowrap; }
.rows ul { margin: 10px 0 0; padding-left: 18px; color: #2b2b2b; font-size: 15px; }
.rows ul li { margin-bottom: 6px; }
.rows ul li::marker { color: var(--faint); }
.row-link { display: inline-block; margin-top: 6px; font-size: 14px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.skill-list li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; }
.plain-list { margin: 0; padding-left: 18px; }
.plain-list li { margin-bottom: 8px; }

/* ---------- Status / errors ---------- */
.notice { padding: 80px 0; text-align: center; }
.notice h1 { font-size: 28px; margin: 0 0 12px; }
.notice p { color: var(--muted); margin: 0 0 24px; }
.notice code { background: var(--surface); padding: 2px 6px; font-size: 14px; }
.loading { color: var(--muted); padding: 80px 0; text-align: center; font-size: 14px; }

/* Local-only content checker (only shows on localhost) */
.content-check {
  position: fixed; left: 16px; bottom: 16px; z-index: 300; max-width: min(420px, calc(100vw - 32px));
  max-height: 50vh; overflow: auto; background: #fffbea; border: 1px solid #e0c96b;
  font-size: 12px; line-height: 1.5; padding: 12px 14px 10px; box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.content-check strong { display: block; margin-bottom: 6px; }
.content-check ul { margin: 0; padding-left: 16px; }
.content-check button { position: absolute; top: 6px; right: 8px; border: 0; background: none; cursor: pointer; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related > li:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--header-h) + 72px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-info { position: static; }
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 160px; }
  /* "On this page" becomes a sticky strip of chips under the header */
  .project-body { grid-template-columns: minmax(0, 1fr); gap: 24px; border-top: 0; padding-top: 0; }
  .toc {
    top: var(--header-h); z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .toc-title { display: none; }
  .toc ul { display: flex; gap: 8px; overflow-x: auto; border-left: 0; scrollbar-width: none; }
  .toc ul::-webkit-scrollbar { display: none; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; white-space: nowrap; font-size: 13px; }
  .toc a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 400; }
  .doc-section > h2 { font-size: 21px; }
  .about-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .related {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .related > li { scroll-snap-align: start; }
  .related > li:nth-child(4) { display: block; }
}
@media (max-width: 640px) {
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar-right { justify-content: space-between; }
  .chips { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .site-header .wrap { gap: 10px; }
  .brand { letter-spacing: .06em; font-size: 12px; }
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .lb-stage { grid-template-columns: 1fr; padding: 0 12px; }
  .lb-stage .icon-btn { display: none; }
  .related { grid-auto-columns: 70%; }
}
@media (max-width: 560px) {
  .grid { gap: 32px 12px; }
  .card-title { font-size: 14px; }
  .card-meta { font-size: 12px; }
  .card-badge { top: 8px; left: 8px; font-size: 10px; padding: 3px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Basic print for Home / About (project pages use print.css) ---------- */
@media print {
  .site-header, .site-footer, .toolbar, .skip-link, .content-check, .about-actions { display: none !important; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { break-inside: avoid; }
  a { text-decoration: none; }
}
