/* =============================================
   BAHA CONNECT : Main Stylesheet
   Design: Dark premium charcoal with champagne gold accents
   Fonts: Sora (headings) + Inter (body)
   Sections:
     1. Tokens and base
     2. Utilities and layout
     3. Buttons
     4. Navigation
     5. Hero (home)
     6. Meet section (headshot)
     7. Cards and grids (value / services / why)
     8. Process
     9. Portfolio timeline and joke section
    10. Page hero and inner pages (services / about / contact / legal)
    11. FAQ
    12. CTA band and footer
    13. Floating buttons
    14. Animations and responsive
============================================= */

/* ---- 1. TOKENS AND BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #121212;
  --bg-2: #181818;
  --bg-3: #1e1e1e;             /* brand charcoal */
  --surface: #222221;
  --surface-2: #2b2b29;
  --border: rgba(235, 220, 195, 0.10);
  --border-strong: rgba(235, 220, 195, 0.22);

  --accent: #d4b37a;          /* champagne gold */
  --accent-2: #bf9c63;        /* deeper gold (hover) */
  --accent-soft: rgba(212, 179, 122, 0.12);
  --accent-line: rgba(212, 179, 122, 0.32);

  --text: #f7eed7;          /* cream */
  --text-2: #c0b69f;
  --text-3: #968a74;
  --white: #ffffff;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 56px rgba(0, 0, 0, 0.55);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* shared card surface and type scale */
  --card-bg: linear-gradient(165deg, var(--surface) 0%, var(--bg-3) 100%);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent-line);
  --fs-h2: clamp(30px, 3.7vw, 44px);
  --fs-h3: 19px;
  --fs-card: 15px;
  --section-y: clamp(68px, 8vw, 104px);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Visible focus states for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- 2. UTILITIES AND LAYOUT ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }
.section-header { text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
.section-header > p { margin: 18px auto 0; max-width: 640px; font-size: 17px; color: var(--text-2); line-height: 1.7; }
h2 em, h1 em { font-style: normal; color: var(--accent); }

/* ---- 3. BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e3c896 0%, var(--accent) 55%, #c4a068 100%);
  color: #1a1610;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ecd3a4 0%, #dcbc84 55%, #c9a56e 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(216, 189, 146, 0.22);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Gold-outlined secondary button (hero) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 238, 215, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid rgba(212, 179, 122, 0.5);
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Large size for hero and final CTA */
.btn-lg { font-size: 16px; padding: 16px 32px; }
.btn-primary.btn-lg span { transition: transform var(--transition); }
.btn-primary.btn-lg:hover span { transform: translateX(4px); }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ---- 4. NAVIGATION ----
   Reference layout: logo + stacked wordmark on the left, links centred,
   gold "Get Started" pill on the right, all on a frosted, translucent bar.
   Horizontal padding lines the logo up with the hero headline. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 max(28px, calc((100vw - 1360px) / 2 + 40px));
  background: rgba(22, 22, 22, 0.46);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(212, 179, 122, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { background: rgba(18, 18, 18, 0.78); border-bottom-color: rgba(212, 179, 122, 0.16); }

.nav-logo { display: flex; align-items: center; gap: 12px; justify-self: start; }
.nav-logo-img { height: 46px; width: auto; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35)); }
.logo-text { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; color: var(--text); }
.logo-text strong {
  font-family: var(--font-display); font-size: 23px; font-weight: 700;
  letter-spacing: 0.1em; margin-right: -0.1em; text-transform: uppercase;
}
.logo-text em {
  display: flex; align-items: center; gap: 6px; font-style: normal;
  font-family: var(--font-display); font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; color: var(--text-2);
}
.logo-text em::before, .logo-text em::after { content: ''; width: 9px; height: 1.5px; border-radius: 2px; background: var(--text-2); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; justify-self: center; }
.nav-links a {
  position: relative;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  opacity: 0.86;
  padding: 10px 17px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 17px; right: 17px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 28px;
  border-radius: 100px;
  background: linear-gradient(180deg, #e1c28c, #d4b37a 55%, #c9a66d);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.45), 0 4px 16px rgba(0, 0, 0, 0.28);
  color: #1e1a12;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: var(--transition);
}
.nav-cta:hover { background: linear-gradient(180deg, #ebd09c, #ddbd86 55%, #d1ad74); transform: translateY(-1px); }

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

/* ---- 5. HERO (home) ----
   Left: headline, copy, buttons.  Right: a very large globe that rises from the
   lower-right corner and is cropped by the viewport edges, with the logo over it.
   --R is the globe radius; the globe image is 2.5R wide (sphere = 80% of the image). */
.hero {
  --R: min(42vw, 78vh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(100svh, 660px);
  display: flex;
  align-items: flex-start;
  background: #131313;
}
.hero::after {            /* fade into the next section */
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 16%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg-2));
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.6) 0%, rgba(14, 14, 14, 0) 55%),
    radial-gradient(120% 120% at 45% 45%, transparent 55%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(62% 95% at 84% 78%, rgba(212, 179, 122, 0.2), transparent 68%),
    radial-gradient(38% 52% at 0% 0%, rgba(60, 54, 44, 0.45), transparent 70%),
    linear-gradient(180deg, #1e1e1e 0%, #151515 55%, #111 100%);
}
.hero-globe { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-globe-stage {
  position: absolute;
  width: calc(var(--R) * 2.5);
  aspect-ratio: 1;
  left: calc(87% - var(--R) * 1.25);
  top: calc(89% - var(--R) * 1.25);
  animation: globeIn 1.4s ease both;
}
.hero-globe-img { display: block; width: 100%; height: 100%; }
.hero-globe-logo {          /* sits on the Nassau hub where the arcs meet */
  position: absolute;
  left: 42.4%; top: 31.6%;
  width: 15.4%; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(212, 179, 122, 0.25));
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 128px 40px 72px;
}
.hero-content { position: relative; max-width: 620px; animation: fadeUp 0.8s ease both; }
.hero-content::before {       /* soft atmospheric backing behind the copy */
  content: '';
  position: absolute; z-index: -1; inset: -20px -64px -36px -40px;
  border-radius: 32px;
  background: linear-gradient(100deg, rgba(20, 20, 20, 0.58) 0%, rgba(20, 20, 20, 0.34) 62%, rgba(20, 20, 20, 0) 100%);
  border: 1px solid rgba(212, 179, 122, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 20% 48%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 20% 48%, #000 38%, transparent 100%);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); line-height: 1.5; margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, min(5.4vw, 9.4vh), 86px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 26px;
}
.ht-line { display: block; }
.hero-accent {
  background: linear-gradient(100deg, #ecd3a4, var(--accent) 50%, #bf9c63);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.hero-sub { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes globeIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* Stacked layout: copy first, globe rising underneath */
@media (max-width: 899px) {
  .hero { --R: min(80vw, 520px); --h: min(96vw, 620px); flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::after { display: none; }
  .hero-bg {
    background:
      radial-gradient(90% 55% at 66% 92%, rgba(212, 179, 122, 0.2), transparent 70%),
      radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(0, 0, 0, 0.45) 100%),
      linear-gradient(180deg, #1e1e1e 0%, #141414 70%, #111 100%);
  }
  .hero-inner { order: 1; padding: 112px 28px 12px; }
  .hero-content { max-width: 560px; }
  .hero-globe { order: 2; position: relative; inset: auto; z-index: 0; height: var(--h); width: 100%; overflow: hidden; }
  .hero-globe::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, transparent, var(--bg-2)); }
  .hero-globe-stage { left: calc(66% - var(--R) * 1.25); top: calc(var(--h) * 0.1 - var(--R) * 0.25); }
}
@media (max-width: 640px) {
  .hero-inner { padding: 104px 22px 8px; }
  .hero-content::before { inset: -22px -14px -24px -14px; mask-image: none; -webkit-mask-image: none; background: rgba(20, 20, 20, 0.32); border-color: rgba(212, 179, 122, 0.07); }
  .hero-eyebrow { display: block; font-size: 11px; letter-spacing: 0.14em; margin-bottom: 18px; }
  .hero-eyebrow::before { display: inline-block; vertical-align: middle; width: 22px; margin-right: 10px; }
  .hero-title { font-size: clamp(36px, 11vw, 60px); margin-bottom: 20px; }
  .hero-sub { font-size: 16.5px; margin-bottom: 26px; }
  .hero-actions .btn-lg { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 900px) and (max-width: 1139px) {
  .hero-sub { max-width: 440px; }
}
@media (max-width: 899px) and (min-width: 641px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
  .nav-links a::after { left: 10px; right: 10px; }
  .logo-text strong { font-size: 20px; }
  .nav-cta { height: 38px; padding: 0 20px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-globe-stage, .hero-content { animation: none; }
}


/* ---- 6. MEET SECTION (HEADSHOT) ---- */
.meet { background: var(--bg-2); }
.meet-inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.meet-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: var(--surface);
}
.meet-photo img { width: 100%; height: 100%; object-fit: cover; }
.meet-text .section-tag { margin-bottom: 16px; }
.meet-text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.meet-text p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.meet-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---- 7. CARDS AND GRIDS ---- */
/* Value / "What you can get done" cards */
.value-props { background: var(--bg); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  border-top: 2px solid var(--accent-line);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-hover); }
.value-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); margin-bottom: 10px; }
.value-card p { font-size: var(--fs-card); color: var(--text-2); line-height: 1.65; }

/* Services preview cards */
.services-preview { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-hover); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: var(--fs-card); color: var(--text-2); line-height: 1.6; flex: 1; }
.service-link { font-size: 13px; color: var(--accent); margin-top: 16px; font-weight: 600; }

/* Why us */
.why { background: var(--bg); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.why-text p { font-size: 16.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.why-list { list-style: none; margin-bottom: 8px; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.why-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }

.why-visual { display: flex; flex-direction: column; gap: 20px; }
.why-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.why-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); margin-bottom: 10px; }
.why-card p { font-size: var(--fs-card); color: var(--text-2); line-height: 1.7; }
.why-badge-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.why-badge {
  font-size: 13px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ---- 8. PROCESS ---- */
.process { background: var(--bg-2); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.process-step:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow); }
.process-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #1a1610;
  background: var(--accent);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: var(--fs-card); color: var(--text-2); line-height: 1.6; }

