:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7faf8;
  --surface-alt: #edf3ee;
  --text: #1a2a1d;
  --muted: #556b58;
  --accent: #2cba70;
  --accent-2: #1e8f51;
  --border: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text);
}

img,
svg {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 3.2rem 0 4.5rem;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.nav-labels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  margin-top: 1.25rem;
}

.hero-subtitle {
  margin: 1.15rem auto 0;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  color: var(--text);
}

.social-icons span,
.social-icons a {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--accent-2);
  filter: drop-shadow(0 0 14px rgba(44, 186, 112, 0.55));
  transform: scale(1.04);
}

.social-icons svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.social-icons span:first-child svg,
.social-icons a:first-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icons .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-icons span:last-child svg,
.social-icons a:last-child svg {
  fill: currentColor;
}

h1 {
  font-size: clamp(2.6rem, 3.5vw, 4.5rem);
  line-height: 0.98;
  font-family: "Cormorant Infant", Georgia, serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-labels a {
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, text-decoration-color 0.25s ease, font-size 0.25s ease, opacity 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
  opacity: 0.9;
}

.nav-labels a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  opacity: 1;
}

.nav-labels a:hover {
  opacity: 1;
  color: var(--accent-2);
  text-shadow: 0 0 14px rgba(44, 186, 112, 0.55);
  transform: scale(1.04);
}

.nav-labels a.about-label:hover {
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
}

.about-placeholder {
  min-height: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 3.5vw, 4.5rem);
  line-height: 0.98;
}

h1 span {
  color: var(--accent);
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 700;
  border: none;
  box-shadow: 0 18px 40px rgba(44, 186, 112, 0.18);
  margin-top: 1.75rem;
}


.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 5.5rem 0 4.5rem;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.cards,
.project-list {
  display: grid;
  gap: 1.5rem;
}

.card,
.project-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.card h3,
.project-card h3 {
  margin-bottom: 0.95rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

@media (min-width: 1151px) {
  .works-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .works-grid > .work-slot {
    flex: 0 1 calc((100% - 7.5rem) / 4);
  }
}

@media (max-width: 1150px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 560px);
    margin-inline: auto;
    justify-items: center;
  }
}

.work-slot,
.work-slot * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.work-slot {
  min-width: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible;
  transition: transform 0.25s ease;
  box-shadow: none !important;
  transform: none !important;
}

.work-slot:hover {
  transform: scale(1.02) !important;
  border-color: var(--border) !important;
}

.work-preview {
  aspect-ratio: 16 / 10;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
}

.work-slot:hover .work-preview {
  transform: scale(1.02);
}

.slot-placeholder {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.work-slot-placeholder {
  cursor: default;
}

.work-slot-placeholder:hover {
  transform: none !important;
}

.placeholder-preview,
.work-slot-placeholder:hover .work-preview {
  transform: none !important;
}

.placeholder-preview {
  border: 1px dashed rgba(26, 42, 29, 0.2);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.work-info {
  padding: 1rem 0.5rem 0;
  text-align: center;
}

.work-info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.work-info p {
  display: none;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.work-info .work-subtitle {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.hero-heading {
  font-family: 'Rock Salt', cursive;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0;
  line-height: 0.92;
  color: var(--text);
  white-space: nowrap;
}

.contact-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  margin-top: 10rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.project-page {
  min-height: 100vh;
  background: #ffffff;
}

.project-page .hero {
  padding: 2rem 0 2.5rem;
}

.project-page .hero-heading {
  font-size: 2.5rem;
}

.project-page .hero-subtitle {
  margin-top: 0.65rem;
  font-size: 0.68rem;
}

.project-page .nav-labels {
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.project-page .nav-labels a,
.project-page .nav-labels a.is-active,
.project-page .nav-labels a.about-label:hover {
  font-size: 1.15rem;
}

.project-shell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1rem 2rem;
  background: #ffffff;
}

.project-window {
  width: min(100%, 1500px);
  margin: 0 auto;
  background: #ffffff;
}

.project-caption {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-info {
  width: 100%;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.project-kicker {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-info h1 {
  margin: 0 auto 0.7rem auto;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-align: center;
}

.project-info p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
}

.project-info .project-team-credit {
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.project-subtext {
  margin: 0.75rem auto 1.4rem auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 760px;
}

.gallery-panel,
.gallery-panel * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.gallery-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 1rem;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0;
  padding: 0 0 1.5rem;
  box-shadow: none !important;
  border: none;
  transform: none !important;
}

.project-image-list {
  display: grid;
  gap: 1.1rem;
  width: 100%;
}

.project-image-list-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .project-image-list-two-column {
    grid-template-columns: 1fr;
  }
}

.project-image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: none;
  background: #f8faf8;
  box-shadow: 0 18px 40px rgba(17, 28, 20, 0.04);
}

.project-embed-card {
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.9), rgba(255, 255, 255, 1));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-image-card iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #ffffff;
}

.project-embed-large iframe {
  height: 760px;
}

.project-image-card img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #ffffff;
  cursor: zoom-in;
}

.project-image-card img:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

.project-lightbox {
  position: fixed;
  width: min(92vw, 1300px);
  max-width: none;
  max-height: 92vh;
  padding: 3.5rem 1rem 1rem;
  overflow: visible;
  border: 0;
  background: transparent;
}

.project-lightbox::backdrop {
  background: rgba(12, 17, 14, 0.82);
}

.project-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 4.5rem);
  margin: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.project-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  font-size: 1.6rem;
  cursor: pointer;
}

