/* ═══════════════════════════════════════════════════════
   Lambo Code — About Page (Redesigned)
   Uses the shared --home-* variable system from home.css.
   ═══════════════════════════════════════════════════════ */

/* ─── SHARED ───────────────────────────────────────── */
.ab-container {
  width: min(100%, var(--home-max));
  margin: 0 auto;
}
.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin-bottom: 14px;
}
.ab-kicker i { font-size: .68rem; }
section > .ab-container > h2,
section > .ab-container > .ab-kicker + h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--home-text);
  margin-bottom: 16px;
  text-wrap: balance;
}
.ab-sub {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--home-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.or { color: var(--home-accent); }

/* ─── BUTTONS ──────────────────────────────────────── */
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: var(--home-radius);
  font-family: "Outfit", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.ab-btn--fill {
  background: var(--home-accent);
  color: #fff;
}
.ab-btn--fill:hover { background: #f09a58; }
.ab-btn--outline {
  background: transparent;
  color: var(--home-text);
  border: 1px solid var(--home-line);
}
.ab-btn--outline:hover {
  background: var(--home-surface);
  border-color: var(--home-text);
}

/* ═══════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════ */
.ab-hero {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: 0;
  background: var(--home-bg);
}
.ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ab-hero-copy h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--home-text);
  margin-bottom: 22px;
  text-wrap: balance;
}
.ab-hero-copy > p {
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--home-muted);
  margin-bottom: 32px;
  text-wrap: pretty;
  max-width: 540px;
}
.ab-hero-copy > p strong { color: var(--home-text); font-weight: 600; }
.ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ab-hero-photo {
  width: min(100%, 380px);
  aspect-ratio: .78;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  margin: 0 auto;
}
html[data-theme="light"] .ab-hero-photo {
  box-shadow: 0 20px 50px rgba(23,32,39,.08);
}
.ab-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Stats bar */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--home-line);
  border-radius: var(--home-radius);
  overflow: hidden;
}
.ab-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  background: var(--home-surface);
  text-align: center;
}
.ab-stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--home-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.ab-stat-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--home-muted);
  letter-spacing: .02em;
}
@media (max-width: 768px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ab-hero-photo { order: -1; width: min(100%, 300px); }
  .ab-hero-copy h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .ab-hero-actions { flex-direction: column; }
  .ab-hero-actions .ab-btn { width: 100%; }
}
@media (max-width: 480px) {
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   2. STORY
   ═══════════════════════════════════════════════════════ */
.ab-story {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-surface);
}
.ab-story-grid {
  display: grid;
  grid-template-columns: minmax(240px, .4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.ab-story-quote blockquote {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--home-text);
  letter-spacing: -.02em;
  position: sticky;
  top: 140px;
}
.ab-story-quote blockquote::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--home-accent);
  margin-bottom: 20px;
  border-radius: 2px;
}
.ab-story-body h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--home-text);
  margin-bottom: 24px;
}
.ab-story-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--home-muted);
  margin-bottom: 18px;
}
.ab-story-body p:last-child { margin-bottom: 0; }
.ab-story-body p strong { color: var(--home-text); font-weight: 600; }
@media (max-width: 768px) {
  .ab-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .ab-story-quote blockquote { position: static; }
}

/* ═══════════════════════════════════════════════════════
   3. SPECIALIZATIONS
   ═══════════════════════════════════════════════════════ */
