/* Tanner Ferren Photography demo, built by Sage & Spur Creative.
   STARTER: change the tokens first (colors from their logo/site, fonts that fit them),
   then change at least the hero and one section's layout so no two demos look alike. */
:root {
  --bg: #f4f1ea;
  --paper: #fbf9f4;
  --ink: #23211d;
  --muted: #5f5a51;
  --accent: #8a4b2a;
  --accent-ink: #fbf9f4;
  --button: var(--accent);
  --button-ink: var(--accent-ink);
  --display-weight: 400;
  --line: rgba(35, 33, 29, .16);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --max: 1160px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); padding-top: 36px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin: 1rem 0 .4rem; }
p { max-width: 62ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 780px; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--button); margin-bottom: .8rem; font-weight: 600; }

.btn { display: inline-block; padding: .85rem 1.4rem; background: var(--button); color: var(--button-ink); border: 1.5px solid var(--button); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Demo bar */
.demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--ink); color: var(--paper); font-size: .78rem; text-align: center; padding: .5rem 1rem; line-height: 1.4; }
.demo-bar a { text-decoration: underline; }

/* Nav: solid */
.nav { position: sticky; top: 36px; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: .8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { text-decoration: none; }
.nav-logo img { height: 52px; width: auto; }
.wordmark { font-family: var(--display); font-size: 1.35rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
.nav-mobile { display: none; position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 8rem 1.5rem 2rem; flex-direction: column; gap: 1.1rem; }
.nav-mobile a { font-family: var(--display); font-size: 1.9rem; text-decoration: none; }
.nav-mobile .btn { font-family: var(--body); font-size: 1rem; align-self: flex-start; margin-top: .6rem; }
.nav-mobile.show { display: flex; }

/* Hero: split */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 1.2rem 0 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* Proof row */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.proof-row div { padding: 1.6rem 1rem; }
.proof-row div + div { border-left: 1px solid var(--line); }
.proof-row b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.proof-row span { font-size: .85rem; color: var(--muted); }

/* Services */
.section-hd { margin-bottom: 2.5rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.5rem; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 1px); }
.card p { color: var(--muted); font-size: .97rem; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about p + p { margin-top: 1rem; }

/* Pricing card with SAMPLE stamp */
.price-card { position: relative; max-width: 640px; margin: 0 auto; background: var(--paper); border: 1.5px solid var(--ink); padding: 2.5rem 2rem; }
.price-line { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.price-line b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; }
.stamp { position: absolute; top: 1rem; right: 1rem; transform: rotate(8deg); border: 2.5px solid #a2362a; color: #a2362a; padding: .3rem .7rem; font-weight: 700; letter-spacing: .12em; text-align: center; line-height: 1.1; font-size: .95rem; }
.stamp small { display: block; font-size: .6rem; letter-spacing: .08em; font-weight: 600; }

/* Quotes */
.words { text-align: center; }
.words blockquote { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; max-width: 34ch; margin: 0 auto; }
.who { margin: 1.2rem auto 0; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: .7rem; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.contact-list span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.form { background: var(--paper); color: var(--ink); padding: 1.8rem; border-radius: var(--radius); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .3rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.form .btn { justify-self: start; }

/* Footer */
.footer { padding: 2.5rem 0; font-size: .88rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }

/* Thank you */
.thanks { max-width: 640px; margin: 0 auto; padding: 7rem 1.5rem; text-align: center; }
.thanks p { margin: 1rem auto 2rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Look header patterns (set by `demo.mjs look` via body[data-look]) ----------
   Each look has its own hero. None of them is Sage & Spur's own header
   (transparent nav over a full-bleed photo, centered serif headline, script tagline, two outline buttons). */
.nav-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Linen & Brass: arched photo with a centered serif title, solid nav above */
[data-look="linen-brass"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
[data-look="linen-brass"] .hero-photo { order: -1; width: min(520px, 100%); }
[data-look="linen-brass"] .hero-photo img { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); }
[data-look="linen-brass"] .lede { margin-left: auto; margin-right: auto; }
[data-look="linen-brass"] .hero-actions { justify-content: center; }
[data-look="linen-brass"] .hero-actions .btn-ghost { display: none; }

/* River Run: full-width photo under a solid nav, then a solid booking bar */
[data-look="river-run"] .hero { padding-top: 0; }
[data-look="river-run"] .hero-grid { grid-template-columns: 1fr; max-width: none; padding: 0; gap: 0; }
[data-look="river-run"] .hero-photo { order: -1; }
[data-look="river-run"] .hero-photo img { aspect-ratio: 21 / 9; border-radius: 0; }
[data-look="river-run"] .hero-copy { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 0; width: 100%; }
.book-bar { position: sticky; top: 98px; z-index: 40; background: var(--ink); color: var(--paper); }
.book-bar .wrap { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; padding-top: .8rem; padding-bottom: .8rem; }
.book-bar a:not(.btn) { color: var(--paper); font-weight: 700; text-decoration: none; }

/* Cast Iron: split hero, menu (pricing slot) right under it */
[data-look="cast-iron"] .hero-grid { grid-template-columns: 1fr 1fr; }
[data-look="cast-iron"] .hero-photo img { aspect-ratio: 1; }
[data-look="cast-iron"] .pricing { padding-top: 1rem; }

/* Salt & Sage: editorial left type, framed photo */
[data-look="salt-sage"] .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
[data-look="salt-sage"] h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); }
[data-look="salt-sage"] .hero-photo { border: 1px solid var(--line); padding: .9rem; background: var(--paper); }

/* Tailgate: solid dark bar with a big phone number */
[data-look="tailgate"] .nav { background: var(--ink); color: var(--paper); border-bottom: 0; }
[data-look="tailgate"] .nav-toggle span { background: var(--paper); }
[data-look="tailgate"] .nav-phone { font-size: 1.35rem; color: var(--paper); }
[data-look="tailgate"] .hero-grid { grid-template-columns: 1fr 1fr; }
[data-look="tailgate"] .hero-photo img { aspect-ratio: 4 / 3; }

/* Main Street: photo collage grid */
[data-look="main-street"] .hero-photo { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; }
[data-look="main-street"] .hero-photo img { aspect-ratio: auto; height: 100%; }
[data-look="main-street"] .hero-photo img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }

/* Home Range: wide landscape, classic serif, copy below */
[data-look="home-range"] .hero-grid { grid-template-columns: 1fr; }
[data-look="home-range"] .hero-photo { order: -1; }
[data-look="home-range"] .hero-photo img { aspect-ratio: 5 / 2; }
[data-look="home-range"] .hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: end; }
[data-look="home-range"] .hero-copy .eyebrow, [data-look="home-range"] .hero-copy h1 { grid-column: 1; }
[data-look="home-range"] .hero-copy .lede, [data-look="home-range"] .hero-copy .hero-actions { grid-column: 2; }

/* Mercantile: short hero, products (services slot) are the show */
[data-look="mercantile"] .hero { padding-bottom: 1rem; }
[data-look="mercantile"] .hero-grid { grid-template-columns: 1fr 1.4fr; }
[data-look="mercantile"] .hero-photo img { aspect-ratio: 3 / 2; }
[data-look="mercantile"] .cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
[data-look="mercantile"] .card { padding: 0 0 1rem; border: 0; background: none; }

/* Porch Light: framed photo with an availability box */
[data-look="porch-light"] .hero-photo { position: relative; border: 10px solid var(--paper); box-shadow: 0 1px 0 var(--line); }
.avail-box { position: absolute; left: -1.5rem; bottom: -1.5rem; background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.2rem; max-width: 260px; font-size: .95rem; }
.avail-box b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: var(--display-weight); }

@media (max-width: 900px) {
  [data-look] .hero-grid, [data-look="home-range"] .hero-copy { grid-template-columns: 1fr; }
  [data-look="home-range"] .hero-copy > * { grid-column: 1 !important; }
  .avail-box { position: static; max-width: none; margin-top: .6rem; }
  .book-bar { top: 0; position: static; }
  [data-look] .nav-phone { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { padding-top: 0; }
  .demo-bar { position: static; }
  .nav { top: 0; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-row div + div { border-left: 0; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
}