.project-lightbox-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.project-image-card-compact {
  width: min(100%, 560px);
  margin-inline: auto;
  border: 1px solid rgba(26, 42, 29, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3) !important;
}

.project-image-card-compact img {
  max-height: 50vh;
}

.project-image-section {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4rem;
}

.project-image-section h2 {
  margin: 0 0 1.75rem;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.project-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.35rem, 1.5vw, 1.5rem);
}

.poster-carousel-controls {
  display: none;
}

.project-poster-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.project-poster-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.project-image-section-always-carousel .poster-carousel {
  position: relative;
  width: min(100%, 560px, 72vh);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  touch-action: pan-y;
  box-shadow: 0 12px 26px rgba(17, 28, 20, 0.24) !important;
}

.project-image-section-always-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(1rem, 4vw, 3rem);
}

.project-image-section-always-carousel > h2 {
  grid-column: 1 / -1;
}

.instagram-carousel-column {
  min-width: 0;
}

.project-image-section-always-carousel .project-poster-grid {
  display: block;
  width: 100%;
  height: 100%;
}

.project-image-section-always-carousel .project-poster-card,
.project-image-section-always-carousel .poster-carousel-slide {
  width: 100%;
  height: 100%;
}

.project-image-section-always-carousel .poster-carousel-slide {
  display: none;
}

.project-image-section-always-carousel .poster-carousel-slide.is-active,
.project-image-section-always-carousel .poster-carousel-slide.is-leaving,
.project-image-section-always-carousel .poster-carousel-slide.is-entering {
  display: block;
}

.project-image-section-always-carousel .project-poster-card img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.project-image-section-always-carousel .poster-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: min(100%, 560px, 72vh);
  margin: 1rem auto 0;
}

.project-image-section-always-carousel .poster-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1.25rem;
  cursor: pointer;
}

.project-image-section-always-carousel .poster-carousel-arrow:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.poster-carousel-arrow {
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease;
}

.poster-carousel-arrow:hover {
  color: var(--accent-2);
  background: rgba(44, 186, 112, 0.12);
  border-color: var(--accent-2);
  text-shadow: 0 0 14px rgba(44, 186, 112, 0.55);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 5px 14px rgba(44, 186, 112, 0.2);
}

.gallery-panel .poster-carousel-arrow:hover {
  text-shadow: 0 0 14px rgba(44, 186, 112, 0.55) !important;
  box-shadow: 0 5px 14px rgba(44, 186, 112, 0.2) !important;
}

.poster-carousel-arrow:active {
  transform: scale(0.96);
}

