/* FotoMentum Tours. Brand tokens are copied from ../site/styles.css so the
   two sites read as one business; keep them in step if the brand changes. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;1,500&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --sky: #F5F8FA;
  --paper: #FFFFFF;
  --ink: #16202B;
  --muted: #5C6B7A;
  --hairline: #DCE3E8;
  --blue: #1B4F8C;
  --blue-deep: #123A69;
  --amber: #D98E2B;
  --amber-deep: #B8721A;
  --stage: #0E1620;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sky: #0E1620; --paper: #16202B; --ink: #EDF1F4; --muted: #9AA7B3;
    --hairline: #2A3844; --blue: #5B95D6; --blue-deep: #3E76B8; --amber: #E8A94C; --amber-deep: #D98E2B;
    --stage: #070B10;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .container { padding-left: 24px; padding-right: 24px; } }

/* ---------- nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--blue-deep);
  text-decoration: none;
}
@media (prefers-color-scheme: dark) { .brand { color: var(--ink); } }
.brand img { width: 34px; height: 34px; }
.brand small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--amber); color: #1A1200; }
.btn--primary:hover { background: var(--amber-deep); }
.btn--ghost-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
@media (max-width: 480px) { .site-nav .btn { padding: 9px 16px; font-size: 0.85rem; } }

/* ---------- landing ---------- */
.hero { padding-block: 40px 56px; }
.eyebrow {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 12px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 18ch; margin-bottom: 16px; }
.hero p:not(.eyebrow) { font-size: 1.1rem; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.section { padding-block: 56px; border-top: 1px solid var(--hairline); }
.section h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 24px; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px; padding: 22px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 10px;
}
.steps strong { display: block; color: var(--ink); }
.tour-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tour-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}
.tour-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stage); }
.tour-card div { padding: 14px 16px 16px; }
.tour-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tour-card span { color: var(--muted); font-size: 0.9rem; }
.cta-band { text-align: center; }
.cta-band p { color: var(--muted); margin: 0 auto 24px; max-width: 52ch; }

/* ---------- property page ---------- */
.property-head { padding-block: 8px 16px; }
.property-head h1 { font-size: clamp(1.4rem, 4.5vw, 2.2rem); }
.property-head p { margin: 4px 0 0; color: var(--muted); }
.stage { background: var(--stage); }
.pano {
  width: 100%;
  height: min(72vh, 680px);
  min-height: 300px;
}
@media (max-width: 720px) { .pano { height: 62vh; } }
.scene-picker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 14px 18px;
  scrollbar-width: thin;
}
.scene-picker button {
  flex: 0 0 auto;
  width: 132px;
  padding: 0;
  border: 2px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 600 0.8rem/1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
}
.scene-picker button[aria-pressed="true"] { border-color: var(--amber); }
.scene-picker button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.scene-picker img { width: 100%; height: 74px; object-fit: cover; background: var(--stage); }
.scene-picker span { display: block; padding: 6px 8px 8px; }
.scene-picker[hidden] { display: none; }
.noscript { color: #fff; padding: 24px 16px; text-align: center; }

/* ---------- video + photos ---------- */
.media { padding-block: 8px 40px; }
.media-section { margin-top: 28px; }
.media-section h2 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); margin-bottom: 14px; }
.media-section .count { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.tour-video { width: 100%; aspect-ratio: 16 / 9; background: var(--stage); border-radius: 12px; display: block; }
.photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 720px) { .photo-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.photo-grid a { display: block; border-radius: 10px; overflow: hidden; background: var(--stage); }
.photo-grid a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.03); }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(7, 11, 16, 0.96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(7, 11, 16, 0.96); }
.lightbox figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 8px 16px;
}
.lightbox img { max-width: 100%; max-height: calc(100% - 36px); object-fit: contain; }
.lightbox figcaption { font-size: 0.85rem; color: #C9D2DA; text-align: center; }
.lightbox button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 400 2rem/1 var(--font-body);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@media (max-width: 720px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lightbox figure { padding-bottom: 72px; } }

/* ---------- footer ---------- */
.site-footer {
  padding-block: 32px 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.site-footer a { color: var(--muted); }
