:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-raised: #151515;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --sky: #38bdf8;
  --green: #34d399;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Inter", Arial, sans-serif;
  --container: 78rem;
  --radius: 1rem;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 1%, rgba(56, 189, 248, 0.1), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
  background: var(--sky);
  color: #061117;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-inner {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.75rem;
}

.brand-logo--footer {
  height: 3.25rem;
}

.header-call {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 50%;
  color: var(--sky);
}

.header-call-text {
  display: none;
}

.header-call-icon {
  display: grid;
  place-items: center;
}

.header-call-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  place-content: center;
  gap: 0.3rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.37rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.37rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.98);
  opacity: 0;
  visibility: hidden;
  transition: max-height 300ms ease, opacity var(--transition), visibility var(--transition);
}

.site-nav.is-open {
  max-height: 28rem;
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--border);
  opacity: 1;
  visibility: visible;
}

.site-nav > a:not(.button) {
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav > a:hover {
  color: var(--sky);
}


.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--sky);
  border-radius: 999px;
  background: var(--sky);
  color: #061117;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.7rem 2rem rgba(56, 189, 248, 0.18);
}

.button--ghost {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.button--small {
  min-height: 2.7rem;
  padding: 0.7rem 1.05rem;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  isolation: isolate;
  /* clip: the ::before glow sits at right -11rem and would add 176px of page
     scroll without this */
  overflow: clip;
  padding: clamp(4rem, 14vw, 8rem) 0 clamp(3.5rem, 12vw, 7rem);
  background: #0a0a0a;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -11rem;
  width: 21rem;
  height: 21rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.08);
  filter: blur(4rem);
  content: "";
}

.hero-inner {
  max-width: 72rem;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
  color: var(--sky);
  font-size: clamp(0.67rem, 2.7vw, 0.8rem);
  font-weight: 700;
  line-height: 1.45;
}

