/* =========================================================
   Lars Paping — Portfolio
   ========================================================= */

:root {
  --paper: #e4e3df;
  --paper-ink: #0d0d0d;
  --bg: #0a0a0a;
  --panel: #111111;
  --line: #242424;
  --line-soft: #1b1b1b;
  --text: #f1f0ec;
  --muted: #8c8b87;
  --dim: #3a3a39;
  --accent: #f2542d;

  --pad: clamp(16px, 2.4vw, 36px);
  --radius: clamp(20px, 2.2vw, 30px);
  --maxw: 1360px;

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);

  interpolate-size: allow-keywords;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* fijne korrel over alles, zoals een fotoprint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection { background: var(--accent); color: #0a0a0a; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--accent); }

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

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #0a0a0a; padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip:focus { top: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  --ph: min(90svh, 1000px);                 /* hoogte portret */
  --pw: calc(var(--ph) * 0.6343);           /* breedte portret (888 / 1400) */
  position: relative;
  height: 100svh;
  min-height: 620px;
  max-height: 1200px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 48% 55%, #efeeea 0%, transparent 70%),
    var(--paper);
  color: var(--paper-ink);
  isolation: isolate;
}

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr auto;
  align-items: center;
  padding: 22px var(--pad);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.topbar a { position: relative; width: max-content; }
.topbar a:not(.topbar__brand)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.topbar a:hover::after { transform: scaleX(1); transform-origin: left; }

.hero__name {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: var(--name-top, 41%);
  z-index: 1;
  margin: 0;
  font-weight: 500;
  font-size: 15.4vw;                        /* JS past dit exact aan de breedte aan */
  line-height: .8;
  letter-spacing: -0.065em;
  white-space: nowrap;
  font-kerning: normal;
}
.hero__line { display: inline-block; padding-right: .06em; }
.hero__word { display: inline-block; }

.portrait {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: calc(50% - var(--pw) * 0.53);
  height: var(--ph);
  width: var(--pw);
  will-change: transform;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  transition: filter 1.2s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.portrait:hover img { filter: grayscale(.15) contrast(1.02); }

/* De omlijnde naam alleen zichtbaar binnen de vorm van het portret */
.portrait__mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url("../assets/lars-portrait.webp") center bottom / 100% 100% no-repeat;
          mask: url("../assets/lars-portrait.webp") center bottom / 100% 100% no-repeat;
}
.hero__name--ghost {
  right: auto;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(13, 13, 13, .62);
  z-index: 3;
}

