:root {
  /* Brand colors: adjust these variables to update the whole visual system. */
  --bg: #070b12;
  --bg-elevated: #0d1522;
  --bg-panel: #111c2c;
  --charcoal: #182130;
  --blue: #2f7df6;
  --blue-strong: #5ea0ff;
  --white: #f7fbff;
  --muted: #aeb9c8;
  --silver: #c8d2df;
  --line: rgba(210, 224, 240, 0.16);
  --glass: rgba(18, 28, 44, 0.56);
  --glass-strong: rgba(22, 34, 54, 0.74);
  --ombre: linear-gradient(135deg, #7fb7ff 0%, #2f7df6 45%, #d9e6f7 100%);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(126, 183, 255, 0.16), transparent 430px),
    linear-gradient(125deg, rgba(47, 125, 246, 0.14), transparent 34%),
    linear-gradient(145deg, #05070d 0%, var(--bg) 46%, #0c1420 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 22%, rgba(47, 125, 246, 0.08) 54%, transparent 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--bg);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 104px 0;
  scroll-margin-top: var(--header-height);
}

.section-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.icon-sprite {
  display: none;
}

.icon,
.button-icon,
.icon-large {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-large {
  width: 1.7rem;
  height: 1.7rem;
}

.liquid-panel,
.glass-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 42%, rgba(47, 125, 246, 0.12)),
    var(--glass);
  border: 1px solid rgba(222, 235, 250, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(130%);
}

.liquid-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(300deg, rgba(94, 160, 255, 0.18), transparent 40%);
  opacity: 0.6;
  pointer-events: none;
}

.liquid-panel::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--ombre);
  opacity: 0.92;
}

/* Sticky executive-style navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav-shell {
  width: min(1220px, calc(100% - 32px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
  max-width: min(360px, calc(100vw - 96px));
}

.brand-photo {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.site-header img.brand-photo {
  display: block;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 0.96rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* First-screen profile section. */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius);
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.hero-id {
  display: inline-grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 1.9rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-id img {
  width: 74px;
  max-width: 74px;
  height: 74px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.hero-photo {
  display: block;
  position: static;
}

.hero-id span {
  display: block;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-id strong {
  display: block;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.15;
}

.hero-split,
.hero-grid,
.two-column,
.contact-grid,
.cert-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.22rem;
}

.hero-lede,
.section-heading p,
.body-copy p,
.resume-panel p {
  color: var(--silver);
  font-size: 1.04rem;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 1.75rem;
}

.hero-actions,
.footer-grid,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), #74b4ff);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(47, 125, 246, 0.28);
}

.button-primary:hover {
  background: #236fe1;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.095);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 2.5rem 0 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.9rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-showcase {
  position: relative;
  z-index: 1;
}

.hero-showcase img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(222, 235, 250, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.showcase-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.showcase-card span,
.visual-band-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.visual-band {
  padding: 0 0 104px;
}

.visual-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0.75rem;
  border-radius: var(--radius);
  align-items: stretch;
}

.tool-feature img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-band-grid article {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  border-right: 1px solid rgba(222, 235, 250, 0.14);
}

.visual-band-grid article:last-child {
  border-right: 0;
}

.visual-band-grid strong {
  color: var(--white);
  line-height: 1.28;
}

/* Shared card treatment used throughout the site. */
.metric-row div,
.info-card,
.writing-card,
.timeline-item,
.tool-card,
.project-card,
.cert-card,
.resume-panel,
.contact-form,
.portrait-card,
.status-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    var(--glass);
  border: 1px solid rgba(222, 235, 250, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(120%);
}

.metric-row div {
  padding: 1rem;
}

.metric-row dt {
  color: var(--blue-strong);
  font-size: 1.45rem;
  font-weight: 900;
}

.metric-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.portrait-card {
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  background: var(--charcoal);
}

.portrait-caption,
.project-content,
.cert-card div {
  padding: 1.2rem;
}