.project-image-section-always-carousel .poster-carousel-status {
  min-width: 3.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.project-image-section-always-carousel .poster-carousel-slide.is-leaving {
  position: relative;
}

.project-image-section-always-carousel .poster-carousel-slide.is-entering {
  z-index: 1;
}

.project-image-section-always-carousel .poster-carousel-slide.move-next.is-entering {
  animation: instagram-slide-enter-from-right 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
}

.project-image-section-always-carousel .poster-carousel-slide.move-next.is-leaving {
  animation: instagram-slide-exit-to-left 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
}

.project-image-section-always-carousel .poster-carousel-slide.move-previous.is-entering {
  animation: instagram-slide-enter-from-left 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
}

.project-image-section-always-carousel .poster-carousel-slide.move-previous.is-leaving {
  animation: instagram-slide-exit-to-right 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
}

@keyframes instagram-slide-enter-from-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes instagram-slide-exit-to-left {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes instagram-slide-enter-from-left {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes instagram-slide-exit-to-right {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

@media (min-width: 721px) {
  .project-poster-card img {
    box-shadow: 0 4px 14px rgba(26, 42, 29, 0.16) !important;
  }

  .project-image-section-hats .project-poster-grid {
    gap: clamp(2rem, 5vw, 3.75rem);
  }

  .project-image-section-hats .project-poster-card img {
    width: 110%;
    max-width: none;
    margin-inline: -5%;
  }
}

.project-recommendations {
  width: 100%;
  margin: 8rem auto 2rem;
  padding: 0 1.4rem;
}

.project-recommendations h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.recommendation-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.recommendation-card {
  min-width: 0;
  flex: 0 1 auto;
}

.recommendation-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  color: var(--text);
  text-decoration: none;
}

.recommendation-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.recommendation-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(30vw, 453px);
  height: 320px;
  margin: 0 auto;
}

.recommendation-preview img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.recommendation-preview-placeholder {
  width: min(100%, 280px);
  padding: 1.5rem;
  border: 1px dashed rgba(26, 42, 29, 0.2);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.recommendation-link:hover .recommendation-preview img {
  transform: scale(1.02);
}

.recommendation-link h3 {
  padding: 0.9rem 0.3rem 0;
  text-align: center;
  font-size: 1.1rem;
}

.recommendation-link:hover h3 {
  color: var(--accent-2);
}

@media (max-width: 1150px) {
  .recommendation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommendation-link,
  .recommendation-preview {
    width: 100%;
    max-width: none;
  }

  .recommendation-preview img {
    width: 100%;
  }
}

@media (min-width: 721px) and (max-width: 1150px) {
  .recommendation-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 2.5rem) / 2);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .project-image-section-always-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-image-section-always-carousel .instagram-carousel-column + .instagram-carousel-column {
    margin-top: 2rem;
  }

  .gallery-panel {
    padding: 1.1rem 0.9rem 1rem;
  }

  .project-recommendations {
    margin-top: 5rem;
    padding: 0 0.9rem;
  }

  .recommendation-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .recommendation-preview {
    height: min(320px, calc(100vw - 2rem));
  }

  .project-poster-grid {
    display: block;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .poster-carousel {
    position: relative;
    width: min(84%, 35vh, 450px);
    margin-inline: auto;
    overflow: hidden;
    touch-action: pan-y;
    box-shadow: 0 4px 14px rgba(26, 42, 29, 0.16) !important;
  }

  .project-image-section-hats .poster-carousel,
  .project-image-section-hats .poster-carousel-controls {
    width: min(92.4%, 38.5vh, 495px);
  }

  .poster-carousel-slide {
    display: none;
    width: 100%;
  }

  .poster-carousel-slide.is-active {
    display: block;
  }

  .poster-carousel-slide.is-leaving,
  .poster-carousel-slide.is-entering {
    display: block;
  }

  .poster-carousel-slide.is-leaving {
    position: relative;
  }

  .poster-carousel-slide.is-entering {
    z-index: 1;
  }

  .poster-carousel-slide.move-next.is-entering {
    animation: poster-enter-from-right 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
  }

  .poster-carousel-slide.move-next.is-leaving {
    animation: poster-exit-to-left 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
  }

  .poster-carousel-slide.move-previous.is-entering {
    animation: poster-enter-from-left 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
  }

  .poster-carousel-slide.move-previous.is-leaving {
    animation: poster-exit-to-right 0.32s cubic-bezier(0.22, 0.68, 0, 1) both;
  }

  @keyframes poster-enter-from-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  @keyframes poster-exit-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }

  @keyframes poster-enter-from-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  @keyframes poster-exit-to-right {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
  }

  .poster-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: min(84%, 35vh, 450px);
    margin: 1rem auto 0;
  }

  .poster-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1.25rem;
    cursor: pointer;
  }

  .poster-carousel-arrow:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
  }

  .poster-carousel-status {
    min-width: 3.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-image-card iframe {
    height: 540px;
  }

  .project-embed-large iframe {
    height: 620px;
  }
}

