:root {
  --bg: #090909;
  --bg-soft: #111111;
  --surface: rgba(18, 18, 18, 0.94);
  --surface-strong: rgba(22, 22, 22, 0.98);
  --hero-bg: #15120f;
  --hero-overlay: rgba(16, 13, 10, 0.68);
  --ink: #f8f2ea;
  --muted: #9098a5;
  --line: rgba(248, 242, 234, 0.1);
  --accent: #d38b1f;
  --accent-soft: rgba(211, 139, 31, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(211, 139, 31, 0.1), transparent 20%),
    radial-gradient(circle at top right, rgba(197, 72, 52, 0.06), transparent 18%),
    linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -48px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  z-index: 50;
}

.skip-link:focus {
  top: 20px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: #f8f2ea;
}

.hero {
  min-height: 100vh;
}

.page-hero {
  min-height: 54vh;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 1.2s ease;
}

.hero-overlay {
  background:
    linear-gradient(135deg, rgba(14, 10, 8, 0.78), rgba(14, 10, 8, 0.48)),
    linear-gradient(180deg, rgba(14, 10, 8, 0.2), rgba(14, 10, 8, 0.72));
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.34;
}

.topbar,
.hero-content,
.page-hero__content,
.page-shell,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong,
.topnav a,
.button,
.project-card h3,
.archive-card h3,
.contact-panel h2,
.modal-hero-copy h2,
.modal-text h3,
.info-panel h3,
.about-copy-card h3,
.section-head h2 {
  font-family: "Syne", "Segoe UI", sans-serif;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span:last-child {
  color: rgba(248, 242, 234, 0.72);
  font-size: 0.82rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 242, 234, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topnav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #20160d;
}

.hero-content,
.page-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
}

.hero-content {
  min-height: calc(100vh - 88px);
  padding: 110px 0 64px;
}

.page-hero__content {
  min-height: calc(54vh - 88px);
  padding: 110px 0 56px;
}

.page-hero__content h1 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero__content p:last-child {
  max-width: 44rem;
  margin: 16px 0 0;
  color: rgba(248, 242, 234, 0.78);
  line-height: 1.72;
}

body[data-page="contact"] {
  background: #0b0b0b;
  color: #f8f2ea;
}

body[data-page="experience"] {
  background: #0b0b0b;
  color: #f8f2ea;
}

.page-hero--contact {
  min-height: auto;
  background: #0b0b0b;
}

.page-hero--experience {
  min-height: auto;
  background: #0b0b0b;
}

.page-hero--contact .hero-overlay {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.88), rgba(11, 11, 11, 0.96));
}

.page-hero--experience .hero-overlay {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.9), rgba(11, 11, 11, 0.98));
}

.page-hero--contact .hero-grid {
  opacity: 0.1;
}

.page-hero--experience .hero-grid {
  opacity: 0.1;
}

.page-hero__content--contact {
  min-height: auto;
  width: min(calc(100% - 32px), 860px);
  padding: 96px 0 18px;
}

.page-hero__content--experience {
  min-height: auto;
  width: min(calc(100% - 32px), 980px);
  padding: 96px 0 22px;
  border-bottom: 1px solid rgba(248, 242, 234, 0.12);
}

.contact-hero__eyebrow {
  color: #c54834;
}

.contact-hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.8rem, 10vw, 7.9rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  max-width: 7ch;
}

.contact-hero__title span {
  display: block;
  color: #c54834;
}

.experience-hero__eyebrow {
  color: #db941f;
}

.experience-hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.2rem, 9vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  max-width: 7ch;
}

.experience-hero__title span {
  display: block;
  color: #db941f;
}

.page-hero--contact .page-hero__content p:last-child {
  max-width: 40rem;
  margin-top: 22px;
  color: #98a0ae;
  font-size: 1.04rem;
  line-height: 1.95;
}

.hero-meta,
.hero-actions,
.hero-dots,
.filters,
.contact-links,
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
}

