/* Design tokens — ported from src/index.css. HSL colours kept space-separated
   so we can use them with `hsl(var(--x) / alpha)`. */

:root {
  /* Light theme */
  --background: 0 0% 100%;
  --foreground: 220 20% 20%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 20%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 20%;
  --primary: 217 91% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 20% 20%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 50%;
  --accent: 217 91% 50%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 14% 90%;
  --input: 220 14% 90%;
  --ring: 217 91% 50%;
  --orange: 25 95% 53%;
  --teal: 174 72% 40%;
  --navy: 220 60% 20%;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Spacing scale (rem) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Type — same families as the hn design system (loaded once, no separate stylesheet) */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card: 0 4px 20px -2px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 30px -4px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px -6px rgba(0,0,0,0.15);

  /* Layout */
  --container-max: 80rem; /* matches Tailwind max-w-7xl */
  --header-height: 72px;
  --header-height-lg: 88px;
}

[data-theme="dark"] {
  --background: 220 20% 10%;
  --foreground: 220 10% 90%;
  --card: 220 18% 13%;
  --card-foreground: 220 10% 90%;
  --popover: 220 18% 13%;
  --popover-foreground: 220 10% 90%;
  --primary: 217 91% 60%;
  --primary-foreground: 220 20% 10%;
  --secondary: 220 14% 18%;
  --secondary-foreground: 220 10% 85%;
  --muted: 220 14% 18%;
  --muted-foreground: 220 10% 55%;
  --accent: 217 91% 60%;
  --accent-foreground: 220 20% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 14% 22%;
  --input: 220 14% 22%;
  --ring: 217 91% 60%;
  --orange: 25 95% 58%;
  --teal: 174 72% 45%;
  --navy: 220 60% 70%;
}
/* Modern reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s, color 0.2s;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

/* Layout helpers */
.container-wide {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .container-wide { padding-inline: 2rem; } }

.section-padding {
  padding-block: 2.5rem;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .section-padding { padding-block: 4rem; padding-inline: 2rem; } }
@media (min-width: 1024px) { .section-padding { padding-block: 6rem; } }

/* Visually hidden */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Background effects */
.bg-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(at 40% 20%, hsl(var(--primary) / 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsl(var(--orange) / 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsl(var(--teal) / 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsl(var(--primary) / 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsl(var(--orange) / 0.05) 0px, transparent 50%);
}
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(hsl(var(--primary) / 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
}

/* Text colour helpers */
.text-primary { color: hsl(var(--primary)); }
.text-orange  { color: hsl(var(--orange)); }
.text-teal    { color: hsl(var(--teal)); }
.text-muted   { color: hsl(var(--muted-foreground)); }
.text-fg      { color: hsl(var(--foreground)); }

.bg-primary-soft { background: hsl(var(--primary) / 0.1); }
.bg-orange-soft  { background: hsl(var(--orange) / 0.1); }
.bg-teal-soft    { background: hsl(var(--teal) / 0.1); }

/* Gradient text */
.text-gradient {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(217 91% 65%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards & shadows */
.card-shadow { box-shadow: var(--shadow-card); }
.card-shadow-hover { box-shadow: var(--shadow-card-hover); }

/* Animations — entry */
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Scroll-reveal: hidden until [data-revealed] */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal[data-revealed] { opacity: 1; transform: translateY(0); }
.reveal.from-left { transform: translateX(-24px); }
.reveal.from-right { transform: translateX(24px); }
.reveal.from-left[data-revealed], .reveal.from-right[data-revealed] { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities */
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none; }
@media (min-width: 768px) { .md\:block { display: block; } .md\:hidden { display: none; } }
@media (min-width: 1024px) { .lg\:block { display: block; } .lg\:hidden { display: none; } }
/* ================= HEADER / NAV ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
@media (min-width: 1024px) { .site-header__inner { padding-block: 1.25rem; } }
.site-header__logo img { height: 48px; width: auto; transition: opacity 0.2s; }
.site-header__logo:hover img { opacity: 0.8; }
@media (min-width: 768px) { .site-header__logo img { height: 56px; } }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.nav-link.is-active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.nav-more { position: relative; }
.nav-more__btn { cursor: pointer; }
.nav-more__chevron { transition: transform 0.2s; }
.nav-more[aria-expanded="true"] .nav-more__chevron,
.nav-more__btn[aria-expanded="true"] .nav-more__chevron { transform: rotate(180deg); }
.nav-more__panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem);
  width: 12rem; padding-block: 0.5rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  z-index: 50;
}
.nav-more__link {
  display: block; padding: 0.625rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s, color 0.15s;
}
.nav-more__link:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.nav-more__link.is-active { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }

.nav-mobile-controls { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-mobile-controls { display: none; } }

.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  transition: background 0.15s;
}
.theme-toggle:hover { background: hsl(var(--muted)); }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.hamburger {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: hsl(var(--foreground));
}
.hamburger:hover { background: hsl(var(--muted)); }
.hamburger__close { display: none; }
.hamburger[aria-expanded="true"] .hamburger__open { display: none; }
.hamburger[aria-expanded="true"] .hamburger__close { display: block; }

.nav-mobile {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  max-height: 70vh; overflow-y: auto;
}
.nav-mobile[hidden] { display: none; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile__link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 1rem; font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s, color 0.15s;
}
.nav-mobile__link:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.nav-mobile__link.is-active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* Page top spacing to clear the fixed header */
main { padding-top: var(--header-height); }
@media (min-width: 1024px) { main { padding-top: var(--header-height-lg); } }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem;
  line-height: 1; white-space: nowrap;
  transition: opacity 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.btn--primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn--primary:hover { opacity: 0.9; }

.btn--orange { background: hsl(var(--orange)); color: white; }
.btn--orange:hover { opacity: 0.9; }

.btn--outline { background: hsl(var(--card)); border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn--outline:hover { border-color: hsl(var(--primary)); }

.btn--block { width: 100%; }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  padding-top: 5rem; overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 9999px;
  filter: blur(80px); pointer-events: none;
}
.hero__blob--1 { top: 5rem; right: 25%; width: 24rem; height: 24rem; background: hsl(var(--primary) / 0.1); }
.hero__blob--2 { bottom: 5rem; left: 25%; width: 20rem; height: 20rem; background: hsl(var(--teal) / 0.1); }
.hero__blob--3 { top: 50%; right: 2.5rem; width: 16rem; height: 16rem; background: hsl(var(--orange) / 0.1); }

.hero__inner { position: relative; z-index: 10; max-width: 64rem; margin: 0 auto; text-align: center; }
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 36rem; margin: 0 auto 3rem;
}

.service-pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .service-pricing-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .service-pricing-grid { grid-template-columns: repeat(5, 1fr); } }

.pricing-card {
  display: block;
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius-2xl);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { border-color: hsl(var(--primary)); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--orange { border-color: hsl(var(--orange) / 0.2); }
.pricing-card--orange:hover { border-color: hsl(var(--orange)); }
.pricing-card--teal { border-color: hsl(var(--teal) / 0.2); }
.pricing-card--teal:hover { border-color: hsl(var(--teal)); }
.pricing-card--span-2 { grid-column: span 2; }
@media (min-width: 1024px) { .pricing-card--span-2 { grid-column: span 1; } }
@media (min-width: 768px) { .pricing-card { padding: 1.5rem; } }

.pricing-card__icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.2s;
}
.pricing-card:hover .pricing-card__icon { transform: scale(1.1); }
.pricing-card--orange .pricing-card__icon { background: hsl(var(--orange) / 0.1); color: hsl(var(--orange)); }
.pricing-card--teal .pricing-card__icon { background: hsl(var(--teal) / 0.1); color: hsl(var(--teal)); }

.pricing-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-card__desc { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.pricing-card__price-row { padding-top: 0.75rem; border-top: 1px solid hsl(var(--border)); }
.pricing-card__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: hsl(var(--primary)); }
.pricing-card__price small { font-size: 0.875rem; font-weight: 400; color: hsl(var(--muted-foreground)); }
.pricing-card__sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.pricing-card--orange .pricing-card__price { color: hsl(var(--orange)); }
.pricing-card--teal .pricing-card__price { color: hsl(var(--teal)); }

.hero__cta-row {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero__cta-row { flex-direction: row; justify-content: center; } }

.hero__trust { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ================= SECTION HEADER ================= */
.section-eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 600;
  margin-bottom: 1rem;
}
.section-eyebrow--orange { background: hsl(var(--orange) / 0.1); color: hsl(var(--orange)); }
.section-eyebrow--teal { background: hsl(var(--teal) / 0.1); color: hsl(var(--teal)); }

.section-title {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  font-weight: 700; margin-bottom: 1rem;
}
.section-lede {
  color: hsl(var(--muted-foreground));
  max-width: 42rem; margin: 0 auto;
  font-size: clamp(0.9375rem, 0.5vw + 0.875rem, 1.125rem);
}

/* ================= SERVICES GRID ================= */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .services-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: block; height: 100%;
  padding: 1rem;
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
@media (min-width: 768px) { .service-card { padding: 1.5rem; } }

.service-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform 0.2s;
}
.service-card:hover .service-card__icon { transform: scale(1.1); }
@media (min-width: 768px) { .service-card__icon { width: 3.5rem; height: 3.5rem; border-radius: var(--radius-lg); margin-bottom: 1rem; } }
.service-card__title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.875rem; margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .service-card__title { font-size: 1.125rem; margin-bottom: 0.5rem; } }
.service-card__desc {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 768px) { .service-card__desc { font-size: 0.875rem; } }

/* ================= ABOUT ================= */
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-portrait {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--orange) / 0.1));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  display: none;
}
@media (min-width: 768px) { .about-portrait { display: block; } }
.about-portrait__avatar {
  width: 8rem; height: 8rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 4rem;
}
.about-portrait__name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-portrait__role { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.about-portrait__pills { display: flex; justify-content: center; gap: 1rem; }
.about-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 500;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
}
.about-pill--orange { background: hsl(var(--orange) / 0.1); color: hsl(var(--orange)); }

