/* =============================================================
   style.css — 416 Web Co portfolio site
   ============================================================= */

/* ── Custom properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:        #0f1117;
  --color-surface:   #181c27;
  --color-surface-2: #1f2437;
  --color-border:    rgba(255, 255, 255, 0.08);
  --color-text:      #f0f0f0;
  --color-text-muted:#9ca3af;
  /* PLACEHOLDER: swap accent for your brand color */
  --color-accent:        #3b82f6;
  --color-accent-hover:  #2563eb;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-section: clamp(5rem, 9vw, 9rem);
  --space-gutter:  clamp(1.25rem, 5vw, 2.5rem);
  --container-max: 1200px;

  /* Shape */
  --radius:    0.75rem;
  --radius-sm: 0.4rem;
  --radius-pill: 100px;

  /* Nav */
  --nav-height: 72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  /* clip (not hidden) — stops the off-screen mobile menu from creating a
     horizontal scrollbar without breaking the sticky nav */
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

/* ── Section base ──────────────────────────────────────────── */
.section {
  padding-block: var(--space-section);
}

.section-header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header .section-subhead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Primary */
.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

/* Ghost (for use on dark hero) */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Outline (on dark cards) */
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Modifiers */
.btn--full  { width: 100%; }

.btn--call {
  font-size: 1.15rem;
  padding: 1rem 2rem;
  letter-spacing: 0.02em;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 32px -20px rgba(0, 0, 0, 0.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-dot {
  color: var(--color-accent);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__divider {
  width: 1px;
  height: 18px;
  background: var(--color-border);
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--color-text-muted);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--color-border);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav__phone-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.nav__phone:hover {
  border-color: var(--color-accent);
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin: -8px -8px -8px auto;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1321 0%, #0f1117 100%);
}

/* Dark tint over the blobs, keeps hero text readable against the motion */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.4);
}

/* Flowing gradient blobs — a lightweight, CSS-only stand-in for a full
   WebGL/shader hero effect (see project chat). Pure transform animation
   (translate/scale/rotate only) keeps this compositor-friendly; each blob
   runs on its own long, offset loop so the drift never feels mechanical. */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform;
}

.hero__blob--1 {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  left: -12%;
  top: -14%;
  background: radial-gradient(circle at 35% 35%, rgba(96, 165, 250, 0.65) 0%, rgba(59, 130, 246, 0.22) 55%, transparent 75%);
  animation: hero-blob-1 24s ease-in-out infinite;
}

.hero__blob--2 {
  width: 44vw;
  height: 44vw;
  max-width: 560px;
  max-height: 560px;
  right: -10%;
  top: 6%;
  background: radial-gradient(circle at 60% 40%, rgba(56, 189, 248, 0.5) 0%, rgba(37, 99, 235, 0.18) 55%, transparent 72%);
  animation: hero-blob-2 30s ease-in-out infinite;
}

.hero__blob--3 {
  width: 58vw;
  height: 32vw;
  max-width: 760px;
  max-height: 420px;
  left: 12%;
  bottom: -18%;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  background: radial-gradient(ellipse at 50% 50%, rgba(147, 197, 253, 0.45) 0%, rgba(59, 130, 246, 0.15) 55%, transparent 78%);
  animation: hero-blob-3 34s ease-in-out infinite;
}

@keyframes hero-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%      { transform: translate(7vw, 6vh) scale(1.15) rotate(10deg); }
  66%      { transform: translate(-4vw, 9vh) scale(0.92) rotate(-8deg); }
}

@keyframes hero-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%      { transform: translate(-8vw, 7vh) scale(1.1) rotate(-12deg); }
}

@keyframes hero-blob-3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40%      { transform: translate(6vw, -5vh) scale(1.12) rotate(6deg); }
  75%      { transform: translate(-6vw, -3vh) scale(0.94) rotate(-5deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 8vw, 7rem);
}

