:root {
  --paper: #f0f4f8;
  --ink: #050505;
  --muted: rgba(5, 5, 5, 0.52);
  --quiet: rgba(5, 5, 5, 0.34);
  --line: rgba(5, 5, 5, 0.14);
  --panel: rgba(240, 244, 248, 0.72);
  --font-heading: "Big Shoulders Display", sans-serif;
  --font-body: "Barlow Condensed", "Inter", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
body.is-dark {
  --paper: #0d0d0d;
  --ink: #f3f3f3;
  --muted: rgba(243, 243, 243, 0.54);
  --quiet: rgba(243, 243, 243, 0.34);
  --line: rgba(243, 243, 243, 0.16);
  --panel: rgba(13, 13, 13, 0.72);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.static-shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.static-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 240px 240px;
  opacity: 0.105;
  mask-image: radial-gradient(circle at 50% 45%, black 0 58%, transparent 90%);
}
.static-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.105;
  mix-blend-mode: overlay;
  background-image: url("../img/grain-texture-strong.png");
  background-repeat: repeat;
  background-size: 180px;
}
.board-nav {
  position: fixed;
  z-index: 100;
  left: 32px;
  right: 32px;
  top: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  pointer-events: none;
}
.board-nav a,
.board-nav button { pointer-events: auto; }
.board-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: max-content;
}
.board-brand span {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.055em;
  transform: scaleY(1.08);
}
.board-brand em {
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.72;
}
.board-links {
  display: flex;
  gap: clamp(13px, 1.35vw, 22px);
  align-items: center;
}
.board-links a {
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.075em;
  transition: opacity 240ms ease, filter 240ms ease, transform 280ms var(--ease-out), letter-spacing 280ms ease;
}
.board-links a:hover,
.board-links a[aria-current="page"] { opacity: 0.58; filter: blur(0.8px); transform: translateY(-1px); letter-spacing: 0.12em; }
.nav-controls { display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px; pointer-events: auto; }
.sound-toggle,
.theme-toggle { display: inline-flex; align-items: center; height: 22px; border: 0; padding: 0; background: transparent; cursor: none; }
.sound-toggle { gap: 8px; opacity: 0.82; }
.sound-icon { width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 999px; position: relative; display: inline-block; }
.sound-icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.sound-label { font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 0.12em; }
.toggle-track { width: 29px; height: 18px; border: 1.5px solid currentColor; border-radius: 999px; display: block; position: relative; }
.toggle-dot { position: absolute; left: 3px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-50%); transition: transform 250ms var(--ease-out), background 250ms ease; }
body.is-dark .toggle-track { background: currentColor; }
body.is-dark .toggle-dot { transform: translate(12px, -50%); background: var(--paper); }
.static-main {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  padding: 200px clamp(32px, 6vw, 92px) 110px;
}
.static-page {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.15fr);
  gap: clamp(50px, 7vw, 130px);
  align-items: start;
}
.static-kicker { color: var(--quiet); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 20px; }
.static-title { margin: 0; max-width: 760px; font-family: var(--font-heading); font-size: clamp(78px, 9vw, 168px); line-height: 0.78; font-weight: 400; letter-spacing: 0.04em; transform: scaleY(1.08); transform-origin: left center; }
.static-intro { margin: 34px 0 0; max-width: 600px; color: var(--muted); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05; }
.static-panel { border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(22px, 3vw, 36px); box-shadow: 0 32px 110px rgba(0,0,0,0.06); }
.static-panel + .static-panel { margin-top: 18px; }
.static-panel span { display: block; margin-bottom: 12px; color: var(--quiet); font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.static-panel p,
.static-panel a { margin: 0; color: color-mix(in srgb, var(--ink) 76%, transparent); font-size: 19px; line-height: 1.22; }
.static-panel a:hover { opacity: 0.58; filter: blur(0.6px); }
.portrait-card { margin: 0 0 22px; padding: 9px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 32px 110px rgba(0,0,0,0.08); transform: rotate(-1deg); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(0.1) contrast(1.04) brightness(0.95); }
.portrait-card figcaption { margin-top: 8px; color: var(--quiet); font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-list { display: grid; gap: 14px; }
.contact-link { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 22px !important; }
.contact-link:last-child { border-bottom: 1px solid var(--line); }
.contact-link em { color: var(--quiet); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.custom-cursor { position: fixed; z-index: 9999; left: 0; top: 0; width: 12px; height: 12px; margin-left: -6px; margin-top: -6px; border-radius: 999px; border: 1px solid #fff; background: transparent; pointer-events: none; opacity: 0.75; mix-blend-mode: difference; transition: width 280ms var(--ease-out), height 280ms var(--ease-out), margin 280ms var(--ease-out), opacity 180ms ease; }
.custom-cursor.is-link { width: 24px; height: 24px; margin-left: -12px; margin-top: -12px; }
@media (max-width: 980px) {
  body { cursor: auto; }
  .custom-cursor { display: none; }
  .board-nav { left: 20px; right: 20px; top: 20px; grid-template-columns: 1fr auto; gap: 16px; }
  .board-links { grid-column: 1 / -1; justify-content: space-between; margin-top: 8px; gap: 10px; }
  .board-links a { font-size: 10px; }
  .sound-label { display: none; }
  .static-main { padding: 140px 20px 80px; }
  .static-page { grid-template-columns: 1fr; gap: 40px; }
}

.static-page {
  grid-template-columns: minmax(260px, 0.62fr) minmax(440px, 1.18fr);
}
.static-title {
  max-width: 560px !important;
  font-size: clamp(58px, 6.2vw, 112px) !important;
  line-height: 0.82 !important;
  letter-spacing: 0.035em !important;
}
.static-intro {
  margin-top: 26px !important;
  max-width: 440px !important;
  font-size: clamp(18px, 1.55vw, 25px) !important;
  line-height: 1.12 !important;
}
.static-panel {
  padding: clamp(18px, 2.15vw, 28px) !important;
}
.static-panel p,
.static-panel a {
  font-size: 17px !important;
  line-height: 1.26 !important;
}
.cv-list {
  display: grid;
  gap: 0;
}
.cv-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 1.1fr);
  gap: 22px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cv-row:last-child { border-bottom: 1px solid var(--line); }
.cv-row strong {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.08;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.cv-row em {
  font-style: normal;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.contact-link {
  font-size: 19px !important;
  padding: 14px 0 !important;
}
.static-shell[data-page="contact"] .static-title {
  max-width: 520px !important;
  font-size: clamp(56px, 5.8vw, 104px) !important;
}
@media (max-width: 980px) {
  .static-page { grid-template-columns: 1fr; }
  .static-title { font-size: clamp(54px, 16vw, 92px) !important; }
  .cv-row { grid-template-columns: 1fr; gap: 6px; }
}

.static-shell {
  transition: background 320ms var(--ease-out), color 320ms ease;
}
body.is-dark .static-shell::before {
  opacity: 0.13;
}
body.is-dark .static-shell::after {
  opacity: 0.09;
  mix-blend-mode: overlay;
}
body.is-dark .static-panel,
body.is-dark .portrait-card,
body.is-dark .contact-simple-card {
  box-shadow: 0 32px 110px rgba(0,0,0,0.34);
}
.about-cv-page {
  grid-template-columns: minmax(260px, 0.56fr) minmax(480px, 1.28fr) !important;
  gap: clamp(58px, 8vw, 150px) !important;
}
.static-side {
  position: sticky;
  top: 188px;
  align-self: start;
}
.about-cv-page .static-title {
  max-width: 520px !important;
  font-size: clamp(52px, 5.25vw, 96px) !important;
  line-height: 0.86 !important;
}
.about-cv-page .static-intro {
  max-width: 430px !important;
  font-size: clamp(17px, 1.36vw, 22px) !important;
  line-height: 1.18 !important;
}
.static-content-stack {
  display: grid;
  gap: 18px;
}
.profile-panel p {
  font-size: 18px !important;
  line-height: 1.28 !important;
}
.portrait-card-small {
  width: min(100%, 560px);
  justify-self: end;
  margin-bottom: 6px !important;
}
.portrait-card-small img {
  aspect-ratio: 16 / 10 !important;
}
.cv-panel .cv-list {
  gap: 0;
}
.cv-panel .cv-row {
  grid-template-columns: minmax(165px, 0.75fr) minmax(260px, 1.25fr);
  padding: 16px 0;
}
.cv-panel .cv-row strong {
  font-size: 18px;
  line-height: 1.08;
}
.cv-panel .cv-row em {
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.105em;
}
.cv-grid-panel .skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--line);
}
.cv-grid-panel .skill-grid p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px !important;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
}
.cv-grid-panel .skill-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-main {
  display: grid;
  align-items: center;
}
.contact-simple-page {
  grid-template-columns: minmax(250px, 0.55fr) minmax(360px, 0.95fr) !important;
  align-items: center !important;
}
.contact-title {
  max-width: 320px !important;
  font-size: clamp(52px, 5vw, 88px) !important;
  line-height: 0.86 !important;
}
.contact-intro {
  max-width: 330px !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
  line-height: 1.18 !important;
}
.contact-simple-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(18px, 2.2vw, 30px);
  box-shadow: 0 32px 110px rgba(0,0,0,0.06);
}
.contact-simple-link {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  transition: opacity 240ms ease, filter 240ms ease, transform 280ms var(--ease-out);
}
.contact-simple-link:last-child {
  border-bottom: 1px solid var(--line);
}
.contact-simple-link span {
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
}
.contact-simple-link em {
  align-self: center;
  color: var(--quiet);
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-simple-link:hover {
  opacity: 0.58;
  filter: blur(0.6px);
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .static-side { position: relative; top: auto; }
  .about-cv-page,
  .contact-simple-page { grid-template-columns: 1fr !important; }
  .portrait-card-small { justify-self: stretch; width: 100%; }
  .cv-panel .cv-row { grid-template-columns: 1fr; gap: 6px; }
  .cv-grid-panel .skill-grid,
  .cv-grid-panel .skill-grid.compact { grid-template-columns: 1fr; }
  .contact-main { align-items: start; }
}

body.is-page-leaving::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  background: var(--paper);
  opacity: 1;
  animation: staticPageLeave 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes staticPageLeave {
  from { opacity: 0; filter: blur(0); }
  to { opacity: 0.96; filter: blur(5px); }
}
body.is-page-leaving .static-shell {
  transition: opacity 360ms ease, filter 420ms ease;
  opacity: 0.18;
  filter: blur(8px);
}
.portrait-card-small img {
  aspect-ratio: 3 / 4 !important;
  object-position: center top;
}

:root {
  --tape-a: url("../img/tape/41.png");
  --tape-b: url("../img/tape/42.png");
  --tape-c: url("../img/tape/43.png");
  --tape-d: url("../img/tape/44.png");
  --tape-e: url("../img/tape/45.png");
}

.portrait-card-small,
.contact-simple-card,
.static-panel:nth-of-type(3),
.static-panel:nth-of-type(5) {
  position: relative;
  overflow: visible;
}

.portrait-card-small::before,
.portrait-card-small::after,
.contact-simple-card::before,
.contact-simple-card::after,
.static-panel:nth-of-type(3)::before,
.static-panel:nth-of-type(5)::before {
  content: "";
  position: absolute;
  z-index: 8;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(0.92) brightness(0.98);
  opacity: 0.56;
}

body.is-dark .portrait-card-small::before,
body.is-dark .portrait-card-small::after,
body.is-dark .contact-simple-card::before,
body.is-dark .contact-simple-card::after,
body.is-dark .static-panel:nth-of-type(3)::before,
body.is-dark .static-panel:nth-of-type(5)::before {
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: contrast(0.95) saturate(0.75) brightness(1.12);
}

.portrait-card-small::before {
  top: -42px;
  left: 50%;
  width: 220px;
  height: 82px;
  transform: translateX(-50%) rotate(-2deg);
  background-image: var(--tape-b);
  opacity: 0.64;
}

.portrait-card-small::after {
  right: -34px;
  bottom: 52px;
  width: 132px;
  height: 50px;
  transform: rotate(15deg);
  background-image: var(--tape-d);
  opacity: 0.45;
}

.static-panel:nth-of-type(3)::before,
.static-panel:nth-of-type(5)::before {
  top: -24px;
  left: 44px;
  width: 118px;
  height: 44px;
  transform: rotate(-5deg);
  background-image: var(--tape-a);
  opacity: 0.45;
}

.static-panel:nth-of-type(5)::before {
  left: auto;
  right: 54px;
  transform: rotate(4deg);
  background-image: var(--tape-e);
}

.contact-simple-card::before {
  top: -31px;
  left: 50%;
  width: 168px;
  height: 60px;
  transform: translateX(-50%) rotate(-2deg);
  background-image: var(--tape-b);
  opacity: 0.56;
}

.contact-simple-card::after {
  right: 78px;
  bottom: -29px;
  width: 122px;
  height: 46px;
  transform: rotate(8deg);
  background-image: var(--tape-d);
  opacity: 0.46;
}

body[data-page="error"],
.static-shell[data-page="error"] {
  min-height: 100dvh;
  overflow: hidden;
}

.static-shell[data-page="error"] .static-main,
.error-main {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: clamp(112px, 12vh, 160px);
  padding-bottom: clamp(42px, 8vh, 96px);
}

.error-page {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(380px, 0.92fr);
  gap: clamp(52px, 8vw, 136px);
  align-items: center;
}

.error-page::before {
  content: "";
  position: absolute;
  inset: -18vh -8vw -14vh;
  background:
    radial-gradient(circle at 78% 48%, color-mix(in srgb, var(--ink) 7%, transparent) 0, transparent 42%),
    radial-gradient(circle at 16% 52%, color-mix(in srgb, var(--ink) 5%, transparent) 0, transparent 40%);
  opacity: 0.62;
  pointer-events: none;
}

.error-code {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(170px, 24vw, 390px);
  line-height: 0.72;
  font-weight: 500;
  letter-spacing: 0.025em;
  transform: scaleY(1.08) translateY(8px);
  transform-origin: left center;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
  animation: errorIntro 900ms var(--ease-out) both;
}

.error-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: clamp(28px, 3.5vw, 54px);
  box-shadow: 0 34px 120px rgba(0,0,0,0.07);
  animation: errorPanelIntro 860ms 120ms var(--ease-out) both;
}

.error-panel::before {
  display: none;
}

.error-panel span {
  display: block;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-panel h1 {
  max-width: 690px;
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(58px, 6vw, 106px);
  line-height: 0.84;
  font-weight: 400;
  letter-spacing: 0.04em;
  transform: scaleY(1.06);
  transform-origin: left center;
}

.error-panel p {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.18;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 54%, transparent);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: opacity 260ms ease, transform 320ms var(--ease-out), border-color 260ms ease;
}

.error-action:hover {
  opacity: 0.72;
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.error-hint {
  margin: 36px 0 0 !important;
  color: var(--quiet) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes errorIntro {
  from {
    opacity: 0;
    transform: scaleY(1.08) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scaleY(1.08) translateY(8px);
  }
}

@keyframes errorPanelIntro {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .static-shell[data-page="error"] {
    overflow: auto;
  }

  .static-shell[data-page="error"] .static-main,
  .error-main {
    min-height: 100dvh;
    padding-top: 128px;
    padding-bottom: 42px;
  }

  .error-page {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .error-code {
    font-size: clamp(118px, 42vw, 220px);
    opacity: 0.18;
  }

  .error-panel {
    padding: 26px 22px;
  }
}

.portrait-card-small::before,
.portrait-card-small::after,
.contact-simple-card::before,
.contact-simple-card::after,
.static-panel:nth-of-type(3)::before,
.static-panel:nth-of-type(5)::before {
  opacity: 0.72 !important;
  filter: contrast(1.16) saturate(0.95) brightness(0.96) drop-shadow(0 10px 12px rgba(0,0,0,0.055));
}

body.is-dark .portrait-card-small::before,
body.is-dark .portrait-card-small::after,
body.is-dark .contact-simple-card::before,
body.is-dark .contact-simple-card::after,
body.is-dark .static-panel:nth-of-type(3)::before,
body.is-dark .static-panel:nth-of-type(5)::before {
  opacity: 0.5 !important;
}

.portrait-card-small::before {
  top: -48px !important;
  left: 50% !important;
  width: 250px !important;
  height: 92px !important;
  transform: translateX(-50%) rotate(-2deg) !important;
}

.portrait-card-small::after {
  right: -40px !important;
  bottom: 58px !important;
  width: 148px !important;
  height: 56px !important;
  opacity: 0.58 !important;
}

.contact-simple-card::before {
  top: -34px !important;
  left: 50% !important;
  width: 190px !important;
  height: 68px !important;
  transform: translateX(-50%) rotate(-2deg) !important;
}

.contact-simple-card::after {
  right: 62px !important;
  bottom: -31px !important;
  width: 138px !important;
  height: 52px !important;
  transform: rotate(8deg) !important;
  opacity: 0.64 !important;
}

.portrait-card-small::before {
  opacity: 0.9 !important;
  width: 270px !important;
  height: 100px !important;
  top: -52px !important;
  filter: contrast(1.22) saturate(1.02) brightness(0.94) drop-shadow(0 10px 12px rgba(0,0,0,0.065)) !important;
}
.portrait-card-small::after {
  opacity: 0.74 !important;
  filter: contrast(1.22) saturate(1.02) brightness(0.94) drop-shadow(0 10px 12px rgba(0,0,0,0.065)) !important;
}
.contact-simple-card::before {
  opacity: 0.9 !important;
  left: 50% !important;
  width: 202px !important;
  height: 72px !important;
  filter: contrast(1.22) saturate(1.02) brightness(0.94) drop-shadow(0 10px 12px rgba(0,0,0,0.065)) !important;
}
.contact-simple-card::after {
  opacity: 0.78 !important;
  right: 44px !important;
  width: 148px !important;
  height: 56px !important;
  filter: contrast(1.22) saturate(1.02) brightness(0.94) drop-shadow(0 10px 12px rgba(0,0,0,0.065)) !important;
}
body.is-dark .portrait-card-small::before,
body.is-dark .portrait-card-small::after,
body.is-dark .contact-simple-card::before,
body.is-dark .contact-simple-card::after {
  opacity: 0.58 !important;
  mix-blend-mode: screen !important;
}

.archive-top-nav,
.board-nav {
  isolation: isolate !important;
  overflow: visible !important;
  z-index: 160 !important;
  background: transparent !important;
}

.archive-top-nav > *,
.board-nav > * {
  position: relative !important;
  z-index: 2 !important;
}

.archive-top-nav::before,
.board-nav::before {
  content: "" !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 132px !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 97%, transparent) 0%,
      color-mix(in srgb, var(--paper) 92%, transparent) 22%,
      color-mix(in srgb, var(--paper) 78%, transparent) 44%,
      color-mix(in srgb, var(--paper) 48%, transparent) 66%,
      color-mix(in srgb, var(--paper) 16%, transparent) 86%,
      transparent 100%
    ) !important;

  backdrop-filter: blur(16px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.02) !important;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 58%,
      rgba(0, 0, 0, 0.5) 78%,
      transparent 100%
    ) !important;
  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 58%,
      rgba(0, 0, 0, 0.5) 78%,
      transparent 100%
    ) !important;
}

