/* ==========================================================================
   Larnce.com — shared styles
   ========================================================================== */

:root {
  --bg: #0b0b0f;
  --bg-raised: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f5;
  --text-muted: #9a9aa6;
  --accent: #c9c9ff;

  /* Per-project accents (used for hover glows) */
  --accent-me: #e8e8ff;
  --accent-rats: #e5484d;
  --accent-sol: #ff7a1a;
  --accent-art: #38bdf8;

  --radius: 24px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Soft ambient glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 50% 0%, rgba(140, 140, 255, 0.10), transparent 60%),
    radial-gradient(40vmax 30vmax at 0% 100%, rgba(255, 122, 26, 0.07), transparent 60%),
    radial-gradient(40vmax 30vmax at 100% 100%, rgba(229, 72, 77, 0.07), transparent 60%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ==========================================================================
   Landing page
   ========================================================================== */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 24px;
}

.hub {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  max-width: 1100px;
}

.tile {
  --tile-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px) 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tile-accent) 45%, transparent);
  background: color-mix(in srgb, var(--tile-accent) 6%, var(--bg));
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--tile-accent) 45%, transparent);
  outline: none;
}

.tile__logo {
  width: clamp(88px, 10vw, 120px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--tile-accent) 18%, transparent));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.tile:hover .tile__logo,
.tile:focus-visible .tile__logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tile-accent) 32%, transparent));
}

/* Red reads darker than orange, so give it a little more glow to match */
.tile--rats .tile__logo {
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--tile-accent) 28%, transparent));
}

.tile--rats:hover .tile__logo,
.tile--rats:focus-visible .tile__logo {
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tile-accent) 45%, transparent));
}

/* Keep the personal logo's glow subtle so the project colours lead */
.tile--me .tile__logo {
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.05));
}

.tile--me:hover .tile__logo,
.tile--me:focus-visible .tile__logo {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.10));
}

.tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tile__sub {
  margin: -10px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tile__hint {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.tile:hover .tile__hint,
.tile:focus-visible .tile__hint {
  opacity: 1;
  transform: none;
}

/* Individual tiles */
.tile--sol  { --tile-accent: var(--accent-sol);  animation-delay: 0.15s; }
.tile--me   { --tile-accent: var(--accent-me);   animation-delay: 0s; }
.tile--art  { --tile-accent: var(--accent-art);  animation-delay: 0.15s; }
.tile--rats { --tile-accent: var(--accent-rats); animation-delay: 0.25s; }

.tile--sol .tile__sub,
.tile--art .tile__sub,
.tile--rats .tile__sub {
  margin-top: 0;
}

/* Desktop layout "- | :" — SoleroTone on the left, Larnce in the centre,
   Portfolio stacked above Rats House on the right */
@media (min-width: 761px) {
  .hub {
    row-gap: 16px;
  }

  .tile--sol  { grid-column: 1; grid-row: 1 / span 2; }
  .tile--me   { grid-column: 2; grid-row: 1 / span 2; }
  .tile--art  { grid-column: 3; grid-row: 1; }
  .tile--rats { grid-column: 3; grid-row: 2; }

  /* Side tiles are a little more compact so two fit beside the centre */
  .tile--sol,
  .tile--art,
  .tile--rats {
    gap: 14px;
    padding: clamp(20px, 2.6vw, 30px) 20px;
  }

  .tile--sol .tile__logo,
  .tile--art .tile__logo,
  .tile--rats .tile__logo {
    width: clamp(64px, 7vw, 88px);
  }
}

/* The centre tile is the hero: bigger, borderless */
.tile--me {
  padding-block: clamp(36px, 5vw, 64px);
  border-color: transparent;
  background: transparent;
}

.tile--me .tile__logo {
  width: clamp(130px, 16vw, 190px);
}

.tile--me .tile__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tile__tagline {
  margin: -4px 0 14px;
  font-size: 1rem;
  color: #c8c8d0;
  text-wrap: balance;
}

.tile--me .tile__sub {
  margin-top: 0;
  font-size: 0.95rem;
}

.landing__footer {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Mobile: stack vertically, personal tile first */
@media (max-width: 760px) {
  .hub {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 16px;
  }

  .tile--me {
    order: -1;
    padding-block: 8px 24px;
  }

  /* No hover on touch screens, so make "About me" read as a button */
  .tile--me .tile__sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: var(--bg-raised);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
  }

  .tile--me .tile__sub::after {
    content: "→";
    flex-shrink: 0;
    color: var(--text-muted);
  }

  /* Tap feedback */
  .tile:active {
    transform: scale(0.97);
    transition-duration: 0.15s;
  }

  .tile--sol,
  .tile--art,
  .tile--rats {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px 44px 18px 20px;
    text-align: left;
  }

  .tile--sol .tile__logo,
  .tile--art .tile__logo,
  .tile--rats .tile__logo {
    width: 64px;
    flex-shrink: 0;
  }

  .tile--sol .tile__sub,
  .tile--art .tile__sub,
  .tile--rats .tile__sub {
    margin-top: 2px;
  }

  .tile__hint {
    opacity: 1;
    transform: none;
    top: 50%;
    translate: 0 -50%;
  }
}

/* ==========================================================================
   Sub-pages (About / Rats House)
   ========================================================================== */

.page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.back-link:hover {
  color: var(--text);
}

.page-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px 0 40px;
}

.page-header__logo {
  width: 88px;
  flex-shrink: 0;
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-header p {
  margin: 6px 0 0;
  color: var(--text-muted);
  text-wrap: balance;
}

/* Lines only break between phrases, never mid-phrase */
.nowrap {
  white-space: nowrap;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section p {
  margin: 0 0 16px;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Contact / social links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-raised);
}

/* Timeline entries (experience, education) */
.entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry__date {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: 2px;
}

.entry h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.entry__org {
  color: var(--text-muted);
  font-weight: 400;
}

.entry p,
.entry ul {
  margin: 6px 0 0;
  color: #c8c8d0;
  font-size: 0.95rem;
}

.entry ul {
  padding-left: 18px;
}

/* Skill tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.skill-group + .skill-group {
  margin-top: 20px;
}

.skill-group h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Resume accent: bright on screen, deeper shade in print.
   Indigo alternative: #a5b4fc (screen) / #3730a3 (print) */
.page--resume {
  --accent: var(--accent-sol);
}

.page--resume .section h2 {
  color: var(--accent);
}

/* Shown only in the printed / PDF version */
.print-only {
  display: none !important;
}

/* Rats House specifics */
.page--rats {
  --accent: var(--accent-rats);
}

.rats-hero {
  margin: 48px 0 40px;
}

.rats-hero h1 {
  margin: 0;
}

.rats-hero__logo {
  width: min(100%, 380px);
  height: auto;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent-rats) 28%, transparent));
}

