/* =========================================================
   HERD DETAILING — "Warm & Human" Design System
   herdautodetailing.com · Missoula, MT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

/* =========================================================
   TOKENS
   ========================================================= */

:root {
  /* warm neutrals */
  --bone:        #F4EFE6;
  --bone-2:      #EFE8DB;
  --bone-card:   #FBF8F2;
  --clay:        #E7DECF;
  --clay-deep:   #D9CDB8;

  /* ink */
  --ink:         #17130E;
  --ink-80:      rgba(23, 19, 14, 0.80);
  --ink-65:      rgba(23, 19, 14, 0.65);
  --ink-45:      rgba(23, 19, 14, 0.45);
  --ink-20:      rgba(23, 19, 14, 0.16);
  --ink-10:      rgba(23, 19, 14, 0.09);

  /* accent */
  --red:         #C8290F;
  --red-deep:    #A81F0A;
  --red-soft:    rgba(200, 41, 15, 0.10);
  --red-border:  rgba(200, 41, 15, 0.28);

  /* dark showcase */
  --dark:        #1A1510;
  --dark-2:      #221C15;
  --gold:        #E0A864;

  /* fonts */
  --display: 'Fraunces', Georgia, serif;
  --body:    'Manrope', system-ui, sans-serif;
  --script:  'Caveat', cursive;

  --nav-h:   76px;
  --max-w:   1320px;
  --r:       10px;
  --r-lg:    18px;
  --r-sm:    6px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --t:       0.3s var(--ease);

  --shadow:    0 18px 48px -24px rgba(23, 19, 14, 0.30);
  --shadow-lg: 0 30px 70px -30px rgba(23, 19, 14, 0.42);
}

/* =========================================================
   RESET & BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
h1 { font-variation-settings: 'opsz' 144; }
h2 { font-variation-settings: 'opsz' 110; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.no-line::before { display: none; }

.script {
  font-family: var(--script);
  font-weight: 700;
  color: var(--red);
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: 120px 0; }
.section-tight { padding: 84px 0; }

.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(38px, 5vw, 66px); margin-bottom: 20px; }
.section-head p { font-size: 18px; color: var(--ink-65); line-height: 1.7; }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 100px;
  transition: var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(200, 41, 15, 0.55);
}

.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-20); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); transform: translateY(-2px); }

.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-2px); }

.btn-sm { font-size: 13px; padding: 12px 22px; }
.btn-lg { font-size: 15px; padding: 18px 38px; }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.scrolled {
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--ink-10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.nav-logo-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
  box-shadow: 0 0 0 1px var(--ink-10);
}
.nav-logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo:hover .nav-logo-badge { transform: rotate(-8deg); }
.nav-logo-text { line-height: 1.05; }
.nav-logo-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  display: block;
}
.nav-logo-sub {
  font-family: var(--body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-65);
  transition: color var(--t);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink);
  transition: color var(--t);
}
.nav-phone svg { width: 15px; height: 15px; color: var(--red); }
.nav-phone:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--ink);
  transition: var(--t);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bone);
  z-index: 890;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 80px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  padding: 6px 0;
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu-phone { margin-top: 30px; font-size: 18px; font-weight: 700; color: var(--ink-45); }
.mobile-menu .btn { margin-top: 22px; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: 100px;
  padding: 7px 8px 7px 16px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}
.hero-badge-stars { display: flex; gap: 2px; }
.hero-badge-stars svg { width: 14px; height: 14px; fill: #E8A317; }
.hero-badge span { font-size: 13px; font-weight: 700; }
.hero-badge .pill {
  background: var(--ink); color: var(--bone);
  font-size: 11px; font-weight: 700;
  padding: 4px 11px; border-radius: 100px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 96px);
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.22s forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 38px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.36s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero-trust {
  display: flex; align-items: center; gap: 22px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.64s forwards;
}
.hero-trust-item { display: flex; align-items: center; gap: 9px; }
.hero-trust-item svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.hero-trust-item span { font-size: 13.5px; font-weight: 600; color: var(--ink-65); }

/* hero visual */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.4s forwards;
}
.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--clay);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(244,239,230,0.92);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* floating stat card */
.hero-float {
  position: absolute;
  top: 28px; right: -26px;
  background: var(--bone-card);
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float-num { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1; color: var(--red); display: block; }
.hero-float-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-45); margin-top: 5px; display: block; }
.hero-float.bottom { top: auto; bottom: 34px; right: auto; left: -28px; animation-delay: 1.2s; }
.hero-float.bottom .hero-float-num { color: var(--ink); }

