:root {
  --bg: #f3f7f7;
  --bg-deep: #08181d;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-dark: rgba(8, 24, 29, 0.82);
  --text: #0f1f24;
  --muted: #53676d;
  --teal: #58e0d2;
  --teal-dark: #0f5f61;
  --slate: #15262d;
  --border: rgba(15, 31, 36, 0.12);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 90px rgba(9, 21, 25, 0.14);
  --shadow-soft: 0 18px 45px rgba(9, 21, 25, 0.08);
  --radius: 28px;
  --radius-sm: 16px;
  --font-body: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Montserrat"), url("/assets/media/montserrat-latin-variable.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 224, 210, 0.20), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(21, 38, 45, 0.18), transparent 24%),
    radial-gradient(circle at 90% 78%, rgba(88, 224, 210, 0.10), transparent 24%),
    linear-gradient(180deg, #f6f9f9 0%, #eef3f4 100%);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(300deg, rgba(88, 224, 210, 0.08), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: -1;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:hover {
  color: #083739;
}

p {
  margin: 0 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

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

.narrow-section {
  width: min(920px, calc(100% - 2rem));
}

.topbar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 24, 29, 0.98), rgba(21, 38, 45, 0.92)),
    radial-gradient(circle at 12% 50%, rgba(88, 224, 210, 0.22), transparent 24%);
  color: #f4fbfb;
  font-size: 0.92rem;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 65%);
  transform: translateX(-45%);
  animation: shimmer 9s linear infinite;
  pointer-events: none;
}

.bar-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  flex-wrap: wrap;
}

.topbar-note {
  margin: 0;
  align-self: center;
  line-height: 1.2;
}

.topbar-link,
.topbar-cta {
  color: #f4fbfb;
}

.topbar-link:hover {
  color: #7ef2e8;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.topbar-social {
  display: inline-flex;
}

.topbar-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(88, 224, 210, 0.12);
  border: 1px solid rgba(88, 224, 210, 0.26);
  font-weight: 700;
}

.topbar-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(126, 242, 232, 0.34);
  color: #ffffff;
  transform: translateY(-1px);
}