.rats-hero .motto {
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.motto {
  font-style: italic;
  color: var(--accent-rats) !important;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.media-grid__item {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.85rem;
  overflow: hidden;
}

a.media-grid__item {
  border-style: solid;
  transition: border-color 0.3s var(--ease);
}

a.media-grid__item:hover {
  border-color: color-mix(in srgb, var(--accent-rats) 50%, transparent);
}

.media-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

a.media-grid__item:hover img {
  transform: scale(1.04);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-rats) 12%, transparent);
  color: var(--accent-rats);
  font-size: 0.85rem;
  font-weight: 500;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.3; }
}

@media (max-width: 600px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.page--portfolio {
  --accent: var(--accent-art);
  max-width: 1100px;
}

.page--portfolio .page-header__logo {
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent-art) 22%, transparent));
}

.page--portfolio .section h2 {
  color: var(--accent);
}

/* Work / Stickers switcher under the page title */
.tabs {
  display: flex;
  gap: 10px;
  margin: -12px 0 32px;
}

.tabs .pill[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent-art) 50%, transparent);
  background: color-mix(in srgb, var(--accent-art) 12%, transparent);
}

/* The collage. Each piece keeps its own shape (posters tall, logos square).
   The script at the bottom of portfolio/index.html packs them together. */
.collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 40vw), 1fr));
  gap: 14px;
}

.collage--packed {
  grid-auto-rows: 2px;
  grid-auto-flow: dense;
  row-gap: 0;
}

.work {
  position: relative;
  display: block;
  align-self: start;
  width: 100%;
  aspect-ratio: var(--ratio, 1);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-raised);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.work.is-loaded img {
  opacity: 1;
}

/* Title + year slide up on hover */
.work__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(5, 5, 8, 0.85));
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.work__caption span {
  color: var(--text-muted);
  font-weight: 400;
}

.work:hover,
.work:focus-visible {
  border-color: color-mix(in srgb, var(--accent-art) 50%, transparent);
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent-art) 45%, transparent);
  outline: none;
}

.work:hover img,
.work:focus-visible img {
  transform: scale(1.04);
}

.work:hover .work__caption,
.work:focus-visible .work__caption {
  opacity: 1;
  transform: none;
}

/* Shown until the first piece is added */
.collage-empty {
  margin: 0;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--text-muted);
  text-align: center;
}

.collage:has(.work) + .collage-empty {
  display: none;
}

/* Sticker board: the script in portfolio/stickers.html shuffles the stickers
   and spirals them out from the centre (new arrangement on every visit) */