/* =========================================================
   MARQUEE / TAGLINE BAND
   ========================================================= */

.tagband {
  background: var(--ink);
  color: var(--bone);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.tagband p {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.25;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.tagband strong { font-weight: 600; font-style: normal; color: var(--gold); }

/* =========================================================
   LOGOS / TRUST STRIP
   ========================================================= */

.proofbar {
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  background: var(--bone-2);
}
.proofbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--ink-10);
}
.proof:last-child { border-right: none; }
.proof-num { font-family: var(--display); font-weight: 600; font-size: 42px; line-height: 1; color: var(--ink); }
.proof-num span { color: var(--red); }
.proof-label { font-size: 13px; font-weight: 600; color: var(--ink-65); margin-top: 8px; }

/* =========================================================
   WHY ME (intro split)
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.intro-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  background: var(--clay);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.intro-text h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 24px; }
.intro-text p { font-size: 17px; color: var(--ink-65); line-height: 1.8; margin-bottom: 18px; }
.intro-sign {
  font-family: var(--script);
  font-size: 38px;
  color: var(--red);
  line-height: 1;
  margin: 28px 0 32px;
}

/* =========================================================
   SERVICES (cards)
   ========================================================= */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--clay-deep); }
.svc-card.featured { border-color: var(--red); }
.svc-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px;
}
.svc-card.best::before {
  content: 'Best Value';
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  background: var(--ink);
  color: var(--bone);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px;
}
.svc-photo { aspect-ratio: 16/11; overflow: hidden; background: var(--clay); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.06); }
.svc-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 27px; margin-bottom: 10px; }
.svc-body > p { font-size: 15px; color: var(--ink-65); line-height: 1.65; margin-bottom: 22px; flex: 1; }
.svc-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 22px; }
.svc-price .from { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); }
.svc-price .amt { font-family: var(--display); font-weight: 600; font-size: 36px; line-height: 1; color: var(--ink); }
.svc-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--red);
  transition: gap var(--t);
}
.svc-link svg { width: 15px; height: 15px; transition: transform var(--t); }
.svc-link:hover { gap: 14px; }