.portrait-caption span,
.project-content span,
.cert-card span,
.writing-card span,
.timeline-item span {
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-caption strong {
  display: block;
  font-size: 1.25rem;
}

.status-panel {
  padding: 1.2rem;
}

.status-panel p {
  margin-bottom: 0.75rem;
  color: var(--silver);
  font-weight: 800;
}

.status-panel ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-heading.narrow {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.body-copy p {
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card,
.writing-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

.info-card::before,
.writing-card::before,
.tool-card::before,
.project-card::before {
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(126, 183, 255, 0.78), transparent);
}

.info-card p,
.writing-card p,
.timeline-item p,
.project-card p,
.cert-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-number {
  display: inline-flex;
  color: var(--blue-strong);
  margin-bottom: 1.2rem;
  font-weight: 900;
}

.icon-card {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--blue-strong);
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(126, 183, 255, 0.24);
  border-radius: var(--radius);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.tool-feature img {
  aspect-ratio: 16 / 7;
}

.tool-feature div {
  padding: 1.35rem;
}

.tool-feature p {
  color: var(--silver);
}

.tool-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.35rem;
}

.tool-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.project-card {
  overflow: hidden;
}

.project-media,
.project-image {
  width: 100%;
  height: 330px;
  background: var(--charcoal);
}

.project-image {
  object-fit: cover;
}

.mock-screen {
  padding: 1rem;
}

.mock-topbar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  background: var(--silver);
  border-radius: 50%;
  opacity: 0.7;
}

.rotation-board,
.schedule-board {
  height: calc(100% - 2rem);
  display: grid;
  gap: 0.7rem;
}

.rotation-board {
  grid-template-columns: repeat(2, 1fr);
}

.rotation-board div,
.schedule-board span,
.schedule-board b {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.rotation-board div {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.52), rgba(200, 210, 223, 0.12));
  font-weight: 800;
}

.schedule-board {
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: minmax(38px, 1fr);
}

.schedule-board span {
  display: grid;
  place-items: center;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
}

.schedule-board b {
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.5), rgba(255, 255, 255, 0.08));
}

.placeholder-note {
  margin-top: 0.75rem;
  color: var(--blue-strong) !important;
  font-size: 0.9rem;
  font-weight: 800;
}

.project-content a,
.contact-list a,
.site-footer a,
.text-link {
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
}

.project-content a:hover,
.contact-list a:hover,
.site-footer a:hover,
.text-link:hover {
  text-decoration: underline;
}

.writing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cert-card {
  overflow: hidden;
}

.cert-list {
  display: grid;
  gap: 1rem;
}

.cert-placeholder {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(200, 210, 223, 0.28);
  border-radius: var(--radius);
}

.cert-placeholder span {
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-placeholder p {
  color: var(--muted);
  margin-bottom: 0;
}

.cert-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
  background: var(--charcoal);
}

.resume-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

code {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12rem 0.32rem;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  flex-direction: column;
  margin-top: 1.4rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--silver);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.86rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(47, 125, 246, 0.22);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero {
  min-height: 54vh;
  display: grid;
  align-items: center;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.article-page {
  background:
    linear-gradient(180deg, rgba(47, 125, 246, 0.1), transparent 360px),
    var(--bg);
}

.article-body {
  max-width: 820px;
}

.article-body p {
  color: var(--silver);
  font-size: 1.08rem;
}

.article-body h1 {
  max-width: 900px;
}

.article-body h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.article-meta {
  color: var(--blue-strong) !important;
  font-weight: 800;
}

.site-footer {
  padding: 1.6rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  justify-content: space-between;
  align-items: center;
}

.footer-grid p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet and mobile layout rules. */
@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    background: rgba(9, 15, 25, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .hero-split,
  .two-column,
  .contact-grid,
  .cert-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .visual-band-grid,
  .tool-feature {
    grid-template-columns: 1fr;
  }

  .visual-band-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(222, 235, 250, 0.14);
  }

  .visual-band-grid article:last-child {
    border-bottom: 0;
  }

  .card-grid,
  .project-grid,
  .writing-grid,
  .tool-grid,
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .resume-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .about-photo {
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .nav-shell {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .visual-band {
    padding-bottom: 72px;
  }

  .brand-mark small {
    display: none;
  }

  .brand-photo {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
    flex-basis: 38px;
  }

  .site-header img.brand-photo {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }

  .brand-mark strong {
    font-size: 0.88rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .hero-id {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    margin-bottom: 1.45rem;
  }

  .hero-id img {
    width: 62px;
    max-width: 62px;
    height: 62px;
    aspect-ratio: 1;
  }

  .hero-showcase img {
    aspect-ratio: 16 / 10;
  }

  .showcase-card {
    position: static;
    margin-top: 0.75rem;
  }

  .visual-band-grid {
    padding: 0.55rem;
  }

  .visual-band-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(222, 235, 250, 0.14);
  }

  .visual-band-grid article:last-child {
    border-bottom: 0;
  }

  .metric-row,
  .card-grid,
  .project-grid,
  .writing-grid,
  .tool-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .project-media,
  .project-image {
    height: 260px;
  }

  .hero-actions .button,
  .resume-panel .button {
    width: 100%;
  }
}
