/* ================================================================
   HOLY GHOST AGENCY — SHARED STYLESHEET
   Pulled out of index.html so future pages (web-design.html,
   social-media.html, hiring-campaigns.html, etc.) can share one
   design system. Import this + shared.js on every page.

   TOKENS: edit the :root block to retheme the whole site.
================================================================ */

:root {
  /* ---- Brand colors (client-specified) ---- */
  --color-teal:        #216778;
  --color-teal-dark:   #164b58;
  --color-teal-deep:   #0f363f;
  --color-mint:        #85dea8;
  --color-mint-soft:   #d8f4e2;
  --color-mint-glow:   rgba(133, 222, 168, 0.38);
  --color-teal-glow:   rgba(33, 103, 120, 0.22);
  --color-black:       #12181a;
  --color-white:       #ffffff;

  /* ---- Surfaces ----
     Light, airy base so the floating cards have room to cast a
     real shadow. A faint mint-tinted alt section keeps rhythm
     between full-white sections without ever going dark/moody. */
  --color-bg:          #ffffff;
  --color-bg-alt:       #f2faf6;
  --color-bg-deep:      #eaf6ef;
  --color-card:         #ffffff;
  --color-border:       rgba(18, 24, 26, 0.08);

  --font-display:      'Space Grotesk', sans-serif;
  --font-body:          'Inter', sans-serif;

  /* ---- Elevation — the "floating card" signature ---- */
  --shadow-card:        0 18px 40px -14px rgba(18, 24, 26, 0.16), 0 4px 10px rgba(18, 24, 26, 0.05);
  --shadow-hover:        0 30px 60px -16px rgba(18, 24, 26, 0.24), 0 10px 24px rgba(33, 103, 120, 0.14);
  --shadow-sm:          0 6px 18px rgba(18, 24, 26, 0.08);
  --shadow-glow:        0 0 44px var(--color-mint-glow);

  --radius-sm:          10px;
  --radius-md:          18px;
  --radius-lg:          28px;

  --transition:         0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --section-pad:        104px 24px;
  --section-pad-sm:     64px 20px;
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-black);
  overflow-x: hidden;
  line-height: 1.6;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

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

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--color-black);
}

.accent-bar {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-mint));
  border-radius: 4px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-glow);
}

/* ================================================================
   NAV BAR
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(18,24,26,0.05);
}

.navbar-brand { display: flex; align-items: center; text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;}
.navbar-brand img { height: 46px; width: auto; display: block; }

.navbar-brand .highlight {
  background: linear-gradient(90deg, var(--color-teal), var(--color-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.navbar-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18,24,26,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.navbar-links a:hover { color: var(--color-teal); }

.navbar-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-teal);
  border-radius: var(--radius-sm);
  color: var(--color-white) !important;
  font-size: 0.78rem !important;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}
.navbar-cta:hover { background: var(--color-teal-dark); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-black); border-radius: 2px; transition: var(--transition); }

/* ================================================================
   HERO
   No stock photo yet — the signature moment is a soft rising
   glow (echoing the flame/dove mark) behind a large wordmark,
   rather than a template photo-with-overlay hero.
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  background: var(--color-white);
}

.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, var(--color-mint-glow) 0%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow--secondary {
  top: auto; bottom: -25%; left: -15%; right: auto;
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 64px 40px; animation: heroFadeIn 1s 0.2s ease both; }

.hero-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--color-teal);
  margin-bottom: 20px; display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--color-teal), var(--color-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(18,24,26,0.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(18,24,26,0.35); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 36px; background: linear-gradient(to bottom, var(--color-mint), transparent); }

/* ================================================================
   BUTTONS
================================================================ */
.btn-primary {
  display: inline-block; padding: 15px 34px;
  background: var(--color-teal); color: var(--color-white);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-teal-dark); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; padding: 15px 34px;
  background: var(--color-white); color: var(--color-black);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none;
  border-radius: var(--radius-sm); border: 1.5px solid var(--color-border);
  cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--color-mint); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* ================================================================
   SERVICES — floating cards