.about-pricing-strip {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  background: hsl(var(--orange) / 0.1);
  border: 1px solid hsl(var(--orange) / 0.2);
  border-radius: var(--radius-xl);
  margin-block: 1.5rem;
}
.about-pricing-strip__icon {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--orange) / 0.2);
  color: hsl(var(--orange));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.about-features {
  display: grid; grid-template-columns: 1fr;
  gap: 0.75rem; margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .about-features { grid-template-columns: repeat(2, 1fr); } }
.about-feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.about-feature svg { color: hsl(var(--primary)); flex-shrink: 0; }

.brand-family {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; margin-bottom: 1.5rem;
}
.brand-pill {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
}
.brand-pill__name { font-size: 0.75rem; font-weight: 500; }
.brand-pill__year { font-size: 0.625rem; color: hsl(var(--muted-foreground)); }

/* ================= FORMS ================= */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field > label { font-size: 0.875rem; font-weight: 500; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}
.form-field textarea { resize: vertical; min-height: 6rem; }
.form-status { font-size: 0.875rem; text-align: center; font-weight: 500; }
.form-status--success { color: hsl(142 71% 35%); }
.form-status--error { color: hsl(var(--destructive)); }

/* ================= CONTACT INFO CARDS ================= */
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border-left: 4px solid hsl(var(--primary));
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow-card-hover); }
.contact-card--teal { border-left-color: hsl(var(--teal)); }
.contact-card--orange { border-left-color: hsl(var(--orange)); }
.contact-card__icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.contact-card--teal .contact-card__icon { background: hsl(var(--teal) / 0.1); color: hsl(var(--teal)); }
.contact-card--orange .contact-card__icon { background: hsl(var(--orange) / 0.1); color: hsl(var(--orange)); }
.contact-card__label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.contact-card__value { font-weight: 600; }

/* ================= FOOTER ================= */
.site-footer {
  position: relative; overflow: hidden;
  /* Footer is always dark, regardless of light/dark theme. Warm graphite, not
     the old system's 220° blue-grey — in dark mode the page sits at a near
     identical lightness, so a cool footer read as a panel from another site. */
  color: hsl(0 0% 100%);
  background: #0f0f0b;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.site-footer__inner { position: relative; z-index: 10; padding-block: 4rem 2rem; padding-inline: 1rem; }
@media (min-width: 768px) { .site-footer__inner { padding-inline: 2rem; } }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__logo img { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer__tagline { color: hsl(0 0% 100% / 0.7); margin-bottom: 1.5rem; max-width: 28rem; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.875rem; color: hsl(0 0% 100% / 0.7); }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.15s; }
a.site-footer__contact-link:hover { color: hsl(var(--primary)); }
.site-footer__socials { display: flex; gap: 0.75rem; }
.site-footer__socials a {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: hsl(0 0% 100% / 0.1);
  color: hsl(0 0% 100%);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.site-footer__socials a:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.site-footer__col h4 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 1rem; color: hsl(0 0% 100%); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { color: hsl(0 0% 100% / 0.7); transition: color 0.15s; }
.site-footer__col a:hover { color: hsl(var(--primary)); }
.site-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.875rem; color: hsl(0 0% 100% / 0.5);
}
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; } }

/* ================= WHATSAPP WIDGET ================= */
.whatsapp-widget {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 56px; height: 56px;
  border-radius: 9999px;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-widget:hover { transform: scale(1.1); box-shadow: 0 16px 40px -8px rgba(0,0,0,0.3); }

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem;
  animation: fadeIn 0.5s ease-out;
}
.cookie-banner__inner {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .cookie-banner__inner { flex-direction: row; align-items: center; gap: 1.5rem; } }
.cookie-banner__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { display: block; font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.25rem; }
.cookie-banner__text p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }
.cookie-banner__text a { color: hsl(var(--primary)); font-weight: 500; }
.cookie-banner__text a:hover { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ================= PILL / BADGE ================= */
.pill-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
  border-radius: var(--radius-full);
  font-weight: 500;
}
/* Shared page-level patterns */