.hero__content {
  /* Sized against the headline's max font-size — a narrower column here forces
     the headline to wrap to 4 lines and pushes the CTAs below the fold. */
  max-width: 940px;
}

/* Phone mockup is decorative and needs real width to read as a phone, so it
   only appears once there's room for it alongside a 2-line headline —
   width AND height gated, so a wide-but-short laptop window falls back to
   the single-column layout instead of pushing the CTAs below the fold. */
.hero__phone { display: none; }

@media (min-width: 1024px) and (min-height: 700px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .hero__content {
    max-width: none;
  }

  /* No headline font-size override needed here: the base clamp's vw-scaling
     already lands at 2 lines with the CTAs clear of the fold across this
     whole breakpoint's range (checked at 1024x700, the tightest case, and
     1512x795) — a smaller override was tried and turned out to be dead code,
     since it sits before the base .hero__headline rule in source order and
     same-specificity ties resolve to the later rule regardless of nesting. */

  .hero__phone {
    display: block;
  }
}

/* ── Phone mockup ───────────────────────────────────────────── */
.phone {
  position: relative;
  width: clamp(230px, 17vw, 280px);
  aspect-ratio: 9 / 19.5;
  background: #0b0c10;
  border: 10px solid #1c1d22;
  border-radius: 2.75rem;
  box-shadow:
    0 40px 70px -25px rgba(0, 0, 0, 0.65),
    0 0 0 2px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.phone__btn {
  position: absolute;
  background: #1c1d22;
  border-radius: 2px;
}

.phone__btn--power {
  right: -13px;
  top: 22%;
  width: 3px;
  height: 15%;
}

.phone__btn--vol-up {
  left: -13px;
  top: 16%;
  width: 3px;
  height: 8%;
}

.phone__btn--vol-down {
  left: -13px;
  top: 27%;
  width: 3px;
  height: 8%;
}

.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 5.5%;
  background: #1c1d22;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}

.phone__screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14% 8% 6%;
  background-image:
    /* darker at top (status icons/time) and bottom (notifications), lighter
       through the middle so the photo itself still reads clearly */
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 24%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.6) 100%),
    url('../assets/images/phone-lockscreen.jpg');
  background-size: cover;
  background-position: center;
}

.phone__statusbar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-bottom: 8%;
}

/* Real iOS status icons, right-aligned like the reference screenshot —
   separate from the centered lock-screen clock below it. */
.phone__sysicons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.phone__icon {
  width: 0.85rem;
  height: auto;
  flex-shrink: 0;
}

.phone__icon--battery {
  width: 1.15rem;
}

