/* ── Martin Cabinet Inc. — Site Stylesheet ── */
/* Warm, refined, residential. Maroon + warm off-white + golden wood tones. */

/* ══════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════ */
:root {
  /* Brand */
  --maroon:        #5C1A28;
  --maroon-dark:   #3E0F1A;
  --maroon-light:  #7B2D3E;
  --maroon-pale:   #F5EBED;

  /* Golden wood accent */
  --gold:          #A07840;
  --gold-light:    #C49A58;
  --gold-pale:     #FBF6EE;

  /* Neutrals */
  --text:          #2C2420;
  --text-mid:      #6B5B52;
  --text-light:    #9A8B82;
  --cream:         #F8F5F0;
  --cream-dark:    #EDE9E2;
  --rule:          #DDD8D0;
  --white:         #FFFFFF;

  /* Typography */
  --serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing / layout */
  --max:     1140px;
  --nav-h:   72px;
  --radius:  6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(44,36,32,0.08);
  --shadow-md: 0 4px 16px rgba(44,36,32,0.10);
  --shadow-lg: 0 8px 32px rgba(44,36,32,0.12);
}

/* ══════════════════════════════════
   RESET
══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
button { font-family: inherit; }

/* ══════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* ══════════════════════════════════
   UTILITY
══════════════════════════════════ */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.bg-cream  { background: var(--cream); }
.bg-maroon-pale { background: var(--maroon-pale); }
.bg-gold-pale   { background: var(--gold-pale); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading { margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { max-width: 560px; font-size: 1.05rem; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin: 0 auto; }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-maroon {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-maroon:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); box-shadow: var(--shadow-md); }

.btn-outline-maroon {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline-maroon:hover { background: var(--maroon); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
}
.btn-white:hover { background: var(--cream); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 22px; font-size: 0.78rem; }
.btn-lg { padding: 18px 42px; font-size: 0.9rem; }

/* text links */
.link-maroon {
  color: var(--maroon);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.link-maroon:hover { color: var(--maroon-dark); gap: 10px; }

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex-shrink: 0;
}
.nav-logo strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--maroon);
  font-weight: normal;
  letter-spacing: 0.01em;
}
.nav-logo span {
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a { white-space: nowrap; word-spacing: -0.08em; }
.nav-links a:hover { color: var(--maroon); }
.nav-links a.active { color: var(--maroon); border-bottom-color: var(--maroon); }
.nav-cta-wrap { flex-shrink: 0; }
.nav-cta-btn {
  background: var(--maroon);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--maroon-dark); box-shadow: var(--shadow-sm); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 620px;
  height: calc(100vh - var(--nav-h));
  max-height: 800px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Home hero photo — 1600px for tablets/phones, 2560px for desktop */
.hero-bg--showroom { background-image: url('/static/images/showroom-1600.jpg'); background-position: center 55%; }
@media (min-width: 1025px) {
  .hero-bg--showroom { background-image: url('/static/images/showroom-2560.jpg'); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30,10,15,0.78) 0%,
    rgba(30,10,15,0.38) 45%,
    rgba(30,10,15,0.10) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 72px;
}
.hero-content .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.hero-content h1 {
  color: var(--white);
  max-width: 640px;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust bar below hero */
.trust-bar {
  background: var(--maroon);
  padding: 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; }
.trust-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.trust-text span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════
   INTRO SECTION
══════════════════════════════════ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro-img-wrap {
  position: relative;
}
.intro-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.intro-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.intro-img-badge strong { font-family: var(--serif); font-size: 1.6rem; font-weight: normal; line-height: 1; }
.intro-img-badge span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 3px; }
.intro-text h2 { margin-bottom: 18px; }
.intro-text p  { margin-bottom: 16px; }
.intro-text .btn { margin-top: 10px; }

/* ══════════════════════════════════
   SERVICE CARDS (home)
══════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.service-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.service-card-body {
  padding: 32px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 { margin-bottom: 12px; color: var(--maroon); }
.service-card-body p  { margin-bottom: 20px; flex: 1; font-size: 0.95rem; }

/* ══════════════════════════════════
   PROCESS
══════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  transition: background 0.2s;
}
.process-step:hover { background: var(--cream); }
.process-step:nth-child(3n) { border-right: none; }
.process-step:nth-child(4),
.process-step:nth-child(5),
.process-step:nth-child(6) { border-bottom: none; }
.step-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--maroon-pale);
  line-height: 1;
  margin-bottom: 12px;
  /* outlined effect */
  -webkit-text-stroke: 2px var(--maroon);
  color: transparent;
}
.process-step h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.process-step p { font-size: 0.88rem; }