/* Page hero — top padding clears the fixed header */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero__inner { position: relative; z-index: 10; max-width: 48rem; margin: 0 auto; text-align: center; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.page-hero p { color: hsl(var(--muted-foreground)); max-width: 36rem; margin: 0 auto 1.5rem; font-size: 1.0625rem; }

/* Bold gradient hero (repairs). Vivid in light mode, deep & rich in dark mode. */
.hero--gradient { background: linear-gradient(135deg, hsl(221 83% 45%) 0%, hsl(205 85% 43%) 50%, hsl(176 70% 38%) 100%); }
[data-theme="dark"] .hero--gradient { background: linear-gradient(135deg, hsl(222 60% 16%) 0%, hsl(205 65% 19%) 48%, hsl(182 55% 18%) 100%); }
/* Text/controls sit on the gradient, so they're always light regardless of theme */
.hero--gradient .page-hero__inner { color: #fff; }
.hero--gradient h1, .hero--gradient p { color: #fff; }
.hero--gradient p { opacity: 0.92; }

/* Generic card */
.card {
  background: hsl(var(--card));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
/* Modern hover lift for interactive card grids */
.card-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card--top-primary { border-top: 4px solid hsl(var(--primary)); }
.card--top-orange { border-top: 4px solid hsl(var(--orange)); }
.card--top-teal { border-top: 4px solid hsl(var(--teal)); }
.card--left-primary { border-left: 4px solid hsl(var(--primary)); }
.card--left-orange { border-left: 4px solid hsl(var(--orange)); }
.card--left-teal { border-left: 4px solid hsl(var(--teal)); }
.card--xl { padding: 2rem; }
@media (min-width: 768px) { .card--xl { padding: 3rem; } }

/* Icon square */
.icon-sq {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-sq--lg { width: 3.5rem; height: 3.5rem; }
.icon-sq--xl { width: 4rem; height: 4rem; }
.icon-sq--primary { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.icon-sq--orange  { background: hsl(var(--orange) / 0.1);  color: hsl(var(--orange)); }
.icon-sq--teal    { background: hsl(var(--teal) / 0.1);    color: hsl(var(--teal)); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Process steps (vertical timeline with numbered circles) */
.process-list { display: flex; flex-direction: column; gap: 2rem; max-width: 56rem; margin: 0 auto; position: relative; }
.process-list::before {
  content: ''; position: absolute; left: 2rem; top: 0; bottom: 0; width: 2px;
  background: hsl(var(--primary) / 0.3);
  display: none;
}
@media (min-width: 768px) { .process-list::before { display: block; } }
.process-step { position: relative; }
@media (min-width: 768px) { .process-step { padding-left: 5rem; } }
.process-step__num {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
}
@media (min-width: 768px) {
  .process-step__num {
    position: absolute; left: 0; top: 0;
    width: 4rem; height: 4rem; font-size: 1.25rem;
  }
}
.process-step--orange .process-step__num { background: hsl(var(--orange)); color: white; }
.process-step--teal .process-step__num   { background: hsl(var(--teal));   color: white; }

/* Pricing strip / banner */
.pill-banner {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  font-weight: 500;
}
.pill-banner--orange { background: hsl(var(--orange) / 0.1); border-color: hsl(var(--orange) / 0.2); }
.pill-banner--teal   { background: hsl(var(--teal) / 0.1);   border-color: hsl(var(--teal) / 0.2); }

/* Tag/chip */
.chip {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 500;
}
.chip--orange { background: hsl(var(--orange) / 0.1); color: hsl(var(--orange)); }
.chip--primary { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.chip--teal { background: hsl(var(--teal) / 0.1); color: hsl(var(--teal)); }

/* Section CTA card */
.cta-card {
  max-width: 36rem; margin: 0 auto;
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius-2xl);
  padding: 2rem; text-align: center;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .cta-card { padding: 3rem; } }

/* Legal pages */
.legal-card { padding: 2rem; }
@media (min-width: 768px) { .legal-card { padding: 3rem; } }
.legal-card h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.legal-card p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.legal-card ul { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.legal-card ul li { margin-bottom: 0.25rem; }
.legal-card strong { color: hsl(var(--foreground)); font-weight: 600; }
.legal-card a { color: hsl(var(--primary)); }
.legal-card a:hover { text-decoration: underline; }
.legal-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }

/* Bullet check list */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-list li svg { color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.125rem; }
.check-list--orange li svg { color: hsl(var(--orange)); }
.check-list--teal   li svg { color: hsl(var(--teal)); }

/* Prose for blog markdown */
.prose-custom h2 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.prose-custom h3 { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose-custom p  { color: hsl(var(--muted-foreground)); line-height: 1.8; margin-bottom: 1rem; }
.prose-custom ul, .prose-custom ol { color: hsl(var(--muted-foreground)); line-height: 1.8; margin: 1rem 0 1rem 1.5rem; }
.prose-custom ul { list-style: disc; }
.prose-custom ol { list-style: decimal; }
.prose-custom a  { color: hsl(var(--primary)); text-decoration: underline; }
.prose-custom a:hover { text-decoration: none; }
.prose-custom strong { color: hsl(var(--foreground)); font-weight: 600; }
.prose-custom hr { margin: 2rem 0; border: 0; border-top: 1px solid hsl(var(--border)); }
.prose-custom blockquote { border-left: 4px solid hsl(var(--primary)); padding-left: 1rem; font-style: italic; margin: 1.5rem 0; color: hsl(var(--muted-foreground)); }
.prose-custom code { background: hsl(var(--muted)); padding: 0.125rem 0.375rem; border-radius: var(--radius); font-size: 0.875em; }
/* ============================================================
   Mad Tech Heads — Homepage design system (graphite & copper)
   Scoped to .hn-page so it doesn't bleed into other pages.
   ============================================================ */

body:has(.hn-page) { background: var(--hn-bg, #faf9f6); }
/* The sticky CTA bar already has its own WhatsApp button — the floating
   widget would otherwise float on top of it and overlap page content. */
body:has(.hn-sticky) .whatsapp-widget { display: none; }
/* Bottom-of-screen declutter: while the cookie banner is up, hide the sticky
   CTA bar so a first-time visitor sees one thing at the bottom, not two
   overlapping bars. The sticky bar reappears once the banner is dismissed. */
body:has(.cookie-banner:not([hidden])) .hn-sticky { display: none; }
body:has(.cookie-banner:not([hidden])) .whatsapp-widget { display: none; }
body:has(.hn-page) .site-header {
  background: rgba(250,249,246,0.85);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(23,23,23,0.08);
}

/* Contain the mascot logo in a soft badge + pair it with a clean wordmark,
   so the illustrated sticker reads as an emblem rather than fighting the type. */
body:has(.hn-page) .site-header__logo {
  display: flex; align-items: center; gap: 0.7rem;
}
body:has(.hn-page) .site-header__logo img {
  height: 38px !important; width: 38px; object-fit: contain;
  padding: 5px; border-radius: 11px;
  background: #f2f0ea; border: 1px solid rgba(23,23,23,0.08);
}
body:has(.hn-page) .site-header__logo::after {
  content: 'Mad Tech Heads';
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  color: #171717; white-space: nowrap;
}
@media (max-width: 480px) { body:has(.hn-page) .site-header__logo::after { display: none; } }

[data-theme="dark"] body:has(.hn-page) { background: #14140f; }
[data-theme="dark"] body:has(.hn-page) .site-header {
  background: rgba(20,20,15,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] body:has(.hn-page) .site-header__logo img {
  background: #232420; border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] body:has(.hn-page) .site-header__logo::after { color: #f5f4f1; }

/* The legacy blue accent (--primary) still leaked into shared components on
   every page — nav, buttons, form focus rings, footer links, contact cards.
   Remap the old token to the brand so nothing renders blue. The neutral scale
   was hue 220 too — a blue-grey that showed up as a navy dropdown panel, navy
   form fields and navy cards — so the whole legacy scale moves to graphite. */
body:has(.hn-page) {
  --primary: 175 77% 26%;
  --accent: 175 77% 26%;
  --ring: 175 77% 26%;
  --background: 45 29% 97%;
  --foreground: 60 2% 17%;
  --card: 0 0% 100%;
  --card-foreground: 60 2% 17%;
  --popover: 0 0% 100%;
  --popover-foreground: 60 2% 17%;
  --secondary: 45 24% 93%;
  --muted: 45 24% 93%;
  --muted-foreground: 60 2% 41%;
  --border: 45 12% 90%;
  --input: 45 12% 90%;
}
[data-theme="dark"] body:has(.hn-page) {
  --primary: 173 80% 40%;
  --accent: 173 80% 40%;
  --ring: 173 80% 40%;
  --background: 60 14% 7%;
  --foreground: 45 9% 83%;
  --card: 70 8% 10%;
  --card-foreground: 45 9% 83%;
  --popover: 70 8% 10%;
  --popover-foreground: 45 9% 83%;
  --secondary: 70 8% 12%;
  --muted: 70 8% 12%;
  --muted-foreground: 47 4% 59%;
  --border: 70 6% 17%;
  --input: 70 6% 17%;
}

/* Legal/legacy pages mark their heading accent with .text-primary and their
   label with .section-eyebrow. Give both the graphite & copper treatment so
   they read like the rest of the site rather than flat brand-colour text. */
.hn-page h1 .text-primary {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hn-page .section-eyebrow {
  background: rgba(179,103,43,0.1); color: var(--metal);
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem;
}

/* The shared nav still painted its active pill in the legacy blue accent, which
   fought the graphite & copper palette on every page. Literal colours here: the
   header sits outside .hn-page, so the palette variables aren't in scope. */
body:has(.hn-page) .nav-link.is-active,
body:has(.hn-page) .nav-mobile__link.is-active {
  background: linear-gradient(135deg, #14b8a6, #0b5c56);
  color: #fff;
}
body:has(.hn-page) .nav-more__link.is-active { background: rgba(15,118,110,0.1); color: #0b5c56; }
body:has(.hn-page) .nav-link:hover { color: #171717; background: rgba(23,23,23,0.05); }
[data-theme="dark"] body:has(.hn-page) .nav-link:hover { color: #f5f4f1; background: rgba(255,255,255,0.07); }
[data-theme="dark"] body:has(.hn-page) .nav-more__link.is-active { background: rgba(20,184,166,0.16); color: #2dd4bf; }

.hn-page {
  --ink: #171717;
  --text: #2c2c2a;
  --muted: #6b6b66;
  --bg: #faf9f6;
  --bg-soft: #f2f0ea;
  --card: #ffffff;
  --border: rgba(23,23,23,0.1);
  --border-strong: rgba(23,23,23,0.18);
  --brand: #0f766e;
  --brand-bright: #14b8a6;
  --brand-dark: #0b5c56;
  --metal: #b3672b;
  --metal-bright: #d98f4e;
  --navy: #0c1210;
  --grad-brand: linear-gradient(100deg, var(--brand-dark), var(--brand) 55%, var(--metal));
  --grad-btn: linear-gradient(135deg, var(--brand-bright), var(--brand-dark));
  --shadow-sm: 0 1px 2px rgba(23,23,23,0.05), 0 3px 10px rgba(23,23,23,0.05);
  --shadow-md: 0 2px 6px rgba(23,23,23,0.05), 0 12px 32px rgba(23,23,23,0.1);
  --shadow-lg: 0 4px 12px rgba(23,23,23,0.06), 0 32px 64px -16px rgba(23,23,23,0.18);
  --shadow-brand: 0 12px 40px -8px rgba(15,118,110,0.35);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}
[data-theme="dark"] .hn-page {
  --ink: #f5f4f1;
  --text: #d8d6d0;
  --muted: #9a9891;
  --bg: #14140f;
  --bg-soft: #1f201c;
  --card: #1b1c18;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --brand: #14b8a6;
  --brand-bright: #2dd4bf;
  --brand-dark: #2dd4bf;
  --metal: #d98f4e;
  --metal-bright: #e8a866;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 3px 10px rgba(0,0,0,0.25);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.35), 0 32px 64px -16px rgba(0,0,0,0.5);
  --shadow-brand: 0 12px 40px -8px rgba(20,184,166,0.3);
}
.hn-page h1, .hn-page h2, .hn-page h3, .hn-page h4 { font-family: var(--font-display); color: var(--ink); }

.hn-page .fancy {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hn-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--metal);
  margin-bottom: 0.75rem;
}
.hn-eyebrow::before { content: ''; width: 1.5rem; height: 2px; background: var(--metal); }
.hn-section-title.hn-eyebrow-wrap, .hn-help, .hn-solve, .hn-reviews, .hn-section-head { text-align: center; }
.hn-help .hn-eyebrow, .hn-solve .hn-eyebrow, .hn-reviews .hn-eyebrow, .hn-section-head .hn-eyebrow { justify-content: center; }
.hn-help .hn-eyebrow::before, .hn-reviews .hn-eyebrow::before, .hn-section-head .hn-eyebrow::before { display: none; }
.hn-section-head { max-width: 42rem; margin: 0 auto 2.5rem; }
.hn-section-head .hn-section-title, .hn-section-head .hn-section-lede { margin-bottom: 0; }
.hn-section-head .hn-section-lede { margin-top: 0.5rem; }

/* ============================================================
   Hero
   ============================================================ */
.hn-hero {
  position: relative;
  padding: clamp(6rem, 11vw, 8rem) 1.5rem 4rem;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem;
  align-items: center;
  isolation: isolate;
}
@media (max-width: 960px) {
  .hn-hero { grid-template-columns: 1fr; padding-top: 5.5rem; }
  .hn-hero__copy { text-align: center; }
  .hn-hero__copy p { margin-inline: auto; }
  .hn-hero__ctas { justify-content: center; }
  .hn-pills { justify-content: center; text-align: left; }
}

/* Faint blueprint grid behind the hero */
.hn-hero::before {
  content: ''; position: absolute; z-index: -1;
  top: -2rem; left: 50%; transform: translateX(-50%);
  width: 100vw; height: calc(100% + 4rem);
  background-image:
    linear-gradient(rgba(23,23,23,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 40%, transparent 90%);
}
[data-theme="dark"] .hn-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}

.hn-hero__copy h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.05;
  margin: 0 0 0.6rem; letter-spacing: -0.03em;
}
.hn-hero__copy h1 .fancy { font-size: 1.05em; }
.hn-hero__copy p {
  font-size: 1.1rem; line-height: 1.6;
  margin: 1rem 0 1.75rem; max-width: 34rem; color: var(--muted);
}
.hn-hero__also {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.9rem; font-weight: 600; color: var(--metal);
  text-decoration: none;
}
.hn-hero__also:hover { text-decoration: underline; }
.hn-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hn-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, filter 0.25s, background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.hn-btn--primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,0.2);
}
.hn-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hn-btn--outline {
  background: var(--card); color: var(--ink);
  border-color: var(--border-strong); box-shadow: var(--shadow-sm);
}
.hn-btn--outline:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.hn-btn--whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.hn-btn--whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }

.hn-pills { display: flex; gap: 1.75rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.hn-pill { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.hn-pill__icon {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: rgba(15,118,110,0.08); color: var(--brand-dark);
  border-radius: 50%; flex: 0 0 auto;
}

/* ---- Hero showpiece: animated diagnostic ticket ---- */
.hn-ticket {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  max-width: 380px; margin: 0 auto;
  overflow: hidden;
}
.hn-ticket::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ring-angle, 0deg), var(--brand), var(--metal), var(--brand-bright), var(--metal), var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hn-ring 6s linear infinite; opacity: 0.55;
}
@property --ring-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hn-ring { to { --ring-angle: 360deg; } }

.hn-ticket__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.hn-ticket__brand { display: flex; align-items: center; gap: 0.6rem; }
.hn-ticket__logo { height: 18px; width: auto; display: block; }
.hn-ticket__id { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.05em; }
.hn-ticket__badge {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(15,118,110,0.1); color: var(--brand-dark);
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.hn-ticket__device { display: flex; align-items: center; gap: 0.9rem; padding: 1rem; background: var(--bg-soft); border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.hn-ticket__device svg { width: 2.25rem; height: 2.25rem; color: var(--brand-dark); flex: 0 0 auto; }
.hn-ticket__device strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.hn-ticket__device span { display: block; font-size: 0.78rem; color: var(--muted); }

.hn-ticket__steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.6rem; }
.hn-ticket__steps li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.85rem; color: var(--muted);
}
.hn-ticket__dot {
  width: 1.15rem; height: 1.15rem; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--border-strong); position: relative;
}
.hn-ticket__steps li.is-done { color: var(--text); font-weight: 600; }
.hn-ticket__steps li.is-done .hn-ticket__dot { background: var(--brand); border-color: var(--brand); }
.hn-ticket__steps li.is-done .hn-ticket__dot::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 0.4rem; height: 0.65rem;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(45deg);
}
.hn-ticket__steps li.is-active .hn-ticket__dot { border-color: var(--brand); animation: hn-pulse 1.4s ease-in-out infinite; }
@keyframes hn-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(15,118,110,0.35); } 50% { box-shadow: 0 0 0 5px rgba(15,118,110,0); } }

.hn-ticket__bar { height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; margin-bottom: 1rem; }
.hn-ticket__bar span { display: block; height: 100%; background: var(--grad-brand); border-radius: inherit; animation: hn-fill 5.4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes hn-fill { 0% { width: 4%; } 70% { width: 100%; } 100% { width: 100%; } }

.hn-ticket__foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.hn-ticket__foot strong { color: var(--metal); font-family: var(--font-display); }

@media (prefers-reduced-motion: reduce) {
  .hn-ticket::before, .hn-ticket__bar span, .hn-ticket__steps li.is-active .hn-ticket__dot { animation: none; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.hn-stats { padding: 0 1.5rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.hn-stats__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  text-align: center;
}
a.hn-stat { text-decoration: none; border-radius: var(--radius-sm); transition: transform 0.15s ease; }
a.hn-stat:hover { transform: translateY(-2px); }
@media (max-width: 700px) { .hn-stats__row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
.hn-stat__num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 2.9rem); letter-spacing: -0.02em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; line-height: 1.1;
}
.hn-stat__label {
  display: block; margin-top: 0.35rem; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}

/* ============================================================
   Trust strip
   ============================================================ */
.hn-trust { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.hn-trust__row {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
  align-items: center;
}
@media (max-width: 900px) { .hn-trust__row { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
.hn-trust__item { display: flex; gap: 0.85rem; align-items: center; }
.hn-trust__icon { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; color: var(--brand-dark); }
.hn-trust__text strong { font-family: var(--font-display); font-weight: 700; display: block; font-size: 0.95rem; line-height: 1.15; color: var(--ink); }
.hn-trust__text span, .hn-trust__text a { font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.hn-trust__text a:hover { color: var(--brand-dark); text-decoration: underline; }
.hn-trust__reviews { text-align: right; }
@media (max-width: 900px) { .hn-trust__reviews { text-align: left; } }
.hn-trust__reviews .stars { color: var(--metal); font-size: 1rem; letter-spacing: 0.05em; }
.hn-trust__reviews strong { display: block; font-size: 0.9rem; font-family: var(--font-display); color: var(--ink); }
.hn-trust__reviews small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.hn-trust__reviews small a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(0,0,0,0.15); }
.hn-trust__reviews small a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ============================================================
   Partner spotlight (currently: GlitterBeam). A proper feature, not a
   logo-strip — with one partner, a thin row of logos reads as sparse/
   placeholder-y. This is sized to carry a single relationship well; if a
   second partner joins, duplicate the block rather than compressing both
   into a shared row.
   ============================================================ */
.hn-partner { background: var(--bg-soft); padding: 6rem 1.5rem; }
.hn-partner__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) { .hn-partner__inner { grid-template-columns: 1fr; text-align: center; } }
.hn-partner__art {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.hn-partner__art img {
  height: 64px; width: auto; display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.12));
}
[data-theme="dark"] .hn-partner__art img { filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4)); }
.hn-partner__art-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; color: var(--brand-dark);
  background: rgba(15,118,110,0.1); padding: 0.35rem 0.75rem; border-radius: 999px;
}
.hn-partner__art-tag svg { width: 13px; height: 13px; }
.hn-partner h2 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1.08; margin: 0 0 1.1rem; letter-spacing: -0.03em; }
.hn-partner h2 .accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--metal); }
.hn-partner p { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.hn-partner__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 900px) { .hn-partner__ctas { justify-content: center; } }
.hn-partner__note { margin: 1.5rem 0 0; font-size: 0.88rem; color: var(--muted); }
.hn-partner__note a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15,118,110,0.35); }
.hn-partner__note a:hover { text-decoration-color: currentColor; }

/* ============================================================
   Section titles
   ============================================================ */
.hn-section-title {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.025em;
}
.hn-section-title .accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--metal); }
.hn-section-lede { text-align: center; color: var(--muted); max-width: 36rem; margin: 0 auto 3rem; font-size: 1.05rem; }

/* ============================================================
   How We Can Help
   ============================================================ */
.hn-help { padding: 6rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.hn-help__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .hn-help__grid { grid-template-columns: 1fr; } }
/* Two adjacent 6rem-padded sections stack to a dead ~12rem gap with no
   visual anchor between them (e.g. glitterbeam.php's Reviews → Help,
   or the homepage's Partner spotlight → Help). */
.hn-reviews + .hn-help,
.hn-partner + .hn-help { padding-top: 2rem; }

.hn-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.hn-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.hn-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.5) 48%, rgba(255,255,255,0.5) 52%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.7s ease;
}
.hn-card:hover::after { transform: translateX(120%); }
.hn-card--featured { border-color: rgba(179,103,43,0.35); }
.hn-card--featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ring-angle, 0deg), var(--brand), var(--metal), var(--brand-bright), var(--metal), var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hn-ring 6s linear infinite; opacity: 0.6; pointer-events: none;
}
.hn-card--featured::after {
  content: 'Most popular';
  position: absolute; top: 1.1rem; right: 1.1rem; bottom: auto; left: auto;
  width: max-content; height: auto;
  background: var(--grad-brand); color: #fff;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: none;
}
.hn-card--featured:hover::after { transform: none; }
.hn-card__art {
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center;
  margin-bottom: 1.1rem; border-radius: var(--radius-sm);
  background: rgba(15,118,110,0.08); color: var(--brand-dark);
}
.hn-card__art svg { width: 1.6rem; height: 1.6rem; }
.hn-card h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; color: var(--ink); }
a.hn-card, a.hn-card:hover, a.hn-card:visited { color: var(--ink); }
.hn-card p { font-size: 0.95rem; color: var(--muted); margin: 0 0 1.1rem; flex: 1; line-height: 1.55; }
.hn-card__link { font-weight: 600; font-size: 0.85rem; text-decoration: none; color: var(--brand-dark); font-family: var(--font-display); }
.hn-card:hover .hn-card__link { text-decoration: underline; }

