:root {
  --bg: #1b2740;
  --bg-soft: #23324f;
  --bg-alt: #2b3d5e;
  --surface: rgba(27, 44, 78, 0.9);
  --surface-strong: rgba(196, 219, 247, 0.12);
  --surface-light: #f6f8ff;
  --text: #edf3ff;
  --text-soft: #c3d0ea;
  --text-dark: #1d2840;
  --line: rgba(171, 197, 239, 0.2);
  --line-soft: rgba(171, 197, 239, 0.12);
  --accent: #9ac3f0;
  --accent-strong: #7faee3;
  --accent-glow: rgba(127, 174, 227, 0.24);
  --warm: #b8caef;
  --mint: #8db6ea;
  --card-blue-top: rgba(33, 49, 92, 0.96);
  --card-blue-bottom: rgba(17, 30, 57, 0.98);
  --card-blue-soft: rgba(46, 68, 122, 0.94);
  --card-blue-line: rgba(159, 186, 235, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container: 1200px;
  --max-copy: 74ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(112, 157, 224, 0.24), transparent 32%),
    radial-gradient(circle at 78% 12%, rgba(86, 120, 184, 0.18), transparent 26%),
    linear-gradient(180deg, #25344f 0%, #1b2740 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  pointer-events: none;
  opacity: 0.12;
}

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

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

p,
ul,
dl {
  margin-top: 0;
}

h1,h2,h3,h4 {
  margin-top: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  margin-bottom: 1.2rem;
}

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

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

h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

p, li, dd {
  color: var(--text-soft);
}

strong, dt {
  color: var(--text);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: #fff;
  color: #000;
  z-index: 100;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(24, 37, 62, 0.76);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.78rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 700;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(75, 102, 158, 0.3);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(69, 94, 145, 0.24);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.hero-home {
  padding: 1.35rem 0 0.35rem;
}

.page-hero-rich {
  padding: 1rem 0 0.2rem;
}

.hero-layout,
.page-hero-grid,
.split-intro,
.ai-ready-grid,
.cta-banner,
.resume-layout,
.contact-grid,
.readable-grid,
.contribute-grid,
.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  align-items: start;
}

.page-hero-grid,
.ai-ready-grid,
.split-intro,
.contribute-grid,
.contact-grid,
.footer-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.readable-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.narrow-page-hero {
  max-width: 860px;
}

.eyebrow,
.section-kicker,
.spotlight-label,
.card-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.display-accent {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-lead {
  max-width: 58ch;
  font-size: 1.2rem;
  color: #deede8;
}

.page-hero .resume-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  max-width: 11ch;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-body,
.longform-content p {
  max-width: var(--max-copy);
}

.portfolio-hero-lead {
  max-width: none;
}

.gallery-hero-title {
  max-width: none;
  margin-bottom: 0.9rem;
  font-size: clamp(2.35rem, 5vw, 4.3rem);
}

.gallery-hero-lead {
  max-width: none;
}

.hero-spotlight,
.surface-card,
.glass-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.glass-card {
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(43, 63, 112, 0.94), rgba(20, 35, 65, 0.96));
  backdrop-filter: blur(20px);
}

.hero-portrait-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(139, 177, 233, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(40, 60, 108, 0.96), rgba(19, 33, 61, 0.98));
}

