/* @import "dependencies"; */
/* @import "jlparticles"; */

/* ─── CSS Custom Properties ───────────────────────────────────────────────── */
:root {
  --bg-base:        #F8F6F2;
  --bg-surface:     #EDEBE4;
  --bg-card:        #FFFFFF;
  --bg-dark:        #111018;
  --bg-dark-2:      #1C1A28;
  --bg-dark-card:   #232133;

  --text-primary:   #1A1826;
  --text-body:      #3C3848;
  --text-muted:     #6B6480;
  --text-on-dark:   #F4F2FF;
  --text-dim:       rgba(244,242,255,0.62);
  --text-muted-dark:#7A8FA8;

  --brand:          #5B8FA5;
  --brand-dark:     #3D6F85;
  --brand-light:    #7AAFC5;
  --brand-glow:     rgba(91,143,165,0.16);

  --accent:         #C7205A;
  --accent-dark:    #9E1245;
  --accent-glow:    rgba(199,32,90,0.18);

  --border:         rgba(26,24,37,0.09);
  --border-dark:    rgba(255,255,255,0.08);

  --shadow-sm:      0 1px 3px rgba(26,24,37,0.05), 0 4px 14px rgba(26,24,37,0.07);
  --shadow-md:      0 2px 6px rgba(26,24,37,0.04), 0 12px 32px rgba(26,24,37,0.09);
  --shadow-brand:   0 4px 20px rgba(91,143,165,0.22), 0 1px 4px rgba(91,143,165,0.12);
  --shadow-accent:  0 4px 20px rgba(199,32,90,0.26), 0 1px 4px rgba(199,32,90,0.14);

  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  20px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ─── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Noise Texture ───────────────────────────────────────────────────────── */
.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, .display-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.display-heading {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--text-on-dark);
}

.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 0.5rem;
}

p { line-height: 1.75; color: var(--text-body); }

/* Dark section typography overrides */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.hero-section h1, .hero-section h2,
.cta-band h1, .cta-band h2,
.page-hero h1, .page-hero h2,
.page-hero .section-heading {
  color: var(--text-on-dark);
}

.section-dark p { color: var(--text-dim); }
.section-dark .eyebrow { color: var(--brand-light); }

/* ─── Accent Strip ────────────────────────────────────────────────────────── */
.accent-strip {
  background: var(--accent);
  padding: 0.42rem 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

/* ─── Navbar ──────────────────────────────────────────────────────────────── */
.site-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(26,24,37,0.05);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.jl-navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.jl-navbar-nav > li > a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 0 1.1rem;
  height: 70px;
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.jl-navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jl-navbar-nav > li > a:hover,
.jl-navbar-nav > li > a:focus-visible {
  color: var(--text-primary);
}

.jl-navbar-nav > li > a:hover::after,
.jl-navbar-nav > li > a:focus-visible::after,
.jl-navbar-nav > li > a.active::after {
  transform: scaleX(1);
}

.jl-navbar-nav > li > a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.navbar-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  color: var(--text-muted);
}

.navbar-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-contact a:hover,
.navbar-contact a:focus-visible { color: var(--brand); }
.navbar-contact a:active { color: var(--brand-dark); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: background 0.2s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199,32,90,0.4), 0 2px 8px rgba(199,32,90,0.2);
}

.btn-primary:active {
  background: var(--accent-dark);
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 0.75rem 1.85rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost:active { transform: translateY(0); }

.section-dark .btn-ghost,
.cta-band .btn-ghost,
.hero-section .btn-ghost,
.page-hero .btn-ghost {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.32);
}

.section-dark .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.hero-section .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ─── Hero Section ────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(91,143,165,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 8% 20%,  rgba(20,10,50,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 92% 88%, rgba(199,32,90,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  color: var(--text-muted-dark);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-tagline .pipe { color: var(--brand); font-weight: 700; }

.hero-body {
  max-width: 520px;
  margin-bottom: 2rem;
  color: var(--text-dim);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
  z-index: 1;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(17,16,24,0.12) 60%, rgba(17,16,24,0.58) 100%);
  z-index: 2;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(91,143,165,0.07);
  mix-blend-mode: multiply;
  z-index: 3;
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section-dark {
  background: var(--bg-dark-2);
  position: relative;
}

.section-surface {
  background: var(--bg-surface);
  position: relative;
}

.section-padded {
  padding: 5rem 0;
}

/* ─── Stats Band ──────────────────────────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--border);
}

.jl-grid:last-child .stat-block,
.stat-block:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* ─── Portfolio Cards ─────────────────────────────────────────────────────── */
.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(26,24,37,0.13), 0 0 0 1px rgba(91,143,165,0.18), 0 0 20px rgba(91,143,165,0.06);
}

.portfolio-card:active { transform: translateY(-3px); }

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
  z-index: 1;
}

.portfolio-card:hover .card-image img { transform: scale(1.04); }

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-client {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.3rem;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ─── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 2rem;
  height: 100%;
}

.section-surface .testimonial-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.section-surface .testimonial-card blockquote {
  color: var(--text-muted);
}

.section-surface .testimonial-card .testimonial-author {
  color: var(--text-primary);
}

.section-surface .testimonial-card .testimonial-role {
  color: var(--text-muted);
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.42;
  margin-bottom: -0.5rem;
  display: block;
}

.testimonial-card blockquote {
  font-size: 0.925rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-on-dark);
  display: block;
}