.hn-also {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.6rem 1rem; margin-top: 2.75rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.hn-also span { color: var(--muted); font-weight: 600; }
.hn-also a {
  color: var(--text); text-decoration: none;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s, color 0.2s;
}
.hn-also a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ============================================================
   Hi, I'm Simon / Why Choose
   ============================================================ */
.hn-why { background: var(--bg-soft); padding: 6rem 1.5rem; }
.hn-why__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hn-why__inner { grid-template-columns: 1fr; text-align: center; }
  .hn-checklist { justify-items: center; }
  .hn-checklist li { text-align: left; }
  /* centre the list as a block so the tick column stays flush, not ragged */
  .hn-why .hn-checklist { justify-items: stretch; width: max-content; max-width: 100%; margin-inline: auto; }
}
.hn-why__art {
  aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--bg-soft), var(--card));
  border: 1px solid var(--border);
  display: grid; place-items: center; width: min(380px, 100%); margin: 0 auto;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hn-why__art svg { width: 55%; height: 55%; }
.hn-why__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-why h2 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1.08; margin: 0 0 1.1rem; letter-spacing: -0.03em; }
.hn-why h2 .accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--metal); }
.hn-why p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; color: var(--text); }
.hn-why__lead { font-size: 1rem; font-weight: 700; color: var(--ink) !important; margin: 1.75rem 0 1.1rem !important; }
.hn-why__signoff {
  font-family: var(--font-accent); font-style: italic; font-size: 1.3rem;
  color: var(--metal); margin: 1.75rem 0 0 !important;
}
.hn-checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .hn-checklist { grid-template-columns: 1fr; } }
.hn-checklist li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1rem; color: var(--text); }
.hn-check {
  width: 1.75rem; height: 1.75rem; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  border-radius: 50%;
}

