/* Holycome — handcrafted stylesheet
   Palette: warm white #FAF8F5, ink #2C2C2C, muted #6B6B6B, bronze #8B7355 */

:root {
  --bg: #FAF8F5;
  --ink: #2C2C2C;
  --muted: #6B6B6B;
  --accent: #8B7355;
  --line: #E5E0D8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
h1 { font-size: 44px; margin: 0 0 16px; }
h2 { font-size: 30px; margin: 0 0 14px; }
h3 { font-size: 22px; margin: 14px 0 6px; }
p { margin: 0 0 14px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.skip-link { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; color: var(--ink); letter-spacing: 0.02em;
}
.logo-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); font-size: 14px; font-weight: 400; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink); transition: 0.2s; }
.nav-toggle span:nth-child(1){ top: 2px; }
.nav-toggle span:nth-child(2){ top: 10px; }
.nav-toggle span:nth-child(3){ top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 14px; letter-spacing: 0.05em;
  cursor: pointer; transition: all 0.2s;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { padding: 8px 18px; }
.btn-block { display: block; text-align: center; }
.text-link { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 100px 0 80px; background: linear-gradient(180deg, #F4EFE8 0%, var(--bg) 100%); }
.hero-inner { max-width: 800px; }
.hero h1 { font-size: 60px; line-height: 1.1; }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 6px; }
.page-head { padding: 70px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 46px; }

/* ---------- Steps (home) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--accent); display: block; margin-bottom: 8px;
}
.step-mini h3 { margin-top: 0; }

/* ---------- Portfolio grid ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-grid-3 { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { color: var(--ink); display: block; }
.portfolio-img { overflow: hidden; margin-bottom: 12px; aspect-ratio: 4/5; background: #EFEBE3; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio-card h3 { font-size: 20px; margin: 0 0 4px; }

/* ---------- Artisan grid ---------- */
.artisan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.artisan-card img { aspect-ratio: 4/5; object-fit: cover; margin-bottom: 12px; }
.artisan-card h3 { margin: 0; }
.artisan-grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.artisan-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.artisan-row img { aspect-ratio: 4/5; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial { margin: 0; padding: 28px; border: 1px solid var(--line); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 20px; margin-bottom: 14px;
}
.testimonial blockquote { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img img { aspect-ratio: 4/3; object-fit: cover; }
.img-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.img-row img { aspect-ratio: 4/3; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band { background: #2C2C2C; color: #fff; padding: 80px 0; }
.cta-band h2 { color: #fff; font-size: 36px; }
.cta-band .muted { color: #B8B0A2; }

/* ---------- Timeline (process) ---------- */
.timeline { display: flex; flex-direction: column; gap: 80px; }
.timeline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.timeline-row.flip .timeline-img { order: 2; }
.timeline-img img { aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Compare tables ---------- */
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.compare-table th { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 500; }
.craft-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 20px; }

/* ---------- Detail page ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.detail-hero { margin-bottom: 32px; }
.detail-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-title { font-size: 40px; margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.mat-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.mat-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.related-head { margin-top: 60px; }

/* ---------- Filter / pagination ---------- */
.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn {
  background: none; border: 1px solid var(--line); padding: 6px 16px;
  font-size: 13px; cursor: pointer; color: var(--muted); font-family: inherit;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.pagination { margin-top: 40px; display: flex; gap: 8px; }
.pagination a { padding: 6px 12px; border: 1px solid var(--line); color: var(--ink); }
.pagination a.active, .pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { color: var(--ink); display: block; }
.blog-img { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 12px; background: #EFEBE3; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card h3 { font-size: 20px; }
.article-hero { aspect-ratio: 16/8; object-fit: cover; margin-bottom: 20px; width: 100%; }
.article-body h2 { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; }
.faq-cat { margin-top: 40px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 20px; list-style: none; position: relative; padding-right: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--accent); font-size: 22px; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- Forms ---------- */
.form label { display: block; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; padding: 10px 12px; margin-top: 6px;
  border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 15px; color: var(--ink);
}
.form textarea { resize: vertical; }
.alert { padding: 14px 18px; margin-bottom: 20px; border: 1px solid; }
.alert-success { background: #EAF3EA; border-color: #9BBE9B; color: #2F5E2F; }
.alert-error { background: #F7E8E7; border-color: #D8A8A5; color: #7A2E2B; }
.contact-side img { margin-top: 20px; aspect-ratio: 8/5; object-fit: cover; }
.check-list, .plain-list { list-style: none; padding: 0; }
.check-list li, .plain-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 20px; margin-top: 40px; background: #F4EFE8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 12px; }
.footer-grid h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 13px;
}

/* ---------- v2: Trust badges / press / chief / milestones ---------- */
.trust-badges { border-bottom: 1px solid var(--line); padding: 20px 0; background: #fff; }
.badges-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
.badge svg { color: var(--accent); }

.press-strip { padding: 30px 0; border-bottom: 1px solid var(--line); background: #F4EFE8; }
.press-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 36px; }
.press-row-center { justify-content: center; }
.press-name {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--muted);
  letter-spacing: 0.15em; text-transform: uppercase;
}

.chief-split { align-items: center; }
.chief-tag {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 11px;
  background: var(--accent); color: #fff; padding: 2px 10px; margin-left: 8px;
  letter-spacing: 0.1em; vertical-align: middle;
}
.verified-badge { color: #3F5E2F; font-weight: 500; }

.milestone-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.m-year { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--accent); display: block; }

.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.workshop-card { margin: 0; }
.workshop-card img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }

.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.equipment-card img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.equipment-card h3 { margin: 0 0 2px; font-size: 18px; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); }
.cert-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }

/* ---------- v2: Design iterations ---------- */
.iterations { display: flex; flex-direction: column; gap: 30px; margin: 20px 0; }
.iteration { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.iteration img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.iteration h3 { margin: 0 0 6px; }

/* ---------- v2: Form steps ---------- */
.form-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted);
}
.step-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.step-line { flex: 1; height: 1px; background: var(--line); }
[data-progress-text] { margin: 0 0 0 8px; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-nav { display: flex; justify-content: space-between; margin-top: 10px; }
.contact-alt { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- v2: WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px;
  background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18); z-index: 100;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: translateY(-4px); color: #fff; }

/* ---------- v2: Myths / decision / article CTA ---------- */
.myth-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.myth { padding: 20px; border-left: 2px solid var(--accent); background: #fff; }
.myth p { margin: 8px 0 0; }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.decision-grid > div { padding: 20px; border: 1px solid var(--line); }
.article-cta { text-align: center; padding: 40px; border: 1px solid var(--line); margin: 40px 0; }

/* ---------- v2: 404 ---------- */
.err-links { margin: 24px 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.err-popular { margin-top: 40px; text-align: left; }
.err-popular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.err-popular-grid a { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 40px; }
  .hero { padding: 60px 0; }
  .steps-grid, .portfolio-grid, .portfolio-grid-3, .artisan-grid, .testimonial-grid, .blog-grid, .craft-row, .img-row {
    grid-template-columns: 1fr 1fr; gap: 20px;
  }
  .split, .timeline-row, .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline-row.flip .timeline-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .artisan-row { grid-template-columns: 120px 1fr; }
  .milestone-row { grid-template-columns: repeat(3, 1fr); }
  .workshop-grid { grid-template-columns: 1fr 1fr; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .iteration { grid-template-columns: 1fr; }
  .myth-list, .decision-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 24px; gap: 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
}
@media (max-width: 600px) {
  .steps-grid, .portfolio-grid, .portfolio-grid-3, .artisan-grid, .testimonial-grid, .blog-grid, .craft-row, .img-row {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .milestone-row { grid-template-columns: 1fr 1fr; }
  .workshop-grid, .equipment-grid, .cert-grid { grid-template-columns: 1fr; }
  .badges-row { justify-content: flex-start; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
