/* Home page, redesign. See docs/home-redesign/PLAN.md. */
:root {
  --ink: #111418;
  --body: #3b4149;
  --muted: #4f565f;
  --line: #e6e3dd;
  --warm: #f4f2ee;
  --dark: #111418;
  --dark-text: #c9ced4;
  --accent: #f2a541;
  --accent-hover: #f7b85e;
  --focus: #1f4f7a;
  --display: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home {
  margin: 0; background: #ffffff; color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
}
.home img { max-width: 100%; display: block; }
.home h1, .home h2 { font-family: var(--display); letter-spacing: -0.02em; font-weight: 800; margin: 0; text-wrap: balance; }
.home h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; }
.home a { color: var(--focus); }
.home :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { display: flex; justify-content: center; padding: 32px 20px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.home .btn-dark { background: var(--ink); color: #ffffff; }
.home .btn-dark:hover { background: #2a3038; }
.home .btn-accent { background: var(--accent); color: var(--ink); }
.home .btn-accent:hover { background: var(--accent-hover); }
.home .btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.75); color: #ffffff; }
.home .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.home .btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.home .btn-outline:hover { background: var(--warm); }
.home .btn-plain { color: var(--ink); padding: 0 12px; font-weight: 600; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line);
}
.header-row { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home .brand { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { position: relative; min-height: min(720px, 88vh); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0) 35%, rgba(10, 12, 16, 0.6) 65%, rgba(10, 12, 16, 0.9) 100%);
}
.hero-copy { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { max-width: 820px; color: #ffffff; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.05; }
.hero-sub { max-width: 580px; margin: 18px 0 30px; color: #eef0f2; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; }

.trust { margin: 0; padding: 22px 20px; text-align: center; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.trust strong { color: var(--ink); }

/* Sections */
.section { padding: 80px 0; }
.dark { background: var(--dark); color: #ffffff; }
.warm { background: var(--warm); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: #d9d5ce; }

.craft { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.craft > picture { flex: 1 1 420px; min-width: 0; }
.craft-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.craft-copy { flex: 1 1 420px; min-width: 0; }
.craft-copy p { margin: 18px 0 0; color: var(--dark-text); font-size: 18px; }
.craft-copy .proof { margin-top: 16px; color: #ffffff; font-weight: 600; }
.craft-copy .btn { margin-top: 28px; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.reviews figure { margin: 0; }
.reviews blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--ink); }
.reviews figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

.faq { margin: 20px 0 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
/* quote.css (loaded for the modal) marks open summaries with a minus sign. */
.faq details > summary::before, .faq details[open] > summary::before { content: none; }
.faq-icon { flex-shrink: 0; transition: transform 0.2s ease; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--body); }

.closing { position: relative; overflow: hidden; background: var(--dark); }
.closing picture, .closing-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-img { object-fit: cover; opacity: 0.35; }
.closing-row { position: relative; padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.closing h2 { flex: 1 1 480px; min-width: 0; color: #ffffff; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; }

.site-footer { background: #0b0d10; color: var(--dark-text); font-size: 15px; }
.site-footer p { margin: 0 auto; padding-top: 36px; padding-bottom: 36px; }
.home .site-footer a { color: #ffffff; }

/* Hotjar's on-page widgets (the "Feedback" tab, survey 1201028) are switched off here;
   recordings and heatmaps are unaffected. Turning the survey off in Hotjar is the lasting fix. */
._hj-widget-container { display: none !important; }

/* Phone action bar */
.action-bar { display: none; }

@media (max-width: 640px) {
  .home .btn-plain { padding: 0 8px; }
  .hero { min-height: 600px; }
  .section { padding: 56px 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reviews { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .closing-row { padding-top: 72px; padding-bottom: 72px; }
  .site-footer p { padding-bottom: 104px; }
  .action-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  }
  .action-bar .btn-outline { flex: 1 1 0; }
  .action-bar .btn-accent { flex: 2 1 0; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .reviews { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-icon { transition: none; }
}