.ab-services {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-bg);
}
.ab-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.ab-service-card {
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 32px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.ab-service-card:hover {
  border-color: var(--home-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
html[data-theme="light"] .ab-service-card:hover {
  box-shadow: 0 12px 32px rgba(23,32,39,.07);
}
.ab-service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--home-accent-soft);
  border: 1px solid var(--home-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--home-accent);
  margin-bottom: 20px;
}
.ab-service-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--home-text);
  margin: 0 0 8px;
}
.ab-service-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--home-muted);
  margin: 0;
}
@media (max-width: 640px) {
  .ab-services-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   4. TECHNOLOGIES
   ═══════════════════════════════════════════════════════ */
.ab-tech {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-surface);
}
.ab-tech-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab-tech-group {
  background: var(--home-bg);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  padding: 24px;
  transition: border-color .2s;
}
.ab-tech-group:hover { border-color: var(--home-accent); }
.ab-tech-group h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--home-accent);
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.ab-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ab-tech-pills span {
  padding: 6px 13px;
  background: var(--home-surface-2);
  border: 1px solid var(--home-line);
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--home-muted);
  transition: border-color .2s, color .2s;
}
.ab-tech-pills span:hover {
  border-color: var(--home-accent);
  color: var(--home-text);
}
@media (max-width: 1024px) {
  .ab-tech-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ab-tech-groups { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   5. HOW I WORK — Timeline
   ═══════════════════════════════════════════════════════ */
.ab-process {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-bg);
}
.ab-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 960px;
}
.ab-timeline-step {
  display: flex;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  transition: border-color .25s;
}
.ab-timeline-step:hover { border-color: var(--home-accent); }
.ab-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ab-timeline-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  color: var(--home-accent);
  line-height: 1;
}
.ab-timeline-line {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: var(--home-line);
}
.ab-timeline-content h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-text);
  margin: 0 0 8px;
}
.ab-timeline-content p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--home-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .ab-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ab-timeline { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   6. PRINCIPLES — Two-column
   ═══════════════════════════════════════════════════════ */
.ab-principles {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-surface);
}
.ab-principles-layout {
  display: grid;
  grid-template-columns: minmax(240px, .35fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.ab-principles-header h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--home-text);
  margin-bottom: 16px;
}
.ab-principles-header p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--home-muted);
  margin: 0;
}
.ab-principles-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ab-principle {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--home-line);
  transition: border-color .2s;
}
.ab-principle:last-child { border-bottom: none; }
.ab-principle:hover { border-bottom-color: var(--home-accent); }
.ab-principle > i {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--home-accent-soft);
  border: 1px solid var(--home-line);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--home-accent);
  margin-top: 2px;
}
.ab-principle h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-text);
  margin: 0 0 4px;
}
.ab-principle p {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 0;
}
@media (max-width: 768px) {
  .ab-principles-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════════
   7. SELECTED WORK
   ═══════════════════════════════════════════════════════ */
.ab-work {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-bg);
}
.ab-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.ab-work-card {
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.ab-work-card:hover {
  transform: translateY(-4px);
  border-color: var(--home-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
html[data-theme="light"] .ab-work-card:hover {
  box-shadow: 0 12px 40px rgba(23,32,39,.1);
}
.ab-work-img {
  height: 210px;
  overflow: hidden;
  background: var(--home-surface-2);
}
.ab-work-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .35s;
}
.ab-work-card:hover .ab-work-img img { transform: scale(1.03); }
.ab-work-body { padding: 24px; }
.ab-work-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin-bottom: 10px;
}
.ab-work-body h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--home-text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.ab-work-body p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--home-muted);
  margin: 0 0 16px;
}
.ab-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.ab-work-tags span {
  padding: 5px 11px;
  background: var(--home-surface-2);
  border: 1px solid var(--home-line);
  border-radius: 3px;
  font-size: .73rem;
  font-weight: 600;
  color: var(--home-muted);
}
.ab-work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-accent);
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  transition: gap .2s;
}
.ab-work-link:hover { gap: 12px; }
.ab-work-link i { font-size: .73rem; transition: transform .2s; }
.ab-work-link:hover i { transform: translateX(3px); }
.ab-work-cta { text-align: center; }
@media (max-width: 640px) {
  .ab-work-grid { grid-template-columns: 1fr; }
  .ab-work-img { height: 180px; }
}

/* ═══════════════════════════════════════════════════════
   8. PERSONAL
   ═══════════════════════════════════════════════════════ */
.ab-personal {
  padding: clamp(76px, 10vw, 120px) max(20px, 5vw);
  background: var(--home-surface);
}
.ab-personal-grid {
  display: grid;
  grid-template-columns: minmax(240px, .4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ab-personal-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: .82;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  margin: 0 auto;
}
html[data-theme="light"] .ab-personal-photo {
  box-shadow: 0 20px 50px rgba(23,32,39,.08);
}
.ab-personal-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ab-personal-copy h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--home-text);
  margin-bottom: 20px;
}
.ab-personal-copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--home-muted);
  margin-bottom: 16px;
}
.ab-personal-copy p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .ab-personal-grid { grid-template-columns: 1fr; gap: 32px; }
  .ab-personal-photo { max-width: 260px; }
}

