/* ARCLANE DIGITAL — static replica */
:root {
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --primary: 222 47% 11%;
  --secondary: 215 28% 90%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 221 83% 53%;
  --accent-foreground: 0 0% 100%;
  --border: 215 28% 88%;
  --radius: 0.75rem;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: hsl(var(--accent) / 0.25);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container-wide {
    padding: 0 2.5rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}

.eyebrow.muted {
  color: hsl(var(--muted-foreground));
}

.font-display {
  font-family: var(--font);
  letter-spacing: -0.025em;
}

.text-accent {
  color: hsl(var(--accent));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-balance {
  text-wrap: balance;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, padding 0.5s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: hsl(var(--border));
  padding: 0.9rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo .logo-mark,
.logo img.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo-text span {
  color: hsl(var(--accent));
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: hsl(var(--foreground));
}

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  width: 100%;
  height: 1px;
  background: hsl(var(--accent));
}

.header-cta {
  display: none;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: hsl(var(--accent));
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-right: -0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: hsl(var(--background));
  padding: 1.5rem;
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mobile-nav-links a.active {
  color: hsl(var(--accent));
}

.mobile-nav .btn {
  margin-top: auto;
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

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

.btn-primary:hover {
  background: hsl(var(--accent));
}

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

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

.btn-accent {
  background: hsl(var(--accent));
  color: #fff;
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-pill {
  border-radius: 9999px;
}

.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.link-arrow:hover {
  color: hsl(var(--accent));
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.group:hover .link-arrow svg,
.group:hover .arrow-shift {
  transform: translateX(0.25rem);
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 56rem;
}

.hero-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-grid p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

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

.hero-media {
  margin-top: 3.5rem;
}

.hero-media .media-frame {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* Stats */
.stats {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

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

.stat {
  padding: 2.5rem 0.5rem;
}

.stat:not(:last-child) {
  border-bottom: 1px solid hsl(var(--border) / 0.2);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--accent));
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.6);
  max-width: 18ch;
  line-height: 1.375;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 2.5rem 1.5rem;
  }

  .stat:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid hsl(var(--border) / 0.2);
  }

  .stat-value {
    font-size: 3rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-soft {
  background: hsl(var(--secondary) / 0.4);
}

/* Service cards */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

.service-card {
  display: block;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: hsl(var(--foreground));
}

.service-card .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-card:hover .card-media img {
  transform: scale(1.05);
}

.service-card .card-body {
  padding: 1.5rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.card-meta .label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-card p {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.service-card .learn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent));
}

.service-card .learn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.service-card:hover .learn svg {
  transform: translateX(0.25rem);
}

/* Philosophy */
.philosophy-lead {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.375;
  max-width: 56rem;
}

.principles {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.principle {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
}

.principle h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.principle p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

/* CTA panel */
.cta-panel {
  border-radius: var(--radius);
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 2rem;
}

@media (min-width: 768px) {
  .cta-panel {
    padding: 3rem;
  }
}

.cta-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.cta-panel h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.cta-panel .cta-desc {
  margin-top: 1rem;
  color: hsl(var(--background) / 0.6);
  line-height: 1.625;
  max-width: 28rem;
}

.cta-mail {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.5);
}

.cta-mail svg {
  width: 1rem;
  height: 1rem;
}

.cta-mail a:hover {
  color: hsl(var(--accent));
}

.cta-form {
  display: grid;
  gap: 1rem;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--background) / 0.1);
  border: 1px solid hsl(var(--background) / 0.2);
  color: hsl(var(--background));
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: hsl(var(--background) / 0.4);
}

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

.form-error {
  margin: 0.75rem 0 0;
  color: #b91c1c;
  font-size: 0.875rem;
}

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--background) / 0.1);
  border: 1px solid hsl(var(--background) / 0.2);
  color: hsl(var(--background));
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.footer-cta {
  border-bottom: 1px solid hsl(var(--background) / 0.15);
  padding: 2.5rem 0;
}

.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.footer-cta-inner > .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-cta-inner > .btn {
    width: auto;
    flex-shrink: 0;
  }
}

.footer-cta .eyebrow {
  color: hsl(var(--background) / 0.5);
  margin-bottom: 0.5rem;
}

.footer-cta h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.footer-cta h2 a {
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.footer-cta h2 a:hover {
  opacity: 0.8;
}

.footer-cta h2 svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand {
  grid-column: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 480px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }
}

@media (min-width: 768px) {
  .footer-main {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-cols {
    display: contents;
  }
}

.footer-brand .logo .logo-mark,
.footer-brand .logo img.logo-mark {
  width: 2rem;
  height: 2rem;
}

.footer-brand > p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.6);
  max-width: 20rem;
  line-height: 1.625;
}

.footer-contacts {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--background) / 0.2);
  color: hsl(var(--background) / 0.85);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: #fff;
  background: hsl(var(--accent));
  border-color: hsl(var(--accent));
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.footer-contacts a,
.footer-contacts p {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: hsl(var(--background) / 0.8);
  word-break: break-word;
}

.footer-contacts a:hover {
  color: hsl(var(--accent));
}

.footer-contacts svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-col .eyebrow {
  color: hsl(var(--background) / 0.5);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-col a {
  color: hsl(var(--background) / 0.8);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: hsl(var(--accent));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--background) / 0.5);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-bottom-links a:hover {
  color: hsl(var(--background));
}

