/* Shared page sections (the homepage system, DESIGN.md): section spacing and titles, buttons, the price list,
 * the steps, the FAQ and Visit us. Markup: src/views/partials/sections/. Linked before a page's own sheet. */
[x-cloak] { display: none !important; }

.sec { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-ink); }
.sec-title, .cta-title, .manifesto-text { text-wrap: balance; }
.sec-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 7.4vw, 4.2rem); line-height: 0.92; letter-spacing: 0; font-weight: 800; margin: 12px 0 14px; color: var(--text); }
.sec-sub { font-size: 16px; line-height: 1.6; color: var(--text-muted); }

/* Buttons: Kinetic Green pill / Obsidian / Outline (DESIGN.md §4A) */
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 9999px; border: 2px solid transparent;
  font-family: var(--font-headline); font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform 0.4s var(--ease-pop-spring), background 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.hbtn:hover { transform: translateY(-2px) scale(1.02); }
.hbtn:active { transform: scale(0.98); transition-duration: 0.1s; }
.hbtn:focus-visible, .spin-link:focus-visible, .pl-toggle button:focus-visible { outline: 3px solid #22c55e; outline-offset: 3px; }
.hbtn-primary { background: #22c55e; color: #04210d; box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28); }
.hbtn-primary:hover { background: #4ade80; color: #04210d; box-shadow: 0 12px 30px rgba(34, 197, 94, 0.38); }
.hbtn-dark { background: #0a0b0d; color: #fff; }
.hbtn-dark:hover { background: #181b20; color: #fff; }
.hbtn-ghost { border-color: currentColor; color: var(--text); background: transparent; }
.hbtn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.hbtn-lg { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn-ico-svg { flex-shrink: 0; display: block; }
.check-ico { flex-shrink: 0; display: block; }

/* Single shadow system: a soft ground shadow (never a second drop-shadow filter) */
.ground-shadow {
  width: 72%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 70%);
  margin: -6px auto 0;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

/* ── 3. Rent or buy — price list ─────────────────────────────────────── */
.pricing .sec-sub { margin-bottom: 8px; }
.pl-group { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--text); }
.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; }
.pl-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--text); margin: 0; }
.pl-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--border-strong); border-radius: 9999px; }
.pl-toggle button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9999px; font: 600 13px/1 var(--font-body); color: var(--text-muted); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.pl-toggle button.is-on { background: var(--text); color: #fff; }
.pl-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: "thumb info price" "cta cta cta"; gap: 10px 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--nav-h) + 16px); }
.pl-row.is-active { background: linear-gradient(90deg, #f0fdf4, transparent 70%); }
.pl-thumb { grid-area: thumb; position: relative; }
.pl-thumb img { display: block; width: 100%; height: auto; }
.pl-thumb .ground-shadow { width: 80%; height: 10px; margin-top: -8px; }
.pl-info { grid-area: info; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pl-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; color: var(--text); }
.pl-meta { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.pl-meta .sale-stock-pill-oos { color: #b91c1c; font-weight: 600; }
.pl-price { grid-area: price; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-price small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }
.pl-row.is-oos .pl-price { color: var(--text-dim); text-decoration: line-through; text-decoration-thickness: 2px; }
.pl-cta { grid-area: cta; width: 100%; }
.pl-note { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* ── 4. How it works ─────────────────────────────────────────────────── */
.how { background: var(--surface-low); border-top: 1px solid var(--border); }
.how-steps { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 0; counter-reset: none; }
.how-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.how-n { grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--accent-ink); padding-top: 4px; }
.how-steps h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--text); margin: 0 0 6px; }
.how-steps p { font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 46ch; }

/* ── 7. FAQ ──────────────────────────────────────────────────────────── */
.faq { background: var(--surface-low); border-top: 1px solid var(--border); }
.faq-inner { max-width: 820px; }
.faq-list { margin-top: 20px; border-top: 1px solid var(--text); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font: 400 24px/1 var(--font-body); color: var(--accent-ink); transition: transform 0.3s var(--ease-out-spring); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid #22c55e; outline-offset: 2px; }
.faq-item p { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 64ch; }

/* ── 8. Visit us + final CTA ─────────────────────────────────────────── */
.visit { background: radial-gradient(60% 70% at 20% 0%, rgba(34, 197, 94, 0.14), transparent 70%), var(--stage-bg); }
.visit-grid { display: grid; gap: 40px; }
.cta-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(3rem, 11vw, 5.6rem); letter-spacing: 0; font-weight: 800; line-height: 0.9; color: #fff; margin: 0 0 16px; }
.cta-lead { font-size: 16px; line-height: 1.6; color: var(--stage-muted); max-width: 42ch; margin-bottom: 24px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-card { padding-top: 24px; border-top: 1px solid var(--stage-line-strong); }
.visit-name { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; color: #fff; margin: 10px 0 8px; }
.visit-addr { font-size: 15px; color: var(--stage-muted); margin-bottom: 6px; }
.visit-hours { font-size: 11px; letter-spacing: 0.08em; color: var(--stage-dim); margin-bottom: 16px; }
.visit-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.visit-note { font-size: 13px; line-height: 1.5; color: var(--stage-dim); max-width: 46ch; }

/* Page hero: a page's opening block on the dark stage (partials/sections/page-hero.ejs) */
.page-hero { background: radial-gradient(60% 80% at 85% 0%, rgba(34, 197, 94, 0.16), transparent 70%), var(--stage-bg); padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 7vw, 88px); }
.page-hero-title { max-width: 16ch; }
.page-hero-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 9vw, 5.4rem); line-height: 0.9; letter-spacing: 0; color: #fff; margin: 14px 0 18px; text-wrap: balance; }
.page-hero-title .hl { display: block; color: #22c55e; }
.page-hero-lead { font-size: 17px; line-height: 1.6; color: var(--stage-muted); max-width: 52ch; margin: 0 0 26px; }
.page-hero-facts { font-size: 11px; letter-spacing: 0.14em; color: var(--stage-dim); margin: 22px 0 0; }

/* Text link with an underline (Visit us, page links) */
.spin-link { color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: border-color 0.2s ease, color 0.2s ease; }
.spin-link:hover { color: #22c55e; border-color: #22c55e; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .eyebrow { letter-spacing: 0.08em; }
  .cta-buttons .hbtn { flex: 1 1 100%; }
}
@media (min-width: 769px) {
  .pl-row { grid-template-columns: 150px minmax(0, 1fr) auto 200px; grid-template-areas: "thumb info price cta"; padding: 18px 0; }
  .pl-price { padding-right: 12px; }
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .how-steps li { grid-template-columns: 1fr; border-top: 2px solid var(--text); }
  .how-n { grid-row: auto; margin-bottom: 10px; }
  .visit-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: end; gap: 64px; }
}
@media (hover: none) { .hbtn:hover { transform: none; } .hbtn-ghost:hover { background: transparent; color: var(--text); border-color: currentColor; } }