/* ══════════════════════════════════
   GENERATIONS (history)
══════════════════════════════════ */
.generations-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gen-image-stack {
  position: relative;
  height: 460px;
}
.gen-img-back {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.gen-img-front {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 65%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.gen-text blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--maroon);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tcard {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.tcard-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.tcard-stars span { color: var(--gold); font-size: 1rem; }
.tcard blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.tcard cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-light);
}
.tcard cite strong { display: block; color: var(--text-mid); font-size: 0.88rem; }

/* ══════════════════════════════════
   CTA BAND
══════════════════════════════════ */
.cta-band {
  background: var(--maroon);
  padding: 72px 0;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p  { color: rgba(255,255,255,0.75); max-width: 560px; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: var(--text);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 280px; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--white); }
.footer-address { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-address a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-address a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  position: relative;
  background: var(--maroon);
  padding: 64px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/images/kitchen-white.jpg') center/cover;
  opacity: 0.08;
}
/* Page hero with a visible photo — add <div class="page-hero-bg" style="background-image:url(...)"> */
.page-hero.has-photo { padding: 96px 0 84px; }
.page-hero.has-photo::before { display: none; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.page-hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46,12,20,0.88) 0%, rgba(46,12,20,0.66) 50%, rgba(46,12,20,0.32) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }

/* ══════════════════════════════════
   CABINETS PAGE
══════════════════════════════════ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.app-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--rule);
  transition: box-shadow 0.2s, transform 0.2s;
}
.app-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.app-card img { width: 100%; height: 200px; object-fit: cover; }
.app-card-body { padding: 20px; }
.app-card-body h4 { margin-bottom: 6px; font-size: 1rem; }
.app-card-body p { font-size: 0.84rem; }

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.option-item {
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
}
.option-item h4 { font-size: 0.95rem; font-family: var(--sans); font-weight: 700; color: var(--maroon); margin-bottom: 6px; }
.option-item p  { font-size: 0.86rem; }

.showroom-banner {
  background: var(--gold-pale);
  border: 1px solid rgba(160,120,64,0.25);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.showroom-banner h3 { margin-bottom: 8px; color: var(--maroon); }
.showroom-banner p  { font-size: 0.95rem; max-width: 480px; }

/* ══════════════════════════════════
   COUNTERTOPS PAGE
══════════════════════════════════ */
.material-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.material-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.material-card-img { width: 100%; height: 220px; object-fit: cover; }
.material-card-body { padding: 28px; background: var(--white); }
.material-card-body h3 { color: var(--maroon); margin-bottom: 10px; font-size: 1.3rem; }
.material-card-body p { font-size: 0.92rem; margin-bottom: 14px; }
.material-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.material-tag {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-mid);
}

/* ══════════════════════════════════
   GALLERY PAGE — Instagram feed
══════════════════════════════════ */
/* ── Instagram feed (gallery page) ── */
.ig-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.ig-profile-id { display: flex; align-items: center; gap: 16px; }
.ig-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold);
  flex-shrink: 0;
}
.ig-profile-id strong { display: block; font-size: 1rem; color: var(--text); font-weight: 600; }
.ig-profile-id span { font-size: 0.85rem; color: var(--text-light); }
.ig-follow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ig-grid.is-loading .ig-tile { background: var(--cream-dark); animation: igPulse 1.4s ease-in-out infinite; }
@keyframes igPulse { 50% { opacity: 0.55; } }
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
  display: block;
  width: 100%;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.05); }