.testimonial-role {
  font-size: 0.775rem;
  color: var(--text-muted-dark);
  margin-top: 0.15rem;
  display: block;
}

/* ─── Feature Cards ───────────────────────────────────────────────────────── */
.feature-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(91,143,165,0.18);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(91,143,165,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin: 0;
}

/* ─── Services List ───────────────────────────────────────────────────────── */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem 1.4rem 3rem;
  font-family: var(--font-heading);
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.services-list li::before {
  content: '✦';
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 0.7rem;
}

.services-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── UIKit Grid Match Fix ────────────────────────────────────────────────── */
.jl-grid-match > * { display: flex; flex-direction: column; }
.jl-grid-match > * > .portfolio-card,
.jl-grid-match > * > .testimonial-card,
.jl-grid-match > * > .feature-card { flex: 1; }

/* ─── Page Hero (sub-pages) ───────────────────────────────────────────────── */
.page-hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(91,143,165,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%,  rgba(199,32,90,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1,
.page-hero .section-heading {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero-body {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  color: var(--text-dim);
}

/* ─── Portfolio Project Sections ──────────────────────────────────────────── */
.img-wrap {
  position: relative;
}

.img-wrap img {
  width: 100%;
  border-radius: var(--r-md);
  display: block;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.38) 0%, transparent 60%);
  border-radius: var(--r-md);
  pointer-events: none;
}

.project-quote {
  border-left: 3px solid var(--brand);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-dim);
}

.section-surface .project-quote {
  color: var(--text-muted);
}

.quote-attribution {
  font-size: 0.845rem;
  color: var(--text-muted-dark);
}

.section-surface .quote-attribution {
  color: var(--text-muted);
}

/* ─── CTA Band ────────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%,  rgba(199,32,90,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%,  rgba(91,143,165,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-body {
  max-width: 480px;
  margin: 0 auto 2rem;
  color: rgba(244,242,255,0.55);
}

.cta-heading { max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-heading-sm { max-width: 580px; margin-left: auto; margin-right: auto; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ─── Accent Divider ──────────────────────────────────────────────────────── */
.accent-divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

.accent-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── About/Image Sections ────────────────────────────────────────────────── */
.section-surface .section-heading,
.section-surface h2 {
  color: var(--text-primary);
}

.section-surface p {
  color: var(--text-body);
}

/* ─── Contact ─────────────────────────────────────────────────────────────── */
.contact-subheading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(91,143,165,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--brand);
}

.contact-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-text a,
.contact-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  text-decoration: none;
  margin: 0;
  transition: color 0.2s;
}

.contact-text a:hover { color: var(--brand); }

.hours-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.hours-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.hours-text {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.8;
}

/* Form Inputs */
.jl-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jl-input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.jl-input::placeholder { color: var(--text-muted); }

.jl-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

/* Form status message */
#form-status {
  font-size: 0.875rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(91,143,165,0.08);
  border: 1px solid rgba(91,143,165,0.2);
  color: var(--text-primary);
}

/* Map placeholder */
.section-map {
  padding: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.map-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(91,143,165,0.07) 0%, transparent 70%);
}

.map-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.map-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.map-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 1.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-bio {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  max-width: 280px;
  margin-top: 0.5rem;
  line-height: 1.7;
}

.footer-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
}

.footer-nav li a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:focus-visible { color: var(--brand); }
.footer-nav li a:active { color: var(--brand-dark); }

.footer-contact-text {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.8;
  margin: 0;
}

.footer-contact-text a {
  color: var(--text-muted-dark);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-contact-text a:hover { color: var(--brand); }

.footer-copy {
  font-size: 0.775rem;
  color: var(--text-muted-dark);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  opacity: 0.65;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.social-link:active { background: var(--brand-dark); }

/* ─── Shared Spacing & Layout Utilities ───────────────────────────────────── */
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 0.75rem; }

/* ─── Form Extras ─────────────────────────────────────────────────────────── */
.form-optional {
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875em;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
}
