:root {
  color-scheme: dark light;
  --ink: #101315;
  --paper: #f8f6ef;
  --paper-soft: #efebe1;
  --muted: #65706e;
  --white: #fffaf1;
  --charcoal: #121619;
  --charcoal-2: #1b2325;
  --teal: #08a5a5;
  --teal-dark: #05656a;
  --amber: #e0a83a;
  --coral: #d85b4f;
  --green: #7fa66a;
  --line: rgba(16, 19, 21, 0.14);
  --line-dark: rgba(255, 250, 241, 0.18);
  --shadow: 0 24px 80px rgba(16, 19, 21, 0.2);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

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

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

.shell {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(18, 22, 25, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  margin: 0 0 -6px;
  border: 2px solid rgba(255, 250, 241, 0.72);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line-dark);
  color: var(--white);
  outline: none;
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: start;
  padding: 0;
  color: var(--white);
  overflow: hidden;
  background: var(--charcoal);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 25, 0.97) 0%, rgba(18, 22, 25, 0.84) 33%, rgba(18, 22, 25, 0.42) 58%, rgba(18, 22, 25, 0.08) 86%),
    linear-gradient(0deg, rgba(18, 22, 25, 0.8) 0%, rgba(18, 22, 25, 0.04) 52%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(18, 22, 25, 1) 0%,
    rgba(18, 22, 25, 0.98) 24%,
    rgba(18, 22, 25, 0.74) 38%,
    rgba(18, 22, 25, 0.28) 52%,
    rgba(18, 22, 25, 0) 66%
  );
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding: 34px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--amber);
}

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

h1 {
  margin-bottom: 20px;
  font-size: 4.65rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 26px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--white);
  color: var(--charcoal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
}

.button-secondary {
  border-color: var(--line-dark);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 250, 241, 0.48);
  background: rgba(255, 250, 241, 0.08);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100vw - 48px), 1320px);
  margin-left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.proof-item {
  min-width: 0;
  min-height: 104px;
  padding: 20px;
  background: rgba(18, 22, 25, 0.5);
}

.proof-value {
  display: block;
  color: var(--amber);
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 900;
}

.proof-label {
  display: block;
  max-width: 100%;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

main {
  background: var(--paper);
}

section {
  padding: 88px 0;
}

.hire-band {
  padding-bottom: 0;
  background: var(--paper);
}

.fit-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 14px 30px rgba(16, 19, 21, 0.05);
}

.fit-panel div {
  min-width: 0;
  padding: 24px;
  background: #fffdf7;
}

.fit-label {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fit-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.hire-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.hire-card {
  min-width: 0;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fffdf7;
  box-shadow: 0 14px 30px rgba(16, 19, 21, 0.06);
}

.hire-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.16;
}

.hire-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.hire-card strong {
  color: var(--teal-dark);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.impact-strip div {
  min-width: 0;
  min-height: 126px;
  padding: 22px;
  background: #fffdf7;
}

.impact-value {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
}

.impact-label {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  width: min(730px, 100%);
  margin-bottom: 18px;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  width: min(690px, 100%);
  color: var(--muted);
  font-size: 1.07rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.project-card {
  min-width: 0;
  min-height: 330px;
  grid-column: span 6;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fffdf7;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(16, 19, 21, 0.07);
}

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

.signalsalad-card::before,
.moonwurms-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: min(50%, 230px);
  aspect-ratio: 1;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.signalsalad-card::before {
  background: url("assets/signalsalad-logo.png") center / contain no-repeat;
}

.moonwurms-card::before {
  background: url("assets/moonwurms-logo.svg") center / contain no-repeat;
}

.project-card:nth-child(3n + 1) {
  border-top: 7px solid var(--teal);
}

.project-card:nth-child(3n + 2) {
  border-top: 7px solid var(--amber);
}

.project-card:nth-child(3n + 3) {
  border-top: 7px solid var(--coral);
}

.project-card-wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.project-tag {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.project-icon svg {
  width: 21px;
  height: 21px;
}

.project-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.16;
}

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

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.project-meta span {
  min-width: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: #46504f;
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-links a {
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: break-word;
}

.project-links a:hover,
.project-links a:focus-visible {
  border-color: rgba(5, 101, 106, 0.42);
  background: #ffffff;
  outline: none;
}

.project-subhead {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.experience-subhead {
  margin-top: 42px;
}

.project-subhead h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.project-subhead p {
  width: min(720px, 100%);
  margin-bottom: 0;
  color: var(--muted);
}

.featured-project {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 0;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf7;
  box-shadow: 0 18px 44px rgba(16, 19, 21, 0.08);
}

.featured-copy {
  min-width: 0;
  padding: 34px;
}

.featured-copy h3 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.1;
}

.featured-copy p {
  color: var(--muted);
}

.featured-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.featured-brand img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.featured-kicker {
  display: block;
  margin-bottom: 0;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.featured-actions a {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--charcoal);
  background: var(--paper);
  font-weight: 800;
  overflow-wrap: break-word;
}

.featured-actions a:first-child {
  color: var(--white);
  background: var(--teal-dark);
}

.featured-actions svg {
  width: 18px;
  height: 18px;
}

.featured-media {
  display: block;
  min-height: 520px;
  background: var(--charcoal);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dark-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 165, 165, 0.18), transparent 46%),
    var(--charcoal);
}

.dark-band .section-kicker {
  color: var(--amber);
}

.dark-band .section-copy {
  color: rgba(255, 250, 241, 0.72);
}

.skills-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.skill-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.skill-row {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: rgba(255, 250, 241, 0.05);
}

.skill-row svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.skill-row h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.skill-row p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.68);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-panel {
  border-left: 5px solid var(--green);
  padding-left: 28px;
}