/* =========================================================
   FEATURE LIST (about-style)
   ========================================================= */

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.feature {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px;
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r);
  transition: var(--t);
}
.feature:hover { border-color: var(--red-border); transform: translateX(3px); }
.feature-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--red-soft);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.feature-ic svg { width: 19px; height: 19px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature span { font-size: 14.5px; font-weight: 600; }

/* =========================================================
   PROCESS (numbered steps)
   ========================================================= */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--ink);
}
.step-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 25px; margin-bottom: 12px; }
.step p { font-size: 15.5px; color: var(--ink-65); line-height: 1.7; }

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.review-stars svg { width: 16px; height: 16px; fill: #E8A317; }
.review-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-80);
  margin-bottom: 24px;
  flex: 1;
}
.review-foot { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  flex-shrink: 0;
}
.review-who { line-height: 1.3; }
.review-name { font-weight: 700; font-size: 15px; display: block; }
.review-meta { font-size: 12.5px; color: var(--ink-45); display: flex; align-items: center; gap: 6px; }
.review-g { font-family: Arial, sans-serif; font-weight: 700; }
.review-g .b{color:#4285F4}.review-g .r{color:#EA4335}.review-g .y{color:#FBBC05}.review-g .g{color:#34A853}

.reviews-head {
  display: flex; align-items: center; gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
.reviews-score { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 1; color: var(--red); }
.reviews-head-stars { display: flex; gap: 3px; }
.reviews-head-stars svg { width: 22px; height: 22px; fill: #E8A317; }
.reviews-head-meta { font-size: 14px; font-weight: 600; color: var(--ink-65); }

/* full reviews masonry (gallery page) */
.reviews-wall { columns: 3; column-gap: 24px; }
.reviews-wall .review { break-inside: avoid; margin-bottom: 24px; display: inline-flex; width: 100%; }

/* =========================================================
   GALLERY
   ========================================================= */

.gal-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.gal-btn {
  font-size: 13px; font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  background: transparent;
  color: var(--ink-65);
  border: 1.5px solid var(--ink-20);
  transition: var(--t);
}
.gal-btn:hover, .gal-btn.active { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
  background: var(--clay);
  box-shadow: var(--shadow);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gal-item:hover img { transform: scale(1.07); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,19,14,0.82) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--t);
  display: flex; align-items: flex-end; padding: 20px;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-info h4 { font-family: var(--body); font-weight: 700; font-size: 15px; color: #fff; letter-spacing: 0.02em; }
.gal-info span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* before / after */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 56px; }
.ba-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--clay); }
.ba-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba-tag {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 100px;
}
.ba-tag.before { background: rgba(23,19,14,0.82); color: #fff; }
.ba-tag.after { background: var(--red); color: #fff; }

/* lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(23,19,14,0.94);
  align-items: center; justify-content: center; padding: 48px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: var(--r); }
.lb-close {
  position: absolute; top: 22px; right: 30px;
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 40px; line-height: 1; cursor: pointer; transition: color var(--t);
}
.lb-close:hover { color: #fff; }

/* =========================================================
   PAGE BANNER (interior pages)
   ========================================================= */

.page-banner {
  padding: calc(var(--nav-h) + 76px) 0 64px;
  border-bottom: 1px solid var(--ink-10);
  background: var(--bone-2);
}
.page-banner h1 { font-size: clamp(48px, 7vw, 92px); margin-bottom: 18px; }
.page-banner h1 em { font-style: italic; font-weight: 500; color: var(--red); }
.page-banner p { font-size: 19px; color: var(--ink-65); max-width: 620px; line-height: 1.65; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.story-block { padding: 96px 0; border-bottom: 1px solid var(--ink-10); }
.story-block:last-of-type { border-bottom: none; }
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.story-grid.flip { grid-template-columns: 1.15fr 0.85fr; }
.story-grid.flip .story-media { order: 2; }
.story-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  background: var(--clay);
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media.wide { aspect-ratio: 5/4; }
.story-text h2 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 22px; }
.story-text p { font-size: 17px; color: var(--ink-65); line-height: 1.82; margin-bottom: 18px; }
.story-yr {
  font-family: var(--display); font-weight: 600;
  font-size: 14px; color: var(--red);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 8px;
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: var(--t);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-ic {
  width: 46px; height: 46px;
  background: var(--red-soft);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-ic svg { width: 22px; height: 22px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { font-size: 14.5px; color: var(--ink-65); line-height: 1.65; }

/* Missoula band (dark) */
.missoula {
  background: var(--dark);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.missoula .story-text h2 { color: var(--bone); }
.missoula .story-text p { color: rgba(244,239,230,0.7); }
.missoula .story-yr { color: var(--gold); }
.missoula .story-media::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg);
}
.hobby-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hobby-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 600;
}
.hobby-tag svg { width: 16px; height: 16px; color: var(--gold); }

/* =========================================================
   SERVICES PAGE (detail rows)
   ========================================================= */

.svc-row { padding: 80px 0; border-bottom: 1px solid var(--ink-10); }
.svc-row-inner { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
.svc-row.flip .svc-row-inner { grid-template-columns: 1fr 360px; }
.svc-row.flip .svc-aside { order: 2; }
.svc-aside { position: sticky; top: calc(var(--nav-h) + 28px); }
.svc-aside-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); margin-bottom: 24px; background: var(--clay); }
.svc-aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-aside h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 8px; }
.svc-aside .svc-price { margin: 16px 0 20px; }
.svc-aside p { font-size: 15.5px; color: var(--ink-65); line-height: 1.7; margin-bottom: 24px; }

.includes {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 38px 40px;
}
.includes.feat { border-color: var(--red); box-shadow: var(--shadow); }
.includes-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 22px; display: block; }
.includes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.includes li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-80); line-height: 1.5; }
.includes li svg { width: 18px; height: 18px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   FAQ
   ========================================================= */

.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink-10); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 0;
  font-family: var(--display); font-weight: 600; font-size: 21px;
  text-align: left; cursor: pointer; transition: color var(--t);
}
.faq-q:hover { color: var(--red); }
.faq-q-ic { width: 24px; height: 24px; flex-shrink: 0; color: var(--red); fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--t); }
.faq-item.open .faq-q-ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { font-size: 16px; color: var(--ink-65); line-height: 1.75; padding-bottom: 26px; }

/* =========================================================
   CTA BANNER
   ========================================================= */

.cta {
  background: var(--red);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 84px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 50%);
}
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 18px; color: #fff; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.86); max-width: 540px; margin: 0 auto 38px; }
.cta .btn-primary { background: #fff; color: var(--red); }
.cta .btn-primary:hover { background: var(--bone); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.3); }
.cta .btn-ghost-light { margin-left: 12px; }