================================================================ */
.services { background: var(--color-bg-alt); padding: var(--section-pad); }
.services-header { margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.service-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px;
  background: radial-gradient(circle, var(--color-mint-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(133,222,168,0.4); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.service-title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--color-black); margin-bottom: 12px; }
.service-desc { font-size: 0.92rem; color: rgba(18,24,26,0.6); line-height: 1.75; margin-bottom: 16px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 0.85rem; color: rgba(18,24,26,0.68);
  padding-left: 20px; position: relative;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--color-mint);
  transform: rotate(45deg);
}

/* ================================================================
   PORTFOLIO — Rolodex carousel (placeholder cards until real
   case-study images are supplied)
================================================================ */
.portfolio { background: var(--color-bg); padding: var(--section-pad); }
.portfolio-header { margin-bottom: 48px; }

.carousel-viewport { position: relative; width: 100%; overflow: hidden; padding: 48px 0 40px; }

.carousel-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }

.carousel-card {
  flex: 0 0 480px;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transform: scale(0.88);
  filter: saturate(0.7) brightness(0.94);
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s ease;
  display: flex;
  align-items: flex-end;
}
.carousel-card.is-center {
  transform: scale(1);
  filter: saturate(1) brightness(1);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(133,222,168,0.25);
  border-color: rgba(133,222,168,0.35);
  z-index: 2;
}

/* Placeholder art — a gradient block standing in for a real photo */
.carousel-placeholder-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.carousel-placeholder-art .mark {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem;
  color: rgba(255,255,255,0.9); letter-spacing: 0.02em;
}

.carousel-caption {
  position: relative; z-index: 1; width: 100%;
  padding: 26px 24px 20px;
  background: linear-gradient(to top, rgba(15,54,63,0.88) 0%, transparent 100%);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.carousel-card.is-center .carousel-caption { opacity: 1; transform: translateY(0); }
.carousel-caption-label { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-mint); margin-bottom: 4px; display: block; }
.carousel-caption-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--color-white); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-card); border: 1px solid var(--color-border);
  color: var(--color-black); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-white); transform: scale(1.08); box-shadow: var(--shadow-hover); }
.carousel-btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; }

.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(18,24,26,0.18); border: none; cursor: pointer; padding: 0; transition: background var(--transition), transform var(--transition); }
.carousel-dot.is-active { background: var(--color-teal); transform: scale(1.35); }

/* ================================================================
   SERVICES EXPLAINED — "know what's included" filterable grid
================================================================ */
.explained { background: var(--color-bg-deep); padding: var(--section-pad); }
.explained-header { margin-bottom: 20px; }

.explained-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-pill {
  padding: 8px 20px; border-radius: 999px; background: var(--color-white);
  border: 1px solid var(--color-border); color: rgba(18,24,26,0.55);
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.filter-pill:hover { border-color: var(--color-mint); color: var(--color-teal); }
.filter-pill.is-active { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-white); }

.explained-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.explained-card {
  background: var(--color-card); border-radius: var(--radius-md); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); padding: 30px 28px 26px; position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.explained-card::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--color-mint-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--transition);
}
.explained-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(133,222,168,0.35); }
.explained-card:hover::before { opacity: 1; }
.explained-card.hidden { display: none; }

.explained-category {
  display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-teal); background: var(--color-mint-soft);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.explained-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--color-black); margin-bottom: 10px; }
.explained-desc { font-size: 0.87rem; color: rgba(18,24,26,0.6); line-height: 1.75; margin-bottom: 16px; }

