:root {
  color-scheme: dark;
  --background: #0b0c0e;
  --surface: #121418;
  --surface-soft: #181b20;
  --text: #f3f0e9;
  --muted: #a7a8ad;
  --accent: #c5ced0;
  --border: #2a2d33;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* Beyond work: three equal creative-life cards on larger screens. */
.beyond-screen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.beyond-screen > .photography {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0 28px 0 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.beyond-screen .photography-copy {
  order: 1;
}

.beyond-screen > .photography {
  position: relative;
}

.beyond-screen .photography .gallery-more {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 0;
  left: 16px;
  order: 2;
  justify-content: space-between;
  margin: 0;
  padding: 12px 14px 18px;
  border: 0;
  background: rgba(11, 12, 14, 0.88);
  color: var(--text);
}

.beyond-screen .photography .photo-gallery {
  order: 3;
  margin-top: auto;
}

.beyond-screen .photography .photo-gallery {
  height: 250px;
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.beyond-screen .photography .photo-gallery .gallery-item:nth-child(n + 9) {
  display: none;
}

.beyond-screen .photography .photo-gallery.gallery-expanded {
  height: auto;
  overflow: visible;
}

.beyond-screen .photography .gallery-more {
  align-self: flex-start;
  margin: 0 0 0;
}

.photography-copy {
  min-height: 260px;
}

.photography-copy h3 {
  margin: 42px 0 10px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.beyond-screen .music-story-copy h3,
.beyond-screen .photography-copy h3 {
  min-height: 2.2em;
}

.photography-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.photography-triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 801px) {
  .beyond-screen .music-story-copy,
  .beyond-screen .photography-copy {
    min-height: 318.5px;
  }

  .beyond-screen .photography .photo-gallery {
    gap: 12px;
  }

  .beyond-screen .photography .gallery-item {
    border-radius: 3px;
  }
}

.beyond-screen > .music {
  display: contents;
}

.beyond-screen .music-heading {
  grid-column: 1 / -1;
  grid-row: 1;
}

.beyond-screen .music-stories {
  display: contents;
}

.beyond-screen .music-story {
  grid-row: 2;
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.beyond-screen .music-story:first-child {
  grid-column: 2;
}

.beyond-screen > #music {
  grid-column: 2;
}

.beyond-screen > .playing-card {
  grid-column: 3;
}

.beyond-screen .music-story:last-child {
  grid-column: 3;
}

.beyond-screen .music-story:last-child {
  border-right: 0;
}

.beyond-screen .music-story .music-story-copy {
  order: 1;
}

.beyond-screen .music-story .music-visual {
  order: 2;
  margin-top: auto;
}

.beyond-screen .music-story .music-card-links {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 0;
  left: 16px;
  margin: 0;
  padding: 0 14px 8px;
  background: rgba(11, 12, 14, 0.88);
}

.beyond-screen .music-story .music-card-links a {
  border-color: rgba(243, 240, 233, 0.22);
}

.beyond-screen .photo-gallery {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.beyond-card-title {
  margin: 0 0 18px;
  color: var(--text);
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

@media (max-width: 800px) {
  .beyond-screen {
    display: flex;
    flex-direction: column;
  }

.beyond-screen > .photography {
    order: 1;
    grid-row: auto;
    padding: 0;
    border-top: 0;
    border-right: 0;
  }

  .beyond-screen > .music {
    display: contents;
  }

  .beyond-screen .music-heading {
    order: 0;
    margin: 0 0 48px;
    padding: 0;
    border-top: 0;
  }

  .beyond-screen .music-stories {
    display: contents;
  }

  .beyond-screen .music-story {
    order: 2;
    grid-row: auto;
  }

  .beyond-screen .music-story:first-child,
  .beyond-screen .music-story:last-child {
    grid-column: auto;
  }

  .beyond-screen .music-story:last-child {
    order: 3;
  }

  .beyond-screen .beyond-block + .beyond-block {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .beyond-screen .photography .photo-gallery {
    display: flex;
    height: 190px;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .beyond-screen .photography .photo-gallery.gallery-expanded {
    height: 190px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: var(--accent) var(--surface);
    scrollbar-width: thin;
    box-shadow: inset -30px 0 24px -24px var(--text);
  }

  .beyond-screen .photography .gallery-item {
    flex: 0 0 42%;
    height: 100%;
    scroll-snap-align: start;
  }

  .beyond-screen .photography .photo-gallery:not(.gallery-expanded) .gallery-item:nth-child(n + 9) {
    display: none;
  }
}

.site-header {
  min-height: 88px;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
  padding: 88px 0;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 660px;
  font-size: clamp(4rem, 9vw, 7.4rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.65rem);
}

.intro {
  max-width: 660px;
  margin: 32px 0 16px;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.4;
}

.bio,
.section-heading > p:last-child,
.contact > div > p:last-child {
  max-width: 660px;
  color: var(--muted);
}

.career-heading {
  max-width: 760px;
}

.career {
  padding-block: 96px;
}

.career-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 40px;
}

.career-controls > span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.career-control {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.career-control:hover:not(:disabled),
.career-control:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.career-control:disabled {
  color: #555a62;
  cursor: default;
  opacity: 0.55;
}

.career-timeline {
  display: flex;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--accent) var(--surface);
  scrollbar-width: thin;
}

.career-timeline::-webkit-scrollbar {
  height: 8px;
}

.career-timeline::-webkit-scrollbar-track {
  background: var(--surface);
}

.career-timeline::-webkit-scrollbar-thumb {
  border: 2px solid var(--surface);
  background: var(--accent);
}

.career-step {
  flex: 0 0 min(64%, 700px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 28px;
  padding: 34px 32px 34px 0;
  border-right: 1px solid var(--border);
  scroll-snap-align: start;
}

.career-step + .career-step {
  padding-left: 32px;
}

.company-journey {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  align-content: flex-start;
}

.company-mark {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.company-mark.fortis {
  color: #8ed1f0;
}

.company-mark.bnppf,
.company-mark.engagor {
  color: #6ee7a7;
}

.company-mark.clarabridge {
  color: #82b4ff;
}

.company-mark.qualtrics {
  color: #c6a8ff;
}

.company-mark.piesync {
  color: #ffcb6b;
}

.company-mark.hubspot {
  color: #ff8f70;
}

.company-mark.next-chapter {
  color: var(--accent);
  border-style: dashed;
}

.company-arrow {
  color: var(--muted);
}

.career-period {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.career-story {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
}

.career-number {
  padding-top: 6px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.career-story h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
}

.career-story p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
}

.career-next-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  color: var(--text);
  font-size: 0.82rem;
  transition: color 180ms ease, gap 180ms ease;
}

.career-next-link:hover {
  gap: 12px;
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #101207;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

.portrait-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, #31363c, transparent 38%),
    linear-gradient(145deg, #22262b, #111317);
}

.portrait-placeholder span {
  color: #4b5057;
  font-family: "Newsreader", serif;
  font-size: 7rem;
}

.section {
  padding: 132px 0;
  border-top: 1px solid var(--border);
}

.section-heading > p:last-child,
.contact > div > p:last-child {
  margin: 24px 0 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 40px;
}

.photo-gallery:not(.gallery-expanded) .gallery-item:nth-child(n + 9) {
  display: none;
}

.gallery-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.gallery-more:hover,
.gallery-more:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.photo-gallery.gallery-scrolling + .gallery-more {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.photography-header {
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-2px);
}

.photography-page {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 112px 0 132px;
}

.photography-page-heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.photography-page-heading h1 {
  font-size: clamp(3.3rem, 7vw, 6.5rem);
}

.photography-page-heading > p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.full-photo-gallery {
  column-count: 3;
  column-gap: 16px;
}

.full-photo-gallery .gallery-item {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 16px;
  border-radius: 3px;
  break-inside: avoid;
}

.full-photo-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.full-photo-gallery .gallery-item.gallery-item-portrait,
.full-photo-gallery .gallery-item.gallery-item-portrait img {
  height: auto;
  aspect-ratio: auto;
}

@media (max-width: 800px) {
  .full-photo-gallery {
    column-count: 2;
    column-gap: 8px;
  }

  .photography-page {
    padding-top: 72px;
  }
}

@media (min-width: 801px) {
  .beyond-screen .photography .photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    height: 260px;
    gap: 8px;
  }

  .beyond-screen .photography .photo-gallery .gallery-item {
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .beyond-screen .photography .photo-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .beyond-screen .photography .photo-gallery .gallery-item:nth-child(n + 9) {
    display: none;
  }

  .beyond-screen .photography .photo-gallery .gallery-item:nth-child(n + 9) {
    display: none;
  }
}

.gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--surface);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item-portrait {
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 250ms ease;
}

.gallery-item::after {
  content: "View";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(11, 12, 14, 0.78);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  opacity: 0.82;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(7, 8, 10, 0.96);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(7, 8, 10, 0.96);
}

.lightbox-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 72px minmax(0, 1fr) 32px;
  padding: 0 clamp(12px, 2vw, 28px);
}

.lightbox-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.lightbox-close,
.lightbox-control {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lightbox-close {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lightbox-close span {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.lightbox-control {
  align-self: center;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #3a3d43;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.lightbox-control:hover,
.lightbox-control:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.lightbox-previous {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.how-heading {
  max-width: 820px;
}

.how-i-work {
  padding-block: 96px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.skill-card {
  min-height: 230px;
  padding: clamp(24px, 3vw, 32px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.skill-number {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.skill-card h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.skill-card > p {
  max-width: 500px;
  margin: 12px 0 0;
  color: var(--muted);
}

.language-card {
  position: relative;
  overflow: visible;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.language-chip {
  position: relative;
  padding: 7px 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.72rem;
  cursor: help;
  outline: none;
}

.language-chip:hover,
.language-chip:focus-visible {
  border-color: var(--accent);
}

.language-tooltip {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: min(280px, 80vw);
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: var(--text);
  color: var(--background);
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.language-chip:hover .language-tooltip,
.language-chip:focus .language-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.music {
  background: var(--background);
}

.beyond-screen {
  padding-top: 132px;
  padding-bottom: 132px;
}

.beyond-block + .beyond-block {
  margin-top: 112px;
  padding-top: 112px;
  border-top: 1px solid var(--border);
}

.music-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.music-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.music-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--background);
}

.music-story {
  min-width: 0;
  border-right: 1px solid var(--border);
}

.music-story:last-child {
  border-right: 0;
}

.music-visual {
  height: 250px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.music-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
  transition: filter 300ms ease, transform 500ms ease;
}

.music-visual-grid img {
  object-position: center 10%;
}

.music-visual-triptych {
  display: grid;
  grid-template-columns: 0.55fr 1.9fr 0.55fr;
  gap: 2px;
}

.music-visual-triptych img:first-child {
  object-position: 33% center;
}

.music-visual-triptych img:nth-child(2) {
  object-position: 58% center;
}

.music-visual-triptych img:last-child {
  object-position: 38% 35%;
}

.music-story:hover .music-visual img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.018);
}

.music-story-copy {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
}

.music-number {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.music-story h3 {
  margin: 42px 0 10px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
}

.music-story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.music-story a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  transition: color 180ms ease, padding 180ms ease;
}

.music-story a:hover {
  padding-inline: 6px;
  color: var(--accent);
}

.music-card-links {
  display: grid;
  margin-top: auto;
}

.music-card-links a {
  margin-top: 0;
}

.music-card-links a + a {
  margin-top: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 80px;
  align-items: end;
}

.contact-links {
  display: grid;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: color 180ms ease, padding 180ms ease;
}

.contact-links a:first-child {
  border-top: 1px solid var(--border);
}

.contact-links a:hover {
  padding-inline: 8px;
  color: var(--accent);
}

footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .hero,
  .career-step,
  .contact,
  .music-heading {
    grid-template-columns: 1fr;
  }

  .music-visual-triptych {
    grid-template-columns: 0.5fr 2fr 0.5fr;
  }

  .career-step {
    flex-basis: 76%;
    gap: 24px;
  }

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

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

  .hero {
    padding-top: 72px;
  }

  .portrait {
    aspect-ratio: 4 / 3;
  }

  .contact {
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 14px;
  }

  nav a:first-child,
  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 88px;
  }

  h1 {
    font-size: 3.7rem;
  }

  .section {
    padding: 88px 0;
  }

  .music-stories {
    grid-template-columns: 1fr;
  }

  .music-story,
  .music-story:nth-child(2),
  .music-story:last-child {
    grid-column: auto;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--border);
  }

  .music-story:last-child {
    border-bottom: 0;
  }

  .music-story h3 {
    margin-top: 16px;
  }

  .music-story-copy {
    min-height: 220px;
  }

  .career {
    padding-block: 72px;
  }

  .how-i-work {
    padding-block: 72px;
  }

  .career-timeline {
    margin-top: 48px;
  }

  .career-step {
    flex-basis: 86%;
    padding: 30px 20px 30px 0;
  }

  .career-step + .career-step {
    padding-left: 20px;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 32px;
  }

  .lightbox-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 64px minmax(0, 1fr) 76px;
    gap: 0 12px;
    padding-inline: 16px;
  }

  .lightbox-topbar {
    grid-column: 1 / -1;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox-control {
    grid-row: 3;
    align-self: center;
  }

  .lightbox-previous {
    grid-column: 1;
    justify-self: end;
  }

  .lightbox-next {
    grid-column: 2;
    justify-self: start;
  }

  .language-chip {
    flex-basis: 100%;
  }

  .language-tooltip {
    left: 0;
    transform: translate(0, 5px);
  }

  .language-chip:hover .language-tooltip,
  .language-chip:focus .language-tooltip {
    transform: translate(0, 0);
  }

  footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
