/* ============ Base ============
   Design direction: simple, focused, timeless (11-inspiring-personal-websites
   throughline) — curation over decoration, one clear accent used sparingly,
   a lot of quiet paper and ink rather than tinted card washes everywhere.
   Every custom property below is referenced by class name, unchanged, across
   all 24 pages — this file is the only place the visual system lives. */
:root {
  --ink: #14110f;
  --ink-soft: #5c574f;
  --ink-faint: #8a8478;
  --paper: #fbf9f5;
  --card: #ffffff;
  --accent: #a3401f;      /* deep terracotta — used for CTAs and links only,
                              never as a background tint or badge fill */
  --accent-dark: #7c2f16;
  --line: #e5e0d6;
  --line-soft: #efebe2;
  --radius: 4px;           /* sharp, editorial corners — not the rounded-pill
                               look of the previous system */
  --radius-lg: 6px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: var(--space-3); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.eyebrow.light { color: #d9a48c; }

.section-note { font-size: 0.85rem; color: var(--ink-faint); font-style: italic; margin-bottom: var(--space-3); }
.section-note.light { color: #c7c1b6; }
.todo-note { font-size: 0.8rem; color: var(--ink-faint); font-style: italic; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.site-nav a:hover { color: var(--ink); }

.nav-phone { font-weight: 600 !important; color: var(--ink) !important; white-space: nowrap; }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem !important;
}
.nav-cta:hover { background: var(--accent-dark); }

/* ============ Hero (full-bleed photo) ============ */
.hero-photo {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=75")
    center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 8, 6, 0.86) 0%, rgba(10, 8, 6, 0.5) 58%, rgba(10, 8, 6, 0.15) 100%);
}

.hero-inner { position: relative; max-width: 700px; padding-top: var(--space-4); padding-bottom: var(--space-4); }

.hero-photo h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.hero-sub {
  font-size: 1.1rem;
  color: #f2efe9;
  max-width: 540px;
  margin-bottom: var(--space-3);
}

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ============ Buttons ============
   Sharp corners, one filled style (accent), everything else outlined or
   plain-dark — deliberately fewer button "voices" than the old system. */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-light { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.btn-light:hover { background: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ Trust bar ============ */
.trust-bar { background: var(--ink); color: #fff; padding: 1rem 0; }

.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2);
  text-align: center;
}

.trust-item strong { display: block; font-size: 0.92rem; font-weight: 600; }
.trust-item span { font-size: 0.78rem; color: #b5afa2; }

/* ============ Services ============ */
.services { padding: var(--space-6) 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.service-card { text-decoration: none; color: inherit; }
.service-card:hover { box-shadow: 0 8px 22px rgba(20, 17, 15, 0.08); border-color: var(--ink-faint); }

.service-card img { height: 180px; width: 100%; object-fit: cover; filter: saturate(0.94); }

.service-body { padding: 1.3rem 1.4rem 1.5rem; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--ink-soft); font-size: 0.93rem; }

.service-tags { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.85rem; }
.service-tags li {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
}

.card-cta { display: flex; align-items: center; background: var(--paper); border-color: var(--line); }
.card-cta .btn { margin-top: 1rem; }

/* ============ Gallery ============ */
.gallery { padding: 0 0 var(--space-6); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-1);
}

.gallery-grid img {
  border-radius: var(--radius);
  height: 230px;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.94);
}

/* ============ Reviews ============ */
.reviews { padding: var(--space-6) 0; background: var(--ink); color: #fafaf8; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stars { color: #d9a44c; letter-spacing: 3px; margin-bottom: 0.7rem; }

.review-card p { color: #e2ded4; font-size: 0.95rem; }
.review-card footer { margin-top: 1rem; font-size: 0.82rem; color: #a39d90; }

/* ============ Quote section ============ */
.quote { padding: var(--space-6) 0; }

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-4);
  align-items: start;
}

.quote-copy p a { color: var(--accent); font-weight: 600; }

.quote-points { list-style: none; margin-top: var(--space-3); }
.quote-points li { padding: 0.3rem 0; color: var(--ink-soft); font-weight: 500; }

.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note { font-size: 0.78rem; color: var(--ink-faint); text-align: center; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-4) 0 0; font-size: 0.88rem; color: var(--ink-soft); }

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  padding-bottom: var(--space-3);
}

.brand-footer { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.brand-footer span { color: var(--accent); }

.site-footer a { color: var(--ink); font-weight: 500; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.copyright { border-top: 1px solid var(--line); padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: 0.78rem; color: var(--ink-faint); }

/* ============ Sticky mobile call bar ============ */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251, 249, 245, 0.98);
  border-top: 1px solid var(--line);
  gap: 0.75rem;
}

.mobile-call-bar .btn { flex: 1; text-align: center; padding: 0.85rem 1rem; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .quote-inner { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============ Tools strip ============ */
.tools-strip { padding: var(--space-5) 0; background: var(--paper); border-top: 1px solid var(--line); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); }

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.35rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.02rem;
  transition: border-color 0.2s ease;
}

.tool-card:hover { border-color: var(--ink-faint); }

.tool-card strong { font-family: var(--font-display); font-weight: 600; }
.tool-card span { font-size: 0.83rem; color: var(--ink-soft); }

/* ============ Service detail pages ============ */
.hero-service { min-height: 400px; }
.hero-service h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }

.service-detail { padding: var(--space-5) 0; }
.service-detail-inner { max-width: 740px; }

.detail-block { margin-bottom: var(--space-4); }
.detail-block h2 { font-size: 1.35rem; margin-bottom: 0.55rem; }
.detail-block p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

.service-cta { padding: var(--space-5) 0 var(--space-6); text-align: center; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-cta p { color: var(--ink-soft); margin-bottom: var(--space-3); }

/* ============ Responsive ============ */
@media (max-width: 700px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-photo { min-height: 500px; }
  .hero-service { min-height: 340px; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 72px; }
}