.sticker-board {
  position: relative;
  min-height: 400px;
  margin: 24px 0 32px;
}

.sticker {
  --rot: 0deg;
  --delay: 0ms;
  position: absolute;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--rot));
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.sticker img {
  width: 100%;
  height: auto;
}

/* Rectangular stickers get die-cut style rounded corners (size set by the script) */
.sticker--rounded img {
  border-radius: var(--corner, 10px);
}

/* Stickers "slap" on one after another, from the centre outward */
.sticker.is-loaded {
  opacity: 1;
  animation: slap 0.5s var(--ease) var(--delay) backwards;
}

@keyframes slap {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--rot) * 2)) scale(1.35);
  }
}

/* Hover lifts a sticker to the top and straightens it a little */
.sticker:hover,
.sticker:focus-visible {
  z-index: 100 !important;
  transform: translate(-50%, -50%) rotate(calc(var(--rot) * 0.3)) scale(1.08);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55));
  outline: none;
}

/* Preview window */
html:has(.viewer[open]) {
  overflow: hidden;
}

.viewer {
  width: min(1240px, 100vw - 48px);
  height: min(820px, 100dvh - 48px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #111116;
  color: var(--text);
  overflow: hidden;
}

.viewer[open] {
  animation: rise 0.5s var(--ease);
}

.viewer::backdrop {
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(6px);
}

.viewer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  height: 100%;
}

.viewer__media {
  --pad: 24px;
  position: relative;
  min-height: 0;
  background: #07070a;
}

.viewer__media img {
  position: absolute;
  inset: var(--pad);
  width: calc(100% - 2 * var(--pad));
  height: calc(100% - 2 * var(--pad));
  object-fit: contain;
}

.viewer__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 64px 28px 28px;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.viewer__year {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-art);
}

.viewer__info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.viewer__desc {
  margin: 4px 0 0;
  color: #c8c8d0;
}

.viewer__year:empty,
.viewer__desc:empty {
  display: none;
}

.viewer__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.viewer__count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.viewer button.pill {
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.viewer button.pill:disabled {
  opacity: 0.35;
  cursor: default;
}

.viewer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(17, 17, 22, 0.8);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.viewer__close:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 760px) {
  .collage {
    gap: 10px;
  }

  .collage--packed {
    row-gap: 0;
  }

  /* No hover on touch screens, so captions are left for the preview */
  .work__caption {
    display: none;
  }

  /* Preview fills the screen: image on top, details underneath */
  .viewer {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .viewer__inner {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .viewer__media {
    --pad: 12px;
    border-top: 44px solid #07070a;
  }

  .viewer__info {
    max-height: 45dvh;
    padding: 20px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .viewer__info h2 {
    font-size: 1.3rem;
  }

  .viewer__nav {
    padding-top: 12px;
  }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Lets the About page double as a printable / PDF resume */
@media print {
  :root {
    --bg: #fff;
    --text: #111;
    --text-muted: #555;
    --border: #ddd;
    --bg-raised: transparent;
  }

  @page {
    margin: 13mm 14mm;
  }

  body::before,
  .back-link,
  .no-print {
    display: none;
  }

  .page--resume {
    --accent: #c2410c;
  }

  .print-only {
    display: inline-flex !important;
  }

  /* White logo would vanish on paper */
  .page-header__logo {
    filter: invert(1);
  }

  /* Spell out web links, since they can't be clicked on paper */
  .links a[href^="http"]::after {
    content: "\00a0· " attr(href);
    color: var(--text-muted);
  }

  /* Denser layout so the CV fits on about two pages */
  body {
    font-size: 10pt;
    line-height: 1.45;
  }

  .page-header {
    margin: 0 0 16px;
  }

  .page-header__logo {
    width: 64px;
  }

  .page-header h1 {
    font-size: 24pt;
  }

  .section {
    padding: 10px 0;
  }

  .section h2 {
    margin-bottom: 10px;
    break-after: avoid;
  }

  .section p {
    margin-bottom: 8px;
  }

  .links {
    margin-top: 8px;
  }

  .pill {
    padding: 3px 10px;
    font-size: 9pt;
  }

  .entry {
    margin-bottom: 9px;
    break-inside: avoid;
  }

  .entry h3 {
    font-size: 10.5pt;
  }

  .entry__date {
    font-size: 9pt;
  }

  .entry p,
  .entry ul {
    font-size: 9.5pt;
  }

  .skill-group + .skill-group {
    margin-top: 10px;
  }

  .skill-group h3 {
    margin-bottom: 6px;
  }

  .tags li {
    padding: 3px 8px;
    font-size: 8.5pt;
  }

  .entry p,
  .entry ul {
    color: #222;
  }

  .page {
    padding: 0;
  }
}