/* =========================================================
   SERVICE AREA (local SEO)
   ========================================================= */

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.area-list li {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-80);
  transition: var(--t);
}
.area-list li:hover { border-color: var(--red-border); color: var(--red); transform: translateY(-2px); }

/* =========================================================
   BOOKING PAGE
   ========================================================= */

.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }

.book-card {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.book-card h2 { font-size: 44px; margin-bottom: 8px; }
.book-card > p { font-size: 16px; color: var(--ink-65); margin-bottom: 36px; line-height: 1.7; }

.calendly-cta {
  display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: var(--bone);
  border-radius: var(--r); padding: 20px 24px;
  transition: var(--t);
}
.calendly-cta:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }
.calendly-cta-ic { width: 46px; height: 46px; background: var(--red); border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.calendly-cta-ic svg { width: 22px; height: 22px; color: #fff; fill: none; stroke: currentColor; stroke-width: 1.8; }
.calendly-cta-tx { flex: 1; }
.calendly-cta-tx strong { display: block; font-size: 16px; font-weight: 700; }
.calendly-cta-tx span { font-size: 13.5px; color: rgba(244,239,230,0.6); }
.calendly-cta-arrow { width: 20px; height: 20px; color: rgba(244,239,230,0.6); fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--t); }
.calendly-cta:hover .calendly-cta-arrow { transform: translateX(4px); color: var(--bone); }

.or-div { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.or-div::before, .or-div::after { content: ''; flex: 1; height: 1px; background: var(--ink-10); }
.or-div span { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-45); }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bone);
  border: 1.5px solid var(--ink-10);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--body); font-size: 15px;
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-45); }
.field select { cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.f-legal { font-size: 13.5px; color: var(--ink-45); line-height: 1.6; margin-top: 14px; }
.f-legal strong { color: var(--ink-65); }

.side-card {
  background: var(--bone-card);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.side-card h3 { font-size: 22px; margin-bottom: 24px; }
.ci { display: flex; align-items: center; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--ink-10); }
.ci:last-child { border-bottom: none; padding-bottom: 0; }
.ci-ic { width: 42px; height: 42px; background: var(--red-soft); border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-ic svg { width: 19px; height: 19px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ci-d { line-height: 1.4; }
.ci-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); display: block; }
.ci-val { font-size: 15px; font-weight: 600; transition: color var(--t); }
.ci-val:hover { color: var(--red); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer { background: var(--dark); color: var(--bone); padding: 76px 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.footer-brand-row { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.footer-brand-badge { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.footer-brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-name { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; }
.footer-brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 4px; }
.footer-brand p { font-size: 14.5px; color: rgba(244,239,230,0.6); line-height: 1.75; max-width: 300px; margin-bottom: 24px; }
.socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.social-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; fill: rgba(244,239,230,0.8); transition: fill var(--t); }
.social-btn:hover svg { fill: #fff; }

.footer-col h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 14.5px; color: rgba(244,239,230,0.6); transition: color var(--t); }
.footer-col ul a:hover { color: var(--bone); }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.fc { display: flex; align-items: center; gap: 12px; }
.fc svg { width: 16px; height: 16px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.fc a, .fc span { font-size: 14.5px; color: rgba(244,239,230,0.6); transition: color var(--t); }
.fc a:hover { color: var(--bone); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(244,239,230,0.45); }
.footer-bottom a { color: var(--gold); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 480px; }
  .hero-float.bottom { left: 10px; }
  .hero-float { right: 10px; }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid, .reviews-grid, .steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .reviews-wall { columns: 2; }
  .story-grid, .story-grid.flip { grid-template-columns: 1fr; gap: 40px; }
  .story-grid.flip .story-media { order: 0; }
  .svc-row-inner, .svc-row.flip .svc-row-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-row.flip .svc-aside { order: 0; }
  .svc-aside { position: static; }
  .book-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }
  .nav-links, .nav-phone, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .section-tight { padding: 60px 0; }
  .proofbar-inner { grid-template-columns: 1fr 1fr; }
  .proof:nth-child(2) { border-right: none; }
  .proof:nth-child(1), .proof:nth-child(2) { border-bottom: 1px solid var(--ink-10); }
  .svc-grid, .reviews-grid, .steps, .values-grid, .feature-list, .includes ul, .f-row { grid-template-columns: 1fr; }
  .reviews-wall { columns: 1; }
  .ba-wrap { grid-template-columns: 1fr; }
  .cta { padding: 60px 26px; }
  .cta .btn-ghost-light { margin-left: 0; margin-top: 12px; }
  .book-card { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-float { display: none; }
}