/* ============================================================
   We Solve Real Problems (outcome stats)
   ============================================================ */
.hn-solve { padding: 6rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.hn-solve__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .hn-solve__grid { grid-template-columns: 1fr; } }
.hn-outcome {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, border-color 0.25s;
}
.hn-outcome:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.hn-outcome:hover .hn-outcome__icon { transform: scale(1.08); }
.hn-outcome__icon { transition: transform 0.25s cubic-bezier(.2,.8,.3,1); }
.hn-outcome__icon {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 1.1rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(179,103,43,0.1); color: var(--metal);
}
.hn-outcome__icon svg { width: 1.6rem; height: 1.6rem; }
.hn-outcome h4 { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.5rem; }
.hn-outcome p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   Testimonials
   ============================================================ */
.hn-reviews { padding: 6rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.hn-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .hn-reviews__grid { grid-template-columns: 1fr; } }
.hn-review {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; position: relative; box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, border-color 0.25s;
}
.hn-review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.hn-review::before {
  content: '\201C';
  position: absolute; top: -0.4rem; left: 1.25rem;
  font-family: var(--font-accent); font-style: italic; font-size: 4rem; line-height: 1;
  color: rgba(179,103,43,0.35);
}
.hn-review p { font-size: 0.95rem; margin: 1.5rem 0 1.25rem; position: relative; z-index: 1; color: var(--text); line-height: 1.6; }
.hn-review__author { display: flex; align-items: center; gap: 0.75rem; }
.hn-review__avatar {
  width: 2.5rem; height: 2.5rem; flex: 0 0 auto;
  border-radius: 50%; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
}
.hn-review__name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.hn-review__where { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   Sticky CTA bar
   ============================================================ */
.hn-sticky {
  position: sticky; bottom: 0;
  background: var(--navy); color: rgba(255,255,255,0.85);
  z-index: 50; padding: 1.1rem 1.5rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}
.hn-sticky__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.hn-sticky__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; margin: 0; color: #fff; }
.hn-sticky__title .accent { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--metal-bright); margin-left: 0.3em; }
.hn-sticky__trust { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.4rem; }
.hn-sticky__trust span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hn-sticky__trust span::before { content: '✓'; color: var(--brand-bright); font-weight: 800; }
.hn-sticky__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.hn-sticky .hn-btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.hn-sticky .hn-btn--outline { color: #fff; border-color: rgba(255,255,255,0.25); background: transparent; box-shadow: none; }
.hn-sticky .hn-btn--outline:hover { border-color: rgba(255,255,255,0.5); }
@media (max-width: 640px) {
  .hn-sticky { padding: 0.85rem 1.25rem; }
  .hn-sticky__trust { display: none; }
  .hn-sticky__title { font-size: 0.95rem; }
  .hn-sticky__inner { gap: 0.75rem; }
  .hn-sticky__ctas { width: 100%; }
  .hn-sticky__ctas .hn-btn { flex: 1; text-align: center; }
}

/* ============================================================
   Filter pills
   ============================================================ */
.hn-filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.hn-filter-pills a {
  padding: 0.55rem 1.4rem; border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  background: var(--bg-soft); color: var(--text); transition: background 0.2s, color 0.2s;
}
.hn-filter-pills a.is-active { background: var(--grad-brand); color: #fff; }
.hn-filter-pills a span { opacity: 0.7; font-size: 0.78rem; }

/* ============================================================
   Project card (portfolio)
   ============================================================ */
.hn-project-card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--metal); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s;
}
.hn-project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hn-project-card__img { height: 12rem; background: rgba(179,103,43,0.08); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hn-project-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hn-project-card__placeholder { display: flex; flex-direction: column; align-items: center; color: rgba(179,103,43,0.5); }
.hn-project-card__placeholder svg { width: 44px; height: 44px; }
.hn-project-card__placeholder span { font-size: 0.72rem; margin-top: 0.5rem; }
.hn-project-card__year { position: absolute; bottom: 0.5rem; left: 0.5rem; padding: 0.25rem 0.55rem; background: rgba(255,255,255,0.92); border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.hn-project-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.hn-project-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.hn-chip { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; }
.hn-chip--brand { background: rgba(15,118,110,0.1); color: var(--brand-dark); }
.hn-chip--metal { background: rgba(179,103,43,0.1); color: var(--metal); }
.hn-project-card h3 { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.5rem; }
.hn-project-card p { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; flex: 1; line-height: 1.55; }
.hn-project-card__link { color: var(--metal); font-weight: 600; font-size: 0.85rem; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 0.3rem; }

/* ============================================================
   Tab nav
   ============================================================ */
.hn-tabs {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 26rem; margin: 0 auto;
  background: var(--bg-soft); border-radius: 999px; padding: 0.3rem;
}
.hn-tabs a {
  text-align: center; padding: 0.6rem 1rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--muted); text-decoration: none; transition: background 0.2s, color 0.2s;
}
.hn-tabs a svg { width: 16px; height: 16px; }
.hn-tabs a.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ============================================================
   Tech stack grid
   ============================================================ */
.hn-tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 640px) { .hn-tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .hn-tech-grid { grid-template-columns: repeat(6, 1fr); } }
.hn-tech-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.hn-tech-card__icon { width: 2.5rem; height: 2.5rem; margin: 0 auto 0.6rem; border-radius: var(--radius-sm); background: rgba(15,118,110,0.08); color: var(--brand-dark); display: grid; place-items: center; }
.hn-tech-card__icon svg { width: 1.2rem; height: 1.2rem; }
.hn-tech-card h3 { font-weight: 700; font-size: 0.9rem; margin: 0; }
.hn-tech-card p { font-size: 0.78rem; color: var(--muted); margin: 0.2rem 0 0; }

