@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* O-O Polaroid — basic black/white/cream palette, no accent color */
  --cream: #FFF8E6;        /* warm beige — paper / content sections */
  --beige: #E0CBAE;        /* neutral warm tint — used sparingly for card backgrounds */
  --beige-tint: #EFE2CC;
  --noir: #FFF8E6;         /* same beige as --cream — nav / footer surfaces, one continuous canvas */
  --ink: #2A2420;
  --serif: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }

a { color: inherit; }

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

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 248, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 36, 32, 0.08);
  color: var(--ink);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.nav__brand img { height: 26px; width: auto; }
.nav__brand .brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.nav__links a:hover { opacity: 1; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(42, 36, 32, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.is-open { max-height: 260px; }
  .nav__links a {
    padding: 0.9rem 1.5rem;
    border-top: 1px solid rgba(42, 36, 32, 0.06);
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 1.5rem 7rem;
  display: flex;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, var(--ink) 1px, transparent 1px);
  background-size: 3px 3px;
}

.hero__inner { position: relative; z-index: 1; max-width: 620px; text-align: center; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(42, 36, 32, 0.6);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto 1.2rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.hero__lede {
  margin: 1.4rem auto 2rem;
  font-size: 1.05rem;
  max-width: 480px;
  color: rgba(42, 36, 32, 0.75);
}

.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; border-color: rgba(42, 36, 32, 0.35); color: var(--ink); }
.btn--ghost:hover { background: rgba(42, 36, 32, 0.05); }

/* washi-tape accent, reused on hero + gallery photos */
.hero__tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 64px;
  height: 24px;
  background: rgba(216, 200, 178, 0.88);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 2px 5px rgba(42, 36, 32, 0.18);
  z-index: 4;
}

.hero__collage {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(400px, 100%);
  height: 380px;
}

.hero__collage-photo {
  position: absolute;
  border-radius: 6px;
}
.hero__collage-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }

.hero__collage-photo--back-a,
.hero__collage-photo--back-b {
  width: 170px;
  box-shadow: 0 14px 26px rgba(42, 36, 32, 0.16);
}
.hero__collage-photo--back-a { top: 0; left: 4px; transform: rotate(-13deg); z-index: 1; }
.hero__collage-photo--back-b { bottom: 0; right: 4px; transform: rotate(11deg); z-index: 1; }

.hero__collage-photo--extra {
  width: 150px;
  top: 6px;
  right: 6px;
  transform: rotate(15deg);
  box-shadow: 0 12px 22px rgba(42, 36, 32, 0.16);
  z-index: 0;
}
.hero__collage-photo--back-c {
  width: 150px;
  bottom: 10px;
  left: -10px;
  transform: rotate(-18deg);
  box-shadow: 0 12px 22px rgba(42, 36, 32, 0.16);
  z-index: 0;
}

.hero__collage-photo--main {
  width: 230px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 2;
  box-shadow: 0 22px 40px rgba(123, 39, 55, 0.24);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero__collage { justify-self: start; margin-top: 1.5rem; width: 300px; height: 290px; }
  .hero__collage-photo--back-a,
  .hero__collage-photo--back-b { width: 140px; }
  .hero__collage-photo--extra,
  .hero__collage-photo--back-c { width: 120px; }
  .hero__collage-photo--main { width: 190px; }
}

/* ---------- shared section head ---------- */

.story__mark {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--accent, var(--ink));
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 14px rgba(42, 36, 32, 0.18);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .story__mark { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.section-head p { margin-top: 0.7rem; color: rgba(42, 36, 32, 0.65); }

/* ---------- story ---------- */

.story {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
}
.story__content h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 1.2rem;
}
.story__content p {
  color: rgba(42, 36, 32, 0.75);
  margin: 0 0 1rem;
  max-width: 55ch;
}

.story__photo {
  position: relative;
  flex: none;
  width: 220px;
  justify-self: center;
}
.story__photo img {
  width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 18px 32px rgba(42, 36, 32, 0.18);
  transform: rotate(5deg);
}

@media (max-width: 900px) {
  .story__photo { width: 180px; }
}