/* ═══════════════════════════════════════════════════════
   9. FINAL CTA
   ═══════════════════════════════════════════════════════ */
.ab-cta {
  padding: clamp(76px, 10vw, 110px) max(20px, 5vw);
  background: var(--home-accent);
}
.ab-cta-inner {
  text-align: center;
}
.ab-cta h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #151b1f;
  margin-bottom: 16px;
}
.ab-cta p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(21,27,31,.7);
  max-width: 480px;
  margin: 0 auto 32px;
}
.ab-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.ab-btn--cta {
  background: #151b1f;
  color: #fff;
}
.ab-btn--cta:hover { background: #0d1217; }
.ab-btn--cta-outline {
  background: transparent;
  color: #151b1f;
  border: 1.5px solid rgba(21,27,31,.35);
}
.ab-btn--cta-outline:hover {
  background: rgba(21,27,31,.08);
  border-color: rgba(21,27,31,.5);
}

/* ═══════════════════════════════════════════════════════
   FOOTER — light mode support
   ═══════════════════════════════════════════════════════ */
html[data-theme="light"] footer {
  background: var(--home-surface);
}
html[data-theme="light"] .foot-col h4,
html[data-theme="light"] .foot-col a,
html[data-theme="light"] .foot-brand p,
html[data-theme="light"] .foot-bottom p {
  color: var(--home-text);
}
html[data-theme="light"] .foot-col h4 {
  color: var(--home-muted);
}
html[data-theme="light"] .fs-btn {
  background: var(--home-surface-2);
  border-color: var(--home-line);
  color: var(--home-muted);
}
html[data-theme="light"] .fs-btn:hover {
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: #fff;
}

/* ─── REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION — Redesigned
   ═══════════════════════════════════════════════════════ */
#nav {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(10, 15, 20, .88);
  border-bottom: none;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  transition: background .3s, box-shadow .3s, height .3s;
}
html[data-theme="light"] #nav {
  background: rgba(244, 243, 239, .88);
}
#nav.is-compact {
  height: 56px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .2);
}
html[data-theme="light"] #nav.is-compact {
  box-shadow: 0 4px 24px rgba(23, 32, 39, .06);
}

/* Logo */
.ab-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.ab-nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.ab-nav-brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--home-text);
}

/* Desktop links */
.ab-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--home-muted);
  text-decoration: none;
  border-radius: var(--home-radius);
  transition: color .2s, background .2s;
  position: relative;
}
.ab-nav-links a:hover {
  color: var(--home-text);
  background: var(--home-line);
}
.ab-nav-links a.active {
  color: var(--home-text);
  font-weight: 600;
}
.ab-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--home-accent);
  border-radius: 1px;
}

/* Actions */
.ab-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ab-theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--home-line);
  background: transparent;
  color: var(--home-muted);
  font-size: .92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, border-color .2s, background .2s;
}
.ab-theme-btn:hover {
  color: var(--home-text);
  border-color: var(--home-text);
  background: var(--home-line);
}
.ab-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--home-accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: var(--home-radius);
  transition: background .2s, box-shadow .2s;
}
.ab-nav-cta:hover {
  background: #f09a58;
  box-shadow: 0 4px 16px rgba(240, 122, 26, .25);
}

/* Mobile overlay */
.ab-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .3s;
}
.ab-mobile-overlay.open {
  display: block;
  opacity: 1;
}