.ig-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ig-tile-hover {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(30,10,15,0.82), rgba(30,10,15,0) 60%);
  opacity: 0;
  transition: opacity 0.3s;
  text-align: left;
}
.ig-tile-hover span { color: var(--white); font-size: 0.85rem; line-height: 1.45; }
.ig-tile:hover .ig-tile-hover, .ig-tile:focus-visible .ig-tile-hover { opacity: 1; }
.ig-badge {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.ig-badge svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.ig-badge polygon { fill: var(--white); stroke: none; }

.ig-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.ig-more[hidden] { display: none; }

/* Instagram lightbox */
.ig-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,8,12,0.95);
  align-items: center; justify-content: center;
  padding: 24px 72px;
}
.ig-lightbox.open { display: flex; }
.ig-lb-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  max-width: 1100px;
  width: 100%;
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ig-lb-media { background: #000; display: flex; align-items: center; justify-content: center; min-height: 0; }
.ig-lb-media img, .ig-lb-media video { max-width: 100%; max-height: 88vh; object-fit: contain; display: block; }
.ig-lb-side { padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.ig-lb-side .ig-profile-id strong { font-size: 0.92rem; }
.ig-lb-side .ig-avatar { width: 40px; height: 40px; font-size: 1.1rem; }
.ig-lb-caption { font-size: 0.92rem; white-space: pre-line; color: var(--text-mid); flex: 1; }
.ig-lb-date { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.ig-lb-close, .ig-lb-prev, .ig-lb-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 0;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.ig-lb-close:hover, .ig-lb-prev:hover, .ig-lb-next:hover { background: rgba(255,255,255,0.22); }
.ig-lb-close { top: 18px; right: 18px; }
.ig-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.ig-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .ig-lightbox { padding: 64px 12px 12px; }
  .ig-lb-panel { grid-template-columns: 1fr; max-height: 84vh; overflow-y: auto; }
  .ig-lb-media img, .ig-lb-media video { max-height: 56vh; }
  .ig-lb-prev, .ig-lb-next { top: auto; bottom: 18px; transform: none; z-index: 1; }
}
@media (max-width: 640px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ig-tile-hover { display: none; }
}

/* ══════════════════════════════════
   ABOUT PAGE
══════════════════════════════════ */
.timeline {
  border-left: 2px solid var(--rule);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--maroon);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--maroon);
}
.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.timeline-item p  { font-size: 0.9rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  padding: 28px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.value-card-icon {
  width: 44px; height: 44px;
  background: var(--maroon-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-card-icon svg { width: 22px; height: 22px; stroke: var(--maroon); fill: none; stroke-width: 1.8; }
.value-card h4 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.88rem; }

/* ══════════════════════════════════
   FAQ PAGE
══════════════════════════════════ */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-nav h5 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 12px;
}
.faq-nav ul { display: flex; flex-direction: column; gap: 4px; }
.faq-nav a {
  font-size: 0.85rem; color: var(--text-mid); padding: 6px 10px;
  border-radius: 4px; display: block; transition: all 0.2s;
}
.faq-nav a:hover { color: var(--maroon); background: var(--maroon-pale); }
.faq-category { margin-bottom: 48px; }
.faq-category h3 {
  font-family: var(--sans); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--rule);
}
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer; width: 100%; background: none; border: none;
  text-align: left; font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  color: var(--text); gap: 16px;
}
.faq-q:hover { color: var(--maroon); }
.faq-q svg { flex-shrink: 0; transition: transform 0.25s; stroke: var(--maroon); fill: none; }
.faq-item.open .faq-q { color: var(--maroon); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 20px; font-size: 0.93rem; }

/* ══════════════════════════════════
   CONTACT PAGE
══════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.contact-info-block { margin-bottom: 28px; }
.contact-info-block h4 {
  font-family: var(--sans); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px;
}
.contact-info-block p, .contact-info-block a { font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; }
.contact-info-block a:hover { color: var(--maroon); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form-card > p { margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.95rem;
  color: var(--text); background: var(--white);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123,45,62,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check-group {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.form-check-group label {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 500; text-transform: none;
  letter-spacing: 0; cursor: pointer; color: var(--text-mid);
}
.form-check-group input[type="checkbox"],
.form-check-group input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--maroon);
  flex-shrink: 0;
}
.form-success {
  display: none; background: #EDF7F0;
  border: 1px solid #A5D6B5; border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.9rem; color: #2D6A4F;
  margin-top: 16px;
}
.form-error {
  display: none; background: #FBEDEE;
  border: 1px solid #E3A8B0; border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.9rem; color: var(--maroon);
  margin-top: 16px;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #B3404F; }
.field-error { display: block; margin-top: 6px; font-size: 0.78rem; color: #B3404F; }
.form-submit { width: 100%; justify-content: center; }
.form-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 12px; text-align: center; }

/* Map placeholder */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-top: 24px;
  height: 320px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
/* Tighten the desktop nav so every link stays on one line */
@media (max-width: 1200px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-cta-btn { padding: 10px 16px; }
}
/* Switch to the hamburger menu before the nav gets crowded */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 20px 32px 28px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-inner .nav-cta-wrap { margin-left: auto; }
}