.lang-toggle {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.25rem;
  background: var(--beige-tint);
  border-radius: 999px;
}
.lang-toggle__btn {
  border: none;
  background: transparent;
  color: rgba(42, 36, 32, 0.55);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle__btn.is-active {
  background: var(--ink);
  color: var(--cream);
}

.lang-toggle--nav .lang-toggle__btn {
  font-size: 0.72rem;
  padding: 0.28rem 0.7rem;
}

@media (max-width: 640px) {
  .story { grid-template-columns: 1fr; }
  .story__photo { width: 160px; margin-top: 1.5rem; }
}

/* ---------- cameras ---------- */

.cameras {
  padding: 5rem 1.5rem 6rem;
  background: var(--ink);
  color: var(--cream);
}
.cameras__inner { max-width: 1080px; margin: 0 auto; }
.cameras .section-head p { color: rgba(255, 255, 255, 0.65); }
.cameras .story__mark { background: var(--cream); color: var(--ink); }

/* camera folders — click one to open a compact popup with photos + pricing */

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem 1.8rem;
  max-width: 100%;
  margin: 0 auto;
}

.folder-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
}

.cameras__subhead {
  margin-top: 4rem;
}
.cameras__subhead h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.folder {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 0 0;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.folder__tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 20px;
  background: var(--cream);
  border-radius: 8px 8px 0 0;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.folder__body {
  position: relative;
  display: block;
  background: var(--cream);
  border-radius: 4px 14px 14px 14px;
  padding: 1.3rem 1.1rem 1rem;
  min-height: 176px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.folder:hover .folder__body,
.folder:focus-visible .folder__body {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
}

.folder__icon {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 2.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  opacity: 0.7;
}

.folder__name {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.folder__meta {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.6;
}

.folder__arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 0.9rem;
  font-size: 1rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .folder-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 0.9rem; }
  .folder-grid--compact { max-width: 100%; }
}

/* camera showcase — informational display of every camera model, no pricing */

.camera-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 2.2rem 0 3.6rem;
}
.camera-showcase__item { margin: 0; text-align: center; }
.camera-showcase__item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #FBF4E4;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.camera-showcase__item figcaption {
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .camera-showcase { grid-template-columns: repeat(2, 1fr); }
  .camera-showcase__item img { height: 150px; }
}

/* camera popup — all photos + pricing fit without scrolling */

.camera-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(42, 36, 32, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.camera-popup.is-open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }

.camera-popup__panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 1.6rem 1.7rem 1.5rem;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.camera-popup.is-open .camera-popup__panel { transform: translateY(0); }

.camera-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(42, 36, 32, 0.2);
  background: var(--cream);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.camera-popup__close:hover { background: rgba(42, 36, 32, 0.06); }

.camera-popup__media {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
.camera-popup__media--pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.3rem;
}
.camera-popup__media--pair .camera-popup__cell {
  height: 220px;
  width: auto;
  flex: none;
  background: none;
  border: none;
  padding: 0;
}
.camera-popup__cell {
  display: block;
  width: 100%;
  height: 124px;
  margin: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(42, 36, 32, 0.1);
  border-radius: 6px;
  padding: 8px;
}
.camera-popup__media img.camera-popup__product {
  background: none;
  border: none;
  padding: 0;
  filter: drop-shadow(0 10px 16px rgba(42, 36, 32, 0.16));
}
.camera-popup__shotwrap {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.camera-popup__shotwrap .camera-popup__shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-popup__media--pair .camera-popup__shot {
  position: static;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.camera-popup__shotwrap .camera-popup__shot--contain {
  object-fit: contain;
}
.camera-popup__cell.camera-popup__shotwrap--empty {
  background: none;
  border: 1px dashed rgba(42, 36, 32, 0.2);
}
.camera-popup__cell.camera-popup__shotwrap--fp100c {
  height: auto;
  align-self: start;
  background: none;
  border: none;
  padding: 0;
}
.camera-popup__shotwrap--fp100c .camera-popup__shot {
  height: auto;
}
.camera-popup__cell.camera-popup__coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: none;
  border: 1px dashed rgba(42, 36, 32, 0.25);
  color: rgba(42, 36, 32, 0.45);
  font-size: 0.85rem;
}
.camera-popup__shotwrap figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.55rem 0.32rem;
  font-family: var(--serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.72), rgba(20, 16, 12, 0));
}