.archive-top-nav::after,
.board-nav::after {
  content: "" !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 78px !important;
  z-index: 1 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 99%, transparent) 0%,
      color-mix(in srgb, var(--paper) 90%, transparent) 50%,
      color-mix(in srgb, var(--paper) 34%, transparent) 82%,
      transparent 100%
    ) !important;

  backdrop-filter: blur(22px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.02) !important;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 48%,
      rgba(0, 0, 0, 0.36) 78%,
      transparent 100%
    ) !important;
  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 48%,
      rgba(0, 0, 0, 0.36) 78%,
      transparent 100%
    ) !important;
}

body.is-dark .archive-top-nav::before,
body.is-dark .board-nav::before {
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 97%, transparent) 0%,
      color-mix(in srgb, var(--paper) 90%, transparent) 22%,
      color-mix(in srgb, var(--paper) 74%, transparent) 44%,
      color-mix(in srgb, var(--paper) 46%, transparent) 66%,
      color-mix(in srgb, var(--paper) 16%, transparent) 86%,
      transparent 100%
    ) !important;
}

body.is-dark .archive-top-nav::after,
body.is-dark .board-nav::after {
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 99%, transparent) 0%,
      color-mix(in srgb, var(--paper) 88%, transparent) 50%,
      color-mix(in srgb, var(--paper) 32%, transparent) 82%,
      transparent 100%
    ) !important;
}