/* ============================================================
   Sub-page hero (repairs, services, etc.)
   ============================================================ */
/* Light hero, matching the homepage. The saturated brand band read as a wall of
   teal on every page; the colour now lives in the accent word and the CTA only. */
.hn-page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--text);
  padding: clamp(6.5rem, 12vw, 8.5rem) 1.5rem 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
/* Depth layer: two faint, slow-drifting brand/copper light pools — enough to
   give the white space shape without colouring the whole band. */
.hn-page-hero::after {
  content: ''; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 42% at 20% 14%, rgba(15,118,110,0.10), transparent 70%),
    radial-gradient(38% 46% at 84% 80%, rgba(179,103,43,0.09), transparent 72%);
  animation: hn-hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hn-hero-drift {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  to   { transform: translate3d(2.5%, 2%, 0) scale(1.06); }
}
[data-theme="dark"] .hn-page-hero::after {
  background:
    radial-gradient(34% 42% at 20% 14%, rgba(20,184,166,0.14), transparent 70%),
    radial-gradient(38% 46% at 84% 80%, rgba(217,143,78,0.12), transparent 72%);
}
/* Staggered entrance. The h1 animates transform only — never opacity — so it
   paints immediately and LCP isn't pushed back by the reveal. */
@keyframes hn-hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hn-hero-rise-solid { from { transform: translateY(16px); } to { transform: none; } }
.hn-page-hero__inner > * { animation: hn-hero-rise 0.7s cubic-bezier(.2,.8,.3,1) both; }
.hn-page-hero__inner > h1 { animation-name: hn-hero-rise-solid; }
.hn-page-hero__inner > :nth-child(2) { animation-delay: 0.07s; }
.hn-page-hero__inner > :nth-child(3) { animation-delay: 0.14s; }
.hn-page-hero__inner > :nth-child(4) { animation-delay: 0.21s; }
.hn-page-hero__inner > :nth-child(5) { animation-delay: 0.28s; }
.hn-page-hero__inner > :nth-child(n+6) { animation-delay: 0.35s; }
.hn-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23,23,23,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, black 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, black 40%, transparent 90%);
}
[data-theme="dark"] .hn-page-hero::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}
.hn-page-hero__inner { position: relative; max-width: 780px; margin: 0 auto; }
.hn-page-hero .hn-eyebrow { color: var(--metal); justify-content: center; }
.hn-page-hero .hn-eyebrow::before { background: var(--metal); }
.hn-page-hero h1 {
  color: var(--ink); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.25; letter-spacing: -0.03em; margin: 0 0 0.85rem;
}
.hn-page-hero p { font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 36rem; margin: 0 auto 1.5rem; }
.hn-page-hero__pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--card); border: 1px solid var(--border-strong);
  color: var(--text); font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.25rem; border-radius: 999px; margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.hn-page-hero__pill svg { color: var(--brand-dark); }