.hero-headshot-large {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.hero-portrait-copy {
  display: grid;
  gap: 0.5rem;
}

.hero-portrait-copy h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.hero-profile {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-headshot {
  width: 132px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero-profile-copy {
  display: grid;
  gap: 0.45rem;
}

.hero-profile-role,
.hero-profile-note {
  margin-bottom: 0;
}

.hero-profile-role {
  color: #fff;
  font-weight: 800;
}

.hero-profile-note {
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-badges {
  margin-top: 0.1rem;
}

.home-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-insight-card {
  min-height: 100%;
}

.compact-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metrics-grid.compact-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-metrics .metric-card {
  min-height: auto;
  padding: 0.15rem 0;
}

.compact-metrics .metric-number {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1;
}

.compact-metrics .metric-copy {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-spotlight-divider {
  height: 1px;
  margin: 0.2rem 0 1rem;
  background: var(--line-soft);
}

.surface-card {
  padding: 1.55rem;
  background: linear-gradient(180deg, var(--card-blue-top), var(--card-blue-bottom));
}

.surface-card.deluxe::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(189, 210, 246, 0.2), rgba(255,255,255,0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.section {
  padding: 1.45rem 0;
}

.section-tight {
  padding: 0.5rem 0 1rem;
}

.hero-home + .section,
.hero-home + .section-tight,
.page-hero-rich + .section,
.page-hero-rich + .section-tight {
  padding-top: 0.85rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(78, 105, 160, 0.08), rgba(34, 53, 96, 0.08));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.button-row,
.button-column,
.tag-row,
.metrics-grid,
.service-grid,
.portfolio-preview-grid,
.skills-grid,
.metric-stack,
.footer-links,
.filter-bar,
.skill-pills {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button-row {
  margin-top: 2rem;
}

.button-column {
  flex-direction: column;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

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

.button-primary {
  color: #15233d;
  background: linear-gradient(135deg, #eef4ff, #bdd2f3 46%, #8fb7e2 100%);
}

.button-secondary {
  background: rgba(55, 79, 128, 0.42);
  border-color: var(--line);
  color: var(--text);
}

.metric-stack.compact {
  flex-direction: column;
}

.metric-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}

.metric-item:first-of-type {
  border-top: 0;
  padding-top: 0.2rem;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

.metric-label {
  color: var(--text-soft);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  min-height: 160px;
}

.metric-number {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
}

.metric-copy {
  max-width: 24ch;
}

.split-intro,
.section-header {
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.section-header.tight {
  margin-bottom: 1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.service-grid,
.portfolio-preview-grid,
.skills-grid,
.deluxe-grid,
.deluxe-grid-two {
  display: grid;
  gap: 1rem;
}

.service-grid,
.portfolio-preview-grid,
.skills-grid,
.deluxe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.what-i-do-panel {
  display: grid;
  gap: 1.4rem;
  padding: 1.45rem;
}

.what-i-do-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 1.35rem;
  align-items: start;
}

.what-i-do-lead {
  max-width: 55ch;
  margin-bottom: 0;
  padding-top: 1rem;
}

.what-i-do-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.what-i-do-feature,
.what-i-do-mini {
  border-radius: 22px;
  border: 1px solid var(--card-blue-line);
  background: linear-gradient(180deg, rgba(46, 68, 122, 0.92), rgba(23, 38, 69, 0.95));
}

.what-i-do-feature {
  padding: 1.2rem;
}

.what-i-do-feature-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.what-i-do-feature h3,
.what-i-do-mini h3 {
  margin-bottom: 0.45rem;
  font-size: 1.14rem;
}

.what-i-do-feature > p {
  max-width: 60ch;
}

.what-i-do-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-left: 1.1rem;
}

.what-i-do-points li {
  margin-bottom: 0;
}

.what-i-do-side {
  display: grid;
  gap: 1rem;
}

.what-i-do-mini {
  padding: 1.1rem;
}

.what-i-do-mini p:last-child,
.what-i-do-feature p:last-child {
  margin-bottom: 0;
}

.about-hero-shell {
  padding: 1.9rem;
  background:
    radial-gradient(circle at top right, rgba(139, 177, 233, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(38, 57, 102, 0.96), rgba(18, 31, 58, 0.98));
}

.about-hero-shell h1 {
  max-width: none;
  margin-bottom: 0.9rem;
  font-size: clamp(2.15rem, 3.1vw, 3rem);
  letter-spacing: -0.055em;
}

.about-hero-shell .hero-lead,
.about-hero-lead {
  max-width: none;
  width: 100%;
}

.about-hero-shell .button-row {
  margin-top: 1.4rem;
}

.resume-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
}

.resume-access-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(139, 177, 233, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(37, 56, 100, 0.96), rgba(19, 32, 60, 0.98));
}

.resume-access-card .button-column {
  gap: 0.8rem;
}

.resume-access-note {
  max-width: 40ch;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.resume-access-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.resume-access-meta div {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--card-blue-line);
  background: rgba(46, 67, 117, 0.52);
}

.resume-access-meta strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.resume-access-meta p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.about-story-card {
  min-width: 0;
}

.about-float-photo {
  float: right;
  width: min(34%, 290px);
  margin: 0.2rem 0 1rem 1.2rem;
}

.about-float-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.about-proof-card,
.about-contact-card {
  padding: 1.25rem;
}

.about-proof-list {
  display: grid;
  gap: 0.95rem;
}

.about-proof-list div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.about-proof-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.about-proof-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.3rem;
}

.about-proof-list p,
.about-contact-list p {
  margin-bottom: 0;
}

.about-contact-list {
  display: grid;
  gap: 0.7rem;
}

.about-contact-card .button-row {
  margin-top: 1.1rem;
}

.deluxe-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-preview-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.feature-panel,
.feature-card,
.project-preview,
.portfolio-card,
.skill-card,
.audience-panel,
.contact-panel,
.resume-section,
.sidebar-panel,
.about-aside,
.ai-module-mock,
.longform-content,
.soft-pad {
  padding: 1.6rem;
}

.feature-panel {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(43, 63, 112, 0.96), rgba(19, 33, 61, 0.98));
  border: 1px solid var(--card-blue-line);
  box-shadow: var(--shadow);
}

.feature-panel-large {
  min-height: 100%;
}

.audience-panel.wide {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
}

.audience-list {
  display: grid;
  gap: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(63, 89, 145, 0.64);
  border: 1px solid rgba(173, 198, 240, 0.18);
  color: #f1f5ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-preview .tag-row,
.portfolio-card .tag-row {
  margin-bottom: 0.9rem;
}

.project-summary {
  margin-bottom: 1rem;
}

.portfolio-section-intro {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 0.3rem 0 0.2rem;
}

.portfolio-section-intro p:last-child {
  max-width: 56ch;
}

.writing-card {
  display: grid;
  gap: 0.72rem;
  align-content: start;
  min-height: 100%;
  padding: 0.95rem;
}

.writing-card h3 {
  margin-bottom: 0.15rem;
  font-size: 1.12rem;
}

.writing-card .tag-row {
  gap: 0.5rem;
  margin-bottom: 0;
}

.writing-card .tag {
  min-height: 28px;
  padding: 0.28rem 0.62rem;
  font-size: 0.76rem;
}

.writing-card .project-summary {
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
  line-height: 1.56;
}

.writing-card-image {
  overflow: hidden;
}

.portfolio-card-media {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
}

.doc-media {
  background:
    radial-gradient(circle at top right, rgba(139, 177, 233, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(70, 96, 156, 0.18), rgba(255,255,255,0.03)),
    rgba(18, 31, 58, 0.94);
}

.doc-media span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  padding: 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(189, 210, 246, 0.18);
  background: rgba(61, 85, 139, 0.44);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-thumb {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
}

.review-card .portfolio-thumb {
  aspect-ratio: auto;
  height: 118px;
  object-fit: contain;
  padding: 0.55rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.card-source {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-actions {
  margin-top: auto;
}

.portfolio-actions .button {
  min-height: 40px;
  padding: 0.68rem 0.95rem;
  font-size: 0.95rem;
}

.workflow-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.workflow-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.workflow-card-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.workflow-image-button:hover .workflow-card-image {
  transform: translateY(-2px);
  border-color: rgba(132,169,255,0.28);
}

.workflow-card-copy h3 {
  margin-bottom: 0.45rem;
}

.workflow-card-copy p {
  margin-bottom: 0;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 1rem;
}

.image-modal.is-open {
  display: grid;
}

.image-modal[hidden] {
  display: none;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 19, 0.84);
  backdrop-filter: blur(10px);
}

.image-modal-dialog {
  position: relative;
  width: min(1200px, 100%);
  max-height: calc(100vh - 2rem);
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.98), rgba(8, 16, 31, 0.98));
  box-shadow: var(--shadow);
  overflow: auto;
}

.image-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: auto;
  margin-bottom: 0.8rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.image-modal-content {
  display: grid;
  gap: 1rem;
}

.image-modal-image {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.image-modal-copy h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.image-modal-copy p {
  margin-bottom: 0;
}

.ux-gallery-page .narrow-page-hero {
  max-width: 980px;
}

.ux-gallery-stack {
  display: grid;
  gap: 1.25rem;
  width: min(calc(100% - 2rem), 1500px);
  margin: 0 auto;
}

.ux-screen-card {
  display: block;
  padding: 1rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.96), rgba(9, 18, 34, 0.96));
}

.ux-screen-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.project-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.project-meta div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.project-meta dt {
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
}

.ai-module-mock {
  background: linear-gradient(180deg, rgba(20, 34, 63, 0.98), rgba(11, 21, 39, 0.96));
}

.mock-topbar,
.mock-bubble,
.mock-input,
.placeholder-line,
.placeholder-box,
.placeholder-button {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
}

.mock-topbar {
  height: 42px;
  margin-bottom: 1rem;
}

.mock-bubble {
  height: 58px;
  margin-bottom: 0.8rem;
}

.bubble-short {
  width: 72%;
}

.bubble-long {
  width: 88%;
}

.mock-input {
  height: 50px;
  margin-top: 1.2rem;
}

.clean-list,
.resume-bullets {
  margin: 0;
  padding-left: 1.15rem;
}

.clean-list li,
.resume-bullets li {
  margin-bottom: 0.55rem;
}

.stacked-sidebars,
.simple-stack,
.education-stack,
.experience-list {
  display: grid;
  gap: 1rem;
}

.education-stack {
  gap: 1.15rem;
}

.education-stack > div {
  display: grid;
  gap: 0;
}

.education-stack > div h4 {
  margin-bottom: 0.15rem;
}

.education-stack > div p {
  margin: 0 !important;
  line-height: 1.45;
}

.resume-main,
.resume-side {
  display: grid;
  gap: 1rem;
}

.sticky-panel {
  position: sticky;
  top: 6rem;
}

.resume-side .sticky-panel {
  position: static;
}

.experience-item {
  position: relative;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line-soft);
}

.experience-item:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.experience-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.company-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #dce5ff;
  font-weight: 700;
}

.date-range {
  min-width: 180px;
  text-align: right;
  color: var(--accent);
  font-weight: 700;
}

.info-trigger {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.tooltip-panel {
  display: none;
  position: relative;
  margin-top: 0.7rem;
  max-width: 720px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(9, 17, 31, 0.96);
  color: var(--text-soft);
}

.tooltip-panel.is-open {
  display: block;
}

.achievement-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.compact-bullets li:last-child,
.resume-bullets li:last-child,
.clean-list li:last-child {
  margin-bottom: 0;
}

.skill-pills {
  gap: 0.55rem;
}

.filter-chip {
  min-height: 42px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: rgba(132,169,255,0.12);
  color: #fff;
  border-color: rgba(132,169,255,0.32);
}

.form-placeholder {
  margin-top: 1.2rem;
}

.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.contact-hero-copy {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.contact-direct-card {
  background: linear-gradient(180deg, rgba(16, 29, 52, 0.9), rgba(9, 18, 34, 0.94));
}

.contact-direct-intro {
  max-width: 34ch;
  margin-bottom: 1.2rem;
}

.contact-form-panel {
  min-height: 100%;
}

.contact-hero-form {
  align-self: start;
}

.contact-hero-form h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.contact-hero-form .contact-form-shell {
  margin-top: 1.25rem;
}

.contact-fit-panel {
  background: linear-gradient(180deg, rgba(13, 24, 45, 0.96), rgba(8, 16, 31, 0.94));
}

.contact-process-panel {
  background: linear-gradient(180deg, rgba(15, 28, 50, 0.92), rgba(10, 19, 36, 0.96));
}

.contact-form-shell {
  margin-top: 1.5rem;
  min-height: 760px;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(3, 10, 21, 0.55);
  overflow: hidden;
}

.contact-form-status {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px dashed rgba(132, 169, 255, 0.34);
  background: linear-gradient(180deg, rgba(132,169,255,0.08), rgba(216,183,255,0.05));
}

.contact-form-note-title {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-form-note {
  max-width: 58ch;
  margin-bottom: 0;
}

.contact-form-checklist {
  margin-top: 0;
}

.contact-form-shell code {
  color: #fff;
  font-family: inherit;
  font-weight: 700;
}

.jotform-embed {
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.placeholder-line {
  height: 18px;
  margin-bottom: 0.8rem;
}

.placeholder-line.large {
  width: 72%;
}

.placeholder-box {
  height: 140px;
  margin: 1rem 0;
}

.placeholder-button {
  width: 130px;
  height: 46px;
}

.mini-separator {
  height: 1px;
  margin: 1rem 0;
  background: var(--line-soft);
}

.footer-inner {
  align-items: center;
  padding: 1.6rem 0 3rem;
}

.footer-brand {
  margin-bottom: 0.2rem;
  color: #fff;
  font-weight: 800;
}

.footer-copy {
  margin: 0;
  color: var(--text-soft);
}

.footer-links {
  justify-content: flex-end;
}

.is-hidden {
  display: none !important;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.orb-one {
  width: 260px;
  height: 260px;
  right: 10%;
  top: 14%;
  background: rgba(132,169,255,0.2);
}

.orb-two {
  width: 180px;
  height: 180px;
  left: 3%;
  top: 8%;
  background: rgba(116,230,209,0.14);
}

.orb-three {
  width: 220px;
  height: 220px;
  right: 20%;
  bottom: -6%;
  background: rgba(216,183,255,0.12);
}

@media (max-width: 1080px) {
  .hero-layout,
  .page-hero-grid,
  .resume-layout,
  .readable-grid,
  .portfolio-preview-grid,
  .skills-grid,
  .deluxe-grid,
  .deluxe-grid-two,
  .contact-grid,
  .split-intro,
  .ai-ready-grid,
  .contribute-grid,
  .audience-panel.wide,
  .metrics-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-gallery {
    grid-template-columns: 1fr;
  }

  .feature-panel-large {
    grid-column: 1 / -1;
  }

  .metrics-grid {
    gap: 0.9rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .resume-hero-grid,
  .what-i-do-top,
  .what-i-do-layout,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .what-i-do-feature-head {
    flex-direction: column;
  }

  .about-float-photo {
    width: min(42%, 260px);
  }

  .resume-access-meta {
    grid-template-columns: 1fr 1fr;
  }

  .home-insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-headshot-large {
    max-width: 320px;
  }

  .hero-profile {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .hero-headshot {
    width: 108px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(12, 22, 40, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-home,
  .section,
  .page-hero-rich {
    padding: 1.1rem 0;
  }

  .hero-home + .section,
  .hero-home + .section-tight,
  .page-hero-rich + .section,
  .page-hero-rich + .section-tight {
    padding-top: 0.7rem;
  }

  .hero-layout,
  .page-hero-grid,
  .resume-layout,
  .readable-grid,
  .portfolio-preview-grid,
  .skills-grid,
  .deluxe-grid,
  .deluxe-grid-two,
  .contact-grid,
  .split-intro,
  .ai-ready-grid,
  .contribute-grid,
  .metrics-grid,
  .audience-panel.wide,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .page-hero .resume-hero-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    max-width: 12ch;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

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

  .hero-headshot {
    width: min(180px, 48vw);
  }

  .hero-headshot-large {
    max-width: 100%;
  }

  .compact-metrics {
    grid-template-columns: 1fr;
  }

  .about-hero-shell {
    padding: 1.3rem;
  }

  .resume-access-card {
    padding: 1.1rem;
  }

  .resume-access-meta {
    grid-template-columns: 1fr;
  }

  .about-float-photo {
    float: none;
    width: 100%;
    max-width: 260px;
    margin: 0 0 1rem;
  }

  .what-i-do-lead {
    padding-top: 0.2rem;
  }

  .what-i-do-panel {
    padding: 1.15rem;
  }

  .what-i-do-feature,
  .what-i-do-mini {
    padding: 1rem;
  }

  .ux-screen-card {
    padding: 0.75rem;
  }

  .experience-head {
    flex-direction: column;
  }

  .date-range {
    text-align: left;
    min-width: 0;
  }

  .sticky-panel {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .contact-form-shell {
    min-height: 680px;
    padding: 0.75rem;
  }

  .contact-form-status {
    padding: 1rem;
  }

  .jotform-embed {
    min-height: 680px;
  }
}