.explained-includes {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--color-bg-alt); border-left: 3px solid var(--color-mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px;
}
.explained-includes-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-teal); flex-shrink: 0; margin-top: 1px; }
.explained-includes-text { font-size: 0.82rem; color: rgba(18,24,26,0.68); line-height: 1.55; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials { background: var(--color-bg); padding: var(--section-pad); }
.testimonials-header { margin-bottom: 52px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.testimonial-card {
  background: var(--color-card); border-radius: var(--radius-md); padding: 36px 30px;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-card);
  position: relative; transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.testimonial-card::before {
  content: '"'; position: absolute; top: 12px; right: 24px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--color-mint); opacity: 0.35; pointer-events: none;
}

.stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { color: var(--color-mint); font-size: 0.9rem; }

.testimonial-text { font-size: 0.92rem; color: rgba(18,24,26,0.68); line-height: 1.8; margin-bottom: 24px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--color-white);
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.author-name { font-size: 0.88rem; font-weight: 600; color: var(--color-black); }
.author-location { font-size: 0.76rem; color: rgba(18,24,26,0.4); margin-top: 2px; }

/* ================================================================
   ABOUT
================================================================ */
.about { background: var(--color-bg-alt); padding: var(--section-pad); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.about-body { font-size: 0.95rem; color: rgba(18,24,26,0.68); line-height: 1.85; margin-bottom: 20px; }

.about-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--color-teal); line-height: 1; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(18,24,26,0.5); }

/* Mark panel — stands in for a photo: the brand mark floating on
   a soft gradient card, since no team/office photo exists yet. */
.about-media { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.about-mark-card {
  width: 100%; height: 100%; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-teal-deep) 0%, var(--color-teal) 55%, var(--color-mint) 130%);
  box-shadow: var(--shadow-hover);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-mark-card img { width: 58%; max-width: 260px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25)); }
.about-mark-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px; background: var(--color-white); color: var(--color-teal);
  border-radius: var(--radius-sm); padding: 10px 18px; font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-sm); z-index: 2;
}

/* ================================================================
   CONTACT — Formspree form
================================================================ */
.contact { background: var(--color-bg); padding: var(--section-pad); }
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

.contact-body { font-size: 0.92rem; color: rgba(18,24,26,0.62); line-height: 1.8; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; align-items: center; gap: 16px; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg-alt);
  border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.contact-detail-text a { color: var(--color-teal); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: opacity var(--transition); }
.contact-detail-text a:hover { opacity: 0.7; }
.contact-detail-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(18,24,26,0.4); margin-bottom: 2px; }

.contact-form-card {
  background: var(--color-card); border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 0.78rem; font-weight: 600; color: rgba(18,24,26,0.65); letter-spacing: 0.02em; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--color-black);
  font-family: var(--font-body); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-mint); box-shadow: 0 0 0 3px var(--color-mint-glow);
}