.about-avatar {
  width: 104px;
  height: 104px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 30px rgba(16, 19, 21, 0.12);
}

.about-panel p {
  color: var(--muted);
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

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

.timeline-date {
  color: var(--teal-dark);
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.personal-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.personal-note {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fffdf7;
}

.personal-note h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.personal-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.toolbox {
  padding-bottom: 0;
  background: var(--paper-soft);
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.toolbox-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  padding: 24px;
  background: #fffdf7;
  box-shadow: 0 12px 28px rgba(16, 19, 21, 0.06);
}

.toolbox-group:nth-child(2) {
  border-top-color: var(--teal);
}

.toolbox-group:nth-child(3) {
  border-top-color: var(--amber);
}

.toolbox-group:nth-child(4) {
  border-top-color: var(--coral);
}

.toolbox-group h3 {
  margin-bottom: 16px;
  font-size: 1.18rem;
}

.toolbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolbox-tags span {
  min-width: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: #46504f;
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 700;
  overflow-wrap: break-word;
}

.contact {
  color: var(--white);
  background: var(--charcoal-2);
}

.contact .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.contact .section-kicker {
  color: var(--amber);
}

.contact .section-heading {
  margin-bottom: 14px;
}

.contact-copy {
  width: min(620px, 100%);
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
  font-size: 1rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(124px, 1fr));
  gap: 10px;
}

.contact-link {
  min-width: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-dark);
  padding: 0 16px;
  color: var(--white);
  font-weight: 800;
  overflow-wrap: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 250, 241, 0.08);
  outline: none;
}

.contact-link svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  padding: 24px 0;
  color: rgba(255, 250, 241, 0.62);
  background: var(--charcoal-2);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 48px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 0 9px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(18, 22, 25, 0.96) 0%, rgba(18, 22, 25, 0.82) 58%, rgba(18, 22, 25, 0.38) 100%),
      linear-gradient(0deg, rgba(18, 22, 25, 0.88) 0%, rgba(18, 22, 25, 0.08) 58%);
  }

  .hero-image {
    object-fit: cover;
    object-position: center top;
  }

  h1 {
    font-size: 3.25rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

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

  .proof-item {
    min-height: 86px;
  }

  section {
    padding: 68px 0;
  }

  .section-heading {
    font-size: 2.05rem;
  }

  .work-grid,
  .hire-grid,
  .fit-panel,
  .impact-strip,
  .featured-project,
  .toolbox-grid,
  .personal-notes,
  .skills-layout,
  .about-layout,
  .contact .shell {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-column: 1;
    min-height: 290px;
  }

  .hire-card {
    min-height: 0;
  }

  .featured-media {
    min-height: 440px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 28px);
  }

  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 4px 0;
    gap: 6px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .nav-links a {
    justify-content: center;
    border-color: var(--line-dark);
    min-width: 0;
    padding: 0 6px;
  }

  .nav-links a:last-child {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 28px 0 34px;
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  h1 {
    font-size: 2.7rem;
  }

  .eyebrow {
    gap: 8px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

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

  .hero-copy,
  .hero-proof {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-copy,
  .proof-label {
    overflow-wrap: break-word;
  }

  .project-card {
    padding: 22px;
  }

  .featured-copy {
    padding: 24px;
  }

  .featured-copy h3 {
    font-size: 1.6rem;
  }

  .featured-actions,
  .featured-actions a {
    width: 100%;
  }

  .featured-media {
    min-height: 360px;
  }

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

  .project-top {
    display: grid;
  }

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

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

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

.brand-name {
  color: inherit;
}

.portrait-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
}

.portrait-trigger:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.about-portrait-trigger {
  display: inline-flex;
  margin-bottom: 20px;
}

.about-portrait-trigger .about-avatar {
  margin-bottom: 0;
}

body.lightbox-open {
  overflow: hidden;
}

.portrait-lightbox[hidden] {
  display: none;
}

.portrait-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px 0;
  background: rgba(8, 11, 12, 0.82);
  backdrop-filter: blur(14px);
}

.portrait-lightbox-frame {
  width: fit-content;
  max-width: 100vw;
  max-height: calc(100vh - 48px);
  display: block;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.portrait-lightbox-frame img {
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: calc(100vh - 48px);
  background: #0f171a;
}


.portrait-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 241, 0.34);
  border-radius: 50%;
  color: var(--white);
  background: rgba(18, 22, 25, 0.74);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.portrait-lightbox-close:hover,
.portrait-lightbox-close:focus-visible {
  background: rgba(255, 250, 241, 0.12);
  outline: none;
}