.hero-meta {
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(248, 242, 234, 0.82);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-label {
  padding: 8px 12px;
  background: var(--accent);
  color: #20160d;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-title {
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.hero-title p {
  margin: 0;
  font-size: clamp(4rem, 13vw, 9.2rem);
  font-weight: 600;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.8px var(--accent);
}

.hero-intro {
  max-width: 34ch;
  margin: 0 0 28px;
  color: rgba(248, 242, 234, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  gap: 12px;
  margin-bottom: 34px;
}

.button,
.filter-button,
.modal-close {
  border: none;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: #df8c12;
  color: #0d0a07;
  font-size: 0.94rem;
  font-weight: 800;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f6f0e8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-project {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.hero-project__copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-project h1 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero-project__strap,
.section-copy,
.about-copy-card p,
.stack-item p,
.project-card p,
.archive-card p,
.contact-panel p,
.modal-strap,
.modal-text p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-project__strap {
  margin: 14px 0 0;
  color: rgba(248, 242, 234, 0.76);
  max-width: 42rem;
}

.hero-dots {
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.page-shell {
  padding: 56px 0 88px;
}

.section,
.page-section {
  padding: 36px 0 54px;
}

.section-head {
  max-width: 52rem;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 14px 0 0;
}

.home-preview-grid,
.detail-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.home-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.contact-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.home-showcase {
  --showcase-accent: #db941f;
  position: relative;
  margin: 6px 0 38px;
  padding: 56px 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(219, 148, 31, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08)),
    #12110f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 68px rgba(12, 9, 6, 0.24);
  color: #f8f2ea;
}

.home-showcase--contact {
  --showcase-accent: #c54834;
}

.home-showcase--contact .home-showcase__layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
}

.home-showcase__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
  min-height: 520px;
}

.home-showcase__copy {
  display: grid;
  gap: 22px;
  align-content: center;
  max-width: 44rem;
}

.home-showcase__copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 7.3rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
  max-width: 8ch;
}

.home-showcase__copy h2 span {
  display: block;
  color: var(--showcase-accent);
}

.home-showcase__copy p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0;
  color: #9fa4b1;
  font-size: 1.02rem;
  line-height: 1.88;
}

.home-showcase__eyebrow--contact {
  color: #c54834;
}

.home-showcase__button {
  width: fit-content;
  min-width: 282px;
  min-height: 60px;
  padding: 0 34px;
  border-radius: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-showcase__button--outline {
  border: 1px solid rgba(219, 148, 31, 0.86);
  background: transparent;
  color: #db941f;
}

.home-showcase__button--solid {
  border: 1px solid #b9382c;
  background: #b9382c;
  color: #f8f2ea;
}

.home-showcase__orb {
  position: absolute;
  left: calc(50% - 10px);
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #db941f;
  box-shadow: 0 0 18px rgba(219, 148, 31, 0.22);
  transform: translate(-50%, -12%);
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.highlight-card {
  min-height: 206px;
  padding: 30px 24px;
  background: #1a1917;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: inset 0 4px 0 var(--highlight-accent);
}

.highlight-card strong {
  color: var(--highlight-value);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.8rem, 7vw, 5rem);
  line-height: 0.82;
  font-weight: 700;
}

.highlight-card span {
  margin-top: 12px;
  color: #9fa4b1;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-contact-board {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-row {
  min-height: 96px;
  padding: 0 38px 0 46px;
  background: #1a1917;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  box-shadow: inset 4px 0 0 var(--contact-accent);
}

.contact-row__label {
  color: var(--contact-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-row__value {
  display: block;
  width: 100%;
  min-width: 0;
  color: #f8f2ea;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  overflow-wrap: normal;
  word-break: normal;
  text-align: right;
  text-wrap: balance;
}

.contact-shell {
  padding-top: 22px;
}

.experience-shell {
  padding-top: 24px;
}

.contact-page-section {
  display: grid;
  gap: 42px;
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 18px;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail-card {
  min-height: 148px;
  padding: 38px 22px 28px;
  background: #121212;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.contact-detail-card__label {
  color: var(--contact-card-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.contact-detail-card__value {
  color: #f8f2ea;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.06rem, 1.3vw, 1.24rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 16ch;
  text-wrap: balance;
}

.contact-page__button {
  width: fit-content;
  min-width: 308px;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 0;
  background: #df8c12;
  color: #0f0c08;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.experience-page-section {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 0 18px;
}

.experience-section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.experience-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(248, 242, 234, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.experience-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.experience-legend__item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--legend-color);
}

.experience-timeline {
  border-left: 2px solid #db941f;
  padding-left: 0;
}

.experience-entry {
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid rgba(248, 242, 234, 0.12);
}

.experience-entry--current {
  border-left: 2px solid #db941f;
  margin-left: -2px;
  padding-left: 20px;
}

.experience-entry__head,
.experience-entry__title-wrap {
  display: flex;
  align-items: center;
}

.experience-entry__head {
  justify-content: space-between;
  gap: 20px;
}

.experience-entry__title-wrap {
  gap: 10px;
  flex-wrap: wrap;
}

.experience-entry h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.34rem, 2vw, 1.8rem);
  line-height: 1;
}

.experience-entry__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  background: #db941f;
  color: #0d0a07;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.experience-entry__period {
  color: rgba(248, 242, 234, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.experience-entry p {
  margin: 8px 0 0;
  color: #9098a5;
  font-size: 0.9rem;
  line-height: 1.65;
}

.experience-skills-grid,
.experience-note-grid,
.experience-workshop-grid {
  display: grid;
  gap: 16px;
}

.experience-skills-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-group-card,
.experience-note-card {
  background: #121212;
  border: 1px solid rgba(248, 242, 234, 0.12);
}

.skill-group-card {
  padding: 20px 16px 16px;
  box-shadow: inset 0 2px 0 var(--skill-accent);
}

.skill-group-card__title {
  margin: 0 0 18px;
  color: var(--skill-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.skill-group-card__list {
  display: grid;
  gap: 14px;
}

.skill-meter {
  display: grid;
  gap: 8px;
}

.skill-meter__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.skill-meter__head strong,
.skill-meter__head span {
  font-size: 0.84rem;
  line-height: 1.2;
}

.skill-meter__head strong {
  color: #f8f2ea;
  font-weight: 700;
}

.skill-meter__head span {
  color: rgba(248, 242, 234, 0.7);
  font-weight: 700;
}

.skill-meter__track {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(248, 242, 234, 0.12);
}

.skill-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--skill-accent);
}

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

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

.experience-note-card {
  min-height: 154px;
  padding: 16px 16px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: inset 0 2px 0 var(--note-accent);
}

.experience-note-card__tag,
.experience-note-card__meta {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.experience-note-card__tag {
  color: var(--note-accent);
}

.experience-note-card h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.34rem;
  line-height: 0.98;
}

.experience-note-card p {
  margin: 0;
  color: #9098a5;
  font-size: 0.88rem;
  line-height: 1.66;
}

.experience-note-card__meta {
  color: rgba(248, 242, 234, 0.58);
}

.experience-workshop-card {
  min-height: 92px;
  padding: 20px 20px 18px;
  background: #121212;
  border: 1px solid rgba(248, 242, 234, 0.12);
  box-shadow: inset 0 2px 0 var(--workshop-accent);
  display: grid;
  gap: 16px;
  align-content: start;
}

.experience-workshop-card h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.05;
}

.experience-workshop-card__year {
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--workshop-accent) 58%, transparent);
  color: var(--workshop-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-extended {
  width: min(calc(100% - 32px), 1120px);
  margin: 8px auto 0;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid rgba(248, 242, 234, 0.08);
  color: #f8f2ea;
}

.about-extended__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(248, 242, 234, 0.12);
}

.about-stat-card {
  min-height: 88px;
  padding: 18px 18px 16px;
  background: #111111;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.about-stat-card + .about-stat-card {
  border-left: 1px solid rgba(248, 242, 234, 0.12);
}

.about-stat-card strong {
  color: var(--about-stat-value);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.84;
  font-weight: 700;
}

.about-stat-card span {
  margin-top: 6px;
  color: rgba(248, 242, 234, 0.62);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-extended__body {
  display: grid;
  gap: 46px;
  padding: 32px 0 44px;
}

.about-showcase-block {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
}

.about-showcase-head {
  margin-bottom: 18px;
}

.about-showcase-head .eyebrow {
  margin-bottom: 0;
}

.about-education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-education-card,
.about-recognition-card,
.about-extra-item {
  background: #121212;
  border: 1px solid rgba(248, 242, 234, 0.12);
}

.about-education-card {
  min-height: 132px;
  padding: 18px 16px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  box-shadow: inset 0 2px 0 var(--about-card-accent);
}

.about-education-card__tag,
.about-education-card__status,
.about-recognition-card__year,
.about-recognition-card__result {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-education-card__tag,
.about-recognition-card__year,
.about-recognition-card__result {
  width: fit-content;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--about-card-accent) 92%, #111 8%);
  color: #0d0a07;
}

.about-education-card__status {
  color: rgba(248, 242, 234, 0.55);
}

.about-education-card h3,
.about-recognition-card h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.56rem;
  line-height: 0.98;
}

.about-education-card p,
.about-recognition-card p {
  margin: 0;
  color: #8f97a3;
  font-size: 0.82rem;
  line-height: 1.6;
}

.about-recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 242, 234, 0.08);
}

.about-recognition-card {
  position: relative;
  min-height: 132px;
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  box-shadow: inset 0 2px 0 var(--about-card-accent);
}

.about-recognition-card::after {
  content: attr(data-index);
  position: absolute;
  right: 10px;
  bottom: -10px;
  color: rgba(219, 148, 31, 0.12);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1;
}

.about-recognition-card__result {
  background: transparent;
  color: var(--about-card-accent);
  padding: 0;
}

.about-extra-list {
  display: grid;
  gap: 8px;
}

.about-extra-item {
  min-height: 64px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  box-shadow: inset 2px 0 0 var(--about-card-accent);
}

.about-extra-item__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(248, 242, 234, 0.08);
  color: #f8f2ea;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-extra-item__copy {
  display: grid;
  gap: 4px;
}

