/* ==========================================================================
   WEBRISE GLOBAL — DESIGN TOKENS
   Theme: "Dallas Blueprint" — architectural confidence for a DFW agency
   Palette: Black & White only
   ========================================================================== */
:root{
  /* color */
  --navy-deep:   #0A0A0A;
  --navy-mid:    #1F1F1F;
  --paper:       #FFFFFF;
  --paper-dim:   #F2F2F2;
  --brick:       #111111;
  --brick-dark:  #000000;
  --steel:       #5C5C5C;
  --steel-light: #BFBFBF;
  --ink:         #0A0A0A;
  --check-green: #1A1A1A;
  --line:        rgba(0,0,0,0.14);
  --line-light:  rgba(255,255,255,0.2);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1240px;
  --maxw-narrow: 820px;
  --radius: 10px;
  --radius-sm: 6px;

  /* motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family: var(--font-display); color: var(--navy-deep); font-weight: 600; line-height:1.15; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input,textarea,select{ font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 3px solid var(--brick);
  outline-offset: 2px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--navy-deep); color:#fff; padding:10px 16px; z-index:200;
}
.skip-link:focus{ left:10px; top:10px; }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }
.wrap-narrow{ max-width: var(--maxw-narrow); }

.section{ padding: 96px 0; }
.section-tint{ background: var(--paper-dim); }
.section-dark{ background: var(--navy-deep); color: var(--paper); }
.section-dark h2{ color: var(--paper); }

.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 10px; }
.section-sub{ margin-top: 14px; color: var(--steel); font-size: 1.05rem; }
.section-head-light .section-sub{ color: var(--steel-light); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 500;
}
.eyebrow-dot{
  width:7px; height:7px; border-radius:50%; background: var(--brick); display:inline-block;
}
.eyebrow-light{ color: #D9D9D9; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--brick); color:#fff; }
.btn-primary:hover{ background: var(--brick-dark); }
.btn-outline{ background: transparent; border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline:hover{ background: var(--navy-deep); color: #fff; }
.btn-ghost{ background: transparent; color: var(--navy-deep); padding: 14px 8px; }
.btn-ghost:hover{ color: var(--brick); }
.btn-dark{ background: var(--navy-deep); color:#fff; }
.btn-dark:hover{ background: #1a1a1a; }
.btn-small{ padding: 10px 18px; font-size: 0.88rem; }
.btn-wide{ width:100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.brand{ display:flex; align-items:center; gap:10px; color: var(--navy-deep); }
.brand-mark{ color: var(--brick); display:flex; }
.brand-text{ font-family: var(--font-display); font-weight:600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-accent{ color: var(--brick); }

.primary-nav{ display:flex; gap: 28px; }
.primary-nav a{
  font-size: 0.92rem; font-weight: 500; color: var(--navy-mid);
  position: relative; padding: 4px 0;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--brick);
  transition: right .25s var(--ease);
}
.primary-nav a:hover::after{ right:0; }

.header-cta{ display:flex; align-items:center; gap: 16px; }
.header-phone{ display:flex; align-items:center; gap:6px; font-size:0.9rem; font-weight:600; color: var(--navy-deep); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none; padding:0;
}
.nav-toggle span{ width:100%; height:2px; background: var(--navy-deep); display:block; }

.mobile-nav{
  display:none; flex-direction:column; gap:4px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
}
/* Scoped to plain text nav links only — NOT to .btn children — so the
   "Get Free Consultation" button below can't have its color/border
   overridden by this rule. This was the root cause of the invisible-text
   bug: `.mobile-nav a` (0,1,1 specificity) was beating `.btn-primary`
   (0,1,0), repainting white button text as near-black. */
.mobile-nav > a:not(.btn){ padding:10px 0; font-weight:500; color: var(--navy-mid); border-bottom: 1px solid var(--line); }

/* The mobile menu CTA button: full-width, generous touch target, and every
   property explicitly re-asserted with !important so no ancestor or
   descendant-combinator rule can ever wash out the text again. */
.mobile-nav-cta{
  display:flex !important; align-items:center; justify-content:center;
  width:100%; margin-top:14px; padding:16px 20px !important;
  background: var(--brick) !important; color:#fff !important;
  border:1.5px solid var(--brick) !important; border-bottom:1.5px solid var(--brick) !important;
  border-radius: var(--radius-sm); font-weight:700; font-size:1rem;
  text-align:center; white-space:normal; line-height:1.25;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.mobile-nav-cta:hover{ background: var(--brick-dark) !important; color:#fff !important; }
.mobile-nav-call{
  display:flex !important; align-items:center; justify-content:center; gap:8px;
  width:100%; margin-top:10px; padding:14px 20px !important;
  background:#fff !important; color: var(--navy-deep) !important;
  border:1.5px solid var(--navy-deep) !important; border-radius: var(--radius-sm);
  font-weight:700; font-size:0.96rem;
}
.mobile-nav-call:hover{ background: var(--navy-deep) !important; color:#fff !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  padding: 64px 0 88px;
  overflow:hidden;
  background: var(--paper);
}
.hero-grid-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
}
.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items:center;
}
.hero-inner > *{ min-width: 0; }
.hero-copy h1{
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 16px;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.hero-sub{
  margin-top: 20px; max-width: 540px; font-size: 1.08rem; color: var(--steel);
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 32px; }

/* Variant: used when the doc specifies an H1 distinct from the punchy marketing
   headline (e.g. service pages: H1 = "Website Development Company in Dallas,
   Texas" for SEO, Hero Heading = a different conversion-focused line). The H1
   stays real and visible — small and label-like — and the headline below it
   carries the large display treatment .hero-copy h1 normally has. */
.hero-h1-kicker{
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  color: var(--steel); margin-top: 14px; margin-bottom: 0;
}
.hero-headline{
  font-family: var(--font-display); font-weight: 600; color: var(--navy-deep);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 6px;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.hero-stats{
  display:flex; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-stats dt{ font-family: var(--font-mono); font-size: 0.72rem; text-transform:uppercase; letter-spacing:0.05em; color: var(--steel); margin-bottom:6px; }
.hero-stats dd{ margin:0; font-family: var(--font-display); font-size: 2rem; font-weight:600; color: var(--navy-deep); }

.hero-visual{ position:relative; color: var(--navy-deep); }
.dfw-map{ width:100%; height:auto; }
.map-node circle{ fill: var(--paper); stroke: var(--navy-deep); stroke-width:1.6; }
.map-node text{ font-family: var(--font-mono); font-size: 11px; fill: var(--navy-mid); text-anchor:middle; }
.map-hub circle{ fill: var(--brick); stroke: var(--brick); }
.map-hub text{ font-weight:600; fill: var(--navy-deep); font-size:13px; }
.map-caption{
  text-align:center; margin-top: 10px; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--steel); letter-spacing: 0.03em;
}

/* Single-column hero variant (no visual, e.g. About Us) */
.hero-inner-single{ grid-template-columns: 1fr; }
.hero-inner-single .hero-copy{ max-width: 760px; }
.hero-page{ padding-bottom: 56px; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb-row{
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumb-list{
  display:flex; align-items:center; gap:8px;
  padding: 14px 0;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel);
}
.breadcrumb-list li:not(:last-child)::after{
  content: "/"; margin-left:8px; color: var(--steel-light);
}
.breadcrumb-list a{ color: var(--steel); }
.breadcrumb-list a:hover{ color: var(--brick); }
.breadcrumb-list li[aria-current="page"]{ color: var(--navy-deep); font-weight:600; }

/* ==========================================================================
   CONTACT HERO + EMBEDDED FORM (Contact Us page)
   ========================================================================== */
.contact-hero{ padding-bottom: 88px; }
.contact-hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items:start;
}
.contact-hero-grid > *{ min-width: 0; }
.contact-hero-grid .hero-copy{ max-width: 520px; padding-top: 8px; }

.quick-contact-row{ display:flex; flex-wrap:wrap; gap: 12px; margin-top: 36px; }
.quick-contact-btn{
  display:flex; align-items:center; gap:8px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-size: 0.9rem; font-weight:600; color: var(--navy-deep);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.quick-contact-btn:hover{ border-color: var(--brick); background: var(--paper-dim); }

.contact-form-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.contact-form-card h2{ font-size: 1.4rem; margin-bottom: 22px; }

/* ==========================================================================
   CONTACT INFO CARDS
   ========================================================================== */
.contact-info-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-info-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.contact-info-icon{
  width:44px; height:44px; border-radius: var(--radius-sm);
  background: var(--paper-dim); color: var(--brick);
  display:flex; align-items:center; justify-content:center; margin-bottom: 16px;
}
.contact-info-card h3{
  font-family: var(--font-mono); font-size: 0.74rem; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--steel); margin-bottom: 8px; font-weight:600;
}
.contact-info-card p{ font-size: 1.02rem; color: var(--ink); line-height:1.6; }
.contact-info-link{ color: var(--ink); border-bottom: 1px solid transparent; }
.contact-info-link:hover{ color: var(--brick); border-color: var(--brick); }
.contact-info-pending{
  font-family: var(--font-mono); font-size: 0.92rem; color: var(--steel);
  border: 1px dashed var(--steel-light); border-radius: var(--radius-sm); padding: 4px 8px; display:inline-block;
}
.contact-info-pending:hover{ color: var(--steel); border-color: var(--steel-light); }

/* ==========================================================================
   FINAL CTA — dual button variant
   ========================================================================== */
.final-cta-ctas{ justify-content:center; margin-top: 32px; }
.btn-outline-light{ border-color: rgba(255,255,255,0.5); color:#fff; }
.btn-outline-light:hover{ background:#fff; color: var(--navy-deep); }

/* ==========================================================================
   EXIT-INTENT POPUP
   ========================================================================== */
.exit-popup-overlay{
  position: fixed; inset:0; z-index: 300;
  background: rgba(0,0,0,0.55);
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
}
.exit-popup-overlay[hidden]{ display:none; }
.exit-popup{
  position:relative; background:#fff; max-width: 460px; width:100%;
  border-radius: var(--radius); padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.exit-popup h2{ font-size: 1.5rem; margin-top: 10px; margin-bottom: 10px; }
.exit-popup-sub{ color: var(--steel); font-size: 0.96rem; margin-bottom: 24px; }
.exit-popup-close{
  position:absolute; top: 14px; right: 14px;
  width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  background:none; font-size: 1.3rem; line-height:1; color: var(--steel);
  display:flex; align-items:center; justify-content:center;
}
.exit-popup-close:hover{ background: var(--paper-dim); color: var(--navy-deep); }
.exit-popup-form .field{ margin-bottom: 14px; }
.exit-popup-divider{
  display:flex; align-items:center; gap:12px; margin: 18px 0;
  color: var(--steel); font-size: 0.78rem; font-family: var(--font-mono); text-transform:uppercase; letter-spacing:0.06em;
}
.exit-popup-divider::before, .exit-popup-divider::after{ content:""; flex:1; height:1px; background: var(--line); }
.exit-popup-call{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:14px 20px; border-radius: var(--radius-sm);
  border:1.5px solid var(--navy-deep); color: var(--navy-deep); font-weight:700; font-size:0.95rem;
}
.exit-popup-call:hover{ background: var(--navy-deep); color:#fff; }

/* ==========================================================================
   PROSE (plain content blocks: Who We Are, Commitment, etc.)
   ========================================================================== */
.prose{ display:flex; flex-direction:column; gap: 18px; }
.prose p{ font-size: 1.08rem; color: var(--steel); line-height:1.75; }
.prose p:first-child{ font-size: 1.18rem; color: var(--ink); }

/* Plain bulleted benefit list — used when a section needs simple emphasis
   without the full card/checkmark treatment of .why-grid (e.g. location
   pages summarizing "why this matters" in a lighter touch). */
.plain-benefit-list{
  display:grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
  margin: 28px 0; padding:0; list-style:none;
}
.plain-benefit-list li{
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
  padding-left: 22px; position:relative; line-height:1.5;
}
.plain-benefit-list li::before{
  content:""; position:absolute; left:0; top:10px; width:8px; height:8px; border-radius:50%; background: var(--brick);
}

/* ==========================================================================
   MISSION / VISION CARDS
   ========================================================================== */
.mv-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 36px;
}
.mv-icon{
  width:52px; height:52px; border-radius: var(--radius-sm);
  background: var(--paper-dim); color: var(--brick);
  display:flex; align-items:center; justify-content:center; margin-bottom: 22px;
}
.mv-card h2{ font-size: 1.5rem; margin-bottom: 14px; }
.mv-card p{ color: var(--steel); font-size: 1rem; line-height:1.7; margin-bottom: 12px; }
.mv-card p:last-child{ margin-bottom:0; }

/* Three-column variant (e.g. Local SEO pillars) */
.mv-grid-three{ grid-template-columns: repeat(3, 1fr); }
.mv-list{
  display:flex; flex-direction:column; gap:10px; margin-top: 18px; padding:0; list-style:none;
}
.mv-list li{
  font-size: 0.92rem; color: var(--ink); padding-left: 18px; position:relative; line-height:1.5;
}
.mv-list li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background: var(--brick);
}

/* ==========================================================================
   LEAD MAGNET (e.g. Free SEO Audit offer)
   ========================================================================== */
.lead-magnet{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items:start;
}
.lead-magnet-copy h2{ color:#fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 10px; }
.lead-magnet-copy .section-sub{ margin-bottom: 22px; }
.lead-magnet-list{ display:flex; flex-direction:column; gap: 14px; padding:0; list-style:none; }
.lead-magnet-list li{ display:flex; align-items:center; gap:14px; font-weight:500; color:#fff; font-size: 1.02rem; }
.lead-magnet-card{
  background:#fff; border-radius: var(--radius); padding: 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.35);
}
.service-icon{
  width:52px; height:52px; border-radius: var(--radius-sm);
  background: var(--paper-dim); color: var(--brick);
  display:flex; align-items:center; justify-content:center; margin-bottom: 20px;
}
.service-card h3{ font-size: 1.2rem; margin-bottom: 10px; }
.service-card p{ color: var(--steel); font-size: 0.96rem; }
.card-link{
  display:inline-block; margin-top: 16px; font-size: 0.88rem; font-weight:600; color: var(--navy-deep);
  border-bottom: 1px solid transparent;
}
.card-link:hover{ color: var(--brick); border-color: var(--brick); }

/* ==========================================================================
   CTA STRIPS
   ========================================================================== */
.cta-strip{ background: var(--navy-deep); color:#fff; padding: 36px 0; }
.cta-strip-accent{ background: var(--brick); }
.cta-strip-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap:wrap;
}
.cta-strip-inner p{ font-family: var(--font-display); font-size: 1.25rem; }
.cta-strip-accent .btn-dark{ background:#fff; color: var(--brick); }
.cta-strip-accent .btn-dark:hover{ background: var(--navy-deep); color:#fff; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px;
}
.why-grid li{
  display:flex; align-items:center; gap:14px;
  padding: 18px 0; border-bottom: 1px solid var(--line-light);
  font-weight:500; font-size: 1.02rem;
}
.why-check{
  width:28px; height:28px; flex:none; border-radius:50%;
  background: rgba(255,255,255,0.14); color: #fff;
  display:flex; align-items:center; justify-content:center; font-size:0.9rem; font-weight:700;
}

/* Variant: why-grid placed on a LIGHT background (e.g. .section-tint) —
   the default styles assume a dark section, so border and badge need
   inverting here or they become invisible against white/cream. */
.why-grid-light li{ border-bottom: 1px solid var(--line); }
.why-check-dark{
  background: var(--paper-dim); color: var(--navy-deep);
}

/* Variant: two-column layout for shorter lists (e.g. 7 items) where the
   default 4-column grid would leave an awkward orphaned cell. */
.why-grid-two-col{ grid-template-columns: repeat(2, 1fr); }

/* ==========================================================================
   PROBLEM LIST (pain points, e.g. service page "problem" section)
   ========================================================================== */
.problem-list{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px;
  margin-top: 28px;
}
.problem-list li{
  display:flex; align-items:center; gap:14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-weight:500; font-size: 1.02rem; color: var(--ink);
}
.problem-mark{
  width:26px; height:26px; flex:none; border-radius:50%;
  background: var(--paper-dim); color: var(--brick);
  display:flex; align-items:center; justify-content:center; font-size:0.8rem; font-weight:700;
}
.problem-footnote{
  margin-top: 28px; color: var(--steel); font-size: 1.02rem; font-style: italic;
}

/* Prose variant for dark sections */
.prose-light p{ color: var(--steel-light); }
.prose-light p:first-child{ color: #fff; }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries-grid{
  display:flex; flex-wrap:wrap; gap: 14px;
}
.industry-chip{
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background:#fff;
  font-size: 0.94rem; font-weight:500; color: var(--navy-mid);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.industry-chip:hover{ border-color: var(--brick); color: var(--brick); background: rgba(0,0,0,0.05); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-list{ display:flex; flex-direction:column; }
.process-list li{
  display:grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.process-list li:last-child{ border-bottom:none; }
.process-num{
  font-family: var(--font-display); font-size: 2.1rem; font-weight:600; color: var(--brick); opacity:0.85;
}
.process-list h3{ font-size: 1.2rem; margin-bottom: 6px; }
.process-list p{ color: var(--steel); max-width: 520px; }

/* ==========================================================================
   PORTFOLIO (Swiper)
   ========================================================================== */
.portfolio-swiper{ padding-bottom: 50px; overflow: visible; }
.portfolio-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden; height:100%;
}
.portfolio-media{
  height: 170px; background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.portfolio-media span{
  color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing:0.04em; text-transform:uppercase;
}
.portfolio-body{ padding: 24px; }
.portfolio-cat{
  font-family: var(--font-mono); font-size: 0.72rem; text-transform:uppercase; letter-spacing:0.05em; color: var(--brick); margin-bottom:8px;
}
.portfolio-body h3{ font-size: 1.1rem; margin-bottom: 8px; }
.portfolio-body p{ color: var(--steel); font-size: 0.93rem; }

.swiper-nav{ display:flex; gap:10px; justify-content:flex-end; margin-top: -28px; }
.swiper-prev,.swiper-next{
  width:42px; height:42px; border-radius:50%; border: 1px solid var(--line);
  background:#fff; display:flex; align-items:center; justify-content:center; font-size: 1.1rem; color: var(--navy-deep);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.swiper-prev:hover,.swiper-next:hover{ background: var(--navy-deep); color:#fff; }
.portfolio-swiper .swiper-pagination,
.testimonial-swiper .swiper-pagination{ bottom: 0; }
.swiper-pagination-bullet{ background: var(--steel); opacity:0.4; }
.swiper-pagination-bullet-active{ background: var(--brick); opacity:1; }

/* ==========================================================================
   CASE STUDIES (Portfolio page — full project breakdowns)
   ========================================================================== */
.case-study-list{ display:flex; flex-direction:column; gap: 28px; }
.case-study{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; display:grid; grid-template-columns: 320px 1fr;
}
.case-media{
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  display:flex; align-items:center; justify-content:center; padding: 32px;
  min-height: 220px;
}
.case-media span{
  color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing:0.03em; text-transform:uppercase; text-align:center; line-height:1.6;
}
.case-body{ padding: 36px; }
.case-meta{ margin-bottom: 10px; }
.case-tag{
  font-family: var(--font-mono); font-size: 0.72rem; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--brick); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}
.case-body h3{ font-size: 1.4rem; margin-bottom: 16px; }
.case-services{
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 24px;
}
.case-services li{
  font-size: 0.84rem; font-weight:500; color: var(--navy-mid);
  background: var(--paper-dim); padding: 6px 14px; border-radius: 999px;
}
.case-details{ display:grid; gap: 18px; }
.case-details dt{
  font-family: var(--font-mono); font-size: 0.72rem; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--steel); margin-bottom: 4px;
}
.case-details dd{ margin:0; color: var(--ink); font-size: 0.98rem; line-height:1.6; }

/* ==========================================================================
   PROJECT STATISTICS GRID
   ========================================================================== */
.stats-pending-note{
  font-style: italic;
}
.stats-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light); margin:0;
}
.stat-card{
  background: var(--navy-deep); padding: 32px 28px; text-align:center;
}
.stat-card dt{
  font-family: var(--font-mono); font-size: 0.74rem; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--steel-light); margin-bottom: 12px;
}
.stat-card dd{ margin:0; font-family: var(--font-display); font-size: 2rem; font-weight:600; color:#fff; }
.stat-pending{
  font-family: var(--font-mono); font-size: 1rem; font-weight:500; color: var(--steel-light);
  border: 1px dashed var(--steel-light); border-radius: var(--radius-sm); padding: 6px 10px; display:inline-block;
}

/* ==========================================================================
   SERVICE AREAS
   ========================================================================== */
.areas-grid{ display:flex; flex-wrap:wrap; gap: 14px; }
.area-pill{
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-light); font-weight:500;
  font-family: var(--font-mono); font-size: 0.88rem; letter-spacing: 0.02em;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.area-pill:hover{ background: rgba(255,255,255,0.18); border-color: #fff; }
.area-pill-wide{ background: #fff; border-color: #fff; color: var(--navy-deep); }
.area-pill-wide:hover{ background: var(--steel-light); border-color: var(--steel-light); }

/* Variant: area-pill on a LIGHT background (e.g. service pages put Service
   Areas on white instead of the homepage's dark band) */
.area-pill-dark{ border-color: var(--line); color: var(--navy-mid); }
.area-pill-dark:hover{ background: var(--paper-dim); border-color: var(--brick); color: var(--brick); }
.area-pill-dark-wide{ background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.area-pill-dark-wide:hover{ background: var(--brick); border-color: var(--brick); color:#fff; }

/* ==========================================================================
   TESTIMONIALS (Swiper)
   ========================================================================== */
.testimonial-swiper{ padding-bottom: 50px; }
.testimonial-card{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; height:100%; margin:0;
}
.testimonial-card p{
  font-family: var(--font-display); font-size: 1.18rem; color: var(--navy-deep); line-height:1.5;
}
.testimonial-card footer{ margin-top: 22px; display:flex; flex-direction:column; gap:2px; }
.testimonial-card footer strong{ font-size:0.92rem; }
.testimonial-card footer span{ font-size:0.85rem; color: var(--steel); font-family: var(--font-mono); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ display:flex; flex-direction:column; gap: 12px; }
.faq-item{
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden;
}
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:none; padding: 22px 26px; text-align:left;
  font-family: var(--font-display); font-size: 1.08rem; color: var(--navy-deep); font-weight:600;
}
.faq-icon{
  flex:none; width:22px; height:22px; position:relative;
}
.faq-icon::before,.faq-icon::after{
  content:""; position:absolute; background: var(--brick); transition: transform .25s var(--ease);
}
.faq-icon::before{ width:14px; height:2px; top:10px; left:4px; }
.faq-icon::after{ width:2px; height:14px; top:4px; left:10px; }
.faq-q[aria-expanded="true"] .faq-icon::after{ transform: rotate(90deg); opacity:0; }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .35s var(--ease);
}
.faq-a p{ padding: 0 26px 22px; color: var(--steel); max-width: 680px; }

/* ==========================================================================
   FINAL CTA + FORM
   ========================================================================== */
.final-cta{
  background: var(--navy-deep); color: var(--paper); padding: 100px 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.12), transparent 45%);
}
.final-cta-inner{ text-align:center; max-width: 720px; margin:0 auto; }
.final-cta h2{ color:#fff; font-size: clamp(2rem,4vw,2.7rem); }
.final-cta > .wrap > p{ margin-top: 16px; color: var(--steel-light); font-size: 1.08rem; }

.lead-form{
  margin-top: 44px; background: var(--paper); border-radius: var(--radius);
  padding: 36px; text-align:left; color: var(--ink);
}
/* Embedded variant: card already provides its own padding/background, so the
   form itself must not double up — this must stay AFTER .lead-form so the
   override actually wins (equal specificity = source order decides). */
.lead-form-embedded{ margin-top:0; background:none; padding:0; }

.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row > .field{ min-width: 0; }
.field{ margin-bottom: 18px; display:flex; flex-direction:column; gap:6px; }
.field label{ font-size: 0.85rem; font-weight:600; color: var(--navy-mid); }
.field input, .field select, .field textarea{
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background:#fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--brick); outline:none;
}
.form-note{ margin-top: 14px; font-size: 0.9rem; color: var(--check-green); font-weight:600; min-height: 1.2em; }

.final-cta-secondary{
  margin-top: 22px; color: var(--steel-light); font-size: 0.95rem;
}
.link-underline{
  color:#fff; font-weight:600; text-decoration: underline; text-decoration-color: var(--steel-light);
  text-underline-offset: 3px;
}
.link-underline:hover{ text-decoration-color: #fff; }

/* ==========================================================================
   CALL FAB (floating action button — bottom right)
   ========================================================================== */
.call-fab{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height:58px; border-radius:50%;
  background: var(--brick); color:#fff;
  border: 1.5px solid #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  transition: transform .25s var(--ease);
}
.call-fab:hover{ transform: scale(1.08); }
.call-fab svg{ width:24px; height:24px; }
/* Ring pulse — subtle, single-layer, not distracting */
.call-fab::before{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border: 1.5px solid var(--brick); opacity:0.5;
  animation: call-fab-pulse 2.6s ease-out infinite;
}
@media (prefers-reduced-motion: reduce){ .call-fab::before{ animation:none; } }
@keyframes call-fab-pulse{
  0%{ transform: scale(0.92); opacity:0.5; }
  70%{ transform: scale(1.35); opacity:0; }
  100%{ transform: scale(1.35); opacity:0; }
}
/* Lift the FAB above the mobile bottom bar so they never overlap */
@media (max-width: 640px){
  .call-fab{ right:16px; bottom: calc(var(--mobile-bar-h) + 16px); width:52px; height:52px; }
  .call-fab svg{ width:22px; height:22px; }
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR
   ========================================================================== */
:root{ --mobile-bar-h: 64px; }
.mobile-bottom-bar{
  display:none;
  position: fixed; left:0; right:0; bottom:0; z-index: 95;
  height: var(--mobile-bar-h);
  background:#fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bottom-bar-inner{
  display:flex; height: var(--mobile-bar-h); align-items:stretch;
}
.mobile-bar-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; font-size:0.92rem;
}
.mobile-bar-call{ background:#fff; color: var(--navy-deep); }
.mobile-bar-cta{ background: var(--brick); color:#fff; }
.mobile-bar-btn svg{ width:18px; height:18px; flex-shrink:0; }

@media (max-width: 640px){
  .mobile-bottom-bar{ display:block; }
  /* Reserve space at the bottom of the page so the fixed bar never covers
     content or the footer's last line. */
  body{ padding-bottom: var(--mobile-bar-h); }
}

/* ==========================================================================
   URGENCY BANNER
   ========================================================================== */
.urgency-banner{
  background: var(--paper-dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.urgency-banner-inner{
  display:flex; align-items:center; justify-content:center; gap:10px;
  text-align:center; font-size: 0.92rem; color: var(--navy-mid); font-weight:500;
}
.urgency-dot{
  width:8px; height:8px; border-radius:50%; background: var(--brick); flex-shrink:0;
  animation: urgency-dot-pulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){ .urgency-dot{ animation:none; } }
@keyframes urgency-dot-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }

/* ==========================================================================
   LEAD-GEN SECTION ("Ready to Grow Your Business?")
   ========================================================================== */
.leadgen-section{
  background: var(--navy-deep); color:#fff; padding: 88px 0; position:relative; overflow:hidden;
}
.leadgen-section::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(circle at 12% 20%, rgba(255,255,255,0.07), transparent 45%),
                     radial-gradient(circle at 88% 80%, rgba(255,255,255,0.06), transparent 45%);
}
.leadgen-inner{ position:relative; z-index:1; max-width: 720px; margin:0 auto; text-align:center; }
.leadgen-inner h2{ color:#fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.leadgen-inner p{ margin-top: 18px; color: var(--steel-light); font-size: 1.1rem; line-height:1.7; }
.leadgen-ctas{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top: 36px; }
.leadgen-ctas .btn{ min-width: 230px; }

/* ==========================================================================
   CONSULTATION BANNER (service pages, placed just before FAQ)
   ========================================================================== */
.consultation-banner{
  background: var(--paper-dim); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 36px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.consultation-banner-text h3{ font-size: 1.3rem; margin-bottom:6px; }
.consultation-banner-text p{ color: var(--steel); font-size: 0.98rem; margin:0; }
.consultation-banner-ctas{ display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }
@media (max-width: 640px){
  .consultation-banner{ flex-direction:column; align-items:stretch; text-align:center; padding: 28px 24px; }
  .consultation-banner-ctas{ flex-direction:column; justify-content:center; width:100%; }
  .consultation-banner-ctas .btn{ width:100%; }
}

/* ==========================================================================
   POST-FAQ CALL STRIP (service pages, directly after FAQ, before final CTA)
   ========================================================================== */
.post-faq-call{
  text-align:center; padding: 8px 0 0;
}
.post-faq-call p{ color: var(--steel); font-size: 0.96rem; margin-bottom: 16px; }


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: var(--steel-light); padding: 64px 0 0; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-light);
}
.brand-footer{ color:#fff; }
.footer-brand p{ margin-top: 16px; font-size: 0.92rem; max-width: 280px; color: var(--steel-light); }
.footer-col h3{
  color:#fff; font-family: var(--font-mono); font-size: 0.78rem; text-transform:uppercase;
  letter-spacing: 0.06em; margin-bottom: 18px; font-weight:500;
}
.footer-col{ display:flex; flex-direction:column; gap: 11px; }
.footer-col a{ font-size: 0.92rem; transition: color .2s var(--ease); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ padding: 24px 0; font-size: 0.82rem; text-align:center; color: var(--steel); }

/* ==========================================================================
   BLOG ARTICLE
   ========================================================================== */
.article-hero{
  padding: 56px 0 16px; background: var(--paper);
}
.article-hero h1{
  font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 14px; letter-spacing: -0.01em;
}
.article-meta{
  margin-top: 18px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--steel);
}

.article-intro p:first-child{ font-size: 1.22rem; }

.article-section{ margin-top: 64px; }
.article-section:first-of-type{ margin-top: 40px; }
.article-section h2{ font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin-bottom: 22px; }
.article-section > .prose{ margin-bottom: 24px; }
.article-section > .prose:last-child{ margin-top: 24px; margin-bottom:0; }

/* Dark callout variant for "warning" / "why us" sections inside an article */
.article-section-dark{
  background: var(--navy-deep); color: var(--paper);
  padding: 48px; border-radius: var(--radius); margin-left: -48px; margin-right: -48px;
}
.article-section-dark h2{ color:#fff; }

.article-chip-grid{ margin: 0; }

/* Definition list — "Types of Business Websites" style sections */
.article-deflist{ display:flex; flex-direction:column; gap: 18px; margin: 0; }
.article-deflist > div{
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.article-deflist > div:last-child{ border-bottom:none; }
.article-deflist dt{ font-family: var(--font-display); font-weight:600; font-size: 1.08rem; color: var(--navy-deep); margin-bottom: 4px; }
.article-deflist dd{ margin:0; color: var(--steel); font-size: 0.98rem; }

/* Numbered list — "Factors That Affect Cost" style sections */
.article-numbered-list{ display:flex; flex-direction:column; gap: 22px; margin:0; padding:0; counter-reset: article-counter; }
.article-numbered-list li{
  list-style:none; padding-left: 46px; position:relative;
  counter-increment: article-counter;
}
.article-numbered-list li::before{
  content: counter(article-counter); position:absolute; left:0; top:-2px;
  width:32px; height:32px; border-radius:50%; background: var(--paper-dim); color: var(--brick);
  font-family: var(--font-mono); font-weight:600; font-size: 0.92rem;
  display:flex; align-items:center; justify-content:center;
}
.article-numbered-list h3{ font-size: 1.1rem; margin-bottom: 6px; }
.article-numbered-list p{ color: var(--steel); margin:0; font-size: 0.98rem; }

/* Plain list — simple bullet items (questions, design-vs-dev sublists) */
.article-plain-list{ display:flex; flex-direction:column; gap: 10px; margin:0; padding:0; list-style:none; }
.article-plain-list li{
  padding-left: 18px; position:relative; color: var(--ink); font-size: 1rem; line-height:1.5;
}
.article-plain-list li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background: var(--brick);
}
.article-question-list{ margin: 4px 0 24px; }
.article-question-list li{ font-weight:500; }

/* Compare grid — "Design vs Development" two-card layout */
.article-compare-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.article-compare-card{
  background: var(--paper-dim); border-radius: var(--radius); padding: 26px 28px;
}
.article-compare-card h3{ font-size: 1.02rem; margin-bottom: 14px; color: var(--navy-deep); }

.article-checklist{ margin: 24px 0; }

/* Problem-list reuses light-background colors by default; override for the
   dark article callout variant so the labels and marks stay legible. */
.article-section-dark .problem-list li{
  color: #fff; border-bottom-color: var(--line-light);
}
.article-section-dark .problem-mark{
  background: rgba(255,255,255,0.14); color:#fff;
}

.article-final-cta .final-cta-inner{ text-align:center; }
.article-final-cta p{ margin-top: 16px; }
.article-final-cta .btn{ margin-top: 30px; }

/* ==========================================================================
   SCROLL REVEAL (GSAP hook target) — default state before JS runs
   ========================================================================== */
[data-reveal]{ opacity: 1; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 420px; margin: 0 auto; }
  .mv-grid{ grid-template-columns: 1fr; }
  .mv-grid-three{ grid-template-columns: 1fr; }
  .lead-magnet{ grid-template-columns: 1fr; gap: 40px; }
  .case-study{ grid-template-columns: 1fr; }
  .case-media{ min-height: 160px; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .contact-hero-grid .hero-copy{ max-width: 100%; }
  .contact-info-grid{ grid-template-columns: repeat(2, 1fr); }
  .problem-list{ grid-template-columns: 1fr; }
  .article-compare-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .primary-nav{ display:none; }
  .header-phone span{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav{ display: none; }
  .mobile-nav.is-open{ display:flex; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .hero-stats{ flex-wrap: wrap; gap: 24px; }
  .cta-strip-inner{ flex-direction:column; align-items:flex-start; text-align:left; }
  .lead-form{ padding: 24px; }
  /* Keep the header CTA visible at every width per the "always visible"
     requirement — just compact it so brand + CTA + hamburger all fit
     without wrapping down to 320px. The icon-only phone link is dropped
     here since calling is already covered by the bottom bar and FAB on
     these widths — keeping it too was squeezing the hamburger to 0 width. */
  .header-cta{ gap:8px; }
  .header-cta .header-phone{ display:none; }
  .header-cta .btn-small{ display:inline-flex; padding: 9px 14px; font-size: 0.82rem; white-space:nowrap; }
  .mv-card{ padding: 30px 24px; }
  .case-body{ padding: 24px; }
  .stats-grid{ grid-template-columns: 1fr; }
  .contact-form-card{ padding: 24px; }
  .lead-form-embedded .form-row{ grid-template-columns: 1fr; }
  .contact-info-grid{ grid-template-columns: 1fr; }
  .exit-popup{ padding: 28px; }
  .final-cta-ctas{ flex-direction:column; width:100%; }
  .plain-benefit-list{ grid-template-columns: 1fr; }
  .final-cta-ctas .btn{ width:100%; }
  .article-section-dark{ margin-left: -24px; margin-right: -24px; padding: 32px 24px; }
}

@media (max-width: 400px){
  .why-grid{ grid-template-columns: 1fr; }
  /* At the narrowest phones (320–390px), compact everything in the header
     row a touch further: smaller logo, tighter wrap padding, smaller CTA.
     Verified this keeps the hamburger icon at a full 38x38px tap target at
     320px — it must never be squeezed by flex space starvation. */
  .header-inner{ gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand-logo{ height: 32px; max-width: 130px; }
  .header-cta{ gap:6px; }
  .header-cta .btn-small{ padding: 8px 11px; font-size: 0.74rem; }
  .nav-toggle{ flex-shrink:0; }
}


/* ============================================================
   LOGO IMAGE REPLACEMENTS
   ============================================================ */
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.brand-logo-footer {
  height: 38px;
  filter: brightness(0) invert(1);  /* ensure white on dark footer */
}
/* Keep header logo black (image is already black) */
.site-header .brand-logo {
  filter: none;
}
/* When header is scrolled (if ever over a dark section) keep legible */
.site-header.scrolled .brand-logo {
  filter: none;
}

/* ============================================================
   FOOTER EMAIL LINK
   ============================================================ */
.footer-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-light, #999);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover { color: #fff; }

/* ============================================================
   CARD LINK (portfolio cards / case studies)
   ============================================================ */
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brick, #111);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.card-link:hover { opacity: 0.65; }
