:root {
  --page-bg: #f7f6f4;
  --text: #111111;
  --heading: #3a3a3a;
  --footer-border: transparent;
  --social-bg: #efede8;
  --social-text: #757575;
}

body.dark-mode {
  --page-bg: #111315;
  --text: #f3f1ed;
  --heading: #f5f3ef;
  --footer-border: transparent;
  --social-bg: #1f2327;
  --social-text: #d2cbc2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--page-bg);
  color: var(--text);
  transition: background 180ms ease, color 180ms ease;
}

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

.page {
  width: min(100%, 740px);
  margin: 0 auto;
  padding: 14px 16px 56px;
}

.hero {
  padding: 8px 0 18px;
  text-align: center;
}

.name-row {
  position: relative;
  display: inline-block;
}

h1,
h2 {
  margin: 0;
  color: var(--heading);
}

h1 {
  font-size: clamp(2.9rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.verified-badge {
  position: absolute;
  top: 13px;
  left: calc(100% + 2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform: none;
  color: #3897f0;
}

.verified-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

h2 {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
}

.section {
  margin-top: 8px;
}

.section h2 {
  margin-top: 10px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 232px);
  gap: 4px;
  justify-content: center;
  margin-top: 12px;
}

.media-card,
.video-card {
  margin: 0;
  background: #000000;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.media-card img,
.video-card img,
.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.media-card {
  width: 232px;
  height: 415px;
  overflow: hidden;
}

.media-card img {
  cursor: default;
  transition: transform 180ms ease, opacity 180ms ease;
}

.media-card img.focus-center {
  object-position: 60% center;
}

.media-card:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.media-card:hover,
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(3, 232px);
  }
}

.video-section {
  margin-top: 32px;
}

.video-section h2 {
  margin-bottom: 18px;
}

.video-card {
  position: relative;
  margin-top: 14px;
  width: 708px;
  height: 398px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.video-card video {
  cursor: pointer;
}


.media-card.is-missing img,
.video-card.is-missing video,
.video-card.is-missing .video-toggle {
  display: none;
}

.video-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 180ms ease, background 180ms ease;
}

.video-toggle.is-hidden {
  opacity: 0;
}

.video-toggle-icon {
  position: absolute;
  line-height: 1;
  transition: opacity 180ms ease;
}

.video-toggle-play svg {
  display: block;
  width: 34px;
  height: 34px;
  margin-left: -2px;
  fill: currentColor;
}

.video-toggle-play path {
  transform-box: fill-box;
  transform-origin: center;
}

.video-toggle-pause {
  opacity: 0;
  width: 18px;
  height: 24px;
}

.video-toggle-pause::before,
.video-toggle-pause::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.video-toggle-pause::before {
  left: 1px;
}

.video-toggle-pause::after {
  right: 1px;
}

.video-card.is-playing .video-toggle-play {
  opacity: 0;
}

.video-card.is-playing .video-toggle-pause {
  opacity: 1;
}

.footer {
  border-top: 1px solid var(--footer-border);
  padding: 14px 16px 10px;
  text-align: center;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--social-bg);
  color: var(--social-text);
  font-size: 0.95rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.email {
  margin: 0;
  width: min(1350px, 100%);
  height: 37.5px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 37.5px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.email-link:hover {
  text-decoration: underline;
}

.footer-note {
  margin: 2px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  position: relative;
  margin: 0;
  max-width: min(90vw, 1200px);
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  background: transparent;
  color: #ffffff;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  color: #262626;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.lightbox-arrow-left {
  left: 18px;
}

.lightbox-arrow-right {
  right: 18px;
}

.lightbox-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 767px) {
  .page {
    width: 100%;
    padding: 12px 10px 40px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

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

  .media-card {
    width: 100%;
    height: auto;
    aspect-ratio: 232 / 415;
  }

  .video-section {
    margin-top: 28px;
  }

  .video-section h2 {
    margin-bottom: 14px;
  }

  .video-card {
    width: 100%;
    max-width: 708px;
    height: auto;
    aspect-ratio: 708 / 398;
  }

  .video-toggle {
    width: 56px;
    height: 56px;
  }

  .footer {
    padding: 14px 10px 10px;
  }

  .socials {
    gap: 10px;
    margin-bottom: 8px;
  }

  .socials a {
    width: 38px;
    height: 38px;
  }

  .email {
    height: auto;
    line-height: 1.5;
    transform: none;
    margin-left: 0;
    font-size: 0.78rem;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-arrow {
    width: 30px;
    height: 30px;
  }

  .lightbox-arrow-left {
    left: 8px;
  }

  .lightbox-arrow-right {
    right: 8px;
  }
}

@media (max-width: 420px) {
  .page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .photo-grid {
    gap: 3px;
  }

  .video-toggle-play svg {
    width: 30px;
    height: 30px;
  }

  .video-toggle-pause {
    width: 16px;
    height: 20px;
  }

  .video-toggle-pause::before,
  .video-toggle-pause::after {
    width: 5px;
    height: 18px;
  }

  .video-toggle-pause::before {
    left: 0;
  }

  .video-toggle-pause::after {
    right: 0;
  }
}