@media (max-width: 1024px) {
  :root { --max: 960px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-child(3) { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .process-step:nth-child(5),
  .process-step:nth-child(6) { border-bottom: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .intro-split,
  .generations-split { grid-template-columns: 1fr; gap: 40px; }
  .intro-img { height: 320px; }
  .intro-img-badge { right: 0; bottom: -12px; }
  .gen-image-stack { height: 340px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }
  .trust-item:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.15); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .material-cards { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .showroom-banner { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .wrap { padding: 0 20px; }
  .hero { min-height: 520px; max-height: none; height: auto; padding-top: 48px; align-items: flex-end; }
  .hero-content { padding-bottom: 56px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 20px 24px 28px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; font-size: 1rem; }
  .nav-cta-wrap { display: none; }
  .nav-toggle { display: flex; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr; border: none; gap: 12px; }
  .process-step { border: 1px solid var(--rule); border-radius: var(--radius); border-right: 1px solid var(--rule) !important; border-bottom: 1px solid var(--rule) !important; }
  .applications-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gen-image-stack { height: 280px; }
  .showroom-banner { padding: 28px 24px; }
}

/* ══════════════════════════════════
   COMPONENT ADDITIONS (production build)
   Replaces the inline styles used in the design references.
══════════════════════════════════ */
.eyebrow--maroon { color: var(--maroon); }

/* Showroom banner actions (Cabinets / Countertops) */
.showroom-banner-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* About — sticky timeline image */
.intro-img-wrap--sticky { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.timeline { list-style: none; }

/* About — dash list */
.dash-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.dash-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.65; }
.dash-list .dash { color: var(--maroon); font-weight: 700; flex-shrink: 0; }
.dash-list strong { color: var(--text); }

/* About — location card */
.location-card { margin-top: 20px; padding: 20px 24px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--rule); }
.location-card-address { font-size: 0.88rem; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.location-card-phone { color: var(--maroon); font-weight: 700; font-size: 0.95rem; }
.locations-split { align-items: start; }

/* FAQ — "didn't answer" aside */
.faq-more { margin-top: 40px; padding: 32px; background: var(--maroon-pale); border-radius: var(--radius-lg); border: 1px solid rgba(123,45,62,0.15); }
.faq-more h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--maroon); }
.faq-more a:not(.btn) { color: var(--maroon); font-weight: 600; }

/* Contact — quick contact bar */
.quick-contact { background: var(--cream); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.quick-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.quick-contact-cell { padding: 24px 28px; border-right: 1px solid var(--rule); }
.quick-contact-cell:last-child { border-right: none; }
.quick-contact-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px; }
.quick-contact-phone { font-family: var(--serif); font-size: 1.4rem; color: var(--text); display: block; margin-bottom: 2px; }
.quick-contact-strong { font-size: 0.95rem; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* Contact — fieldset reset so it matches .form-group label */
fieldset.form-group { border: 0; padding: 0; min-width: 0; }
fieldset.form-group legend {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); margin-bottom: 7px; padding: 0;
}
/* Honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

@media (max-width: 860px) {
  .quick-contact-grid { grid-template-columns: 1fr; }
  .quick-contact-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .quick-contact-cell:last-child { border-bottom: none; }
  .intro-img-wrap--sticky { position: static; }
  .intro-img-wrap--sticky .intro-img { height: 320px !important; }
}

/* ══════════════════════════════════
   MOTION
   Restrained, residential. Everything here is disabled
   under prefers-reduced-motion.
══════════════════════════════════ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.8s;
}

/* Home hero — slow drift on the photo, staggered entrance for the copy */
@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0.6%); }
  to   { transform: scale(1)    translateY(0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-bg--showroom {
  animation: heroDrift 9s var(--ease-out) both;
  will-change: transform;
}
.hero-content h1,
.hero-content p,
.hero-actions {
  animation: riseIn 0.9s var(--ease-out) both;
}
.hero-content h1 { animation-delay: 0.15s; }
.hero-content p  { animation-delay: 0.32s; }
.hero-actions    { animation-delay: 0.48s; }

/* Inner-page hero copy */
.page-hero .wrap > * { animation: riseIn 0.8s var(--ease-out) both; }
.page-hero .breadcrumb { animation-delay: 0.05s; }
.page-hero .eyebrow    { animation-delay: 0.15s; }
.page-hero h1          { animation-delay: 0.25s; }
.page-hero p           { animation-delay: 0.38s; }
.page-hero-bg { animation: heroDrift 9s var(--ease-out) both; }

/* Scroll reveal — JS adds .reveal on load and .is-visible when in view.
   Without JS nothing is hidden. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
/* Tighter stagger for dense grids */
.process-step.reveal,
.option-item.reveal,
.value-card.reveal,
.app-card.reveal,
.trust-item.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* Image stack on Home — pieces slide in from opposite sides */
.gen-img-back.reveal  { transform: translate(-18px, 12px); }
.gen-img-front.reveal { transform: translate(18px, 12px); transition-delay: 0.18s; }
.gen-img-back.reveal.is-visible,
.gen-img-front.reveal.is-visible { transform: none; }

/* Intro badge pops after its image */
.intro-img-badge.reveal { transform: scale(0.6); transition-delay: 0.35s; }
.intro-img-badge.reveal.is-visible { transform: scale(1); }

/* Timeline dots draw in with their item */
.timeline-item::before { transform: scale(0); transition: transform 0.45s var(--ease-out) 0.25s; }
.timeline-item.is-visible::before { transform: scale(1); }

/* Nav — shadow deepens once the page has scrolled */
.site-nav { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.site-nav.scrolled { box-shadow: 0 4px 18px rgba(44,36,32,0.10); }

/* Nav links — underline grows from the left */
.nav-links a { position: relative; border-bottom-color: transparent !important; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
@media (max-width: 1024px) {
  .nav-links a::after { display: none; }
  .nav-links a.active { border-bottom-color: var(--maroon) !important; }
}

/* Mobile menu slides down */
@keyframes menuDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links.open { animation: menuDown 0.25s var(--ease-out) both; }
.nav-links.open li { animation: riseIn 0.4s var(--ease-out) both; }
.nav-links.open li:nth-child(1) { animation-delay: 0.03s; }
.nav-links.open li:nth-child(2) { animation-delay: 0.06s; }
.nav-links.open li:nth-child(3) { animation-delay: 0.09s; }
.nav-links.open li:nth-child(4) { animation-delay: 0.12s; }
.nav-links.open li:nth-child(5) { animation-delay: 0.15s; }
.nav-links.open li:nth-child(6) { animation-delay: 0.18s; }
.nav-links.open li:nth-child(7) { animation-delay: 0.21s; }

/* Cards — gentle lift + image zoom on hover */
.service-card,
.material-card,
.tcard,
.value-card,
.option-item {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card:hover,
.material-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard:hover,
.value-card:hover,
.option-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-card-img,
.material-card-img,
.app-card img { transition: transform 0.7s var(--ease-out); }
.service-card:hover .service-card-img,
.material-card:hover .material-card-img,
.app-card:hover img { transform: scale(1.04); }
.service-card, .material-card, .app-card { overflow: hidden; }
.service-card-img, .material-card-img, .app-card img { display: block; }

/* Intro images — barely-there zoom on hover */
.intro-img-wrap { overflow: visible; }
.intro-img { transition: transform 0.7s var(--ease-out), box-shadow 0.5s ease; }
.intro-img-wrap:hover .intro-img { transform: scale(1.015); }

/* Process numerals fill on hover */
.step-number { transition: color 0.35s ease, transform 0.35s var(--ease-out); }
.process-step:hover .step-number { color: var(--maroon-pale); transform: translateX(3px); }

/* Trust icons */
.trust-icon { transition: background 0.3s ease, transform 0.3s var(--ease-out); }
.trust-item:hover .trust-icon { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Buttons — slightly softer motion + press */
.btn { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 0.08s; }

/* FAQ — answers fade as they expand; plus icon eases */
.faq-a { transition: max-height 0.45s var(--ease-out), opacity 0.35s ease; opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }
.faq-q svg { transition: transform 0.35s var(--ease-out); }
.faq-q { transition: color 0.2s ease; }

/* Instagram tiles cascade in when rendered */
@keyframes tileIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.ig-grid:not(.is-loading) .ig-tile {
  animation: tileIn 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

/* Lightbox panel glides in */
@keyframes lbIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ig-lightbox.open { animation: fadeIn 0.25s ease both; }
.ig-lightbox.open .ig-lb-panel { animation: lbIn 0.4s var(--ease-out) both; }

/* Form fields — focus ring eases in */
.form-group input, .form-group select, .form-group textarea { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.form-success, .form-error { animation: riseIn 0.4s var(--ease-out) both; }

/* ── Reduced motion: switch everything off ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .timeline-item::before { transform: scale(1); }
  .faq-a { opacity: 1; }
}
