/* Custom styles paired with Tailwind via CDN (https://cdn.tailwindcss.com). */

/* Tokens for future motion / theming (scroll effects, page transitions, etc.) */
:root {
  --motion-duration: 1.15s;
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bridge-red: #c3163a;
  --bridge-red-deep: #9e1030;
  --bridge-yellow: #f4c425;
  --bridge-yellow-deep: #cf9f10;
  --bridge-blue: #0f63b6;
  --bridge-green: #1b8a4b;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
  background-color: #ffffff;
  color: #0a0a0a;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #0a0a0a;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light;
    background-color: #ffffff;
    color: #0a0a0a;
  }

  body {
    background-color: #ffffff;
    color: #0a0a0a;
  }
}

:focus-visible {
  outline: 2px solid var(--bridge-blue);
  outline-offset: 2px;
}

.label-caps {
  font-family: "Satoshi-Variable", "Satoshi-Medium", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a88;
}

.rule {
  border-top: 1px solid #e4e4e0;
}

/* Signature header theme inspired by archival color accents. */
.site-header {
  background-color: var(--bridge-red);
  border-bottom: 1px solid var(--bridge-red-deep);
}

.site-header a {
  color: #ffffff;
}

.site-header a:hover {
  color: #ffe9a8;
}

.site-header a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  text-decoration-color: #ffffff;
}

.site-footer {
  background-color: var(--bridge-yellow);
  border-top: 1px solid var(--bridge-yellow-deep);
  color: #1f1a09;
}

.site-footer a {
  color: #1f1a09;
}

.site-footer a:hover {
  color: var(--bridge-blue);
}

.label-caps {
  color: var(--bridge-blue);
}

.site-footer .label-caps {
  color: var(--bridge-green);
}

.site-footer .text-stone {
  color: #4f3e0e;
}
/* This sets the 'Gallery Wall' color behind the photos */
.pswp__bg {
  background: #f5f5f4 !important; /* Use #ffffff for pure white or #1c1917 for dark */
}

/* Adjust the UI icons (X and arrows) to be dark if using a light background */
.pswp__button--close, .pswp__button--arrow--prev, .pswp__button--arrow--next {
  filter: invert(1); /* This turns white icons black for light backgrounds */
}
/* Full-bleed hero image logic */
.full-bleed-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Ensure the image inside stays sharp and fills the space */
.full-bleed-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    transition: transform var(--motion-duration) var(--motion-ease);
  }

  .hero-media-group:hover .hero-media {
    transform: scale(1.04);
  }
}