/* Lacorex — premium dark corporate theme
   Mobile-first, static-hosting friendly
*/

:root {
  --bg-deep: #05070a;
  --bg-elevated: #0c1018;
  --bg-card: rgba(12, 16, 28, 0.72);
  --border-subtle: rgba(120, 140, 180, 0.12);
  --text-primary: #f4f6fb;
  --text-muted: rgba(228, 232, 242, 0.62);
  --cyan: #00d2ff;
  --blue: #3a7bd5;
  --violet: #8e2de2;
  --magenta: #f000ff;
  --gradient-brand: linear-gradient(105deg, var(--cyan) 0%, var(--blue) 32%, var(--violet) 68%, var(--magenta) 100%);
  --gradient-text: linear-gradient(90deg, var(--cyan), var(--blue) 40%, var(--violet) 72%, var(--magenta));
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.5rem;
  --shadow-glow: 0 0 60px rgba(0, 210, 255, 0.08);
  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo__mark {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.header .logo__mark {
  width: 48px;
  height: 48px;
}

.logo__text {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.logo__l {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo--footer .logo__mark {
  width: 40px;
  height: 40px;
}

.logo--footer .logo__text {
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .header .logo__mark {
    width: 44px;
    height: 44px;
  }

  .header .logo__text {
    font-size: 1.22rem;
  }
}

@media (max-width: 400px) {
  .header .logo {
    gap: 0.5rem;
  }

  .header .logo__mark {
    width: 40px;
    height: 40px;
  }

  .header .logo__text {
    font-size: 1.12rem;
  }

  .logo--footer .logo__text {
    font-size: 1.05rem;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(12, 16, 28, 0.5);
  cursor: pointer;
  z-index: 1002;
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }
}

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

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 880px) {
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav__link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav__cta {
  margin-top: 0.5rem;
}

@media (min-width: 880px) {
  .nav__cta {
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

@media (max-width: 879px) {
  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    background: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
    z-index: 1001;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__cta {
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--gradient-brand);
  background-size: 140% 100%;
  color: #05070a;
  box-shadow: var(--shadow-glow), 0 4px 20px rgba(142, 45, 226, 0.18);
}

.btn--primary:hover {
  background-position: 80% 50%;
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn--ghost:hover {
  border-color: rgba(0, 210, 255, 0.35);
  background: rgba(0, 210, 255, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(142, 45, 226, 0.45);
}

.btn--outline:hover {
  background: rgba(142, 45, 226, 0.1);
  border-color: var(--violet);
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 6.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero__glow--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.35) 0%, transparent 70%);
}

.hero__glow--2 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  bottom: 0;
  right: -8%;
  background: radial-gradient(circle, rgba(240, 0, 255, 0.22) 0%, transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 140, 180, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 180, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero__layout {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__layout.hero__layout--sub {
  grid-template-columns: 1fr;
  max-width: 760px;
}

@media (min-width: 960px) {
  .hero__layout.hero__layout--sub {
    grid-template-columns: 1fr;
  }
}

.hero--subpage {
  padding-block: clamp(3rem, 8vw, 5.25rem);
}

.hero__layout--sub .hero__title {
  max-width: 26ch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: none;
}

.hero__kicker {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  max-width: 40ch;
  line-height: 1.35;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero__intro {
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.hero__intro p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

@media (min-width: 520px) {
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.hero__stats li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.hero__stats strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

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

/* Orbit visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.orbit {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(0, 210, 255, 0.35);
  border-right-color: rgba(142, 45, 226, 0.25);
}

.orbit__ring--outer {
  inset: 0;
  animation: spin 28s linear infinite;
}

.orbit__ring--mid {
  inset: 12%;
  animation: spin-reverse 22s linear infinite;
  border-top-color: rgba(240, 0, 255, 0.22);
  border-right-color: rgba(58, 123, 213, 0.3);
}

.orbit__core {
  position: relative;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 55%),
    rgba(12, 16, 28, 0.85);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 60px rgba(0, 210, 255, 0.12), inset 0 0 40px rgba(240, 0, 255, 0.06);
  animation: pulse-core 5s ease-in-out infinite;
}

.orbit__logo {
  width: 72%;
  height: auto;
  opacity: 0.95;
}

.orbit__node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.45);
}

.orbit__node--tl { top: 8%; left: 22%; }
.orbit__node--tr { top: 14%; right: 18%; }
.orbit__node--bl { bottom: 16%; left: 16%; }
.orbit__node--br { bottom: 10%; right: 22%; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 210, 255, 0.12), inset 0 0 40px rgba(240, 0, 255, 0.06); }
  50% { box-shadow: 0 0 80px rgba(240, 0, 255, 0.14), inset 0 0 50px rgba(0, 210, 255, 0.08); }
}

/* Sections */
.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
}

.section--service-landing {
  background: linear-gradient(180deg, #080b12 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.service-offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .service-offers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-offers__item {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.service-offers__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.service-offers__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.service-offers__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-offers__cta {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 600px) {
  .service-offers__cta {
    justify-content: flex-start;
  }
}

.section--about {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #080b12 50%, var(--bg-deep) 100%);
}

.section--layered {
  border-block: 1px solid var(--border-subtle);
}

.section--solutions {
  background: rgba(8, 11, 18, 0.6);
}

.section--why {
  border-block: 1px solid var(--border-subtle);
}

.section--arch {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.section__header {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.section__intro {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Cards */
.cards--3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.card__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Layer pillars */
.layer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .layer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.layer-pillar {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.9), rgba(5, 7, 10, 0.4));
}

.layer-pillar__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.layer-pillar__icon svg {
  width: 100%;
  height: 100%;
}

.layer-pillar__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.layer-pillar__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Solution cards */
.solution-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solution-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition), transform 0.2s ease;
}

.solution-card:hover {
  border-color: rgba(0, 210, 255, 0.22);
  transform: translateY(-2px);
}

.solution-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.solution-card__icon svg {
  width: 100%;
  height: 100%;
}

.solution-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.solution-card__text {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.solution-card__benefit {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.solution-card__benefit .label {
  color: var(--cyan);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Why list */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.why-item:first-child {
  padding-top: 0;
}

.why-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.why-item__num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--violet);
  opacity: 0.85;
}

.why-item__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.why-item__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Architecture stack */
.arch-stack {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .arch-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
  }
}

.arch-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.arch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}

.arch-card--1::before {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12), transparent 60%);
}

.arch-card--2::before {
  background: linear-gradient(135deg, rgba(58, 123, 213, 0.12), transparent 60%);
}

.arch-card--3::before {
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.12), transparent 60%);
}

.arch-card--4::before {
  background: linear-gradient(135deg, rgba(240, 0, 255, 0.1), transparent 60%);
}

.arch-card > * {
  position: relative;
}

.arch-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.arch-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.arch-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 5.5rem);
  margin-inline: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.cta-section__inner {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.95), rgba(5, 7, 10, 0.98));
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  width: 60%;
  height: 80%;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.15), transparent 65%);
  pointer-events: none;
}

.cta-section__title {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-section__text {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 1rem;
}

.cta-section__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
  background: #040508;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer__about {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 38ch;
  line-height: 1.65;
}

.footer__heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__heading--social {
  margin-top: 1.5rem;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__note {
  font-size: 0.82rem;
  color: rgba(228, 232, 242, 0.45);
}

.footer__social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__social a {
  font-size: 0.92rem;
  color: var(--cyan);
  font-weight: 500;
}

.footer__social a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer__bottom-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 600px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer__bottom-meta {
    text-align: left;
  }

  .footer__tagline {
    flex-shrink: 0;
  }
}

.footer__copy-brand {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(228, 232, 242, 0.55);
}

.footer__copy,
.footer__tagline {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(228, 232, 242, 0.38);
}

.footer__tagline {
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Blog article */
.blog-article__hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
}

.blog-article__hero-inner {
  position: relative;
  max-width: 720px;
}

.blog-article__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.blog-article__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-article__body {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  max-width: 720px;
}

.blog-article__lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

.blog-article__h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blog-article__body > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-article__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article__body a:hover {
  color: var(--text-primary);
}

.blog-article__list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.blog-article__list li {
  margin-bottom: 0.5rem;
}

.blog-article__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
