/* ──────────────────────────────────────────────────────────────────
   Smith Development & Construction — landing page
   Mobile-first, lean CSS, no frameworks
   ────────────────────────────────────────────────────────────────── */

:root {
  --c-primary: #4054B2;
  --c-primary-deep: #2E3F8F;
  --c-primary-soft: #EEF1FB;
  --c-spark: #4054B2;

  --c-ink: #0F172A;
  --c-text: #333333;
  --c-muted: #6B6B6B;
  --c-line: #E4E4E2;
  --c-line-strong: #1F2433;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F4F4F2;
  --c-bg-dark: #0F172A;

  --font-heading: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 56px);

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ──────────────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-deep); border-color: var(--c-primary-deep); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}
.btn-outline:hover { background: var(--c-ink); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

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

/* ──────────────────────────────────────────────────────────────────
   Header
   ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--c-line);
}
.site-header.scrolled {
  background: #FFFFFF;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-ink);
}
.brand-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  background: var(--c-ink);
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #fff;
  line-height: 1;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-line1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink);
}
.brand-line2 {
  font-size: 12px;
  color: var(--c-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-desktop a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--c-text);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a:hover { color: var(--c-primary); }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-cta {
  display: none;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-desktop + .header-cta { margin-left: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--c-ink);
}
.header-phone:hover { color: var(--c-primary); }

.hamburger {
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 0.25s var(--ease);
  padding: 16px var(--pad) 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-drawer.open { transform: translateY(0); visibility: visible; }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
}
.mobile-drawer nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--c-ink);
}
.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
  .mobile-drawer { display: none; }
  .brand-mark { font-size: 24px; padding: 9px 13px; }
  .brand-line1 { font-size: 15px; }
  .brand-line2 { font-size: 12.5px; }
}

/* ──────────────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--c-primary-soft) 0%, transparent 60%),
    #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 24px;
}
.eyebrow-bar {
  width: 32px;
  height: 2px;
  background: var(--c-primary);
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--c-primary);
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--c-primary-soft);
  z-index: -1;
}
.hero-sub {
  margin: 24px 0 32px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--c-text);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}
.hero-stats > div { margin: 0; }
.hero-stats dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--c-muted);
}

/* hero visual — split layout (default) */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 0.6fr;
  gap: 16px;
  min-height: 360px;
}
@media (min-width: 960px) {
  .hero-visual { min-height: 540px; }
}
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-bg-alt);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.hero-photo-2 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}
.hero-photo-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6BCF7F;
  box-shadow: 0 0 8px #6BCF7F;
}
.hero-badge {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  background: var(--c-ink);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 64px; height: 64px;
  background: var(--c-primary);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero-badge-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-badge-txt {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* hero-stacked: photo on top, copy below */
.hero-stacked .hero-grid {
  grid-template-columns: 1fr;
}
.hero-stacked .hero-visual {
  order: -1;
  min-height: 320px;
}

/* hero-editorial: large title overlapping photo */
.hero-editorial .hero-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}
.hero-editorial .hero-title {
  font-size: clamp(48px, 10vw, 120px);
}
@media (min-width: 960px) {
  .hero-editorial .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-editorial .hero-copy {
    grid-column: 1 / -1;
    z-index: 2;
  }
  .hero-editorial .hero-visual {
    grid-column: 1 / -1;
    grid-template-columns: 2fr 1fr;
    margin-top: -40px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   Sections
   ────────────────────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}
@media (min-width: 768px) {
  .section { padding: 120px 0; }
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.section-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-primary);
  letter-spacing: 0.04em;
}
.section-num::before { content: "/ "; opacity: 0.5; }
.section-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-kicker {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--c-muted);
  text-wrap: pretty;
  max-width: 56ch;
}

/* ──────────────────────────────────────────────────────────────────
   Services
   ────────────────────────────────────────────────────────────────── */
.section-services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--c-line);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  transition: background 0.2s var(--ease);
  position: relative;
}
@media (min-width: 640px) {
  .service-card:nth-child(2n) { border-right: 1px solid var(--c-line); }
  .service-card:nth-child(2n+2) { border-right: none; }
}
@media (min-width: 960px) {
  .service-card { border-right: 1px solid var(--c-line); }
  .service-card:nth-child(3n) { border-right: none; }
}
.service-card:hover { background: var(--c-bg-alt); }
.service-card:hover .service-icon { color: var(--c-primary); }
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.service-icon {
  color: var(--c-ink);
  transition: color 0.2s var(--ease);
}
.service-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}
.service-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.service-blurb {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
}

/* ──────────────────────────────────────────────────────────────────
   About
   ────────────────────────────────────────────────────────────────── */