@media (max-width: 980px) {
  .archive-top-nav::before,
  .board-nav::before {
    height: 118px !important;
  }

  .archive-top-nav::after,
  .board-nav::after {
    height: 72px !important;
  }
}

.page-shell--about,
.about-page,
.about-stage {
  position: relative;
}

.about-stage {
  z-index: 3;
}

.about-image {
  position: relative;
  z-index: 4;
  display: block;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shell--about .archive-top-nav {
  overflow: visible !important;
  isolation: isolate !important;
}

.page-shell--about .archive-top-nav::before {
  content: "" !important;
  position: absolute !important;
  z-index: -2 !important;
  left: -42px !important;
  right: -42px !important;
  top: -34px !important;
  height: 148px !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 96%, transparent) 0%,
      color-mix(in srgb, var(--paper) 88%, transparent) 28%,
      color-mix(in srgb, var(--paper) 64%, transparent) 56%,
      color-mix(in srgb, var(--paper) 24%, transparent) 82%,
      transparent 100%
    ) !important;

  backdrop-filter: blur(16px) saturate(1.02) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.02) !important;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 48%,
      rgba(0, 0, 0, 0.55) 76%,
      transparent 100%
    ) !important;
  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 48%,
      rgba(0, 0, 0, 0.55) 76%,
      transparent 100%
    ) !important;
}