.form-submit {
  width: 100%; padding: 15px 24px; background: var(--color-teal); color: var(--color-white);
  border: none; border-radius: var(--radius-sm); font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.form-submit:hover { background: var(--color-teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
  margin-top: 14px; font-size: 0.84rem; border-radius: var(--radius-sm); padding: 10px 14px; display: none;
}
.form-status.is-success { display: block; color: #175a17; background: rgba(133,222,168,0.2); border: 1px solid rgba(133,222,168,0.4); }
.form-status.is-error { display: block; color: #8a2c2c; background: rgba(220,80,80,0.1); border: 1px solid rgba(220,80,80,0.25); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer { background: var(--color-teal-deep); padding: 48px 24px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.footer-brand .highlight {
  background: linear-gradient(90deg, var(--color-teal), var(--color-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-decoration: none; letter-spacing: 0.04em; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-mint); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: right; }

/* ================================================================
   SCROLL REVEAL
================================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes heroFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

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

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-media { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --section-pad: var(--section-pad-sm); }
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 24px; gap: 20px; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }
  .nav-toggle { display: flex; }
  .carousel-card { flex: 0 0 78vw; height: 280px; }
  .explained-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { flex-direction: column; align-items: center; gap: 14px; }
  .hero-content { padding: 48px 24px; }
  .contact-form-card { padding: 28px 22px; }
}
/* ================================================================
   DARK MODE — prefers-color-scheme: dark
   Client-picked base: #121212 (page background) and #1C221F
   (dark green surface for cards/alt sections). Teal + mint accents
   carry over unchanged since they already read well on dark.

   NOTE ON SHADOWS: a dark drop-shadow disappears against a dark
   page, so the "floating card" signature flips from
   shadow-on-light to a hairline light border + soft mint glow on
   hover — same idea (elevation), different mechanism for a dark
   surface.
================================================================ */
@media (prefers-color-scheme: dark) {

  :root {
    --color-bg:          #121212;
    --color-bg-alt:      #1c221f;
    --color-bg-deep:     #0c0f0d;
    --color-card:        #1c221f;
    --color-border:      rgba(255, 255, 255, 0.09);

    --color-mint-glow:   rgba(133, 222, 168, 0.28);
    --color-teal-glow:   rgba(133, 222, 168, 0.14);

    --shadow-card:   0 18px 40px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
    --shadow-hover:  0 26px 54px -16px rgba(0, 0, 0, 0.7), 0 0 32px rgba(133,222,168,0.16);
    --shadow-sm:     0 6px 18px rgba(0, 0, 0, 0.4);
  }

  body { background: var(--color-bg); color: #e7ece9; }

  .section-heading { color: #f5f8f6; }

  /* Nav */
  .navbar { background: rgba(18,18,18,0.86); border-bottom-color: var(--color-border); box-shadow: 0 2px 20px rgba(0,0,0,0.45); }
  .navbar-links a { color: rgba(255,255,255,0.65); }
  .navbar-links.open { background: rgba(18,18,18,0.98); border-bottom-color: var(--color-border); box-shadow: var(--shadow-card); }
  .nav-toggle span { background: #eef2f0; }

  /* Hero */
  .hero-title { color: #f5f8f6; }
  .hero-sub { color: rgba(255,255,255,0.62); }
  .hero-scroll { color: rgba(255,255,255,0.35); }

  .btn-ghost { background: var(--color-card); color: #f5f8f6; border-color: var(--color-border); }

  /* Services */
  .service-title { color: #f5f8f6; }
  .service-desc { color: rgba(255,255,255,0.6); }
  .service-list li { color: rgba(255,255,255,0.68); }

  /* Portfolio */
  .carousel-btn { background: var(--color-card); border-color: var(--color-border); color: #f5f8f6; }
  .carousel-dot { background: rgba(255,255,255,0.18); }

  /* Services Explained */
  .filter-pill { background: var(--color-card); border-color: var(--color-border); color: rgba(255,255,255,0.55); }
  .filter-pill.is-active { color: #ffffff; }
  .explained-category { background: rgba(133,222,168,0.15); }
  .explained-name { color: #f5f8f6; }
  .explained-desc { color: rgba(255,255,255,0.6); }
  .explained-includes { background: rgba(255,255,255,0.04); }
  .explained-includes-text { color: rgba(255,255,255,0.68); }

  /* Testimonials */
  .testimonial-text { color: rgba(255,255,255,0.68); }
  .author-name { color: #f5f8f6; }
  .author-location { color: rgba(255,255,255,0.4); }

  /* About */
  .about-body { color: rgba(255,255,255,0.65); }
  .stat-label { color: rgba(255,255,255,0.5); }
  .about-badge { background: var(--color-card); color: var(--color-mint); }

  /* Contact */
  .contact-body { color: rgba(255,255,255,0.6); }
  .contact-detail-icon { background: var(--color-bg-alt); border-color: var(--color-border); }
  .contact-detail-label { color: rgba(255,255,255,0.4); }
  .form-field label { color: rgba(255,255,255,0.65); }
  .form-field input,
  .form-field select,
  .form-field textarea { background: var(--color-bg); border-color: var(--color-border); color: #f5f8f6; }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }

  .form-status.is-success { color: #a9edc2; background: rgba(133,222,168,0.14); border-color: rgba(133,222,168,0.35); }
  .form-status.is-error { color: #ffb4b4; background: rgba(220,80,80,0.14); border-color: rgba(220,80,80,0.35); }

  /* Footer */
  .site-footer { background: var(--color-bg-deep); }
}