/* ---- 9. PORTFOLIO (WORK GRID) AND JOKE SECTION ---- */
.port-dots { display: flex; gap: 5px; flex-shrink: 0; }
.port-dots span { width: 9px; height: 9px; border-radius: 50%; }
.port-dots span:nth-child(1) { background: #ff5f57; }
.port-dots span:nth-child(2) { background: #febc2e; }
.port-dots span:nth-child(3) { background: #28c840; }
.port-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}

.port-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.port-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.port-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.2; }
.port-tag {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}
.port-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.port-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
  transition: var(--transition);
}
.port-cta:hover { color: var(--text); }

/* Joke section */
.joke-section { background: var(--bg-2); }
.joke-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}
.joke-card h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); margin-bottom: 12px; }
.joke-card > p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.joke-panel {
  margin-top: 24px;
  background: var(--bg-3);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}
.joke-panel[hidden] { display: none; }
.joke-panel strong { display: block; font-family: var(--font-display); color: var(--accent); font-size: 15px; margin-bottom: 8px; }
.joke-panel p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---- 10. PAGE HERO AND INNER PAGES ---- */
.page-hero {
  padding: 150px 0 72px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: var(--text-2); max-width: 580px; margin: 0 auto; line-height: 1.6; }

/* Services full */
.services-full { background: var(--bg); }
.service-block { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.service-block h2 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: var(--text); }
.service-block-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 720px; margin-bottom: 28px; }

/* Service chips: centered, clean, no checkmarks or icons */
.service-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: var(--transition);
}
.service-item:hover { border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-2px); }
.service-item strong { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }

/* About */
.about-main { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.about-photo-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-credentials { display: flex; flex-direction: column; gap: 12px; }
.credential {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.credential strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.credential span { font-size: 12px; color: var(--text-3); }
.about-text-col h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--text); margin-bottom: 20px; letter-spacing: -0.01em; }
.about-text-col p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.about-text-col .btn-primary { margin-top: 8px; }

.skills-section { background: var(--bg-2); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  border-top: 2px solid var(--accent-line);
}
.skill-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.skill-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.skill-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Contact */
.contact-section { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: var(--transition);
}
.contact-method:hover { border-color: var(--accent-line); transform: translateX(4px); }
.contact-method.no-link:hover { transform: none; }
.contact-method strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-method span { font-size: 13px; color: var(--text-3); }
.policy-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.policy-note strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.policy-note ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.policy-note li { font-size: 14px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.55; }
.policy-note li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Legal */
.legal-section { background: var(--bg); }
.legal-container { max-width: 760px; }
.legal-content h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 12px 20px; }
.legal-content li { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); }

/* ---- 11. FAQ ---- */
.faq-section { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover, .faq-item.open { border-color: var(--accent-line); }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px; font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  min-height: 60px;
  cursor: pointer;
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-line); border-radius: 50%;
  font-size: 20px; font-weight: 300; line-height: 1; padding-bottom: 2px;
  color: var(--accent);
  transition: var(--transition);
}
.faq-a {
  font-size: 15.5px; color: var(--text-2); line-height: 1.7;
  padding: 0 24px; max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, visibility 0s 0.35s;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; visibility: visible; transition: max-height 0.35s ease, padding 0.35s ease, visibility 0s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #1a1610; }

/* ---- 12. CTA BAND AND FOOTER ---- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 9vw, 112px) 0;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(255, 244, 214, 0.5), transparent 60%),
    linear-gradient(135deg, #e6cf9f 0%, #d4b37a 52%, #bd985d 100%);
  box-shadow: inset 0 -1px 0 rgba(26, 22, 16, 0.18);
}
.cta-band::before {           /* fine dot texture, fades toward the centre */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(26, 22, 16, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, transparent 30%, #000 100%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, transparent 30%, #000 100%);
  opacity: 0.55;
}
.cta-band::after {            /* concentric rings echoing the globe */
  content: ''; position: absolute; z-index: -1; right: -200px; bottom: -360px;
  width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(26, 22, 16, 0.16);
  box-shadow: 0 0 0 46px rgba(26, 22, 16, 0.035), 0 0 0 92px rgba(26, 22, 16, 0.025);
}
.cta-inner { max-width: 880px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; color: #1c1a15; margin-bottom: 16px; text-wrap: balance; }
.cta-band p { font-size: 18px; line-height: 1.6; color: #2c261a; max-width: 540px; margin: 0 auto 38px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary,
.cta-band .btn-ghost-dark { min-width: 270px; justify-content: center; font-size: 16px; padding: 17px 34px; }
.cta-band .btn-primary { background: #1c1a15; color: #f7eed7; box-shadow: 0 14px 34px rgba(28, 26, 21, 0.32); }
.cta-band .btn-primary:hover { background: #000; color: #fff; }
.cta-band .btn-ghost-dark { background: transparent; color: #1c1a15; border-color: rgba(28, 26, 21, 0.45); }
.cta-band .btn-ghost-dark:hover { background: rgba(28, 26, 21, 0.1); transform: translateY(-2px); }
@media (max-width: 640px) {
  .cta-band .btn-primary, .cta-band .btn-ghost-dark { width: 100%; }
}

.footer { position: relative; background: var(--bg); padding: clamp(56px, 7vw, 80px) 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.7fr 1fr 1.5fr 1.4fr; gap: 48px;
  align-items: start; text-align: left; padding-bottom: 56px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--accent-line); }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--text); }
.footer-brand span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 7px; }
.footer-col a { font-size: 14.5px; line-height: 1.45; color: var(--text-2); transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-services-list { font-size: 14px; color: var(--text-2); line-height: 1.85; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 24px; text-align: center; font-size: 13px; color: var(--text-3); }
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
}

.cta-phone, .cta-email {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-phone { background: var(--accent); color: #1a1610; }
.cta-phone:hover { background: var(--accent-2); transform: translateY(-2px); }
.cta-email { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.cta-email:hover { background: rgba(216, 189, 146, 0.2); transform: translateY(-2px); }

/* ---- 13. FLOATING BUTTONS ---- */
.float-btns {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 9999;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.float-btns.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.float-btn:hover, .float-btn:active { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45); }
.float-btn svg { width: 24px; height: 24px; display: block; }
.float-btn-wa { background: #25D366; }
.float-btn-wa svg { fill: #ffffff; }
.float-btn-tel { background: var(--accent); }
.float-btn-tel svg { fill: #1a1610; }
.float-btn-label {
  position: absolute; right: 62px;
  background: rgba(20, 20, 24, 0.92);
  color: #f6f1e9;
  font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 6px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--font-body);
}
.float-btn:hover .float-btn-label { opacity: 1; }

/* ---- 14. ANIMATIONS AND RESPONSIVE ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Reveal-on-scroll (driven by IntersectionObserver in main.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .meet-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .meet-photo { max-width: 280px; margin: 0 auto; }
  .meet-actions { justify-content: center; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-frame { aspect-ratio: 1/1; max-width: 300px; margin: 0 auto 20px; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { grid-template-columns: 1fr auto; height: 68px; padding: 0 20px; }
  .nav-logo-img { height: 38px; }
  .logo-text strong { font-size: 19px; }
  .logo-text em { font-size: 7.5px; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(18, 18, 18, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    gap: 2px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links a::after { left: 14px; right: auto; width: 28px; bottom: 8px; }
  .nav-cta { height: 38px; padding: 0 18px; font-size: 13px; }
  .nav-toggle { display: flex; }
  .service-items { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ---- ACCESSIBILITY: REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .dog-pop, .dog-overlay { transition: none !important; }
  .work-alt { display: none; }
}

/* =============================================
   15. ADDED COMPONENTS
   Footer columns, service tabs, problem/solution/payoff,
   packages, audience, case studies, quote blocks, dog popup
============================================= */

/* ---- Section intro paragraph ---- */
.section-sub { max-width: 720px; margin: 0 auto 44px; text-align: center; font-size: 16px; color: var(--text-2); line-height: 1.7; }

/* ---- Service tabs (Business vs Home) ---- */
.svc-toggle-wrap { display: flex; justify-content: center; margin-bottom: 44px; }
.svc-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 5px; gap: 4px; }
.svc-tab { appearance: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text-2); background: transparent; padding: 11px 26px; border-radius: 100px; transition: var(--transition); }
.svc-tab:hover { color: var(--text); }
.svc-tab[aria-selected="true"] { background: var(--accent); color: #1a1610; }
.svc-tab[aria-selected="true"]:hover { color: #1a1610; }
.svc-panel[hidden] { display: none; }

/* ---- Rich service cards (why / what / payoff) ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.svc-card { background: var(--card-bg); border: 1px solid var(--border); border-top: 2px solid var(--accent-line); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.svc-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); }
.svc-card .svc-desc { font-size: var(--fs-card); color: var(--text-2); line-height: 1.6; }
.svc-meta { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.svc-meta > div { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.svc-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 3px; }

/* ---- Problem / Solution / Payoff cards ---- */
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.ps-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.lpp { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ---- Package cards ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pkg-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: var(--transition); }
.pkg-card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pkg-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text); }
.pkg-purpose { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.pkg-best { font-size: 13px; color: var(--text-3); line-height: 1.55; }
.pkg-best strong { color: var(--text-2); font-weight: 600; }
.pkg-includes { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pkg-includes li { font-size: 13.5px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.5; }
.pkg-includes li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pkg-price { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.pkg-card .btn-primary { margin-top: auto; justify-content: center; }

/* ---- Audience (who this is for) ---- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience-card { background: var(--card-bg); border: 1px solid var(--border); border-top: 2px solid var(--accent-line); border-radius: var(--radius-lg); padding: 30px 28px; }
.audience-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text); margin-bottom: 6px; }
.audience-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.audience-card li { font-size: 14px; color: var(--text-2); padding-left: 18px; position: relative; line-height: 1.5; }
.audience-card li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- Mini case studies ---- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.case-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.case-head { display: flex; flex-direction: column; gap: 4px; }
.case-type { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.case-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.case-card .port-cta { margin-top: auto; }

/* ---- Quote-style trust blocks ---- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote-block { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; font-size: 15px; color: var(--text); line-height: 1.6; }

/* ---- Suspicious dog popup ---- */
.dog-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.dog-overlay.open { opacity: 1; pointer-events: auto; }
.dog-pop {
  position: fixed; z-index: 10001;
  right: 32px; top: 50%;
  transform: translateY(-50%) scale(0.96);
  width: min(360px, 86vw);
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dog-pop.open { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.dog-pop img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); }
.dog-pop-body { padding: 20px 22px 24px; }
.dog-pop-body h3 { font-family: var(--font-display); font-size: 19px; color: var(--text); margin-bottom: 8px; }
.dog-pop-body p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.dog-pop-body .dog-err { font-size: 12.5px; color: var(--text-3); font-style: italic; margin-bottom: 16px; }
.dog-pop-body .btn-ghost { width: 100%; justify-content: center; }
.dog-close {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(0, 0, 0, 0.55); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.dog-close:hover { background: rgba(0, 0, 0, 0.78); }

@media (max-width: 640px) {
  .dog-pop { right: 50%; top: 50%; transform: translate(50%, -50%) scale(0.96); width: 88vw; }
  .dog-pop.open { transform: translate(50%, -50%) scale(1); }
}

/* ---- Added components responsive ---- */
@media (max-width: 980px) {
}
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-tab { padding: 10px 18px; }
}


/* =============================================
   16. WORK PAGE : SCREENSHOT GRID + LIGHTBOX
============================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.work-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.work-stats strong { font-family: var(--font-display); font-size: 20px; color: var(--accent); letter-spacing: 0; margin-right: 6px; text-transform: none; }

.work-section { background: var(--bg); }

.work-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.work-chip {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 9px 16px; min-height: 40px;
  transition: var(--transition);
}
.work-chip:hover { color: var(--text); border-color: var(--accent-line); }
.work-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #1a1610; font-weight: 600; }
.work-count { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 100px; background: rgba(255, 255, 255, 0.07); }
.work-chip[aria-pressed="true"] .work-count { background: rgba(26, 22, 16, 0.14); }
.work-status { text-align: center; font-size: 12.5px; color: var(--text-3); margin-bottom: 36px; }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-line); }

.work-shot { appearance: none; border: none; padding: 0; margin: 0; background: var(--bg-3); cursor: zoom-in; display: block; width: 100%; text-align: left; font: inherit; color: inherit; }
.work-shot:focus-visible { outline-offset: -3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.work-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border); }
.work-frame { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.work-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity 0.45s ease, transform 0.6s ease; }
.work-alt { opacity: 0; }
.work-card:hover .work-alt, .work-shot:focus-visible .work-alt { opacity: 1; }
.work-card:hover .work-frame img { transform: scale(1.02); }
.work-zoom {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text); background: rgba(15, 15, 18, 0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 100px;
  padding: 5px 12px;
  opacity: 0; transform: translateY(6px); transition: var(--transition);
}
.work-card:hover .work-zoom, .work-shot:focus-visible .work-zoom { opacity: 1; transform: none; }

.work-card .port-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card .port-head { align-items: flex-start; }
.work-actions { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.work-view, .work-visit { font-family: var(--font-body); font-size: 13px; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; transition: var(--transition); }
.work-view { appearance: none; background: none; border: none; padding: 0; cursor: pointer; color: var(--text-2); }
.work-view:hover { color: var(--text); }
.work-visit { color: var(--accent); margin-left: auto; }
.work-visit::after { content: '\2197'; margin-left: 5px; font-size: 12px; }
.work-visit:hover { color: var(--text); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-panel {
  position: relative; width: min(1180px, 100%); max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  animation: fadeUp 0.25s ease both;
}
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--border); }
.lb-meta { min-width: 0; }
.lb-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sub { font-size: 12.5px; color: var(--text-3); }
.lb-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lb-visit { font-size: 13px; font-weight: 600; color: #1a1610; background: var(--accent); border-radius: 100px; padding: 8px 16px; transition: var(--transition); }
.lb-visit:hover { background: var(--accent-2); }
.lb-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; transition: var(--transition); }
.lb-close:hover { border-color: var(--accent); color: var(--accent); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; background: var(--bg); }
.lb-img-wrap { flex: 1; min-width: 0; max-height: calc(100vh - 220px); overflow: auto; overscroll-behavior: contain; }
.lb-img-wrap img { width: 100%; height: auto; display: block; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(15, 15, 18, 0.85); color: var(--text);
  font-size: 28px; line-height: 1; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; padding-bottom: 3px;
}
.lb-nav:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 12px 16px; border-top: 1px solid var(--border); }
.lb-thumb { appearance: none; padding: 0; cursor: pointer; width: 96px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--surface); opacity: 0.55; transition: var(--transition); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb[aria-current="true"] { border-color: var(--accent); opacity: 1; }
body.lb-open { overflow: hidden; }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -24px 16px; padding: 0 24px 6px; scrollbar-width: none; }
  .work-filters::-webkit-scrollbar { display: none; }
  .work-chip { flex-shrink: 0; }
  .work-zoom { opacity: 1; transform: none; }
  .lb { padding: 0; }
  .lb-panel { height: 100%; border-radius: 0; border: none; }
  .lb-img-wrap { max-height: 100%; }
  .lb-stage { align-items: center; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .lb-visit { padding: 8px 12px; }
}
.work-card.reveal { transition: opacity 0.6s ease, transform 0.4s ease, box-shadow 0.25s ease, border-color 0.25s ease; }

/* ---- Homepage 'Recent Work' preview cards (kept from previous stylesheet) ---- */
.port-intro { background: var(--bg); }
/* Portfolio card */
.port-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.port-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-line); }
.port-preview-link { display: block; }

/* Themed browser mock : uses per-card --proj and --proj-bg */
.port-browser { background: var(--bg-3); }
.port-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.port-screen { background: var(--proj-bg, #15151b); padding: 0 0 18px; min-height: 190px; }
.pm-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.pm-logo { width: 58px; height: 8px; border-radius: 4px; background: var(--proj); opacity: 0.9; }
.pm-cta { width: 44px; height: 20px; border-radius: 20px; background: var(--proj); opacity: 0.85; }
.pm-hero { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 8px; }
.pm-eyebrow { width: 86px; height: 7px; border-radius: 3px; background: var(--proj); opacity: 0.6; }
.pm-h1 { width: 88%; height: 14px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.pm-h1.short { width: 60%; background: var(--proj); opacity: 0.75; }
.pm-line { width: 92%; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.pm-line.short { width: 70%; opacity: 0.7; }
.pm-btns { display: flex; gap: 8px; margin-top: 8px; }
.pm-btn { width: 78px; height: 24px; border-radius: 20px; background: var(--proj); opacity: 0.9; }
.pm-btn.ghost { background: transparent; border: 1px solid var(--proj); opacity: 0.6; }
/* Light-themed previews keep heading text dark for contrast */
.port-card.light .pm-h1 { background: rgba(20, 20, 24, 0.78); }
.port-card.light .pm-line { background: rgba(20, 20, 24, 0.32); }

/* =============================================
   17. HOME PAGE : section layout and decoration
   Shared card, heading and button styles live in sections 2-8;
   this block only holds what is specific to the homepage.
============================================= */

/* Hairline between sections */
.home .section { position: relative; }
.home .section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1100px, 86%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}
.home .meet::before { display: none; }

/* Meet */
.home .meet { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); padding-top: 72px; }
.home .meet-inner { grid-template-columns: 340px 1fr; gap: 72px; }
.home .meet-photo { overflow: visible; border: 0; box-shadow: none; background: none; isolation: isolate; }
.home .meet-photo img { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; }
.home .meet-photo::before {
  content: ''; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(212, 179, 122, 0.1), transparent 60%);
}
.home .meet-text p { font-size: 16.5px; line-height: 1.8; }

/* What you can get done: numbered cards */
.home .value-props { background: var(--bg); }
.home .value-grid { counter-reset: vc; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home .value-card { counter-increment: vc; position: relative; overflow: hidden; border-top-width: 1px; border-top-color: var(--border); padding: 34px 30px 32px; }
.home .value-card::before {
  content: counter(vc, decimal-leading-zero);
  display: block; margin-bottom: 22px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent);
}
.home .value-card::after { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--accent); transition: width 0.35s ease; }
.home .value-card:hover::after { width: 100%; }
.home .value-card h3 { margin-bottom: 12px; }
.home .value-card p { line-height: 1.7; }

/* Build, Promote, Support: the three pillars */
.home .services-preview { background: var(--bg-2); counter-reset: sv; }
.home .services-preview .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home .service-card { counter-increment: sv; padding: 44px 34px 34px; border-color: var(--accent-line); box-shadow: var(--shadow); }
.home .service-card::before { opacity: 1; height: 3px; }
.home .service-card::after {
  content: counter(sv, decimal-leading-zero);
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 179, 122, 0.28);
}
.home .service-card:hover { border-color: var(--accent); }
.home .service-card h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.home .service-card p { font-size: 15.5px; line-height: 1.7; }
.home .service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px; }
.home .service-link::after { content: '\2192'; transition: transform var(--transition); }
.home .service-card:hover .service-link::after { transform: translateX(5px); }

/* Recent work */
.home .port-intro { background: var(--bg); }
.home .port-intro .work-shot { cursor: pointer; }
.home .port-intro .work-grid { gap: 24px; }

/* Why Baha Connect */
.home .why { background: var(--bg-2); }
.home .why-list { gap: 14px; }
.home .why-list li { font-size: 16px; color: var(--text); align-items: center; }
.home .why-list li::before {
  width: 22px; height: 22px; margin-top: 0; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4b37a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--accent-line);
}
.home .why-visual { gap: 24px; }
.home .why-card { border-color: var(--accent-line); padding: 32px; }
.home .why-card h3 { margin-bottom: 12px; }
.home .why-badge-stack { margin-top: 20px; }
.home .why-badge { color: var(--text); background: var(--accent-soft); border-color: var(--accent-line); font-size: 13.5px; }

/* Process */
.home .process { background: var(--bg); }
.home .process-grid { gap: 24px; }
.home .process-step { padding: 32px 26px; }
.home .process-num {
  width: 44px; height: 44px; margin-bottom: 22px; position: relative; z-index: 1;
  font-size: 16px; background: var(--bg); color: var(--accent); border: 1px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(212, 179, 122, 0.08), 0 0 22px rgba(212, 179, 122, 0.2);
}
@media (min-width: 1000px) {
  .home .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home .process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 54px; left: 84px; right: -25px; height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(212, 179, 122, 0.15));
  }
}

/* Responsive */
@media (max-width: 980px) {
  .home .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .services-preview .services-grid { grid-template-columns: 1fr; }
  .home .meet-inner { grid-template-columns: 1fr; gap: 48px; }
  .home .meet-photo { max-width: 300px; margin: 0 auto; }
  .home .meet-photo::before { inset: 14px -12px -14px 12px; }
}
@media (max-width: 640px) {
  .home .value-grid { grid-template-columns: 1fr; }
  .home .service-card { padding: 38px 26px 28px; }
  .home .service-card h3 { font-size: 26px; }
}
