/* Shared styling for Home Tour Movies — home + listings pages.
   Matches the tour brand: Playfair Display titles, Montserrat body,
   warm-brass accent on a near-black gradient. Self-contained, no framework. */

@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/montserrat-400.woff2") format("woff2");}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/montserrat-500.woff2") format("woff2");}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/montserrat-600.woff2") format("woff2");}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/playfair-600.woff2") format("woff2");}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/playfair-700.woff2") format("woff2");}

:root{
  --font-title:"Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg:#1e1e1f;
  --edge:rgba(255,255,255,0.14);
  --title:#f4f2ef;
  --muted:#b9b4ac;
  --dim:#8a857d;
  --accent:#c9a24b;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  min-height:100dvh;
  background:
    radial-gradient(120% 80% at 50% -10%, #2a2a2c 0%, var(--bg) 55%) fixed,
    var(--bg);
  color:var(--muted);
  font-family:var(--font-ui);
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:56px 22px;
}

.wrap{ width:100%; max-width:560px; text-align:center; }

h1{
  font-family:var(--font-title);
  font-weight:700;
  font-size:clamp(30px, 6vw, 46px);
  line-height:1.08;
  color:var(--title);
  margin:0;
  letter-spacing:0.3px;
}

/* Long titles (e.g. the listings page) that would otherwise wrap to two lines:
   scale the font down with the viewport so it stays on one line, like the
   address line on the tour pages. min() picks whichever is smaller — the cap on
   roomy screens, the vw-scaled size on narrow phones. */
h1.fit{
  white-space:nowrap;
  font-size:min(46px, 6.4vw);
}

.rule{
  width:56px; height:2px; margin:20px auto 0;
  background:var(--accent); border-radius:2px;
}

p.blurb{
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
  margin:22px auto 0;
  max-width:44ch;
}

/* Listings blurb: one line when there's room, otherwise break at the dash and
   drop it so the second line starts cleanly on "cinematic…". The one-line text
   measures ~530px (fits the 560px column), and can't fit once the viewport dips
   below ~575px — so stack it at 600px for a safe margin. */
p.blurb.split{ max-width:none; }
p.blurb.split .lead{ white-space:nowrap; }
@media (max-width:600px){
  p.blurb.split .lead{ display:block; }
  p.blurb.split .dash{ display:none; }
}

/* Link list (cards) */
ul.links{
  list-style:none; padding:0;
  margin:34px auto 0;
  width:100%; text-align:left;
}
ul.links li{ margin:0 0 14px; }
ul.links li:last-child{ margin-bottom:0; }

a.card{
  display:block; text-decoration:none;
  color:var(--muted);
  background:rgba(255,255,255,0.03);
  border:1px solid var(--edge);
  border-radius:10px;
  padding:18px 20px;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
a.card:hover{
  background:rgba(255,255,255,0.06);
  border-color:var(--accent);
  transform:translateY(-1px);
}
a.card .name{
  display:block;
  font-family:var(--font-title);
  font-weight:600;
  font-size:19px;
  color:var(--title);
}
a.card .sub{
  display:block;
  font-size:13.5px;
  color:var(--dim);
  margin-top:5px;
}

/* Back link on the listings page */
.back{
  display:inline-block;
  margin:0 0 26px;
  font-size:13px;
  letter-spacing:0.4px;
  text-transform:uppercase;
  color:var(--dim);
  text-decoration:none;
  transition:color .15s ease;
}
.back:hover{ color:var(--accent); }
.back::before{ content:"\2190\00a0"; }

footer.site{
  margin-top:44px;
  font-size:12px;
  color:var(--dim);
}