/* Page hero (inner) */
.page-hero {
  padding-top: 8rem;
}

.page-hero .band {
  padding: 3rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 48rem;
  line-height: 1.15;
}

.page-hero .lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

/* Services list page */
.service-row {
  display: grid;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.service-row:hover {
  border-color: hsl(var(--foreground));
}

.service-row .row-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-row .row-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-row:hover .row-media img {
  transform: scale(1.05);
}

.service-row .row-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-row .row-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-row .num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.service-row .cat {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-row h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-row > .row-body > p {
  margin-top: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.feature-list {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.feature-list .mini-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.deep-dive {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent));
}

.deep-dive svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.service-row:hover .deep-dive svg {
  transform: translateX(0.25rem);
}

.services-stack {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
  }

  .service-row .row-media {
    aspect-ratio: auto;
    min-height: 320px;
  }

  .service-row .row-body {
    padding: 2.5rem;
  }

  .service-row.reverse .row-media {
    order: 2;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.about-grid p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.about-grid p + p {
  margin-top: 1.25rem;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: hsl(var(--border));
}

.timeline-items {
  display: grid;
  gap: 2.5rem;
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-item .marker {
  position: absolute;
  left: -1.625rem;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--accent));
  background: hsl(var(--background));
}

.timeline-item .year {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--accent));
}

.timeline-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.timeline-item p {
  margin-top: 0.25rem;
  max-width: 36rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

@media (min-width: 768px) {
  .timeline-item {
    grid-template-columns: 3fr 9fr;
    align-items: baseline;
    gap: 1rem;
  }
}

/* Service detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: hsl(var(--foreground));
}

.service-detail-hero {
  padding: 8rem 0 3rem;
}

.service-detail-hero .cat {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-detail-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 40rem;
}

.service-detail-hero .summary {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.service-hero-media {
  margin-top: 2.5rem;
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.included-grid {
  display: grid;
  gap: 1.5rem;
}

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

.included-item {
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
}

.included-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.included-item p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.service-intro {
  max-width: 42rem;
  font-size: 1.0625rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.service-intro + .service-intro {
  margin-top: 1rem;
}

.short-version .section-title {
  max-width: none;
  width: 100%;
}

.short-version-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.short-version-grid .service-intro {
  max-width: none;
  margin: 0;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .short-version-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.fit-grid {
  display: grid;
  gap: 1.5rem;
}

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

.fit-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}

.fit-card.yes {
  border-color: hsl(var(--accent) / 0.35);
}

.fit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.fit-card ul {
  display: grid;
  gap: 0.75rem;
}

.fit-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: hsl(var(--border));
}

.fit-card.yes li::before {
  background: hsl(var(--accent));
}

.outcomes {
  display: grid;
  gap: 1rem;
}

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

.outcome {
  padding: 1.5rem;
  border-top: 2px solid hsl(var(--accent));
}

.outcome strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.outcome p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid hsl(var(--border));
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-item p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  max-width: 40rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.process-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-item .step {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}

.process-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.process-item p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.other-services {
  display: grid;
  gap: 1rem;
}

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

.other-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  transition: border-color 0.2s;
}

.other-service:hover {
  border-color: hsl(var(--foreground));
}

.other-service h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.other-service p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.other-service .enter {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent));
  flex-shrink: 0;
}

/* Contact wizard */
.contact-page {
  padding-top: 8rem;
  min-height: 100vh;
}

.contact-intro {
  padding: 5rem 0 0;
}

.contact-intro h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 48rem;
  line-height: 1.15;
}

.contact-intro .lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
}

.wizard {
  margin-top: 5rem;
  max-width: 48rem;
  padding-bottom: 5rem;
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.wizard-progress .bar {
  flex: 1;
  height: 1px;
  background: hsl(var(--border));
  transition: background 0.5s;
}

.wizard-progress .bar.done {
  background: hsl(var(--accent));
}

.wizard-step-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.wizard label {
  display: block;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.wizard-controls {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .wizard-controls {
    flex-direction: row;
    align-items: center;
  }
}

.wizard-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid hsl(var(--border));
  outline: none;
  padding: 1rem 0;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  transition: border-color 0.2s;
}

.wizard-input::placeholder {
  color: hsl(var(--muted-foreground) / 0.5);
}

.wizard-input:focus {
  border-bottom-color: hsl(var(--accent));
}

.wizard-select {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid hsl(var(--border));
  outline: none;
  padding: 1rem 0;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.wizard-select:focus {
  border-bottom-color: hsl(var(--accent));
}

.wizard-options {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.wizard-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.wizard-option:hover,
.wizard-option.selected {
  border-color: hsl(var(--foreground));
  background: hsl(var(--secondary) / 0.4);
}

.wizard-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wizard-done {
  display: none;
}

.wizard-done.show {
  display: block;
}

.wizard-done h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.wizard-done p {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.625;
}

.contact-meta {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border));
}

.contact-meta-grid {
  display: grid;
  gap: 2.5rem;
}

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

.contact-meta .eyebrow {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.contact-meta a,
.contact-meta p.value {
  font-size: 1.125rem;
  font-weight: 500;
}

.contact-meta a:hover {
  color: hsl(var(--accent));
}

/* Legal */
.legal-content {
  padding: 8rem 0 5rem;
  max-width: 48rem;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1rem;
}

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

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