/* ============================================================
   Dixie Boys VB — Computer Systems Design
   Homepage stylesheet
   ============================================================ */

:root {
  --bg: #0B0E14;
  --bg-soft: #0F131C;
  --surface: #141824;
  --surface-2: #1A202E;
  --line: rgba(238, 241, 246, 0.10);
  --ink: #EEF1F6;
  --muted: #A7B0BE;
  --coral: #FF6B4A;
  --coral-soft: #FF8A6E;
  --jade: #58C9B0;
  --jade-soft: #8FE0CF;
  --white: #FFFFFF;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --sidebar-w: 272px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   Layout shell — fixed left sidebar + content column
   ============================================================ */

.site-shell {
  display: block;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #0E121B 0%, #0B0E14 100%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--jade) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar-nav a:hover {
  background: var(--surface);
  color: var(--ink);
  transform: translateX(3px);
}

.sidebar-nav a .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s ease;
}

.sidebar-nav a:hover .nav-dot,
.sidebar-nav a.active .nav-dot {
  background: var(--coral);
}

.sidebar-cta {
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.28);
}

.btn-primary:hover {
  background: var(--coral-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 107, 74, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--jade);
  color: var(--jade-soft);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.sidebar-foot {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-foot a {
  color: var(--jade-soft);
}

.sidebar-foot a:hover {
  color: var(--ink);
}

/* ============================================================
   Main content column
   ============================================================ */

.site-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================================
   Mobile nav trigger
   ============================================================ */

.nav-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 90;
}

/* ============================================================
   Hero — editorial magazine cover
   ============================================================ */

.hero {
  position: relative;
  padding: 92px 0 72px;
  background:
    radial-gradient(900px 500px at 82% 12%, rgba(88, 201, 176, 0.14), transparent 60%),
    radial-gradient(800px 520px at 10% 90%, rgba(255, 107, 74, 0.12), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade-soft);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--jade);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero-title .accent {
  color: var(--coral);
}

.hero-title .accent-jade {
  color: var(--jade);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-proof {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.proof-item .proof-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
}

.proof-item .proof-label {
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual — tilted feature panel */

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card-main {
  top: 30px;
  right: 20px;
  width: 78%;
  transform: rotate(2.5deg);
  z-index: 3;
}

.hero-card-main .card-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 14px;
}

.hero-card-main .card-big {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.hero-card-main .card-big small {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-card-main .card-desc {
  color: var(--muted);
  font-size: 14px;
}

.hero-card-float {
  bottom: 30px;
  left: 10px;
  width: 58%;
  transform: rotate(-3deg);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-card-float .float-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--jade), #3aa98f);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.hero-card-float .float-title {
  font-weight: 600;
  font-size: 15px;
}

.hero-card-float .float-sub {
  font-size: 13px;
  color: var(--muted);
}

.hero-ring {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 220px;
  height: 220px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  z-index: 1;
}

/* ============================================================
   Marquee ticker
   ============================================================ */

.marquee {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 48px;
}

.marquee-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Section base
   ============================================================ */

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 54px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 16px;
}

.section-head .section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral);
}

.section-head.center .section-kicker::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============================================================
   Services — horizontal scroll rows
   ============================================================ */

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 999px;
}

.scroll-row::-webkit-scrollbar-track {
  background: transparent;
}

.service-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--coral);
}

.service-card .service-index {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--line);
  margin-bottom: 18px;
}

.service-card .service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: rgba(255, 107, 74, 0.14);
  color: var(--coral-soft);
  margin-bottom: 18px;
}

.service-card:nth-child(even) .service-icon {
  background: rgba(88, 201, 176, 0.14);
  color: var(--jade-soft);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   Statement band
   ============================================================ */

.statement-band {
  background: linear-gradient(135deg, var(--coral) 0%, #e8543c 100%);
  padding: 96px 0;
}

.statement-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.statement-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-cell {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 24px;
}

.stat-cell .stat-value {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-cell .stat-label {
  font-size: 13.5px;
  color: #FFFFFF;
  margin-top: 8px;
}

/* ============================================================
   Approach — alternating two-column rows
   ============================================================ */

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

.approach-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.approach-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.approach-row.reverse .approach-media {
  order: 2;
}

.approach-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.approach-media::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(88, 201, 176, 0.12);
}

.approach-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.approach-step .step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--coral);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}

.approach-step .step-label {
  font-weight: 500;
  font-size: 15px;
}

.approach-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.approach-body p {
  color: var(--muted);
  margin-bottom: 14px;
}

.approach-body .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.approach-body .tag {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ============================================================
   Capabilities — bento grid
   ============================================================ */

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.25s ease;
}

.bento-card:hover {
  border-color: var(--jade);
}

.bento-card.wide {
  grid-column: span 7;
}

.bento-card.med {
  grid-column: span 5;
}

.bento-card.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.bento-card .bento-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--muted);
  font-size: 15px;
}

.bento-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.bento-metric {
  flex: 1;
  min-width: 100px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 16px;
}

.bento-metric .bm-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--jade);
}

.bento-metric .bm-label {
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   Process — timeline
   ============================================================ */

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

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--coral), var(--jade));
}

.timeline-item {
  position: relative;
  padding: 0 0 42px 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--coral);
}

.timeline-item:nth-child(even)::before {
  border-color: var(--jade);
}

.timeline-item .tl-phase {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 8px;
}

.timeline-item:nth-child(even) .tl-phase {
  color: var(--jade-soft);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--muted);
  max-width: 640px;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */

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

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.faq-q .faq-sign {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--coral);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-sign {
  transform: rotate(45deg);
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ============================================================
   Contact CTA band
   ============================================================ */

.contact-section {
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(255, 107, 74, 0.16), transparent 60%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .cd-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.contact-detail .cd-label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail .cd-value {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-detail .cd-value a:hover {
  color: var(--coral-soft);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--coral);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.footer-newsletter {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-inner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.newsletter-inner p {
  color: var(--muted);
  font-size: 14.5px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--jade);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--ink);
}

.footer-about {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 22px;
}

.footer-bottom a {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom a:hover {
  color: var(--ink);
}

.footer-watermark {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  color: #0B0E14;
  visibility: hidden;
  pointer-events: none;
  letter-spacing: -0.04em;
}

/* ============================================================
   Scroll reveal (safe fallback via noscript)
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .bento-card.wide,
  .bento-card.med {
    grid-column: span 12;
  }

  .bento-card.tall {
    grid-column: span 12;
    grid-row: span 1;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  :root {
    --sidebar-w: 0px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop.show {
    display: block;
  }

  .site-main {
    margin-left: 0;
  }

  .container {
    padding: 0 24px;
  }

  .hero-grid,
  .statement-inner,
  .contact-grid,
  .approach-row {
    grid-template-columns: 1fr;
  }

  .approach-row.reverse .approach-media {
    order: 0;
  }

  .hero {
    padding: 76px 0 56px;
  }

  .hero-visual {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .scroll-row {
    grid-auto-columns: 84%;
  }

  .hero-card-main {
    width: 88%;
    right: 0;
  }

  .hero-card-float {
    width: 72%;
    left: 0;
  }

  .statement-stats {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    max-width: 100%;
  }
}
