@font-face {
  font-family: 'CharterCustom';
  src: url('../fonts/Charter-Roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CharterCustom';
  src: url('../fonts/Charter-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'CharterCustom';
  src: url('../fonts/Charter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'CharterCustom';
  src: url('../fonts/Charter-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'ArialBlackCustom';
  src: url('../fonts/Arial-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --bg-gray: #b5b5b5;
  --panel-gray: #afafaf;
  --soft-white: #f4ecec;
  --pure-white: #ffffff;
  --black: #000000;
  --nav-size: clamp(1.1rem, 1.6vw, 2rem);
  --big-script: clamp(2.3rem, 5.6vw, 5.4rem);
  --big-banner: clamp(3rem, 7.6vw, 7.5rem);
  --section-links: clamp(2rem, 4.1vw, 4.7rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--pure-white);
  font-family: 'CharterCustom', Georgia, serif;
}

img {
  max-width: 100%;
}

.site-shell {
  max-width: 1500px;
}

.site-header,
.navbar {
  background: var(--black);
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-pill {
  width: clamp(112px, 12vw, 170px);
  aspect-ratio: 1.9 / 1;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.brand-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-custom .nav-link {
  font-family: 'ArialBlackCustom', Arial, sans-serif;
  font-size: var(--nav-size);
  font-style: italic;
  color: var(--soft-white);
  text-shadow: 0 1px 0 rgba(255,255,255,0.12);
  padding-left: .25rem;
  padding-right: .25rem;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-custom .nav-link:hover,
.nav-custom .nav-link.active {
  color: #fff;
  transform: translateY(-1px);
}

.hero-panel,
.moments-band,
.split-left {
  background: var(--bg-gray);
}

.split-right {
  background: #fff;
}

.hero-panel {
  padding-bottom: 1rem;
}

.tilt-frame {
  background: #111;
  padding: 12px;
  border: 5px solid #efefef;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  transform: rotate(-2deg);
}

.hero-photo {
  width: 100%;
  display: block;
}

.hero-copy {
  text-align: center;
}

.headline-script {
  font-family: 'ArialBlackCustom', Arial, sans-serif;
  font-style: italic;
  font-size: var(--big-script);
  line-height: .98;
  color: var(--soft-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 0 rgba(255,255,255,.1);
}

.hero-links {
  display: grid;
  gap: .7rem;
  justify-items: start;
  max-width: 520px;
  margin: 0 auto;
}

.feature-link {
  display: inline-block;
  color: var(--black);
  text-decoration: none;
  font-family: 'CharterCustom', Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  transition: transform .2s ease, color .2s ease;
}

.feature-link:hover {
  color: #1f1f1f;
  transform: translateX(4px);
}

.offset-right,
.offset-right-lg {
  justify-self: end;
}

.moments-band {
  padding: 1.2rem 0 1.6rem;
}

.moments-text {
  font-family: 'ArialBlackCustom', Arial, sans-serif;
  font-style: italic;
  font-size: var(--big-banner);
  line-height: .95;
  color: var(--soft-white);
  text-align: center;
  letter-spacing: .02em;
}

.section-black {
  background: #000;
}

.vertical-word {
  font-family: 'ArialBlackCustom', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #fff;
  line-height: .9;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: .15em;
  padding-top: .5rem;
}

.gallery-card {
  background: transparent;
  border: 0;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-card:hover .photo-frame,
.gallery-card:focus-visible .photo-frame {
  transform: translateY(-5px);
}

.photo-frame {
  display: inline-block;
  background: #fff;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.photo-frame img {
  width: 100%;
  height: clamp(300px, 36vw, 420px);
  object-fit: cover;
  display: block;
}

.gallery-label,
.topic-link,
.section-title,
.contact-link {
  font-family: 'CharterCustom', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.gallery-label {
  font-size: clamp(1.3rem, 2vw, 2rem);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.split-inner {
  min-height: 100%;
  padding: clamp(2rem, 5vw, 4rem);
}

.split-left-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

.topic-link {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: var(--section-links);
  line-height: 1.05;
  text-decoration: underline;
  text-underline-offset: .16em;
  transition: opacity .2s ease, transform .2s ease;
}

.topic-link:hover {
  opacity: .86;
  transform: scale(1.02);
}

.two-line {
  text-align: center;
}

.info-card {
  width: min(560px, 100%);
}

.info-body {
  background: rgba(0, 0, 0, .88);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  font-size: 1.1rem;
  line-height: 1.6;
}

.split-right-inner {
  color: #000;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  text-decoration: underline;
  text-underline-offset: .15em;
  margin-bottom: 1.5rem;
}

.about-photo-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.about-photo {
  max-width: 520px;
  width: 100%;
  display: block;
  margin: 0 auto 1.3rem;
}

.arrow-link {
  display: inline-block;
  width: min(470px, 100%);
}

.arrow-link img {
  width: 100%;
  display: block;
  filter: contrast(1.1);
  animation: nudge 1.7s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .16em;
  font-size: clamp(2rem, 4vw, 4rem);
  text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}

.contact-link:hover {
  color: #fff;
  opacity: .86;
  transform: translateX(4px);
}

.footer-brand {
  width: clamp(150px, 18vw, 240px);
}

.gallery-modal-content,
.info-modal-content {
  background: rgba(15,15,15,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.modal-preview-image {
  max-height: 78vh;
  object-fit: contain;
}

.sr-anchor {
  position: relative;
  top: -90px;
  height: 0;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .nav-custom {
    align-items: flex-start !important;
  }

  .hero-copy,
  .hero-links {
    text-align: center;
    justify-items: center;
  }

  .offset-right,
  .offset-right-lg {
    justify-self: center;
  }

  .split-left,
  .split-right {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .photo-frame img {
    height: auto;
  }

  .moments-text {
    letter-spacing: 0;
  }
}