.section-about { background: var(--c-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
}
.about-copy .section-head { margin-bottom: 32px; }
.prose {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--c-text);
  max-width: 60ch;
  text-wrap: pretty;
}
.mission {
  margin-top: 32px;
  padding: 28px;
  background: #fff;
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mission-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.mission-text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--c-ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.stat-block {
  background: #fff;
  padding: 32px 24px;
}
.stat-block.accent {
  background: var(--c-ink);
  color: #fff;
}
.stat-block.accent .stat-cap { color: rgba(255,255,255,0.7); }
.stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--c-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-block.accent .stat-num { color: #fff; }
.stat-cap {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────────
   Team
   ────────────────────────────────────────────────────────────────── */
.section-team { background: #fff; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.team-card {
  background: #fff;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c-bg-alt);
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(15,23,42,0.04) 14px,
    rgba(15,23,42,0.04) 15px
  );
}
.team-initials {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 96px);
  color: var(--c-ink);
  opacity: 0.15;
  letter-spacing: -0.04em;
}
.team-photo-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 11px;
  color: var(--c-muted);
  background: rgba(255,255,255,0.7);
  padding: 4px 8px;
  border-radius: 2px;
}
.team-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-bio {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
}

/* ──────────────────────────────────────────────────────────────────
   Projects
   ────────────────────────────────────────────────────────────────── */
.section-projects { background: var(--c-bg-alt); }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 720px) {
  .featured-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 480px;
  }
  .featured-card-lg { grid-row: 1 / 3; grid-column: 1 / 2; }
  .featured-card:nth-child(2) { grid-row: 1 / 2; grid-column: 2 / 4; }
  .featured-card:nth-child(3) { grid-row: 2 / 3; grid-column: 2 / 4; }
}

.featured-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-ink);
  margin: 0;
}
.featured-img {
  position: absolute;
  inset: 0;
}
.featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,0.85) 100%);
}
.featured-card figcaption {
  position: relative;
  z-index: 2;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  min-height: 240px;
}
@media (min-width: 720px) {
  .featured-card figcaption { min-height: 0; }
}
.featured-type {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.featured-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--c-line);
  background: var(--c-line);
  gap: 1px;
}
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .clients-grid { grid-template-columns: repeat(5, 1fr); } }
.clients-grid.dense { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 639px) {
  .clients-grid.dense { grid-template-columns: repeat(2, 1fr); }
}

.client-cell {
  background: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s var(--ease);
}
.client-cell:hover { background: var(--c-primary-soft); }
.client-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  color: var(--c-primary);
  letter-spacing: 0.04em;
}
.client-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────────────
   Benefits
   ────────────────────────────────────────────────────────────────── */
.section-benefits {
  background: var(--c-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.section-benefits .section-title { color: #fff; }
.section-benefits .section-label { color: #fff; }
.section-benefits .section-num { color: var(--c-spark); }
.section-benefits .section-kicker { color: rgba(255,255,255,0.7); }

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 960px) {
  .benefits-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
}
.benefits-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.benefits-head .btn { align-self: flex-start; }

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.benefits-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--c-bg-dark);
  transition: background 0.2s var(--ease);
}
.benefits-list li:hover { background: #1A2645; }
.benefit-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--c-spark);
  letter-spacing: 0.04em;
}
.benefit-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #fff;
}
.benefits-list svg {
  color: var(--c-spark);
}

/* ──────────────────────────────────────────────────────────────────
   Contact
   ────────────────────────────────────────────────────────────────── */
.section-contact { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
}

.contact-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.contact-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1.3;
}
a.contact-value:hover { color: var(--c-primary); }

.contact-card {
  background: var(--c-bg-alt);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.field .req { color: var(--c-primary); }
.field input,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--font-body);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.field.has-error input,
.field.has-error textarea {
  border-color: #C84545;
}
.field-error {
  font-size: 13px;
  color: #C84545;
}
.form-fine {
  font-size: 12px;
  color: var(--c-muted);
  margin: 0;
  text-align: center;
}

.contact-success {
  text-align: center;
  padding: 24px 0;
}
.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #6BCF7F;
  color: #fff;
  margin-bottom: 16px;
}
.contact-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.contact-success p {
  margin: 0 0 24px;
  color: var(--c-muted);
}

/* ──────────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-mark {
  display: inline-flex;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  align-self: flex-start;
  line-height: 1;
}
.footer-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  line-height: 1.3;
}
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 28ch;
}
.footer-h {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a,
.footer-col span,
.footer-col address {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 640px) {
  .footer-bar-inner { flex-direction: row; justify-content: space-between; }
}

/* ──────────────────────────────────────────────────────────────────
   Tweaks panel custom controls
   ────────────────────────────────────────────────────────────────── */
.tw-swatches {
  display: flex;
  gap: 8px;
}
.swatch {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: 1.5px solid #E4E4E2;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.swatch.active {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
}
.swatch-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(15,23,42,0.1);
}
.swatch-name {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: capitalize;
  color: #0F172A;
}

/* ──────────────────────────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
