/* ==========================================================================
   Jason CJ — Aero glass personal homepage
   Visual direction inspired by Windows Vista / 7 and the glass-card layout
   of 5h1nnN/hexo-theme-aero. All artwork and styling here are original.
   ========================================================================== */

:root {
  --ink: #073346;
  --ink-strong: #052938;
  --ink-soft: #3f5f6e;
  --ink-faint: #6d8894;
  --line: rgba(4, 52, 72, 0.16);
  --line-strong: rgba(2, 38, 55, 0.45);
  --glass: rgba(205, 235, 249, 0.68);
  --glass-strong: rgba(231, 247, 255, 0.8);
  --glass-deep: rgba(169, 216, 239, 0.62);
  --white: #f8fdff;
  --blue: #1d7fa4;
  --blue-deep: #0c5776;
  --blue-light: #bfeafa;
  --green: #57a75d;
  --font: "Segoe UI", "Segoe UI Variable", "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --primary-color: #3c7fb1;
  --secondary-color: #d8e1e7;
  --highlight-color: #aaddfa;
  --white-main: #f2f6f8;
  --aero-grad: linear-gradient(to bottom, #ffffff 0%, var(--secondary-color) 50%, #c8d3da 51%, var(--secondary-color) 100%);
  --aero-ring: 0 0 0 1px var(--white-main), 0 0 0 1.5px rgba(0, 18, 30, 0.68), 3px 3px 10px rgba(0, 22, 34, 0.28);
  --radius: 4px;
  --radius-small: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: #77c9ec;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

::selection {
  color: #052e3f;
  background: #b8edff;
}

:focus-visible {
  outline: 2px solid #0b6281;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 27, 41, 0.22);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Wallpaper
   -------------------------------------------------------------------------- */

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(180deg, #319cdb 0%, #91d6f1 55%, #edfddc 74%, #76b855 75%, #286c37 100%);
}

.background__scene {
  width: 100%;
  height: 100%;
}

.background__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 30% at 78% 4%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 38%, transparent 76%, rgba(2, 38, 24, 0.14) 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Layout base + glass material
   -------------------------------------------------------------------------- */

.site {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 24px;
}

.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 65% at 16% 0%, rgba(255, 255, 255, 0.28), transparent 66%),
    linear-gradient(180deg, rgba(219, 242, 253, 0.72) 0%, rgba(134, 193, 224, 0.58) 100%);
  box-shadow:
    var(--aero-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 22px rgba(60, 127, 177, 0.5);
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 44%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.glass > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 9px 16px;
  background: var(--aero-grad);
  box-shadow:
    var(--aero-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.masthead::before {
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  color: #f5feff;
  background:
    radial-gradient(circle at 30% 17%, rgba(255, 255, 255, 0.93), transparent 31%),
    linear-gradient(145deg, #a8e5f4 0%, #3ca5c6 55%, #0b5f82 100%);
  box-shadow:
    0 0 0 1px rgba(3, 43, 61, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.72),
    0 2px 6px rgba(0, 39, 56, 0.2);
}

.brand__mark svg {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 1px 1px rgba(0, 39, 58, 0.3));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__text strong {
  color: var(--ink-strong);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.brand__text small {
  margin-top: 3px;
  color: #5d7b87;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.masthead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4d6c79;
  font-size: 9.5px;
}

.masthead__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.masthead__status i,
.state-dot,
.profile-place i,
.contact-status i {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b7ed92, #4a9d58);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(53, 121, 67, 0.16);
}

.masthead__clock {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding-left: 13px;
  border-left: 1px solid rgba(40, 91, 111, 0.18);
  color: #214859;
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.masthead__clock small {
  color: #728d98;
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Main grid
   -------------------------------------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.sidebar,
.content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.sidebar {
  position: sticky;
  top: 14px;
}

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */

.profile-card {
  padding: 18px 16px 15px;
  text-align: center;
}

.avatar-ring {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 11px;
  padding: 5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 255, 255, 0.95), transparent 28%),
    var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.5px rgba(0, 18, 30, 0.62),
    3px 3px 10px rgba(0, 25, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.avatar-ring:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.5px rgba(0, 18, 30, 0.66),
    4px 6px 14px rgba(0, 25, 39, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  image-rendering: pixelated;
}

.profile-name {
  color: var(--ink-strong);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-shadow:
    0 0 8px rgba(242, 246, 248, 0.95),
    0 0 14px rgba(242, 246, 248, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4);
}

.profile-handle {
  margin-top: 1px;
  color: #65808c;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.profile-role {
  margin-top: 6px;
  color: #3f606e;
  font-size: 11px;
}

.profile-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.aero-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  color: #305b6d;
  background: var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.3px rgba(0, 18, 30, 0.58),
    2px 2px 6px rgba(0, 25, 39, 0.18),
    inset 0 1px 0 #fff;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
}

.aero-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.aero-icon svg[stroke] {
  fill: none;
}

.aero-icon:hover {
  color: #0c5877;
  background:
    linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, #9ad2f2 51%, var(--highlight-color) 100%);
  transform: translateY(-1px);
}

.profile-place {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 11px;
  color: #6d8792;
  font-size: 8.5px;
}

.info-card {
  padding: 14px 16px 15px;
}

.widget-label,
.card-kicker {
  color: #66828e;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-facts {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.profile-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.profile-facts dt {
  flex: none;
  color: #78909a;
  font-size: 9px;
}

.profile-facts dd {
  color: #2e5262;
  font-size: 9.5px;
  line-height: 1.45;
  text-align: right;
}

.calendar-card {
  overflow: hidden;
  padding: 0;
}

.calendar-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 9px;
  border-bottom: 1px solid rgba(2, 41, 58, 0.32);
  color: #f5fdff;
  background:
    linear-gradient(180deg, rgba(124, 188, 216, 0.94) 0%, rgba(41, 121, 155, 0.94) 52%, rgba(26, 95, 126, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  font-size: 8px;
  text-shadow: 0 1px 1px rgba(0, 35, 52, 0.3);
}

.calendar-card__bar span:last-child {
  color: rgba(240, 254, 255, 0.76);
}

.calendar-card__body {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 13px 9px;
  background: rgba(255, 255, 255, 0.22);
}

.calendar-card__body strong {
  color: #24556a;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.calendar-card__body > span {
  color: #617e8b;
  font-size: 8.5px;
  line-height: 1.5;
}

.calendar-card__body small {
  color: #8499a2;
  font-family: var(--font-mono);
  font-size: 6.5px;
}

/* --------------------------------------------------------------------------
   Main cards
   -------------------------------------------------------------------------- */

.hero-card {
  padding: 24px 28px 21px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #547581;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.eyebrow i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c9f49d, #56a963);
  box-shadow: 0 0 0 1px rgba(54, 119, 66, 0.16);
}

.eyebrow span {
  color: #8aa0a9;
}

.hero-card h1 {
  max-width: 790px;
  margin-top: 11px;
  color: var(--ink-strong);
  font-size: clamp(31px, 3.35vw, 43px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 9px rgba(242, 246, 248, 0.92),
    0 0 16px rgba(242, 246, 248, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-card h1 strong {
  color: #0a4b65;
  font-weight: 600;
}

.hero-card__break,
.hero-card__tagline-break {
  display: none;
}

.hero-card h1 > span {
  display: block;
  margin-top: 3px;
  color: #3d6170;
  font-size: 0.63em;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 680px;
  margin-top: 13px;
  color: #4c6b78;
  font-size: 13px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.aero-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-small);
  color: #173f51;
  background: var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.5px rgba(0, 18, 30, 0.64),
    3px 3px 9px rgba(0, 22, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.aero-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, color-mix(in srgb, var(--highlight-color), #0a4968 10%) 51%, var(--highlight-color) 80%);
  box-shadow: inset 0 0 0 2px var(--highlight-color);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.aero-button > * {
  position: relative;
  z-index: 1;
}

.aero-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.aero-button:hover::before {
  opacity: 0.78;
}

.aero-button:active {
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.5px rgba(0, 18, 30, 0.68),
    inset 0 5px 5px rgba(0, 0, 0, 0.28);
}

.aero-button--primary {
  color: #f6feff;
  background:
    linear-gradient(180deg, #8fd4e7 0%, #3a9fbe 47%, #207e9d 51%, #4ba9c3 100%);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.5px rgba(0, 18, 30, 0.7),
    3px 3px 9px rgba(0, 22, 34, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 1px rgba(0, 47, 65, 0.4);
}

.aero-button--primary::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 48%, rgba(0, 46, 64, 0.1));
  box-shadow: inset 0 0 0 2px rgba(195, 239, 255, 0.55);
}

.aero-button--primary:hover::before {
  opacity: 0.34;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 15px;
  color: #708892;
  font-size: 9.5px;
  line-height: 1.5;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero__meta span + span {
  position: relative;
}

.hero__meta span + span::before {
  content: "";
  position: absolute;
  left: -9px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #94a9b1;
}

/* Work card */

.work-card {
  padding: 19px 22px 16px;
}

.card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.card-heading h2 {
  margin-top: 2px;
  color: #143e50;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 8px rgba(242, 246, 248, 0.92),
    0 0 13px rgba(242, 246, 248, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.4);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  min-height: 25px;
  padding: 0 9px;
  border-radius: var(--radius-small);
  color: #234f60;
  background: var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.3px rgba(0, 18, 30, 0.55),
    2px 2px 6px rgba(0, 22, 34, 0.16),
    inset 0 1px 0 #fff;
  font-size: 8.5px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
}

.text-link svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.text-link:hover {
  color: #062f40;
  background:
    linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, #9ad2f2 51%, var(--highlight-color) 100%);
}

.work-list {
  overflow: hidden;
  margin-top: 11px;
  border: 1px solid rgba(4, 53, 73, 0.28);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 3px rgba(0, 34, 51, 0.06);
}

.work-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(4, 53, 73, 0.1);
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.work-item:last-child {
  border-bottom: 0;
}

.work-item:hover {
  background:
    linear-gradient(180deg, rgba(242, 252, 255, 0.9), rgba(219, 241, 251, 0.86));
}

.work-item:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #0b6281;
  outline-offset: -3px;
}

.work-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  color: #fbffff;
  box-shadow:
    0 0 0 1px rgba(4, 44, 61, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -5px 10px rgba(0, 32, 46, 0.14);
}

.work-icon::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 47%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.27), transparent);
}

.work-icon svg {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
  filter: drop-shadow(0 1px 1px rgba(0, 38, 54, 0.24));
}

.work-icon--watch {
  background: linear-gradient(145deg, #a0e5ef, #3e9fbb 55%, #0e617d);
}

.work-icon--gallery {
  background: linear-gradient(145deg, #b7e0f1, #608fad 55%, #315e7d);
}

.work-icon--solian {
  background: linear-gradient(145deg, #b5ddd1, #4b9088 55%, #24615d);
}

.work-item__copy {
  min-width: 0;
  flex: 1;
}

.work-item__copy h3 {
  color: #123f51;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.work-item__copy p {
  overflow: hidden;
  margin-top: 1px;
  color: #607c88;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-item__tag {
  flex: none;
  padding: 2px 6px;
  border: 1px solid rgba(4, 52, 72, 0.17);
  border-radius: 3px;
  color: #53727f;
  background: rgba(255, 255, 255, 0.47);
  font-size: 8.5px;
  line-height: 1.6;
  white-space: nowrap;
}

.work-item__year {
  width: 29px;
  flex: none;
  color: #78909a;
  font-family: var(--font-mono);
  font-size: 8px;
  text-align: right;
}

.work-item__open {
  width: 10px;
  height: 10px;
  flex: none;
  fill: none;
  stroke: #849aa3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
  transition: transform 0.15s ease, stroke 0.15s ease;
}

.work-item:hover .work-item__open {
  stroke: #1b6b87;
  transform: translate(1px, -1px);
}

/* Participation disclosure */

.more-projects {
  overflow: hidden;
  margin-top: 9px;
  border: 1px solid rgba(4, 53, 73, 0.28);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.33);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.more-projects summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 11px;
  color: #456a7a;
  font-size: 9px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.more-projects summary::-webkit-details-marker {
  display: none;
}

.more-projects summary:hover {
  background: rgba(244, 253, 255, 0.5);
}

.more-projects summary:focus-visible {
  outline: 2px solid #0b6281;
  outline-offset: -3px;
}

.more-projects__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.more-projects__chevron {
  width: 10px;
  height: 10px;
  flex: none;
  fill: none;
  stroke: #5d7d8b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  transition: transform 0.18s ease;
}

.more-projects[open] .more-projects__chevron {
  transform: rotate(90deg);
}

.more-projects__count {
  color: #7d949e;
  font-size: 8px;
  font-weight: 400;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(4, 53, 73, 0.12);
}

.contribution-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(4, 53, 73, 0.1);
  color: #3c5f6d;
  font-size: 9px;
  line-height: 1.5;
  transition: background 0.14s ease, color 0.14s ease;
}

.contribution-item:nth-child(odd) {
  border-right: 1px solid rgba(4, 53, 73, 0.1);
}

.contribution-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.contribution-item > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contribution-item small {
  flex: none;
  margin-left: auto;
  color: #8299a2;
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.contribution-item > svg {
  width: 9px;
  height: 9px;
  flex: none;
  fill: none;
  stroke: #8ba0a8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.contribution-item:hover {
  color: #0b5673;
  background: rgba(237, 250, 255, 0.6);
}

.more-projects__note {
  padding: 5px 11px 6px;
  border-top: 1px solid rgba(4, 53, 73, 0.1);
  color: #738b95;
  font-size: 8px;
  line-height: 1.6;
}

.more-projects__note a {
  color: #2e6e87;
  text-decoration: underline;
  text-decoration-color: rgba(46, 110, 135, 0.3);
  text-underline-offset: 2px;
}

.more-projects__note a:hover {
  color: #084e6a;
  text-decoration-color: currentColor;
}

/* Contact card */

.contact-card {
  padding: 19px 22px 18px;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding-bottom: 2px;
  color: #66818c;
  font-size: 8.5px;
}

.contact-lead {
  max-width: 580px;
  margin-top: 7px;
  color: #577480;
  font-size: 11.5px;
  line-height: 1.8;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0d5675;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mail-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #477e93;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.05;
}

.mail-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 9px;
  border: 0;
  border-radius: var(--radius-small);
  color: #40626f;
  background: var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.3px rgba(0, 18, 30, 0.5),
    2px 2px 6px rgba(0, 22, 34, 0.14),
    inset 0 1px 0 #fff;
  font-size: 8px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.copy-button svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.copy-button:hover {
  color: #0b5876;
  background:
    linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, #9ad2f2 51%, var(--highlight-color) 100%);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.social-chip {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  padding: 6px 9px;
  border: 0;
  border-radius: var(--radius-small);
  color: #3b5f6d;
  background: var(--aero-grad);
  box-shadow:
    0 0 0 1px var(--white-main),
    0 0 0 1.3px rgba(0, 18, 30, 0.46),
    2px 2px 5px rgba(0, 25, 39, 0.13),
    inset 0 1px 0 #fff;
  font-family: var(--font);
  font-size: 9px;
  line-height: 1.4;
  text-align: left;
  transition: color 0.15s ease, background 0.15s ease;
}

button.social-chip {
  appearance: none;
  cursor: pointer;
}

.social-chip__label {
  flex: none;
  color: #7a919b;
  font-size: 8px;
}

.social-chip__value {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #2a5363;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-chip > svg {
  width: 9px;
  height: 9px;
  flex: none;
  fill: none;
  stroke: #8499a2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.social-chip:hover {
  color: #0b5470;
  background:
    linear-gradient(to top, var(--highlight-color) 0%, var(--highlight-color) 50%, #9ad2f2 51%, var(--highlight-color) 100%);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 39px;
  margin-top: 12px;
  padding: 8px 15px;
  color: #5d7884;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.footer-card__quote {
  color: #466a79;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-small);
  color: #123e50;
  background:
    linear-gradient(180deg, rgba(250, 255, 255, 0.97) 0%, rgba(221, 243, 252, 0.97) 100%);
  box-shadow:
    0 0 0 1px rgba(3, 40, 57, 0.4),
    0 8px 22px rgba(0, 28, 44, 0.26),
    inset 0 1px 0 #fff;
  font-size: 10px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1060px) {
  .site {
    width: calc(100% - 36px);
  }

  .layout {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .hero-card {
    padding-inline: 24px;
  }

  .work-item__tag {
    display: none;
  }
}

@media (max-width: 880px) {
  .site {
    width: calc(100% - 20px);
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .masthead {
    min-height: 53px;
    padding: 7px 12px;
  }

  .brand__mark {
    width: 29px;
    height: 29px;
    border-radius: 6px;
  }

  .brand__mark svg {
    width: 20px;
    height: 20px;
  }

  .brand__text strong {
    font-size: 14px;
  }

  .brand__text small {
    font-size: 7px;
  }

  .masthead__status {
    display: none;
  }

  .masthead__clock {
    border-left: 0;
    padding-left: 0;
  }

  .layout {
    display: block;
    margin-top: 10px;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 14px;
    column-gap: 12px;
    text-align: left;
  }

  .avatar-ring {
    grid-row: 1 / span 3;
    width: 68px;
    height: 68px;
    margin: 0;
    padding: 3px;
  }

  .profile-name {
    grid-column: 2;
    font-size: 17px;
  }

  .profile-handle {
    grid-column: 2;
    margin-top: -2px;
  }

  .profile-role {
    grid-column: 2;
    margin-top: 1px;
  }

  .profile-socials {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .profile-place {
    grid-column: 3;
    grid-row: 3;
    justify-content: flex-end;
    margin-top: 2px;
  }

  .info-card,
  .calendar-card {
    display: none;
  }

  .content {
    gap: 10px;
  }

  .hero-card {
    padding: 20px 20px 17px;
  }

  .hero-card h1 {
    font-size: clamp(29px, 6.8vw, 38px);
  }

  .work-card,
  .contact-card {
    padding: 17px 18px 15px;
  }
}

@media (max-width: 560px) {
  .masthead {
    gap: 12px;
  }

  .brand__text small {
    display: none;
  }

  .masthead__clock {
    font-size: 9px;
  }

  .profile-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 10px 12px;
  }

  .avatar-ring {
    width: 56px;
    height: 56px;
    padding: 2px;
  }

  .profile-name {
    font-size: 16px;
  }

  .profile-handle {
    font-size: 7.5px;
  }

  .profile-role {
    font-size: 9.5px;
  }

  .profile-socials {
    gap: 5px;
  }

  .aero-icon {
    width: 29px;
    height: 29px;
  }

  .aero-icon svg {
    width: 13px;
    height: 13px;
  }

  .profile-place {
    font-size: 7.5px;
  }

  .hero-card {
    padding: 18px 16px 15px;
  }

  .eyebrow {
    padding: 3px 8px;
    font-size: 6.8px;
  }

  .hero-card h1 {
    margin-top: 9px;
    font-size: clamp(27px, 8.5vw, 35px);
    line-height: 1.28;
  }

  .hero-card h1 > span {
    margin-top: 4px;
    font-size: 0.67em;
  }

  .hero__lead {
    font-size: 11.5px;
    line-height: 1.85;
  }

  .hero__meta {
    gap: 5px 14px;
    font-size: 8px;
  }

  .hero__meta span + span::before {
    left: -8px;
  }

  .card-heading h2 {
    font-size: 17px;
  }

  .text-link {
    font-size: 8px;
  }

  .work-card {
    padding: 15px 13px 13px;
  }

  .work-item {
    min-height: 50px;
    gap: 9px;
    padding: 7px 8px;
  }

  .work-icon {
    width: 28px;
    height: 28px;
  }

  .work-icon svg {
    width: 15px;
    height: 15px;
  }

  .hero-card__break,
  .hero-card__tagline-break {
    display: inline;
  }

  .work-item__copy h3 {
    font-size: 12px;
  }

  .work-item__copy p {
    font-size: 10px;
  }

  .work-item__year {
    width: 25px;
    font-size: 7.5px;
  }

  .work-item__open {
    display: none;
  }

  .more-projects summary {
    padding-inline: 8px;
    font-size: 8.5px;
  }

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

  .contribution-item {
    padding: 6px 8px;
  }

  .contribution-item:nth-child(odd) {
    border-right: 0;
  }

  .contribution-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(4, 53, 73, 0.1);
  }

  .more-projects__note {
    padding-inline: 8px;
  }

  .contact-card {
    padding: 15px 13px;
  }

  .contact-status {
    font-size: 7.5px;
  }

  .contact-email {
    flex-wrap: wrap;
    gap: 7px;
  }

  .mail-link {
    font-size: 12.5px;
  }

  .contact-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 10px;
  }

  .social-chip {
    padding: 5px 7px;
  }

  .social-chip__label {
    font-size: 7.5px;
  }

  .social-chip__value {
    font-size: 8px;
  }

  .footer-card {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3px 14px;
    padding: 8px 11px;
    font-size: 7px;
  }

  .footer-card__quote {
    order: 3;
    width: 100%;
    font-size: 8px;
  }

  .toast {
    bottom: 14px;
  }
}

@media (max-width: 380px) {
  .hero__meta span:nth-child(3) {
    display: none;
  }

  .profile-socials {
    gap: 4px;
  }

  .profile-place {
    display: none;
  }

  .aero-icon {
    width: 25px;
    height: 25px;
  }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .avatar-ring:hover,
  .aero-icon:hover,
  .aero-button:hover {
    transform: none;
  }
}