@media (max-width: 840px) {
  .contact-section {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .hero-heading {
    font-size: clamp(1.05rem, 7vw, 1.75rem);
  }

  .hero-subtitle {
    font-size: 0.65rem;
  }

  .project-page .hero-heading {
    font-size: 2.3rem;
  }

  .nav-labels {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .project-page .nav-labels {
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    margin-top: 1rem;
    display: none;
  }

  .site-nav.active {
    display: flex;
  }

  .cards,
  .project-list {
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    width: min(100%, 720px);
  }

  .gallery-stage img {
    width: min(90vw, 720px);
    max-height: 64vh;
  }

  .gallery-thumb {
    width: 64px;
    height: 64px;
  }
}

@media (min-width: 481px) and (max-width: 720px) {
  .nav-labels {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.work-slot {
  cursor: pointer;
}

.work-slot-placeholder {
  cursor: default;
}

.work-preview {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  height: 420px;
}

.placeholder-preview {
  cursor: default;
}

.cover-art {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-preview object,
.work-preview embed {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  border: none;
  background: #ffffff;
}

.cover-flock {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 18%),
    linear-gradient(135deg, #e9f4ec 0%, #bedfc6 32%, #7bbf8e 100%);
  position: relative;
}

.cover-flock::before,
.cover-flock::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50% 50% 45% 55%;
  background: rgba(20, 75, 48, 0.16);
  top: 18%;
}

.cover-flock::before {
  left: 18%;
  transform: rotate(-22deg);
}

.cover-flock::after {
  right: 18%;
  transform: rotate(22deg);
}

.cover-flock span {
  position: relative;
  z-index: 1;
  font-family: 'Grenze', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.12em;
  color: #173d2d;
  text-transform: uppercase;
  text-align: center;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
  background: transparent;
}

.work-preview img {
  filter: drop-shadow(0 12px 16px rgba(17, 28, 20, 0.24)) !important;
}

.work-slot:hover .work-preview img {
  transform: scale(1.02);
}

@media (max-width: 720px) {
  .work-preview {
    height: min(420px, calc(100vw - 2rem));
  }
}

.gallery-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100%, 980px);
}

.gallery-stage {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.gallery-stage img {
  width: min(82vw, 860px);
  max-height: 72vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

.gallery-reel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.gallery-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb.active {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gallery-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 720px) {
  .gallery-stage img {
    width: min(90vw, 720px);
    max-height: 64vh;
  }

  .gallery-thumb {
    width: 64px;
    height: 64px;
  }
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1.5rem;
}

.gallery-modal.open {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 14, 0.8);
  backdrop-filter: blur(8px);
}

.gallery-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.gallery-stage {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.gallery-stage img {
  width: min(82vw, 860px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.gallery-close,
.gallery-nav {
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.gallery-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  z-index: 2;
}

.gallery-nav {
  font-size: 1.2rem;
}

@media (max-width: 720px) {
  .gallery-panel {
    grid-template-columns: 1fr;
  }

  .gallery-nav-prev,
  .gallery-nav-next {
    position: absolute;
    bottom: 1rem;
  }

  .gallery-nav-prev {
    left: 1rem;
  }

  .gallery-nav-next {
    right: 1rem;
  }

  .gallery-stage img {
    width: min(90vw, 720px);
    max-height: 70vh;
  }
}

/* About Page Custom Styles */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-greeting {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.1;
  margin: 0 0 3.5rem;
  letter-spacing: -0.03em;
  text-align: center;
}

.about-greeting .large-ari {
  font-family: 'Rock Salt', cursive;
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-left: 1.25rem;
  letter-spacing: 0.02em;
  vertical-align: 0.35em;
}

.about-text {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-cta {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.6;
  color: var(--muted);
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.about-cta a {
  color: var(--accent-2);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.about-cta a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}