.social-links {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.social-links .icon {
  display: inline-grid;
  place-items: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.social-links a:hover .icon {
  background: rgba(126, 242, 232, 0.2);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(88, 224, 210, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(246, 249, 249, 0.82);
  border-bottom: 1px solid rgba(15, 31, 36, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand img {
  width: min(260px, 44vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(9, 21, 25, 0.08));
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(88, 224, 210, 0.28);
  background: linear-gradient(135deg, rgba(8, 24, 29, 0.98), rgba(21, 38, 45, 0.92));
  color: #f4fbfb;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font: inherit;
  box-shadow: 0 14px 32px rgba(9, 21, 25, 0.18);
}

.nav-toggle::before {
  content: "☰";
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.95;
}

.nav-toggle:hover {
  background: linear-gradient(135deg, rgba(11, 31, 37, 0.98), rgba(28, 49, 57, 0.94));
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(9, 21, 25, 0.2);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nav-link,
.nav-button {
  color: var(--text);
  padding: 0.72rem 0.98rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
}

.nav-chevron {
  font-size: 0.72em;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-0.5px);
}

.nav-link:hover,
.nav-link.is-active,
.nav-button:hover,
.nav-button[aria-expanded="true"] {
  background: rgba(88, 224, 210, 0.12);
  border-color: rgba(88, 224, 210, 0.24);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-link-cta {
  background: linear-gradient(135deg, #57dfd1 0%, #7ef2e8 100%);
  color: #072126;
  border-color: rgba(88, 224, 210, 0.32);
  box-shadow: 0 14px 32px rgba(88, 224, 210, 0.32);
  position: relative;
  overflow: hidden;
}

.nav-link-cta:hover {
  color: #051b1f;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(88, 224, 210, 0.38);
}

.nav-link-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.nav-link-cta:hover::after {
  transform: translateX(120%);
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: 0;
  min-width: 260px;
  margin-top: 0;
  padding: 0.85rem 0.7rem 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: none;
  backdrop-filter: blur(16px);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  display: grid;
}

.nav-sublink {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}

.nav-sublink:hover {
  background: rgba(88, 224, 210, 0.12);
  color: var(--teal-dark);
}

.hero {
  padding: clamp(3.2rem, 7vw, 6.8rem) 0 2rem;
}

.hero-home {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
}

.hero-simple {
  background:
    linear-gradient(180deg, rgba(8, 24, 29, 0.04), rgba(8, 24, 29, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3vw, 3.2rem);
  align-items: center;
}

.hero-grid-archive {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy h1 {
  max-width: 11ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(88, 224, 210, 0.12);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro {
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1.5rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.mini-card,
.glass-card,
.content-card,
.service-card,
.split-list,
.cta-band,
.hero-panel,
.archive-card,
.prose,
.pagination-shell {
  backdrop-filter: blur(18px);
}

.mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.35rem;
}

.mini-card strong {
  font-size: 1rem;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 100%;
}

.orb {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.95;
  animation: float 11s ease-in-out infinite;
  z-index: 0;
}

.orb-one {
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(88, 224, 210, 0.96), rgba(88, 224, 210, 0.12) 68%, transparent 70%);
  top: -2rem;
  right: 0;
}

.orb-two {
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(21, 38, 45, 0.86), rgba(21, 38, 45, 0.1) 72%, transparent 75%);
  left: 0;
  bottom: 1rem;
  animation-delay: -4s;
}

.hero-panel,
.hero-stats,
.archive-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel,
.archive-card {
  padding: 1.3rem;
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 31, 36, 0.08);
}

.hero-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 0 0 6px rgba(88, 224, 210, 0.12);
  flex: 0 0 auto;
}

.hero-stats {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats div {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.hero-stats strong,
.archive-card strong {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hero-stats span,
.archive-card span {
  color: var(--muted);
}

.service-band {
  margin: clamp(2rem, 5vw, 4rem) 0 0;
}

.service-band-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.25rem) 1.25rem 1.4rem;
  border-radius: 30px;
  border: 1px solid rgba(88, 224, 210, 0.14);
  background:
    radial-gradient(circle at 12% 20%, rgba(88, 224, 210, 0.18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(64, 224, 208, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(8, 24, 29, 0.95), rgba(21, 38, 45, 0.92));
  color: #f4fbfb;
  box-shadow: 0 18px 44px rgba(9, 21, 25, 0.14);
}

.service-band-shell::before,
.service-band-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-band-shell::before {
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 66%);
  transform: translateX(-45%);
  animation: shimmer 9s linear infinite;
}

.service-band-shell::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%);
}

.service-band-copy {
  position: relative;
  z-index: 1;
}

.service-band-copy .eyebrow {
  color: rgba(244, 251, 251, 0.82);
}

.service-band-copy h2 {
  color: #f4fbfb;
  margin-bottom: 0.8rem;
}

.service-band-copy p:last-child {
  margin-bottom: 0;
  max-width: 30rem;
  color: rgba(244, 251, 251, 0.88);
}

.service-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-band-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.35rem;
  min-height: 122px;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: serviceTileFloat 6.5s ease-in-out infinite;
}

.service-band-card::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 242, 232, 0.18), transparent 68%);
}

.service-band-card strong {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: #ffffff;
}

.service-band-card span {
  position: relative;
  z-index: 1;
  color: rgba(244, 251, 251, 0.84);
  line-height: 1.5;
}

.service-band-hosting { animation-delay: -0.8s; }
.service-band-websites { animation-delay: -2.1s; }
.service-band-seo { animation-delay: -3.2s; }
.service-band-automation { animation-delay: -1.4s; }

.section {
  padding: clamp(3rem, 6vw, 5.4rem) 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 10% 0 0;
  background: radial-gradient(circle at 10% 18%, rgba(88, 224, 210, 0.13), transparent 28%);
  pointer-events: none;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.8rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.service-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card,
.content-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.service-card img,
.content-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div,
.content-card-body {
  padding: 1.2rem 1.2rem 1.35rem;
}

.service-card h3 a,
.content-card-body h3 a {
  color: var(--text);
}

.service-card:hover,
.content-card:hover,
.mini-card:hover,
.split-list:hover,
.cta-band:hover,
.hero-panel:hover,
.archive-card:hover,
.prose:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(9, 21, 25, 0.12);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.split-copy {
  padding-right: clamp(0rem, 2vw, 1rem);
}

.split-list {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.stack-item {
  display: grid;
  gap: 0.18rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 31, 36, 0.08);
}

.stack-item strong {
  font-size: 1.05rem;
}

.stack-item span {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at top right, rgba(88, 224, 210, 0.12), transparent 24%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.content-layout {
  display: grid;
  gap: 1.4rem;
}

.content-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-media-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.content-media-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.slug-ai-automation-services .hero-image img,
.slug-ai-automation-services .content-media-card img {
  aspect-ratio: 16 / 10;
  object-position: center center;
}

.section-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.section-card {
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.section-card-wide {
  grid-column: 1 / -1;
}

.section-card-body {
  display: grid;
  gap: 0.9rem;
}

.section-card-body > *:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 100%;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.prose > * + * {
  margin-top: clamp(1rem, 2vw, 1.8rem);
}

.prose :is(h1, h2, h3, h4, h5, h6) {
  scroll-margin-top: 110px;
}

.prose :is(h2, h3, h4) {
  margin-top: 1.8rem;
}

.prose img {
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.slug-about-us .prose img[alt*="Ashley Hulme"],
.slug-about-us .prose img[src*="Email-Photo-200x204"] {
  display: none !important;
}

.prose a:not(.button):not(.nav-link):not(.nav-sublink) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--teal);
  background: rgba(88, 224, 210, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(88, 224, 210, 0.12);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.86rem;
}

.form {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.35rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(21, 38, 45, 0.98), rgba(8, 24, 29, 0.94)),
    radial-gradient(circle at top right, rgba(88, 224, 210, 0.14), transparent 20%);
  color: #f4fbfb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(88, 224, 210, 0.18);
  padding: 0.95rem 1rem;
  background: rgba(245, 247, 248, 0.98);
  color: var(--text);
  font: inherit;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(88, 224, 210, 0.55);
  box-shadow: 0 0 0 4px rgba(88, 224, 210, 0.14);
}

.form textarea {
  resize: vertical;
  min-height: 140px;
}

.form button,
.button,
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.9rem 1.25rem;
  min-height: 3rem;
  background: linear-gradient(135deg, var(--teal), #7bf0e6);
  color: #092226;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 32px rgba(88, 224, 210, 0.28);
}

.form button:hover,
.button:hover,
.pagination a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7bf0e6, var(--teal));
  color: #092226;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: rgba(15, 31, 36, 0.1);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.newsletter-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  width: 100%;
  margin: 0 auto;
}

.newsletter-inline input {
  min-width: 0;
}

.hp-field,
.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;
}

.form-notice {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-weight: 700;
  background: rgba(88, 224, 210, 0.12);
  color: inherit;
}

.form-notice.error {
  background: rgba(255, 92, 92, 0.14);
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  color: #a0202b;
  font-size: 0.88rem;
  font-weight: 700;
}

.is-invalid {
  border-color: rgba(160, 32, 43, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(160, 32, 43, 0.14), 0 0 0 6px rgba(255, 92, 92, 0.08);
}

.has-error {
  color: #8c1c28;
}

.turnstile-slot {
  grid-column: 1 / -1;
  min-height: 1px;
}

.newsletter-inline .turnstile-slot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-grid.two-up,
.form-contact > div[data-delay="contact-grid"],
.form-service > div[data-delay="service-grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

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

.form-contact > input[type="hidden"],
.form-contact > input.hp-field {
  display: none;
}

.form-contact > .form-notice,
.form-contact > button,
.form-contact > label.form-span-full {
  grid-column: 1 / -1;
}

.form-contact .form-span-full {
  grid-column: 1 / -1;
}

.slug-contact-us .wpcf7-form {
  width: 100%;
}

.slug-contact-us .wpcf7-form .w-100.d-flex {
  display: block !important;
  width: 100% !important;
}

.slug-contact-us .wpcf7-form .w-50 {
  width: 100% !important;
  margin: 0 !important;
}

.slug-contact-us .wpcf7-form .w-100 {
  width: 100% !important;
}

.slug-contact-us .wpcf7-form label {
  display: block;
  width: 100%;
}

.slug-contact-us .wpcf7-form input,
.slug-contact-us .wpcf7-form select,
.slug-contact-us .wpcf7-form textarea {
  width: 100%;
}

@media (max-width: 768px) {
  .slug-contact-us .wpcf7-form .w-100.d-flex {
    display: block !important;
  }
}

.form-service > input[type="hidden"],
.form-service > input.hp-field {
  display: none;
}

.form-service > .form-notice,
.form-service > button,
.form-service > label.form-span-full {
  grid-column: 1 / -1;
}

.form-service .form-span-full {
  grid-column: 1 / -1;
}

.pagination-shell {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-post .post-next-previous {
  display: none !important;
}

.post-navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.post-navigation-card {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-height: 100%;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at top left, rgba(88, 224, 210, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(21, 43, 50, 0.08), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 22px 50px rgba(9, 21, 25, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.post-navigation-card:hover {
  color: var(--text);
  transform: translateY(-4px);
  box-shadow:
    0 28px 64px rgba(9, 21, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.post-navigation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.12));
  opacity: 0.8;
  pointer-events: none;
}

.post-navigation-next {
  text-align: right;
}

.post-navigation-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.post-navigation-card strong {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.18;
}

.section-post-navigation {
  padding-top: 0;
}

@media (max-width: 720px) {
  .post-navigation-grid {
    grid-template-columns: 1fr;
  }

  .post-navigation-next {
    text-align: left;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 4rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(8, 24, 29, 0.98), rgba(15, 31, 36, 1)),
    radial-gradient(circle at 10% 0%, rgba(88, 224, 210, 0.16), transparent 20%);
  color: #f4fbfb;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(88, 224, 210, 0.16), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.07), transparent 17%);
  pointer-events: none;
}

.site-footer a {
  color: #fff;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #58e0d2;
  transform: translateX(2px);
  opacity: 1;
}

.footer-list a,
.contact-stack a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-list a::after,
.contact-stack a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.18rem;
  height: 1px;
  background: rgba(88, 224, 210, 0.9);
  transition: right 0.22s ease;
}

.footer-list a:hover::after,
.footer-list a:focus-visible::after,
.contact-stack a:hover::after,
.contact-stack a:focus-visible::after {
  right: 0;
}

.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 72%);
  transform: translateX(-40%);
  animation: shimmer 11s linear infinite;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
  gap: 1.6rem;
}

.footer-newsletter {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 60%;
  text-align: center;
  margin: 0 auto;
}

.footer-newsletter .newsletter-inline {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  .footer-newsletter {
    max-width: 100%;
  }
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-stack {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.footer-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 251, 251, 0.76);
  font-size: 0.94rem;
}

.page-error .site-footer {
  margin-top: 5rem;
}

.glass-card {
  border-radius: 28px;
}

.error-card {
  padding: 1.6rem;
}

.content-card-body p:last-child,
.mini-card p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.reveal-left {
  transform: translate3d(-36px, 24px, 0);
}

.reveal.reveal-right {
  transform: translate3d(36px, 24px, 0);
}

.reveal.reveal-up {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -14px, 0) scale(1.04); }
}

@keyframes shimmer {
  0% { transform: translateX(-55%); }
  100% { transform: translateX(55%); }
}

@keyframes serviceTileFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.015); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .hero-grid-archive,
  .split-grid,
  .footer-grid,
  .service-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 920px) {
  .header-shell {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    font-size: 0.95rem;
  }

  .primary-nav {
    display: none;
    width: 100%;
    padding: 0.75rem 0 0;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .nav-link-cta {
    justify-content: center;
    min-height: 3rem;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    margin-top: 0.4rem;
    box-shadow: none;
    width: 100%;
  }

  .hero-grid,
  .hero-grid-archive,
  .split-grid,
  .content-media-grid,
  .section-card-grid,
  .footer-grid,
  .service-grid,
  .card-grid,
  .hero-mini-grid,
  .hero-stats,
  .form-grid.two-up,
  .newsletter-inline {
    grid-template-columns: 1fr;
  }

  .service-band-shell {
    grid-template-columns: 1fr;
  }

  .service-band-grid {
    grid-template-columns: 1fr;
  }

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

  .bar-grid {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .topbar-actions {
    justify-content: center;
  }

  .topbar-note {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .content-media-card img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .topbar-actions {
    gap: 0.65rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .topbar {
    font-size: 0.88rem;
  }

  .form,
  .prose,
  .service-card,
  .content-card,
  .section-card,
  .service-band-card,
  .split-list,
  .cta-band,
  .hero-panel,
  .archive-card,
  .mini-card {
    border-radius: 22px;
  }
}

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

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

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