.hn-page-hero__pill svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hn-page-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
/* Buttons fall back to the standard site treatment now the band is light —
   the white-on-teal overrides would be invisible here. */
.hn-page-hero .hn-checklist { text-align: left; max-width: 32rem; margin: 0 auto 2rem; gap: 0.75rem; }
.hn-page-hero .hn-checklist li { font-weight: 500; }
.hn-page-hero__note { font-size: 0.85rem; color: var(--muted); margin: 0.5rem 0 1.75rem; }

/* ============================================================
   Callout banner (contact "I come to you")
   Was a full-bleed brand-gradient block with white text — too much colour for
   a mid-page band. Light card, copper accent, colour only on the icon.
   ============================================================ */
.hn-callout {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.hn-callout__lead { display: flex; align-items: center; gap: 1rem; flex: 1 1 auto; }
.hn-callout__icon {
  width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(179,103,43,0.1); color: var(--metal);
}
.hn-callout h2 { font-size: 1.5rem; margin: 0; color: var(--ink); }
.hn-callout p { margin: 0.15rem 0 0; color: var(--muted); }
.hn-callout p strong { color: var(--text); }
.hn-callout__links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; flex: 0 0 auto; }
.hn-callout__links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hn-callout__links a svg { color: var(--metal); }
.hn-callout__links a:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .hn-callout { flex-direction: row; } }
@media (prefers-reduced-motion: reduce) { .hn-callout__links a:hover { transform: none; } }

/* ============================================================
   Pricing row
   ============================================================ */
.hn-price-row {
  padding: 5rem 1.5rem 2rem; max-width: 1000px; margin: 0 auto;
}
.hn-price-row__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .hn-price-row__grid { grid-template-columns: 1fr; } }
.hn-price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--brand); box-shadow: var(--shadow-sm);
  padding: 1.75rem; text-align: center;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, border-color 0.25s;
}
.hn-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); border-top-color: var(--brand); }
.hn-price-card--alt { border-top-color: var(--metal); }
.hn-price-card--alt:hover { border-top-color: var(--metal); }
.hn-price-card__amount {
  font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; color: var(--ink);
  letter-spacing: -0.02em;
}
.hn-price-card__amount small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.hn-price-card__label { font-size: 0.9rem; color: var(--muted); margin-top: 0.35rem; }
.hn-price-note {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  text-align: center; max-width: 40rem; margin: 1.5rem auto 0;
  background: rgba(179,103,43,0.08); color: var(--metal); border: 1px solid rgba(179,103,43,0.2);
  border-radius: 999px; padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 600;
}
.hn-price-note svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ============================================================
   Numbered steps
   ============================================================ */
.hn-steps { padding: 5rem 1.5rem; max-width: 1200px; margin: 0 auto; background: var(--bg-soft); border-radius: var(--radius); }
.hn-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.hn-steps__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 48rem; margin: 2.5rem auto 0; }
@media (max-width: 900px) { .hn-steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hn-steps__grid, .hn-steps__grid--3 { grid-template-columns: 1fr; } }
.hn-step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, border-color 0.25s; }
.hn-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.hn-step:hover .hn-step__num { transform: scale(1.08); }
.hn-step__num { transition: transform 0.25s cubic-bezier(.2,.8,.3,1); }
.hn-step__num {
  width: 2.75rem; height: 2.75rem; margin: 0 auto 1rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.hn-step h3 { font-weight: 700; font-size: 1.05rem; margin: 0 0 0.4rem; }
.hn-step p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   Feature split (art/checklist + CTA)
   ============================================================ */
.hn-feature-split {
  padding: 5rem 1.5rem; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center;
}
@media (max-width: 900px) {
  .hn-feature-split { grid-template-columns: 1fr; text-align: center; }
  .hn-feature-split .hn-checklist { justify-items: center; }
  .hn-feature-split .hn-checklist li { text-align: left; }
}
.hn-feature-split__art {
  position: relative; isolation: isolate;
  width: 100%; aspect-ratio: 1; border-radius: var(--radius); max-width: 320px; margin: 0 auto;
  background: linear-gradient(150deg, var(--bg-soft), var(--card));
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--brand-dark);
  overflow: hidden;
}
/* Brand light pool behind the icon, so the panel reads as lit rather than flat. */
.hn-feature-split__art::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 55% at 50% 42%, rgba(20,184,166,0.16), transparent 70%),
    radial-gradient(45% 45% at 78% 84%, rgba(179,103,43,0.14), transparent 72%);
}
/* Concentric rings echo the icon and give the panel a focal point. */
.hn-feature-split__art::after {
  content: ''; position: absolute; z-index: -1;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px var(--card), 0 0 0 22px rgba(15,118,110,0.06);
  animation: hn-art-breathe 7s ease-in-out infinite alternate;
}
@keyframes hn-art-breathe {
  from { transform: scale(0.96); opacity: 0.75; }
  to   { transform: scale(1.04); opacity: 1; }
}
.hn-feature-split__art svg {
  width: 42%; height: 42%;
  filter: drop-shadow(0 8px 18px rgba(15,118,110,0.25));
}
.hn-feature-split h2 { font-weight: 700; font-size: clamp(1.85rem, 4vw, 2.4rem); margin: 0 0 1rem; letter-spacing: -0.03em; }
.hn-feature-split p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 1.5rem; }
.hn-feature-split .hn-checklist { grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: 1.75rem; }

/* ============================================================
   Card checklist (compact, inside a .hn-card)
   ============================================================ */
.hn-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.hn-card__list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--text); }
.hn-card__list svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--brand); }

/* ============================================================
   Card grid — row layout (icon left, text right)
   ============================================================ */
.hn-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
@media (max-width: 800px) { .hn-row-grid { grid-template-columns: 1fr; } }
.hn-card--row { flex-direction: row; align-items: flex-start; gap: 1rem; padding: 1.5rem; text-align: left; }
.hn-card--row .hn-card__art { margin-bottom: 0; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; }
.hn-card--row .hn-card__art svg { width: 1.3rem; height: 1.3rem; }
.hn-card--row h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.hn-card--row p { font-size: 0.9rem; margin: 0; }

/* ============================================================
   Pricing tiles (2-up, with checklist)
   ============================================================ */
.hn-tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
.hn-tile-row--3 { grid-template-columns: repeat(3, 1fr); max-width: 76rem; align-items: start; }
@media (max-width: 800px) { .hn-tile-row, .hn-tile-row--3 { grid-template-columns: 1fr; } }
@media (min-width: 801px) and (max-width: 1050px) { .hn-tile-row--3 { grid-template-columns: 1fr; max-width: 32rem; } }
.hn-price-tile {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 4px solid var(--brand); box-shadow: var(--shadow-sm); padding: 2rem;
}
.hn-price-tile--alt { border-top-color: var(--metal); }
.hn-price-tile h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 0.5rem; }
.hn-price-tile__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--brand-dark); margin-bottom: 0.25rem; letter-spacing: -0.02em; }
.hn-price-tile--alt .hn-price-tile__amount { color: var(--metal); }
.hn-price-tile__amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.hn-price-tile__note { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.25rem; }
.hn-price-tile .hn-card__list { gap: 0.65rem; }
.hn-price-tile .hn-card__list svg { width: 17px; height: 17px; }
.hn-price-tile--popular { position: relative; box-shadow: var(--shadow-lg); overflow: hidden; }
.hn-price-tile--popular::before {
  content: 'Most popular'; position: absolute; top: 1.1rem; right: -2.6rem;
  background: var(--grad-brand); color: #fff; transform: rotate(45deg);
  padding: 0.3rem 3rem; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ============================================================
   Areas grid (town tiles, up to 5-up)
   ============================================================ */
.hn-areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .hn-areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .hn-areas-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .hn-areas-grid { grid-template-columns: repeat(5, 1fr); } }
.hn-area-tile {
  display: block; text-align: center; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.25rem 0.75rem; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.hn-area-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hn-area-tile svg { width: 20px; height: 20px; color: var(--brand); margin: 0 auto 0.5rem; }
.hn-area-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin: 0; color: var(--ink); }
.hn-area-tile p { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }

/* ============================================================
   Two-column text block
   ============================================================ */
.hn-two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 56rem; margin: 0 auto; text-align: left; }
@media (min-width: 800px) { .hn-two-col { grid-template-columns: 1fr 1fr; } }
.hn-two-col h3 { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.75rem; }
.hn-two-col p { color: var(--muted); line-height: 1.7; margin: 0 0 1rem; }

/* ============================================================
   Areas-covered pill list
   ============================================================ */
.hn-areas-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 0 0 1.5rem; }
.hn-areas-pills a, .hn-areas-pills span {
  padding: 0.45rem 1rem; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.hn-areas-pills a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ============================================================
   Callout note (accent-border info card)
   ============================================================ */
.hn-note {
  display: flex; gap: 1.25rem; align-items: flex-start; text-align: left;
  background: rgba(179,103,43,0.05); border: 1px solid rgba(179,103,43,0.2);
  border-radius: var(--radius); padding: 1.75rem; max-width: 48rem; margin: 0 auto;
}
.hn-note__icon {
  width: 3rem; height: 3rem; flex: 0 0 auto; border-radius: var(--radius-sm);
  background: rgba(179,103,43,0.12); color: var(--metal);
  display: grid; place-items: center;
}
.hn-note__icon svg { width: 1.5rem; height: 1.5rem; }
.hn-note h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 0.6rem; }
.hn-note p { color: var(--muted); line-height: 1.65; margin: 0 0 0.75rem; }
.hn-note p:last-child { margin-bottom: 0; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.hn-faq { max-width: 46rem; margin: 0 auto; text-align: left; }
.hn-faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 0.75rem; padding: 0 1.25rem; box-shadow: var(--shadow-sm);
}
.hn-faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hn-faq summary::-webkit-details-marker { display: none; }
.hn-faq summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--metal); flex: 0 0 auto;
  transition: transform 0.2s;
}
.hn-faq details[open] summary::after { transform: rotate(45deg); }
.hn-faq__answer { padding: 0 0 1.1rem; color: var(--muted); line-height: 1.65; font-size: 0.95rem; }

/* ============================================================
   Contact form + info cards (re-themed, classes shared with JS hooks —
   do not rename .form-field/.form-status/.contact-card, see js/main.js)
   ============================================================ */
.hn-page .form-field > label { color: var(--text); font-family: var(--font-body); }
.hn-page .form-field input,
.hn-page .form-field textarea,
.hn-page .form-field select {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--ink); font-family: var(--font-body);
}
.hn-page .form-field input:focus,
.hn-page .form-field textarea:focus,
.hn-page .form-field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
}
.hn-page .form-status { color: var(--muted); font-family: var(--font-body); }
.hn-page .form-status--success { color: var(--brand-dark); }
.hn-page .contact-card {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); text-decoration: none;
}
.hn-page .contact-card:hover { box-shadow: var(--shadow-md); }
.hn-page .contact-card--teal { border-left-color: var(--brand-bright); }
.hn-page .contact-card__icon { background: rgba(15,118,110,0.08); color: var(--brand-dark); border-radius: var(--radius-sm); }
.hn-page .contact-card--teal .contact-card__icon { background: rgba(20,184,166,0.1); color: var(--brand-bright); }
.hn-page .contact-card__label { color: var(--muted); }
.hn-page .contact-card__value { color: var(--ink); font-weight: 600; }

/* ============================================================
   Blog article body (.prose-custom shared class, styles from
   pages.css re-themed here — do not rename, blog_ingest.php content
   relies on it)
   ============================================================ */
.hn-page .prose-custom h2, .hn-page .prose-custom h3 { font-family: var(--font-display); color: var(--ink); }
.hn-page .prose-custom p, .hn-page .prose-custom ul, .hn-page .prose-custom ol { color: var(--muted); }
.hn-page .prose-custom a { color: var(--brand-dark); }
.hn-page .prose-custom strong { color: var(--ink); }
.hn-page .prose-custom hr { border-top: 1px solid var(--border); }
.hn-page .prose-custom blockquote { border-left-color: var(--brand); color: var(--muted); }
.hn-page .prose-custom code { background: var(--bg-soft); }

/* ============================================================
   Blog post card
   ============================================================ */
.hn-blog-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s; }
.hn-blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hn-blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.hn-blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-blog-card__bar { height: 4px; background: var(--grad-brand); }
.hn-blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; text-align: left; }
.hn-blog-card h2 { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.75rem; }
.hn-blog-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0 0 1rem; flex: 1; }
.hn-blog-card__meta { padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }
.hn-blog-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hn-blog-card__meta svg { width: 14px; height: 14px; }

/* ============================================================
   Timeline (vertical)
   ============================================================ */
.hn-timeline { max-width: 34rem; margin: 0 auto; display: grid; gap: 1.1rem; }
.hn-timeline__item { display: flex; align-items: center; gap: 1.25rem; }
.hn-timeline__year {
  flex: 0 0 auto; width: 4rem; height: 2.75rem; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  background: rgba(15,118,110,0.08); color: var(--brand-dark); border: 1px solid rgba(15,118,110,0.25);
}
.hn-timeline__card {
  flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem; font-weight: 600; box-shadow: var(--shadow-sm);
}

/* ============================================================
   Brand card (icon + name/year header + desc + link)
   ============================================================ */
.hn-brand-card__head { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.hn-brand-card__head .hn-card__art { margin-bottom: 0; flex: 0 0 auto; }
.hn-brand-card__year { font-size: 0.85rem; color: var(--muted); display: block; }
.hn-brand-card__sub { font-size: 0.78rem; color: var(--muted); font-style: italic; margin: 0.2rem 0 0; }

/* ============================================================
   Final CTA band
   ============================================================ */
.hn-final-cta {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: 5rem 1.5rem; text-align: center;
}
.hn-final-cta__inner { position: relative; max-width: 40rem; margin: 0 auto; }
.hn-final-cta h2 { color: #fff; font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 1rem; letter-spacing: -0.03em; }
.hn-final-cta p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.6; margin: 0 0 2rem; }
.hn-final-cta__ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hn-final-cta .hn-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); box-shadow: none; }
.hn-final-cta .hn-btn--outline:hover { border-color: #fff; box-shadow: none; }

/* ============================================================
   Scroll reveal (uses shared .reveal / [data-revealed] from js/main.js)
   ============================================================ */
.hn-page .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(.2,.8,.3,1), transform 0.8s cubic-bezier(.2,.8,.3,1); }
.hn-page .reveal[data-revealed] { opacity: 1; transform: none; }

/* ============================================================
   Reduced motion — must stay LAST in this file. Media queries add no
   specificity, so these only beat the rules above by document order.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hn-page-hero::after,
  .hn-feature-split__art::after { animation: none; }
  /* entrance stagger off, but the elements must still end up visible */
  .hn-page-hero__inner > * { animation: none; opacity: 1; transform: none; }
  .hn-step:hover, .hn-price-card:hover, .hn-outcome:hover, .hn-review:hover { transform: none; }
  .hn-step:hover .hn-step__num, .hn-outcome:hover .hn-outcome__icon { transform: none; }
  .hn-page .reveal { opacity: 1; transform: none; transition: none; }
}