@media (max-width: 980px) {
  .page-shell--about .archive-top-nav::before {
    left: -18px !important;
    right: -18px !important;
    top: -18px !important;
    height: 118px !important;
  }
}

.about-footer {
  position: fixed !important;
  z-index: 140 !important;
  left: 32px !important;
  right: 32px !important;
  bottom: 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  pointer-events: none !important;
}

.about-footer span,
.about-footer a {
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  pointer-events: auto !important;
}

.about-footer span {
  min-width: 36px !important;
  display: inline-block !important;
  font-variant-numeric: tabular-nums !important;
}

.about-footer a {
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 280ms var(--ease-out),
    letter-spacing 280ms ease !important;
}

.about-footer a:hover {
  opacity: 0.6 !important;
  filter: blur(0.5px) !important;
  transform: translateY(-1px) !important;
  letter-spacing: 0.09em !important;
}

@media (max-width: 980px) {
  .about-footer {
    left: 20px !important;
    right: 20px !important;
    bottom: 18px !important;
  }
}

.about-recent-work {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: clamp(90px, 12vh, 150px);
  padding-bottom: clamp(120px, 16vh, 190px);
}

.about-related-heading {
  width: 100%;
  margin: 0 0 34px;
  color: var(--quiet);
}

.about-related-heading span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-other-projects {
  width: min(100%, 960px);
  margin: 0 0 0 auto;
  padding: clamp(48px, 6vw, 82px) 0 clamp(38px, 5vw, 70px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(28px, 3.6vw, 56px);
  overflow: visible;
}

.about-other-projects .case-other-card {
  position: relative;
  display: block;
  flex: 0 1 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  opacity: 0.86;
  transform: none;
  transition:
    opacity 720ms ease,
    filter 720ms ease;
}

.about-other-projects .case-other-card__pin {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0 0 13px;
  overflow: visible;
  transform-origin: center center;
  transition:
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1600ms ease;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

.about-other-projects .case-other-card::before,
.about-other-projects .case-other-card::after {
  content: none !important;
  display: none !important;
}

.about-other-projects .case-other-card__pin::before {
  content: "";
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0.88;
  filter:
    contrast(1.18)
    saturate(1)
    brightness(0.96)
    drop-shadow(0 8px 10px rgba(0, 0, 0, 0.055));
}

body.is-dark .about-other-projects .case-other-card__pin::before {
  mix-blend-mode: screen;
  opacity: 0.54;
  filter:
    contrast(0.96)
    saturate(0.82)
    brightness(1.12);
}

.about-other-projects .case-other-card__pin img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 2px;
  object-fit: cover;
  object-position: center center;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  box-shadow: 0 22px 74px rgba(0, 0, 0, 0.075);
  filter: grayscale(0.06) contrast(1.03) brightness(0.96) saturate(0.95);
  transform: none;
  transition:
    filter 1800ms ease,
    box-shadow 1900ms ease,
    transform 2200ms cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
}

.about-other-projects .case-other-card__meta {
  display: block;
  color: var(--quiet);
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-other-projects .case-other-card strong {
  display: block;
  margin-top: 8px;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.about-other-projects .case-other-card--jude {
  width: clamp(230px, 22vw, 330px);
  margin-top: -10px;
}

.about-other-projects .case-other-card--y4y {
  width: clamp(168px, 14.5vw, 222px);
  margin-top: 28px;
}

.about-other-projects .case-other-card--festool {
  width: clamp(172px, 15.5vw, 244px);
  margin-top: 2px;
}

.about-other-projects .case-other-card--jude .case-other-card__pin {
  transform: translate3d(0, -4px, 0) rotate(-1.6deg) scale(1);
}

.about-other-projects .case-other-card--y4y .case-other-card__pin {
  transform: translate3d(0, 2px, 0) rotate(1.4deg) scale(1);
}

.about-other-projects .case-other-card--festool .case-other-card__pin {
  transform: translate3d(0, 0, 0) rotate(-0.9deg) scale(1);
}

.about-other-projects .case-other-card--jude img {
  aspect-ratio: 16 / 9.2;
}

.about-other-projects .case-other-card--y4y img,
.about-other-projects .case-other-card--festool img {
  aspect-ratio: 16 / 10;
}

.about-other-projects .case-other-card--jude .case-other-card__pin::before {
  left: 50%;
  top: -33px;
  width: 170px;
  height: 63px;
  transform: translateX(-50%) rotate(-2.4deg);
  background-image: var(--tape-b);
}

.about-other-projects .case-other-card--y4y .case-other-card__pin::before {
  left: 50%;
  top: -30px;
  width: 132px;
  height: 50px;
  transform: translateX(-50%) rotate(3.6deg);
  background-image: var(--tape-d);
}

.about-other-projects .case-other-card--festool .case-other-card__pin::before {
  left: 34px;
  top: -27px;
  width: 130px;
  height: 49px;
  transform: rotate(-7deg);
  background-image: var(--tape-a);
}

.about-other-projects .case-other-card:hover,
.about-other-projects .case-other-card:focus-visible {
  opacity: 1;
}

.about-other-projects .case-other-card--jude:hover .case-other-card__pin,
.about-other-projects .case-other-card--jude:focus-visible .case-other-card__pin {
  transform: translate3d(0, -10px, 0) rotate(-0.35deg) scale(1.012);
}

.about-other-projects .case-other-card--y4y:hover .case-other-card__pin,
.about-other-projects .case-other-card--y4y:focus-visible .case-other-card__pin {
  transform: translate3d(0, -7px, 0) rotate(0.32deg) scale(1.012);
}

.about-other-projects .case-other-card--festool:hover .case-other-card__pin,
.about-other-projects .case-other-card--festool:focus-visible .case-other-card__pin {
  transform: translate3d(0, -8px, 0) rotate(-0.22deg) scale(1.012);
}

.about-other-projects .case-other-card:hover .case-other-card__pin img,
.about-other-projects .case-other-card:focus-visible .case-other-card__pin img {
  filter: grayscale(0) contrast(1.045) brightness(0.985) saturate(0.985);
  box-shadow: 0 30px 94px rgba(0, 0, 0, 0.115);
  transform: translate3d(0, 0, 0) scale(1.002);
}

@media (max-width: 1180px) {
  .about-other-projects {
    gap: clamp(22px, 3vw, 40px);
  }
}

@media (max-width: 980px) {
  .about-recent-work {
    margin-top: 76px;
    padding-bottom: 128px;
  }

  .about-other-projects {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 38px 0 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: start;
  }

  .about-other-projects .case-other-card,
  .about-other-projects .case-other-card--jude,
  .about-other-projects .case-other-card--y4y,
  .about-other-projects .case-other-card--festool {
    width: min(100%, 360px);
    margin-top: 0;
  }

  .about-other-projects .case-other-card--y4y {
    justify-self: end;
    width: min(88%, 320px);
  }

  .about-other-projects .case-other-card--festool {
    width: min(82%, 300px);
  }
}

body .static-shell[data-page="about"] .about-cv-page .static-side .static-title {
  line-height: 0.99 !important;
}

.cv-row[data-logo] {
  cursor: none;
}

.cv-row[data-logo] strong,
.cv-row[data-logo] em {
  transition: opacity 180ms ease, transform 180ms ease;
}

.cv-row[data-logo]:hover strong {
  transform: translateX(5px);
}

.experience-logo-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 140;
  width: 210px;
  height: 145px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) rotate(-1.4deg) scale(0.96);
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.46), transparent 42%),
    color-mix(in srgb, var(--paper) 88%, white 12%);
  box-shadow: 0 24px 55px rgba(20, 24, 28, 0.12);
  backdrop-filter: blur(8px);
}