.hero__social {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: calc(9% + 34px);
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.hero__social a { display: block; width: 22px; height: 22px; transition: transform .35s var(--ease), color .35s; }
.hero__social a:hover { transform: translateY(-2px); color: var(--accent); }
.hero__social svg { width: 100%; height: 100%; }

.hero__meta {
  position: absolute; z-index: 4;
  left: var(--pad); bottom: 9%;
  margin: 0;
  font-family: var(--mono); font-size: 12px; color: #55544f;
}

.hero__role {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 8%;
  margin: 0;
  display: grid;
  font-size: clamp(1.6rem, 3.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-align: left;
}

/* Intro-animatie (alleen met JS) */
.js .hero__name:not(.hero__name--ghost) .hero__word,
.js .hero__name--ghost .hero__word {
  opacity: 0;
  transform: translateY(35%);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.js .hero__word:nth-child(2) { transition-delay: .12s; }
/* de omlijning verschijnt pas als het portret stilstaat */
.js .hero__name--ghost .hero__word { transform: none; transition: opacity 1s var(--ease) 1.15s; }
.js .portrait { opacity: 0; translate: 0 40px; transition: opacity 1.2s var(--ease) .15s, translate 1.4s var(--ease) .15s; }
.js .topbar, .js .hero__role, .js .hero__social, .js .hero__meta { opacity: 0; transition: opacity 1s var(--ease) .5s; }
.is-loaded .hero__word { opacity: 1 !important; transform: none !important; }
.is-loaded .portrait { opacity: 1; translate: 0 0; }
.is-loaded .topbar, .is-loaded .hero__role, .is-loaded .hero__social, .is-loaded .hero__meta { opacity: 1; }

/* =========================================================
   ZWEVENDE NAV
   ========================================================= */
.navpill {
  position: fixed;
  z-index: 90;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  background: rgba(18, 18, 18, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-size: 14px;
  font-weight: 500;
  transform: translate(-50%, -150%);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.navpill.is-visible { transform: translate(-50%, 0); opacity: 1; }
.navpill a { padding: 8px 14px; border-radius: 999px; color: #b9b8b3; white-space: nowrap; transition: color .25s, background .25s; }
.navpill a:hover { color: var(--text); background: #1f1f1f; }
.navpill__logo {
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0 !important;
  background: var(--accent); color: #0a0a0a !important;
  font-weight: 600; font-size: 13px; letter-spacing: -0.02em;
}
.navpill .navpill__cta { background: var(--text); color: #0a0a0a; }
.navpill .navpill__cta:hover { background: #fff; color: #0a0a0a; }

/* =========================================================
   ALGEMEEN: SECTIES & FRAMES
   ========================================================= */
main { position: relative; }

.section { padding: 10px var(--pad); }

.frame {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(22px, 4.5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #131313 0%, var(--panel) 40%);
  box-shadow: 0 1px 0 rgba(255,255,255,.035) inset;
}

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 5vw, 64px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section__title {
  margin: 0 0 clamp(24px, 4vw, 48px);
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -0.045em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.pill:hover { background: var(--text); color: #0a0a0a; border-color: var(--text); }
.pill--ghost { border-color: transparent; color: var(--muted); }
.pill--ghost:hover { background: transparent; color: var(--text); border-color: #3a3a3a; }

/* Reveal bij scrollen */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative;
  padding: clamp(60px, 9vw, 140px) var(--pad) clamp(40px, 6vw, 90px);
  overflow: hidden;
}
.ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 22vw;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: .8;
  white-space: nowrap;
  color: #141414;
  pointer-events: none;
  user-select: none;
}
.statement__frame {
  max-width: 1080px;
  min-height: clamp(320px, 42vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(255,255,255,.07) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(242,84,45,.08) 0%, transparent 70%),
    #101010;
}
.statement__text {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}
.statement__foot {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

/* =========================================================
   INTRO
   ========================================================= */
.intro__text {
  margin: 0;
  font-size: clamp(1.75rem, 4.3vw, 4.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-indent: 22%;
}
.intro__text .w { color: var(--dim); transition: color .5s var(--ease); }
.intro__text .w.on { color: var(--text); }
.intro__text em .w.on { color: var(--accent); }
.no-js .intro__text .w, .intro__text:not([data-split]) { color: var(--text); }

.intro__aside {
  max-width: 400px;
  margin: clamp(32px, 5vw, 64px) 0 0 auto;
  margin-right: 8%;
  color: var(--muted);
  font-size: 15px;
}
.intro__aside p { margin: 0 0 24px; }

.stats {
  list-style: none;
  margin: clamp(48px, 8vw, 110px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
}
.stats li { padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.stats strong {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stats span:not([data-count]) { color: var(--muted); font-size: 14px; max-width: 22ch; }

/* =========================================================
   EXPERTISE
   ========================================================= */
.skill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 56px) 0;
}
.skill + .skill { border-top: 1px solid var(--line-soft); }
.skill__num {
  font-size: clamp(6rem, 17vw, 16rem);
  font-weight: 200;
  line-height: .78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.2px #d8d7d2;
  font-feature-settings: "zero" 1, "tnum" 1;
  position: sticky;
  top: 96px;
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}
.skill:hover .skill__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.skill__body h2 {
  margin: 4px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.skill__body > p { margin: 0 0 28px; max-width: 46ch; color: var(--muted); font-size: 15px; }

.list { list-style: none; margin: 0; padding: 0; counter-reset: li; }
.list li {
  counter-increment: li;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::after { content: "0" counter(li); font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  margin: clamp(50px, 8vw, 110px) 0;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  padding: clamp(14px, 2vw, 26px) 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  width: max-content;
  animation: marquee 46s linear infinite;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.marquee__track span:nth-of-type(even) { color: var(--bg); -webkit-text-stroke: 2px #cfcfca; paint-order: stroke fill; }
.marquee__track i { font-style: normal; color: var(--accent); font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ERVARING (accordeon)
   ========================================================= */
.jobs { border-bottom: 1px solid var(--line); }
.job { border-top: 1px solid var(--line); }
.job summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.25fr) minmax(0, 1.2fr) 10.5rem 1.6rem;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px) 4px;
  transition: padding .45s var(--ease), color .3s;
}
.job summary::-webkit-details-marker { display: none; }
.job summary:hover { padding-left: 14px; }
.job summary:hover .job__role { color: var(--accent); }
.job__idx { color: var(--muted); }
.job__role {
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color .3s;
}
.job__org { color: #bdbcb7; font-size: 15px; }
.job__date { color: var(--muted); text-align: right; }
.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 8px 2px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0a;
  font: 500 10.5px/1.3 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translateY(-2px);
}
.job__toggle { position: relative; width: 16px; height: 16px; justify-self: end; }
.job__toggle::before, .job__toggle::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease);
}
.job__toggle::after { transform: rotate(90deg); }
.job[open] .job__toggle::after { transform: rotate(0deg); }

.job::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .55s var(--ease), content-visibility .55s allow-discrete;
}
.job[open]::details-content { block-size: auto; }

.job__body {
  list-style: none;
  margin: 0;
  padding: 0 0 28px calc(3.4rem + 20px);
  display: grid;
  gap: 10px;
  max-width: 920px;
  color: var(--muted);
  font-size: 15px;
}
.job__body li { position: relative; padding-left: 22px; }
.job__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--accent); }

/* =========================================================
   TABELLEN
   ========================================================= */
.split { display: grid; gap: 14px; max-width: var(--maxw); margin: 0 auto; }
.split .frame { margin: 0; width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left;
  font: 400 11px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0 12px 14px 0;
}
.table td { padding: 18px 12px 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.table td:first-child { font-weight: 500; width: 42%; }
.table td:nth-child(2) { color: #bdbcb7; }
.table td.mono { color: var(--muted); white-space: nowrap; }
.table .num { text-align: right; padding-right: 0; width: 3rem; }
.table tbody tr { transition: background .3s; }
.table tbody tr:hover td:first-child { color: var(--accent); }
.table tbody tr:last-child td { border-bottom: 1px solid var(--line); }

/* =========================================================
   BUITEN WERK
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  min-height: clamp(220px, 24vw, 300px);
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * .7);
  background: #0e0e0e;
  transition: border-color .4s, transform .5s var(--ease), background .4s !important;
}
.card:hover { border-color: #3d3d3d; background: #141414; transform: translateY(-4px); }
.card .mono { color: var(--accent); }
.card h3 {
  margin: clamp(56px, 7vw, 110px) 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.card p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 34ch; }

/* =========================================================
   CONTACT & FOOTER
   ========================================================= */
.contact { padding-top: 10px; }
.contact__frame {
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(242,84,45,.13) 0%, transparent 65%),
    #111;
}
.contact__title {
  margin: 0 0 22px;
  font-size: clamp(3rem, 10vw, 9.6rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -0.06em;
}
.contact__lead { margin: 0 0 clamp(36px, 6vw, 72px); color: var(--muted); max-width: 46ch; }
.contact__mail {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  max-width: 100%;
  font-size: clamp(1.35rem, 4.6vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 6px;
  overflow-wrap: anywhere;
  transition: color .3s, background-size .6s var(--ease);
}
.contact__mail span { color: var(--accent); transition: transform .45s var(--ease); display: inline-block; }
.contact__mail:hover { color: var(--accent); }
.contact__mail:hover span { transform: translate(4px, -4px); }
.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(32px, 5vw, 56px);
}
.contact__loc { margin-left: auto; color: var(--muted); }

.footer { padding: clamp(50px, 7vw, 90px) 0 0; overflow: hidden; }
.footer__bar {
  display: flex;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 18px;
  color: var(--muted);
}
.footer__bar a:hover { color: var(--text); }
.footer__name {
  padding: 0 var(--pad);
  font-size: 15.4vw;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: .74;
  white-space: nowrap;
  color: #181818;
  padding-bottom: .02em;
  user-select: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* minder brede schermen (tablet, klein venster): portret iets kleiner zodat de functietitel er niet overheen valt */
@media (min-width: 701px) and (max-aspect-ratio: 4/3) {
  .hero { --ph: min(80svh, 1000px); }
  .hero__role { font-size: 2.6vw; }
}

@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto auto auto; gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .job summary { grid-template-columns: 2.6rem minmax(0, 1fr) 1.6rem; grid-template-areas: "idx role tog" "idx org tog" "idx date tog"; row-gap: 4px; }
  .job__idx { grid-area: idx; align-self: start; padding-top: 4px; }
  .job__role { grid-area: role; }
  .job__org { grid-area: org; }
  .job__date { grid-area: date; text-align: left; }
  .job__toggle { grid-area: tog; }
  .job__body { padding-left: calc(2.6rem + 16px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; }
  .card h3 { margin-top: 36px; }
}

@media (max-width: 700px) {
  .hero { --ph: min(60svh, 560px); min-height: 640px; }
  .portrait { left: calc(50% - var(--pw) * .5); }
  .topbar { grid-template-columns: 1fr auto auto; gap: 18px; font-size: 14px; padding-top: 18px; }
  .topbar__sub, .topbar a:nth-child(2) { display: none; }
  .hero__name { --name-top: 17%; line-height: .84; white-space: normal; }
  .hero__name .hero__word { display: block; }
  .hero__role { top: 74px; bottom: auto; left: var(--pad); right: auto; display: flex; gap: .35em; font-size: 15px; letter-spacing: -0.01em; color: #55544f; }
  .hero__role span + span::before { content: "·"; margin-right: .35em; }
  .hero__social, .hero__meta { display: none; }

  .statement__text { font-size: 2.15rem; }
  .intro__text { text-indent: 0; }
  .intro__aside { margin-right: 0; }
  .skill { grid-template-columns: 1fr; }
  .skill__num { font-size: 6.5rem; position: static; }
  .cards { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto !important; }
  .table tr { position: relative; padding: 16px 0; border-top: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .table td, .table tbody tr:last-child td { border: 0; padding: 2px 2.6rem 2px 0; }
  .table tbody tr td.num { position: absolute; right: 0; top: 18px; padding: 0; }
  .contact__loc { margin-left: 0; width: 100%; }
  .navpill { font-size: 13px; max-width: calc(100vw - 24px); }
  .navpill a { padding: 8px 10px; }
  .navpill a[href="#expertise"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .portrait, .js .hero__word { opacity: 1 !important; transform: none !important; translate: none !important; }
  .intro__text .w { color: var(--text); }
  .intro__text em .w { color: var(--accent); }
}