.gradient-title {
  color: var(--sky);
  background: linear-gradient(100deg, var(--sky), var(--green));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  max-width: 70rem;
  margin-bottom: 1.25rem;
  font-family: var(--display);
  /* sized so the longest niche word ("CONTRACTORS", Archivo Black ~0.75em/char)
     fits 100vw - 2rem at every width below the 900px desktop rule */
  font-size: clamp(1.85rem, 9.5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 50rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-list {
  display: flex;
  margin: 1.75rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
  list-style: none;
}

.trust-list span {
  color: var(--green);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--sky);
  border-bottom: 1px solid var(--sky);
  background: #0a0a0a;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 72s linear infinite;
  will-change: transform;
}

.marquee span {
  flex: 0 0 auto;
  padding: 0.9rem 0;
  color: var(--sky);
  font-family: var(--display);
  font-size: clamp(0.88rem, 2.5vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.marquee b {
  margin-inline: 0.8rem;
  color: var(--green);
}

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

.section {
  padding: clamp(5rem, 12vw, 8rem) 0;
  border-bottom: 1px solid var(--border);
}

.portfolio-section,
.templates-section,
.process-section,
.pricing-section,
.contact-section {
  border-bottom: 0;
}

.section-heading {
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 58rem;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 9.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-heading--split {
  display: grid;
  gap: 1.25rem;
}

.section-heading--split > * {
  min-width: 0;
}

.section-heading--split > p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
}

.section-heading--center {
  text-align: center;
}

.section-heading--center h2,
.section-heading--center > p {
  margin-inline: auto;
}

.section-heading--center > p:last-child {
  max-width: 58ch;
  margin-top: 1.25rem;
  color: var(--muted);
}

.portfolio-list {
  overflow-x: clip;
  border-top: 1px solid var(--border);
}

.portfolio-row {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2.2rem, 7vw, 4.75rem) 0;
  border-bottom: 1px solid var(--border);
}

.portfolio-section {
  overflow-x: clip;
  background: #0a0a0a;
}

/* whole card is one link; display: contents keeps the row's grid layout */
.portfolio-link {
  display: contents;
}

.portfolio-link .portfolio-frame {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.portfolio-link:hover .portfolio-frame,
.portfolio-link:active .portfolio-frame {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 18px 44px rgba(56, 189, 248, 0.12);
}

.portfolio-link h3 {
  transition: color var(--transition);
}

.portfolio-link:hover h3,
.portfolio-link:active h3 {
  color: var(--sky);
}

.portfolio-link:focus-visible .portfolio-frame {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

.js .portfolio-row {
  opacity: 0.25;
  will-change: opacity, transform;
}

.js .portfolio-row:nth-child(odd) {
  transform: translateX(-85vw);
}

.js .portfolio-row:nth-child(even) {
  transform: translateX(85vw);
}

.portfolio-row > * {
  min-width: 0;
}

.portfolio-meta {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 1rem;
}

.portfolio-index {
  color: var(--sky);
  font-family: var(--display);
  font-size: clamp(4.25rem, 18vw, 8.5rem);
  letter-spacing: -0.02em;
  line-height: 0.78;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portfolio-meta h3 {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.portfolio-meta p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--muted);
}

.browser-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.26);
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.browser-bar {
  display: flex;
  height: 2rem;
  align-items: center;
  gap: 0.35rem;
  padding-inline: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #151515;
}

.browser-bar span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.browser-bar span:first-child { background: #fb7185; }
.browser-bar span:nth-child(2) { background: #fbbf24; }
.browser-bar span:nth-child(3) { background: #34d399; }

.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--image-ratio, 1100 / 734);
  object-fit: cover;
  object-position: top;
}

.portfolio-frame:hover,
.template-card:hover .browser-frame {
  border-color: var(--sky);
  box-shadow: 0 1.5rem 4rem rgba(56, 189, 248, 0.1);
  transform: translateY(-5px);
}

.templates-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #0a1613 100%);
}

.template-grid,
.pricing-grid,
.stats-grid,
.contact-grid,
.field-grid {
  display: grid;
  gap: 1rem;
}

.template-grid > *,
.pricing-grid > *,
.stats-grid > *,
.contact-grid > *,
.field-grid > * {
  min-width: 0;
}

.template-card {
  display: flex;
  min-width: 0;
  min-height: 26.5rem;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.2rem);
  background: var(--surface);
}

.template-frame {
  --image-ratio: 640 / 427;
  margin: 0.75rem;
  margin-bottom: 0;
  border-radius: 0.7rem;
  box-shadow: none;
}

.template-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.template-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.template-price {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--sky);
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.section-cta {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
}

.process-section {
  overflow: visible;
  background: linear-gradient(180deg, #0a1613 0%, #0c2531 100%);
}

.process-grid {
  display: grid;
  margin: 0;
  padding: 1rem 0 0;
  gap: 0.5rem;
  overflow: visible;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 2.125rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  position: absolute;
  z-index: 2;
  top: -1rem;
  left: 1.25rem;
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #34d399);
  color: #061117;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

.process-chevron {
  display: grid;
  min-height: 3rem;
  place-items: center;
  transform: rotate(90deg);
}

.process-chevron svg {
  width: 2.125rem;
  height: 2.125rem;
  animation: process-pulse 1.8s ease-in-out infinite;
}

.process-chevron--delayed svg {
  animation-delay: 0.9s;
}

@keyframes process-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(7px);
  }
}

.process-step h3 {
  min-height: 2.5em;
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 5.5vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-section {
  overflow: visible;
  background: linear-gradient(180deg, #0c2531 0%, #0d3340 100%);
}

.pricing-grid {
  padding-top: 1.5rem;
  align-items: stretch;
  overflow: visible;
}

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(1.4rem, 5vw, 2rem);
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-card--featured {
  border-color: var(--sky);
  box-shadow: 0 0 0 1px var(--sky), 0 1.5rem 4rem rgba(56, 189, 248, 0.12);
}

.tier-flag {
  position: absolute;
  top: 0;
  right: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--sky);
  color: #061117;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateY(-50%);
  white-space: nowrap;
}

.pricing-tier {
  margin-bottom: 0.45rem;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-value {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 9vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-value span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pricing-value--words {
  font-size: clamp(2.15rem, 8vw, 3.45rem);
}

.feature-list {
  display: grid;
  margin: 2rem 0;
  padding: 0;
  gap: 0.75rem;
  color: var(--muted);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.hosting-note {
  width: fit-content;
  max-width: 100%;
  margin: clamp(2.25rem, 5vw, 3.25rem) auto 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.1);
  color: #bae6fd;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.stats-band {
  position: relative;
  /* clip-path clips the FIXED backdrop below to this band's box, turning the
     section into a window onto a stationary background (true parallax) */
  clip-path: inset(0);
  overflow: clip;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  border: 0;
  background: linear-gradient(180deg, #0d3340 0%, #e9f0ed 100%);
}

.stats-parallax {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #0d3340 0%, #4d8577 55%, #e9f0ed 100%);
}

.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3.5rem);
}

.stats-orb--petrol {
  top: 6%;
  left: -6%;
  width: 26rem;
  height: 26rem;
  background: rgba(9, 38, 48, 0.6);
}

.stats-orb--sky {
  top: 34%;
  right: -7%;
  width: 22rem;
  height: 22rem;
  background: rgba(56, 189, 248, 0.28);
}

.stats-orb--mint {
  bottom: 4%;
  left: 30%;
  width: 20rem;
  height: 20rem;
  background: rgba(52, 211, 153, 0.26);
}

.stats-card {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.25rem;
  /* see-through frosted card: the pinned backdrop shows through as you scroll */
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(16, 32, 28, 0.18);
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  display: flex;
  min-width: 0;
  padding: 1rem 0.5rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  color: #10201c;
  font-family: var(--display);
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  margin-top: 0.45rem;
  color: #29433b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-section {
  background: #e9f0ed;
  color: #10201c;
}

.contact-section .section-kicker {
  color: #0284c7;
}

.contact-card {
  border: 1px solid rgba(16, 32, 28, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 32, 28, 0.06);
}

.contact-form {
  display: flex;
  min-height: 100%;
  padding: clamp(1.25rem, 5vw, 2rem);
  flex-direction: column;
  border: 2px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(to right, #38bdf8, #34d399) border-box;
}

.form-title {
  margin: 0 0 1.1rem;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-field {
  display: grid;
  margin-bottom: 1rem;
  gap: 0.45rem;
}

.form-field label {
  color: #10201c;
  font-size: 0.77rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16, 32, 28, 0.18);
  border-radius: 0.55rem;
  background: #ffffff;
  color: #10201c;
}

.form-field input {
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
}

.form-field textarea {
  min-height: 10rem;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(2, 132, 199, 0.55);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #0284c7;
  outline: 2px solid rgba(2, 132, 199, 0.18);
  outline-offset: 1px;
}

.contact-form .button {
  width: 100%;
  border-color: #10201c;
  border-radius: 0.55rem;
  background: #10201c;
  color: #ffffff;
}

.contact-form .button:hover {
  background: #1b332d;
  box-shadow: 0 0.7rem 2rem rgba(16, 32, 28, 0.16);
}

.form-status {
  min-height: 1.6em;
  margin: 0.85rem 0 0;
  color: #0c8a67;
  font-size: 0.85rem;
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-options {
  display: grid;
  min-height: 100%;
  gap: 1rem;
  grid-template-rows: auto repeat(2, minmax(0, 1fr));
  position: static;
}

.contact-live {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(12, 138, 103, 0.38);
  border-radius: 999px;
  color: #0c8a67;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0c8a67;
  animation: availability-blink 1.6s ease-in-out infinite;
}

@keyframes availability-blink {
  0%,
  100% {
    opacity: 0.55;
    box-shadow: 0 0 0 rgba(12, 138, 103, 0);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0.75rem rgba(12, 138, 103, 0.48);
  }
}

.contact-card {
  display: flex;
  min-width: 0;
  min-height: 8.5rem;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.contact-card:hover {
  border-color: #0284c7;
  background: #f8fcfb;
  transform: translateY(-3px);
}

.contact-card:focus-visible {
  border-color: #0284c7;
  outline: 3px solid #0284c7;
  outline-offset: 3px;
}

.contact-icon {
  display: grid;
  width: 2.625rem;
  height: 2.625rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-card strong {
  font-family: var(--display);
  font-size: clamp(1rem, 3.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card-copy > span {
  color: #4a625b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(16, 32, 28, 0.12);
  background: #e9f0ed;
  color: #10201c;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.footer-inner p {
  margin-bottom: 0;
  color: #4a625b;
  font-size: 0.78rem;
}

.footer-wordmark {
  color: #10201c;
  font-family: Fraunces, Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: #4a625b;
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #10201c;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { --reveal-delay: 90ms; }
.reveal-delay-2 { --reveal-delay: 180ms; }
.reveal-delay-3 { --reveal-delay: 270ms; }

/* Standard: back-to-top button with scroll-progress ring */
.btt-button {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%;
  background: rgba(17, 17, 17, 0.85); cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 32, 28, 0.24);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btt-button.btt-visible { opacity: 1; visibility: visible; transform: none; }
.btt-button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt-ring circle { fill: none; stroke-width: 3; }
.btt-ring-track { stroke: rgba(255, 255, 255, 0.22); }
.btt-ring-fill { stroke: var(--sky); stroke-dasharray: 125.66; stroke-dashoffset: 125.66; stroke-linecap: round; }
.btt-arrow { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 32rem) {
  .hero-actions {
    flex-direction: row;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-grid .form-field {
    margin-bottom: 1rem;
  }
}

@media (min-width: 42rem) {
  .template-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat + .stat {
    border-left: 1px solid rgba(16, 32, 28, 0.14);
  }
}

@media (min-width: 54rem) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .brand {
    justify-self: start;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    max-height: none;
    align-items: center;
    gap: 1.6rem;
    overflow: visible;
    background: transparent;
    opacity: 1;
    visibility: visible;
    justify-self: center;
  }

  .site-nav > a:not(.button) {
    padding: 0.4rem 0;
    font-size: 0.88rem;
  }

  .header-call {
    width: auto;
    height: auto;
    margin-left: 0;
    justify-self: end;
    border: 0;
    border-radius: 0;
    color: var(--text);
  }

  .header-call-text {
    display: grid;
    justify-items: end;
    line-height: 1.15;
    text-align: right;
  }

  .header-call-text small {
    color: var(--sky);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .header-call-text b {
    color: var(--text);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
  }

  .header-call:hover .header-call-text b {
    color: var(--sky);
  }

  .header-call-icon {
    display: none;
  }


  .hero h1,
  .section-heading h2 {
    letter-spacing: -0.005em;
  }

  .portfolio-index,
  .portfolio-meta h3,
  .process-step h3,
  .pricing-value,
  .stat-number,
  .contact-card strong {
    letter-spacing: -0.005em;
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
    align-items: end;
  }

  .templates-section .section-heading--center > p:last-child {
    max-width: 80ch;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr);
    align-items: stretch;
  }

  .process-chevron {
    min-height: 0;
    transform: none;
  }

  .portfolio-row {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .portfolio-row:nth-child(even) {
    grid-template-columns: minmax(0, 1.28fr) minmax(17rem, 0.72fr);
  }

  .portfolio-row:nth-child(even) .portfolio-frame {
    order: -1;
  }

  .portfolio-meta {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  .portfolio-index {
    font-size: 7.5rem;
  }

  .template-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .contact-options {
    position: sticky;
    top: 6rem;
    min-height: 0;
    grid-template-rows: repeat(3, auto);
    align-content: start;
  }

  .contact-column {
    min-height: 0;
    align-self: stretch;
  }

  .contact-card {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .footer-inner p {
    text-align: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 64rem) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-value {
    font-size: clamp(2.15rem, 3.7vw, 3rem);
  }

  .pricing-value--words {
    font-size: clamp(2rem, 3.25vw, 2.65rem);
  }
}

@media (min-width: 56.25rem) {
  .marquee span {
    min-width: 40rem;
  }

  .hero h1 {
    max-width: 58rem;
    font-size: clamp(4rem, 5vw, 4.75rem);
  }

  .portfolio-row {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: clamp(2rem, 3.5vw, 3.5rem);
    padding: 2.75rem 0;
  }

  .portfolio-row:nth-child(even) {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  }

  .portfolio-meta {
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .portfolio-index {
    width: 100%;
    font-size: clamp(5rem, 6vw, 5.75rem);
    line-height: 0.9;
  }

  .portfolio-frame {
    width: 100%;
    max-width: 34rem;
    justify-self: end;
  }

  .portfolio-row:nth-child(even) .portfolio-frame {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .marquee-track {
    animation-play-state: paused;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .portfolio-row {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .process-chevron svg,
  .contact-live-dot {
    animation: none;
  }

  .btt-button { transition: none; }
}

/* ============ Movie sections: flip cards + pinned story scene ============ */

.why-section,
.story-section {
  overflow-x: clip;
  background: #0a0a0a;
}

.why-lead {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--muted);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
  margin-top: 2.5rem;
  perspective: 1200px;
}

.flip-card {
  position: relative;
  height: 15rem;
  cursor: pointer;
  outline: none;
}

.flip-card:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.flip-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.flip-face--front {
  background: var(--surface);
  align-items: flex-start;
}

.flip-icon {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.75rem;
  background: rgba(56, 189, 248, 0.12);
  display: grid;
  place-items: center;
  color: var(--sky);
}

.flip-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flip-face--front b {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.flip-hint {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.flip-face--back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(52, 211, 153, 0.16)), var(--surface);
  border-color: rgba(56, 189, 248, 0.4);
}

.flip-face--back i {
  font-style: normal;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flip-face--back p {
  margin: 0;
  color: #eafaf5;
  font-size: 0.9375rem;
}

/* --- pinned story scene --- */

.story-section {
  padding: 0 0 3rem;
}

.story-section.is-animated .story-pinzone {
  height: 440vh;
}

.story-stage {
  display: grid;
  align-items: center;
  padding: 5rem 0;
}

.is-animated .story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  padding: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.75rem;
  align-items: center;
  /* full container width: auto margins alone would shrink-to-fit inside the grid stage */
  width: min(calc(100% - 2rem), var(--container));
}

.story-steps {
  display: grid;
  gap: 1.375rem;
}

/* desktop: the stack wrapper is layout-invisible; steps stay direct grid items */
.story-step-stack {
  display: contents;
}

.story-progress {
  display: none;
}

.story-steps h2 {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.125rem);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.story-step {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  transition: opacity 0.3s;
}

.is-animated .story-step {
  opacity: 0.35;
}

.is-animated .story-step.active {
  opacity: 1;
}

.story-dot {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  flex: none;
  background: var(--surface);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.875rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.story-step.active .story-dot,
.story-section:not(.is-animated) .story-dot {
  background: linear-gradient(to right, var(--sky), var(--green));
  color: #06090b;
  border-color: transparent;
}

.story-step strong {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-step span {
  font-size: 0.75rem;
  color: var(--muted);
}

.story-browser {
  position: relative;
  height: min(64vh, 35rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: clip;
  background: #0d0e10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.story-browser-bar {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--border);
  background: #0a0b0c;
}

.story-browser-bar i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.story-browser-bar i:nth-child(1) { background: #ff5f57; }
.story-browser-bar i:nth-child(2) { background: #febc2e; }
.story-browser-bar i:nth-child(3) { background: #28c840; }

.story-scene {
  position: absolute;
  inset: 2.2rem 0 0 0;
  padding: 2.125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
}

.story-scene h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
  text-transform: uppercase;
}

.story-scene--hero {
  align-items: center;
  text-align: center;
}

.story-scene--hero .story-chip {
  align-self: center;
}

.story-scene--hero h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.125rem);
}

/* fallback (no GSAP / reduced motion): show the payoff scene statically */
.story-section:not(.is-animated) .story-scene--contact {
  opacity: 1;
}

.is-animated .story-scene--hero {
  opacity: 1;
}

.story-mini-logo {
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--sky);
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--muted);
}

.story-chip {
  align-self: flex-start;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 999px;
  padding: 0.4375rem 1rem;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 600;
}

.story-scene--proof h3 {
  text-align: center;
}

.story-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.story-review {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 1rem 0.875rem;
  display: grid;
  justify-items: center;
  gap: 0.375rem;
  text-align: center;
}

.story-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.45);
  object-fit: cover;
}

.story-review b {
  font-size: 0.8125rem;
}

.story-review-stars {
  color: #fbbf24;
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.story-review p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.story-scene--price {
  align-items: center;
  text-align: center;
}

.story-menu {
  width: min(27rem, 100%);
  display: grid;
  gap: 1rem;
  text-align: left;
}

.story-menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.story-menu-name {
  font-weight: 600;
  white-space: nowrap;
}

.story-menu-lead {
  flex: 1;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.25);
  transform: translateY(-0.25rem);
}

.story-menu-price {
  font-family: var(--display);
  font-size: 1.0625rem;
  white-space: nowrap;
  min-width: 6.5rem;
  text-align: right;
}

.story-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.1em;
  background: linear-gradient(var(--sky), var(--green));
  animation: story-caret-blink 1s steps(1) infinite;
}

@keyframes story-caret-blink {
  50% { opacity: 0; }
}

.story-menu-note {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-scene--contact {
  align-items: center;
  text-align: center;
}

.story-form {
  width: min(23rem, 100%);
  display: grid;
  gap: 0.625rem;
  text-align: left;
}

.story-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.story-input {
  display: flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

.story-input--tall {
  height: 4.75rem;
  align-items: flex-start;
  padding-top: 0.625rem;
}

.story-send {
  justify-self: center;
  background: var(--sky);
  color: #06090b;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  padding: 0.6875rem 1.75rem;
}

.story-ok {
  color: var(--green);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 54rem) {
  .brand-logo {
    height: 3rem;
  }

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

  .flip-card {
    height: 12.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-content: center;
  }

  .story-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* kicker + heading centered on mobile */
  .story-steps > div:first-child {
    text-align: center;
  }

  /* animated: pinned stepper shows ONE step at a time, cross-fading in place
     (step numbers + sub-labels now visible on mobile) */
  .is-animated .story-step-stack {
    position: relative;
    display: block;
    height: 7.5rem;
  }

  .is-animated .story-step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }

  .is-animated .story-step.active {
    opacity: 1;
    transform: none;
  }

  /* reduced-motion / no-JS fallback: all four steps stack normally */
  .story-section:not(.is-animated) .story-step {
    text-align: left;
  }

  .is-animated .story-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .story-progress i {
    width: 0.5rem;
    height: 0.5rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    transition: width 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .story-progress i.active {
    width: 1.5rem;
    border-color: transparent;
    background: linear-gradient(to right, var(--sky), var(--green));
  }

  .story-browser {
    height: 50vh;
  }

  .story-scene {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-card-inner {
    transition: none;
  }
}

/* Scroll color journey v2: one FIXED layer crossfades colors in place while
   content scrolls over it (JS drives it; without JS the section gradients
   below remain the fallback). */
.bg-journey-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0a0a0a;
}

body.bg-journey .templates-section,
body.bg-journey .process-section,
body.bg-journey .pricing-section,
body.bg-journey .stats-band {
  background: transparent;
}
/* contact + footer keep their own solid sage: the page backdrop stays petrol
   after pricing and never fades to light behind visible content */

@media (max-width: 54rem) {
  .story-reviews {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .story-review {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    column-gap: 0.75rem;
    row-gap: 0.125rem;
    padding: 0.625rem 0.75rem;
    text-align: left;
  }

  .story-avatar {
    grid-row: 1 / 4;
    width: 2.5rem;
    height: 2.5rem;
  }

  .story-review p {
    font-size: 0.6875rem;
  }

  .story-scene--proof {
    gap: 0.625rem;
  }
}

/* Anchor landing points sit at each section's heading (not the padded section
   top) so jumps land with the first text visible under the header. */
.section-anchor {
  display: block;
  height: 0;
}

/* Mobile: footer content centered (desktop unchanged) */
@media (max-width: 53.9375rem) {
  .footer-inner {
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* Hero rotating niche headline — typewriter (Mr. Jon's pick, 2026-09-04) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero h1 .hero-lead {
  display: block;
}

.niche-slot {
  display: block;
  /* two lines reserved: a long niche wrapping on a phone must not shift the page */
  min-height: 1.96em;
  /* a niche may only ever break BETWEEN words, never inside one */
  overflow-wrap: normal;
  word-break: normal;
}

.niche-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.78em;
  margin-left: 0.05em;
  background: var(--green);
  translate: 0 0.06em;
  animation: niche-blink 1s steps(1, end) infinite;
}

@keyframes niche-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .niche-caret {
    display: none;
  }
}

@media (min-width: 56.25rem) {
  .niche-slot {
    min-height: 0.98em;
    white-space: nowrap;
  }
}