.about-extra-item__copy strong {
  color: #f8f2ea;
  font-size: 0.96rem;
  line-height: 1.2;
}

.about-extra-item__copy span {
  color: var(--about-card-accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-layout,
.about-panels,
.archive-card,
.modal-hero,
.modal-body {
  display: grid;
  gap: 18px;
}

.about-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  margin-bottom: 18px;
}

.about-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-photo-card,
.about-copy-card,
.info-panel,
.project-card__button,
.archive-card,
.contact-panel,
.modal-content,
.detail-card,
.empty-state {
  background: var(--surface);
  border: 1px solid rgba(248, 242, 234, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.about-photo-card,
.about-copy-card,
.info-panel,
.contact-panel,
.detail-card,
.empty-state {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-copy-card h3 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.about-copy-card p {
  margin: 0 0 14px;
}

.detail-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.detail-card h3 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.detail-card p,
.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.detail-card--dark {
  background: rgba(20, 16, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

.detail-card--dark h3,
.detail-card--dark p {
  color: #f8f2ea;
}

.contact-links {
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(248, 242, 234, 0.04);
  border: 1px solid var(--line);
  color: #f8f2ea;
  font-weight: 800;
}

.info-panel h3,
.archive-card h3,
.contact-panel h2,
.modal-text h3 {
  margin: 0 0 16px;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-item {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stack-item:first-child {
  padding-top: 0;
  border-top: none;
}

.stack-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-item strong {
  display: block;
  margin-bottom: 4px;
}

.pill-cloud {
  gap: 10px;
}

.pill-cloud span,
.tag-row span,
.modal-meta li {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #f0c98f;
  font-size: 0.84rem;
  font-weight: 700;
}

.filters {
  gap: 10px;
  margin-bottom: 20px;
}

.filter-button {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(248, 242, 234, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.filter-button.is-active {
  background: #df8c12;
  color: #0d0a07;
  border-color: #df8c12;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  grid-column: span 4;
}

.project-card--wide {
  grid-column: span 6;
}

.project-card__button {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-align: left;
}

.project-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body {
  padding: 20px;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.06;
}

.project-card--compact {
  grid-column: auto;
}

.project-card p {
  margin: 0 0 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-card {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  padding: 20px;
  border-radius: var(--radius-xl);
}

.archive-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.archive-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.empty-state {
  text-align: center;
}

.site-footer {
  background: #0e0d0d;
  border-top: 1px solid rgba(248, 242, 234, 0.12);
  color: #f8f2ea;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 108px;
}

.site-footer__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.site-footer__meta,
.site-footer__nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-footer__meta {
  margin: 0;
  color: rgba(248, 242, 234, 0.34);
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.site-footer__nav a {
  color: rgba(248, 242, 234, 0.86);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.68);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(16, 12, 9, 0.88);
  color: #fff;
  font-weight: 800;
}

.modal-content {
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 22px;
  border-radius: 28px;
  background: #0c0c0c;
  border: 1px solid rgba(248, 242, 234, 0.08);
  color: #f8f2ea;
}

.modal-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.modal-hero-media,
.modal-media-button,
.modal-reel-card__media,
.modal-reel__button,
.media-lightbox__close,
.media-lightbox__nav,
.media-lightbox__backdrop {
  border: none;
  cursor: pointer;
}

.modal-hero-media,
.modal-media-button,
.modal-reel-card__media {
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.modal-hero-media {
  overflow: hidden;
  border-radius: 20px;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.modal-hero-copy {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 14px 0 10px;
}

.modal-hero-copy h2 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 0.95;
}

.modal-strap {
  margin: 0;
  color: #8f97a3;
  max-width: 38rem;
  line-height: 1.75;
}

.modal-context {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.modal-quote,
.modal-closing-quote {
  margin: 0;
  padding: 28px 40px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
}

.modal-quote {
  color: #c54834;
  background: #131313;
  border-left: 4px solid #c54834;
  border-right: 4px solid #c54834;
}

.modal-body,
.modal-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.modal-body {
  align-items: start;
}

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

.modal-panel,
.modal-details-card,
.modal-gallery__item {
  margin: 0;
  background: #121212;
  border: 1px solid rgba(248, 242, 234, 0.1);
}

.modal-panel {
  padding: 26px 22px 24px;
}

.modal-panel h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.modal-panel p:last-child {
  margin: 18px 0 0;
  color: #8f97a3;
  line-height: 1.9;
}

.modal-details-card {
  padding: 24px 0 0;
  box-shadow: inset 0 3px 0 #c54834;
}

.modal-details-card .eyebrow {
  margin: 0;
  padding: 0 22px 16px;
}

.modal-details-list {
  display: grid;
}

.modal-detail-row {
  padding: 16px 22px 18px;
  border-top: 1px solid rgba(248, 242, 234, 0.08);
  display: grid;
  gap: 8px;
}

.modal-detail-row__label {
  color: #c54834;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.modal-detail-row__value {
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.05;
  font-weight: 700;
}

.modal-closing-quote {
  color: #c54834;
  background: #131313;
  border-left: 4px solid #c54834;
  border-right: 4px solid #c54834;
  padding-block: 34px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-auto-rows: minmax(220px, 1fr);
  gap: 16px;
}

.modal-gallery__item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: inset 0 3px 0 var(--gallery-accent);
}

.modal-gallery__item--featured {
  grid-row: span 2;
}

.modal-gallery__item--solo {
  grid-column: 1 / -1;
}

.modal-media-button {
  display: block;
  width: 100%;
  height: 100%;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.modal-gallery figcaption {
  display: grid;
  gap: 6px;
  padding: 12px 14px 14px;
  background: rgba(10, 10, 10, 0.94);
}

.modal-gallery__label {
  color: var(--gallery-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.modal-gallery__caption {
  color: rgba(248, 242, 234, 0.56);
  font-size: 0.82rem;
}

.modal-reel {
  display: grid;
  gap: 18px;
}

.modal-reel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.modal-reel__head .eyebrow {
  margin: 0 0 6px;
}

.modal-reel__head h3 {
  margin: 0;
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 0.98;
}

.modal-reel__viewport {
  position: relative;
  overflow: hidden;
  padding-inline: 56px;
}

.modal-reel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(248, 242, 234, 0.12);
  color: #f8f2ea;
  transform: translateY(-50%);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.modal-reel__arrow:hover {
  background: rgba(18, 18, 18, 0.96);
  transform: translateY(-50%) scale(1.03);
}

.modal-reel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.modal-reel__arrow:disabled:hover {
  background: rgba(8, 8, 8, 0.88);
  transform: translateY(-50%);
}

.modal-reel__arrow span {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.modal-reel__arrow--prev {
  left: 8px;
}

.modal-reel__arrow--next {
  right: 8px;
}

.modal-reel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-reel__track::-webkit-scrollbar {
  display: none;
}

.modal-reel-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  display: grid;
  gap: 0;
  min-width: 0;
  background: #121212;
  border: 1px solid rgba(248, 242, 234, 0.1);
  box-shadow: inset 0 3px 0 var(--reel-accent);
}

.modal-reel-card__media {
  display: block;
  width: 100%;
}

.modal-reel-card__media img {
  width: 100%;
  height: clamp(200px, 19vw, 280px);
  object-fit: cover;
}

.modal-reel-card__copy {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
}

.modal-reel-card__label,
.modal-reel-card__caption {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-reel-card__label {
  color: var(--reel-accent);
}

.modal-reel-card__copy strong {
  color: #f8f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1;
}

.modal-reel-card__caption {
  color: rgba(248, 242, 234, 0.5);
}

.modal-reel__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: 56px;
}

.modal-reel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-reel__hint {
  color: rgba(248, 242, 234, 0.54);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-reel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(248, 242, 234, 0.18);
  border: none;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.modal-reel__dot.is-active {
  width: 28px;
  background: #db941f;
}

.modal-reel__count {
  color: rgba(248, 242, 234, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.media-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.9);
  backdrop-filter: blur(12px);
}

.media-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1320px, 100%);
}

.media-lightbox__figure {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.media-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.media-lightbox__figure figcaption {
  color: rgba(248, 242, 234, 0.74);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.media-lightbox__close,
.media-lightbox__nav {
  position: relative;
  z-index: 1;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 999px;
  background: rgba(248, 242, 234, 0.08);
  border: 1px solid rgba(248, 242, 234, 0.16);
  color: #f8f2ea;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.media-lightbox__close {
  position: absolute;
  top: -56px;
  right: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1100px) {
  .about-extended__stats,
  .about-recognition-grid,
  .home-showcase__layout,
  .home-showcase--contact .home-showcase__layout,
  .experience-skills-grid,
  .experience-note-grid,
  .experience-workshop-grid,
  .about-layout,
  .about-panels,
  .archive-card,
  .modal-hero,
  .modal-body,
  .modal-story-grid,
  .detail-grid,
  .contact-grid,
  .home-preview-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--wide {
    grid-column: span 6;
  }

  .home-showcase__layout {
    min-height: auto;
  }

  .home-showcase__orb {
    display: none;
  }

  .experience-skills-grid,
  .experience-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-extended__stats,
  .about-recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .modal-gallery__item--featured {
    grid-row: auto;
  }

  .modal-reel__viewport {
    padding-inline: 48px;
  }

  .modal-reel__track {
    gap: 16px;
  }

  .modal-reel-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .media-lightbox__dialog {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .topbar,
  .hero-content,
  .page-hero__content,
  .page-shell,
  .site-footer__inner {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar,
  .hero-project {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
  }

  .topnav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-content,
  .page-hero__content {
    padding-top: 122px;
    min-height: auto;
  }

  .page-hero__content--contact {
    width: min(calc(100% - 20px), 860px);
    padding-top: 122px;
  }

  .page-hero__content--experience {
    width: min(calc(100% - 20px), 980px);
    padding-top: 122px;
  }

  .modal-content {
    padding: 16px;
    border-radius: 20px;
  }

  .modal-quote,
  .modal-closing-quote {
    padding: 24px 18px;
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .modal-body,
  .modal-story-grid {
    gap: 16px;
  }

  .modal-panel {
    padding: 22px 18px;
  }

  .modal-panel h3 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .modal-details-card .eyebrow {
    padding: 0 18px 14px;
  }

  .modal-detail-row {
    padding: 14px 18px 16px;
  }

  .modal-detail-row__value {
    font-size: 1.34rem;
  }

  .modal-reel__head {
    align-items: flex-start;
  }

  .modal-reel__arrow {
    top: 38%;
    width: 40px;
    height: 40px;
  }

  .modal-reel__arrow--prev {
    left: 8px;
  }

  .modal-reel__arrow--next {
    right: 8px;
  }

  .modal-reel__viewport {
    padding-inline: 0;
  }

  .modal-reel__track {
    gap: 12px;
    padding: 4px 14px 6px;
  }

  .modal-reel-card {
    flex-basis: calc(100% - 28px);
    border-radius: 18px;
    overflow: hidden;
  }

  .modal-reel-card__media img {
    height: clamp(180px, 52vw, 240px);
  }

  .modal-reel-card__copy {
    gap: 5px;
    padding: 14px 14px 16px;
  }

  .modal-reel-card__copy strong {
    font-size: 1.16rem;
    line-height: 1.05;
  }

  .modal-reel-card__label,
  .modal-reel-card__caption {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .modal-reel__footer {
    align-items: center;
    justify-content: center;
    padding-inline: 0;
    gap: 10px;
  }

  .media-lightbox {
    padding: 16px;
  }

  .media-lightbox__dialog {
    gap: 12px;
  }

  .media-lightbox__close {
    position: static;
    justify-self: end;
  }

  .media-lightbox__nav {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.6rem;
  }

  .media-lightbox__figure img {
    max-height: calc(100vh - 180px);
  }

  .hero-title p {
    font-size: clamp(3.4rem, 20vw, 5.2rem);
  }

  .hero-meta {
    gap: 10px;
  }

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

  .project-card,
  .project-card--wide {
    grid-column: span 1;
  }

  .home-showcase {
    padding: 34px 20px;
  }

  .home-showcase__button {
    width: 100%;
    min-width: 0;
  }

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

  .highlight-card {
    min-height: 176px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 22px 18px 22px 26px;
  }

  .contact-row__value {
    justify-self: start;
    text-align: left;
  }

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

  .contact-detail-card {
    min-height: 128px;
    justify-items: flex-start;
    text-align: left;
    padding: 28px 20px;
  }

  .contact-detail-card__value {
    max-width: none;
    text-wrap: pretty;
  }

  .contact-page__button {
    width: 100%;
    min-width: 0;
  }

  .about-extended {
    width: min(calc(100% - 20px), 1120px);
  }

  .about-showcase-block {
    width: min(calc(100% - 24px), 760px);
  }

  .about-extended__stats,
  .about-education-grid,
  .about-recognition-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-card + .about-stat-card {
    border-left: none;
    border-top: 1px solid rgba(248, 242, 234, 0.12);
  }

  .experience-entry__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-entry__period {
    white-space: normal;
  }

  .experience-skills-grid,
  .experience-note-grid,
  .experience-workshop-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: flex-start;
    gap: 18px;
    padding: 24px 0 28px;
    min-height: auto;
  }

  .site-footer__meta {
    text-align: left;
  }

  .site-footer__nav {
    justify-content: flex-start;
    gap: 16px 22px;
  }

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

  .modal-gallery img {
    height: 220px;
  }

  .modal-gallery__item--featured {
    grid-row: auto;
  }

  .media-lightbox__figure figcaption {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 12px;
  }

  .modal-reel__arrow {
    width: 36px;
    height: 36px;
  }

  .modal-reel__arrow--prev {
    left: 4px;
  }

  .modal-reel__arrow--next {
    right: 4px;
  }

  .modal-reel__track {
    padding-inline: 8px;
  }

  .modal-reel-card__copy strong {
    font-size: 1.05rem;
  }

  .modal-reel-card {
    flex-basis: calc(100% - 16px);
  }

  .modal-reel__count {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