.phone__date {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.phone__time {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-top: 0.15rem;
}

.phone__notifications {
  list-style: none;
  display: flex;
  flex-direction: column;
  /* Sized against MAX_NOTIFS (6) in js/main.js — 6 cards at this gap fit
     with a few px to spare even at the narrowest qualifying phone width. */
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.phone__notif {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  /* Slightly stronger than before — these now sit over a photo instead of
     a flat dark gradient, so need more of their own contrast to stay legible. */
  background: rgba(20, 22, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.6rem 0.65rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.phone__notif-icon {
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.phone__notif-body {
  min-width: 0;
}

.phone__notif-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.phone__notif-meta {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  margin-top: 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-display);
  /* Upper bound keeps the headline at 2 lines and the CTAs above the fold on
     laptop-height viewports. The 3rem floor is what phones resolve to — leave it. */
  font-size: clamp(3rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.hero__accent {
  color: var(--color-accent);
}

.hero__cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.85em;
  margin-left: 0.03em;
  background: var(--color-accent);
  vertical-align: -0.1em;
  animation: hero-cursor-blink 0.9s step-end infinite;
}

@keyframes hero-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 2.5rem;
  max-width: 44ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── PORTFOLIO ──────────────────────────────────────────────── */
/* auto-fit keeps the grid looking intentional whether there are 2 cards or 6 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.portfolio-card__link {
  display: block;
  text-decoration: none;
}

.portfolio-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
}

/* Placeholder backgrounds — per card color variation */
.portfolio-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.portfolio-card__placeholder::before {
  content: 'Screenshot placeholder';
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
}

.portfolio-card:nth-child(1) .portfolio-card__placeholder { background: linear-gradient(145deg, #10203d, #0f1117); }
.portfolio-card:nth-child(2) .portfolio-card__placeholder { background: linear-gradient(145deg, #0e1d38, #0f1117); }
.portfolio-card:nth-child(3) .portfolio-card__placeholder { background: linear-gradient(145deg, #131e32, #0f1117); }
.portfolio-card:nth-child(4) .portfolio-card__placeholder { background: linear-gradient(145deg, #10203a, #111520); }
.portfolio-card:nth-child(5) .portfolio-card__placeholder { background: linear-gradient(145deg, #0f1e35, #0f1117); }
.portfolio-card:nth-child(6) .portfolio-card__placeholder { background: linear-gradient(145deg, #151d30, #101318); }

/* Real screenshot img — matches same slot as placeholder */
.portfolio-card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover: zoom image/placeholder */
.portfolio-card:hover .portfolio-card__placeholder,
.portfolio-card:hover .portfolio-card__img-wrap img {
  transform: scale(1.05);
}

/* Hover overlay */
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}

.portfolio-card__niche {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.portfolio-card__view {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* ── PRICING ────────────────────────────────────────────────── */
.pricing { background: var(--color-surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.07) 0%, var(--color-bg) 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-card__features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Care Plan */
.care-plan {
  margin-top: 2.5rem;
  border: 1.5px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-bg);
  overflow: hidden;
}

.care-plan__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}

.care-plan__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.care-plan__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.care-plan__name strong {
  color: var(--color-text);
}

.care-plan__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.care-plan__features li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.care-plan__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.care-plan__cta {
  flex-shrink: 0;
}

/* ── ABOUT / PROCESS ────────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about__bio {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 1.75rem;
  max-width: 48ch;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0.25rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.15;
  flex-shrink: 0;
  min-width: 2.5rem;
  opacity: 0.9;
}

.process-step__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.process-step__body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--color-surface); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.45;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Direct contact column */
.contact__direct {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact__direct-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact__email {
  font-size: 1rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.contact__email:hover { opacity: 0.75; }

.contact__hours {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 32ch;
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--color-text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer__back-top {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer__back-top:hover { color: var(--color-text); }

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
/* Only ever added to the DOM on desktop/fine-pointer, motion-ok visitors —
   see js/main.js. mix-blend-mode: difference keeps the ring visible over
   any background (dark hero, light sections, images) with no per-section
   theming needed. */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
  will-change: transform;
}

.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-hover {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea {
  cursor: none;
}

/* ── FOCUS ──────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Portfolio grid uses auto-fit, so it reflows on its own down to 600px. */

/* Tablet/Mobile — ≤768px */
@media (max-width: 768px) {
  /* Nav */
  .nav__hamburger { display: flex; }

  .nav__menu {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: var(--color-bg);
    padding: 2.5rem var(--space-gutter);
    gap: 1.75rem;
    transform: translateX(100%);
    /* visibility keeps the closed menu's links out of the tab order */
    visibility: hidden;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.3s;
    z-index: 90;
    border-top: 1px solid var(--color-border);
  }

  .nav__menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .nav__divider {
    display: none;
  }

  .nav__link {
    font-size: 1.25rem;
    color: var(--color-text);
  }

  .nav__link::after {
    display: none;
  }

  .nav__phone {
    font-size: 1.1rem;
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav__phone:hover {
    background: transparent;
    box-shadow: none;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .pricing-card--featured { order: -1; }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__direct {
    padding-top: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Small mobile — ≤600px */
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }

  .hero__ctas { flex-direction: column; align-items: flex-start; }

  .care-plan__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