.camera-popup__desc {
  font-size: 0.86rem;
  color: rgba(42, 36, 32, 0.72);
  margin: 0 0 1rem;
}

.camera-popup__price-table { border-top: 1px solid rgba(42, 36, 32, 0.15); margin-bottom: 1rem; }
.camera-popup__price-table--simple .camera-popup__price-row { grid-template-columns: 1fr auto; }
.camera-popup__price-table--simple .camera-popup__price-film { font-size: 0.9rem; }
.camera-popup__price-table--simple .camera-popup__price-row span:last-child { font-family: var(--serif); font-weight: 700; color: var(--ink); }
.camera-popup__price-row {
  display: grid;
  grid-template-columns: minmax(96px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: center;
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgba(42, 36, 32, 0.15);
  font-size: 0.78rem;
}
.camera-popup__price-row--head {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(42, 36, 32, 0.5);
  border-bottom: 1px solid rgba(42, 36, 32, 0.15);
  padding-bottom: 0.3rem;
}
.camera-popup__price-row span:not(:first-child) { text-align: right; font-family: var(--serif); color: var(--ink); }
.camera-popup__price-row--head span:not(:first-child) { font-family: var(--sans); }
.camera-popup__price-film { font-weight: 700; color: var(--ink); font-size: 0.78rem; }
.camera-popup__price-film .camera-card__soon { display: block; font-weight: 400; font-size: 0.7rem; }

.camera-popup__price-row--oos { opacity: 0.5; }
.camera-popup__oos-tag {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.55em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.camera-popup__note {
  font-size: 0.76rem;
  font-style: italic;
  color: rgba(42, 36, 32, 0.55);
  margin: -0.3rem 0 1rem;
}

.camera-popup__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.camera-popup__meta { font-size: 0.72rem; color: rgba(42, 36, 32, 0.55); }
.camera-popup__samplelink {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 36, 32, 0.3);
}
.camera-popup__samplelink:hover { border-color: var(--ink); }

@media (max-width: 640px) {
  .camera-popup__panel { padding: 1.3rem 1.2rem 1.2rem; }
  .camera-popup__media { grid-template-columns: 1fr 1fr 1fr; }
  .camera-popup__cell { height: 92px; }
  .camera-popup__shotwrap figcaption { font-size: 0.5rem; padding: 0.3rem 0.4rem 0.24rem; }
  .camera-popup__price-row { font-size: 0.7rem; grid-template-columns: minmax(76px, 1.3fr) repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 641px) {
  .camera-popup__panel { max-width: 920px; padding: 2.6rem 2.8rem 2.4rem; }
  .camera-popup__media { gap: 1.3rem; margin-bottom: 1.6rem; }
  .camera-popup__cell { height: 340px; border-radius: 10px; }
  .camera-popup__shotwrap figcaption { font-size: 0.85rem; padding: 0.6rem 0.8rem 0.5rem; }
  .camera-modal__pagelabel { font-size: 0.85rem; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
  .camera-popup__desc { font-size: 1.1rem; margin-bottom: 1.6rem; }
  .camera-popup__price-table { margin-bottom: 1.5rem; }
  .camera-popup__price-row { font-size: 1rem; padding: 0.7rem 0; }
  .camera-popup__price-row--head { font-size: 0.78rem; }
  .camera-popup__price-film { font-size: 1rem; }
  .camera-popup__footer { font-size: 0.9rem; }
  .camera-popup__meta { font-size: 0.88rem; }
  .camera-popup__samplelink { font-size: 0.92rem; }
}

.camera-card__filmname {
  margin: 0.7rem 0 0.3rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
}
.camera-card__filmname:first-child { margin-top: 0; }

.camera-card__soon {
  font-weight: 400;
  font-style: italic;
  color: rgba(42, 36, 32, 0.5);
}

.camera-modal__pagelabel {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.8rem;
  background: var(--accent, var(--ink));
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
/* ---------- gallery ---------- */

.gallery {
  padding: 1rem 1.5rem 6rem;
  color: var(--ink);
}
.gallery__inner { max-width: 1080px; margin: 0 auto; }

.gallery__camera {
  scroll-margin-top: 100px;
  margin-bottom: 3.5rem;
}
.gallery__camera:last-child { margin-bottom: 0; }

.gallery__camera-title {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.01em;
  margin: 0 0 1.4rem;
  color: var(--accent, var(--ink));
}

.gallery__camera-grid {
  overflow: hidden;
  width: 100%;
}
.gallery__camera-track {
  display: flex;
  width: max-content;
  gap: 1.1rem;
  animation: gallery-marquee 24s linear infinite;
}
.gallery__camera-grid:hover .gallery__camera-track { animation-play-state: paused; }
.gallery__camera-track--static { animation: none; width: 100%; }

/* Match marquee speed to Samples by Color 600 Film (24s / 4 photos = 6s per photo) */
#sample-round600 .gallery__camera-track { animation-duration: 18s; }
#sample-itype .gallery__camera-track { animation-duration: 54s; }
#sample-itypebw .gallery__camera-track { animation-duration: 12s; }

.gallery__camera-track img {
  height: 300px;
  width: auto;
  flex: none;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.gallery__camera-track img:hover { transform: translateY(-4px); }

.gallery__soon-card {
  height: 300px;
  width: 220px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(42, 36, 32, 0.25);
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(42, 36, 32, 0.45);
}

.gallery__coming-soon {
  padding: 2.5rem 1rem;
  text-align: center;
  border: 1px dashed rgba(42, 36, 32, 0.25);
  border-radius: 8px;
  color: rgba(42, 36, 32, 0.45);
  font-size: 0.9rem;
}

@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__camera-track { animation: none; }
}

.gallery__camera:target .gallery__camera-title {
  animation: gallery-pulse 1.6s ease 1;
}
@keyframes gallery-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 640px) {
  .gallery__camera-track img { height: 210px; }
  .gallery__soon-card { height: 210px; width: 160px; font-size: 0.75rem; }
  .gallery__camera-track { gap: 0.8rem; }
}

/* ---------- space ---------- */

.space { padding: 5rem 1.5rem 6rem; max-width: 1080px; margin: 0 auto; }
.space__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.space__card {
  background: var(--beige);
  color: var(--ink);
  border-radius: 16px;
  padding: 2rem;
}
.space__card:nth-child(2) { background: var(--ink); color: var(--cream); }
.space__num {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.space__card h3 { margin: 0.5rem 0 0.7rem; font-size: 1.25rem; }
.space__card p { margin: 0; color: rgba(42, 36, 32, 0.7); }
.space__card:nth-child(2) p { color: rgba(244, 239, 230, 0.82); }

.space__card .space__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
}
.space__tags { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.space__tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(42, 36, 32, 0.25);
  color: var(--ink);
}

@media (max-width: 640px) {
  .space__grid { grid-template-columns: 1fr; }
}

/* ---------- visit ---------- */

.visit { background: var(--ink); color: var(--cream); padding: 5rem 1.5rem; }
.visit .btn--dark { background: var(--cream); color: var(--ink); }
.visit .btn--dark:hover { background: #fff; }
.visit__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.visit h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.visit p { color: rgba(244, 239, 230, 0.75); margin: 0.8rem 0 2rem; }

.visit__details {
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.2);
}
.visit__details > div:first-child { grid-column: 1 / -1; }
.visit__details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 0.3rem;
}
.visit__details dd { margin: 0; font-size: 0.95rem; white-space: nowrap; }

@media (max-width: 640px) {
  .visit__details { grid-template-columns: 1fr; text-align: center; }
  .visit__details dd { font-size: clamp(0.72rem, 3.8vw, 0.95rem); white-space: normal; }
}

/* ---------- footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink);
  border-top: 1px solid rgba(42, 36, 32, 0.1);
}
.footer img { height: 22px; }
.footer p { font-size: 0.8rem; color: rgba(42, 36, 32, 0.5); margin: 0; }