.experience-logo-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -17px;
  width: 86px;
  height: 34px;
  transform: translateX(-50%) rotate(3deg);
  opacity: 0.72;
  background: url('../img/tape/tape-01.png') center / contain no-repeat;
  pointer-events: none;
}

.experience-logo-preview.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) rotate(-1.4deg) scale(1);
}

.experience-logo-preview img {
  display: block;
  max-width: 118px;
  max-height: 82px;
  object-fit: contain;
  filter: saturate(0.9) contrast(0.96);
}

body.is-dark .experience-logo-preview {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 42%),
    color-mix(in srgb, var(--paper) 88%, black 12%);
  border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

body.is-dark .experience-logo-preview::before {
  opacity: 0.36;
}

@media (hover: none), (pointer: coarse) {
  .experience-logo-preview {
    display: none !important;
  }

  .cv-row[data-logo] {
    cursor: auto;
  }
}

.cv-row[data-logo] {
  position: relative;
  cursor: none;
  grid-template-columns: minmax(165px, 0.75fr) minmax(260px, 1.25fr) 72px !important;
  column-gap: 22px;
}

.cv-row[data-logo] strong,
.cv-row[data-logo] em {
  transition: opacity 180ms ease, transform 180ms ease;
}

.cv-row[data-logo]:hover strong {
  transform: translateX(4px);
}

.experience-row-logo {
  display: block;
  justify-self: end;
  align-self: center;
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-8px) scale(0.92);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease;
  filter: saturate(0.88) contrast(0.96);
  pointer-events: none;
}

.cv-row[data-logo]:hover .experience-row-logo {
  opacity: 0.86;
  transform: translateX(0) scale(1);
}

body.is-dark .experience-row-logo {
  opacity: 0;
  filter: saturate(0.72) contrast(0.9) brightness(0.86);
}

body.is-dark .cv-row[data-logo]:hover .experience-row-logo {
  opacity: 0.68;
}

.experience-logo-preview {
  display: none !important;
}

@media (hover: none), (pointer: coarse) {
  .cv-row[data-logo] {
    cursor: auto;
    grid-template-columns: 1fr !important;
  }

  .experience-row-logo {
    display: none !important;
  }
}