/* Mobile menu */
.ab-mobile-menu {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .ab-nav-links { display: none; }
  .ab-nav-cta { display: none; }
  .hamburger { display: flex; }
  .ab-mobile-overlay { display: none; }
  .ab-mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    z-index: 999;
    background: var(--home-surface);
    border-left: 1px solid var(--home-line);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  html[data-theme="light"] .ab-mobile-menu {
    background: #fff;
  }
  .ab-mobile-menu.open {
    transform: none;
  }
  .ab-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--home-line);
    flex-shrink: 0;
  }
  .ab-mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--home-line);
    background: transparent;
    color: var(--home-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, border-color .2s;
  }
  .ab-mobile-close:hover {
    color: var(--home-text);
    border-color: var(--home-text);
  }
  .ab-mobile-links {
    list-style: none;
    margin: 0;
    padding: 16px 0;
    flex: 1;
  }
  .ab-mobile-links li {
    border-bottom: 1px solid var(--home-line);
  }
  .ab-mobile-links li:last-child {
    border-bottom: none;
  }
  .ab-mobile-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--home-muted);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
  }
  .ab-mobile-links a i {
    width: 22px;
    text-align: center;
    font-size: .85rem;
    color: var(--home-muted);
    transition: color .2s;
  }
  .ab-mobile-links a:hover {
    color: var(--home-text);
    padding-left: 30px;
  }
  .ab-mobile-links a:hover i {
    color: var(--home-accent);
  }
  .ab-mobile-links a.active {
    color: var(--home-text);
    font-weight: 600;
  }
  .ab-mobile-links a.active i {
    color: var(--home-accent);
  }
  .ab-mobile-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--home-line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
  }
  .ab-theme-btn--full {
    width: 100%;
    height: auto;
    padding: 14px;
    border-radius: var(--home-radius);
    font-size: .88rem;
    font-weight: 500;
    gap: 10px;
    justify-content: center;
  }
  .ab-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--home-accent);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--home-radius);
    transition: background .2s;
  }
  .ab-mobile-cta:hover {
    background: #f09a58;
  }
  body.menu-open .ab-mobile-overlay {
    display: block;
  }
}

@media (max-width: 640px) {
  #nav {
    height: 60px;
    padding: 0 16px;
  }
  #nav.is-compact {
    height: 52px;
  }
  .ab-nav-logo img {
    width: 30px;
    height: 30px;
  }
  .ab-nav-brand {
    font-size: .95rem;
  }
}

/* ═══════════════════════════════════════════════════════
   FOOTER — Redesigned
   ═══════════════════════════════════════════════════════ */
footer {
  background: var(--home-surface) !important;
  border-top: none;
  overflow: hidden;
}
.ab-foot-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent), #f09a58, var(--home-accent));
}
.ab-foot-inner {
  width: min(100%, var(--home-max));
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 72px) 0;
}
.ab-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--home-line);
}

/* Brand column */
.ab-foot-brand {
  max-width: 300px;
}
.ab-foot-brand .ab-nav-logo {
  margin-bottom: 18px;
}
.ab-foot-brand p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--home-muted);
  margin-bottom: 20px;
}
.ab-foot-social {
  display: flex;
  gap: 10px;
}
.ab-foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--home-line);
  background: transparent;
  color: var(--home-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.ab-foot-social a:hover {
  color: var(--home-accent);
  border-color: var(--home-accent);
  background: var(--home-accent-soft);
}

/* Link columns */
.ab-foot-col h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--home-text);
  margin: 0 0 20px;
}
.ab-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-foot-col li {
  margin-bottom: 10px;
}
.ab-foot-col li:last-child {
  margin-bottom: 0;
}
.ab-foot-col a {
  font-size: .86rem;
  color: var(--home-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.ab-foot-col a i {
  font-size: .7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.ab-foot-col a:hover {
  color: var(--home-text);
}
.ab-foot-col a:hover i {
  opacity: 1;
  transform: none;
}
.ab-foot-col a i:first-child {
  opacity: .6;
  transform: none;
}

/* Bottom bar */
.ab-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}
.ab-foot-bottom p {
  font-size: .8rem;
  color: var(--home-muted);
  margin: 0;
}
.ab-foot-avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--home-muted);
  white-space: nowrap;
}
.ab-foot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: abPulse 2s infinite;
}
@keyframes abPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Footer responsive */
@media (max-width: 900px) {
  .ab-foot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .ab-foot-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .ab-foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ab-foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
