/* JDS Digital V3 – Cool Dark Premium */

:root {
  --bg: #070b14;
  --bg-elevated: #0f1623;
  --surface: #141d2d;
  --surface-light: #1b273a;
  --accent: #dbc09a;
  --accent-hover: #b9a07d;
  --accent-muted: rgba(219, 192, 154, 0.15);
  --text: #f0f2f5;
  --text-muted: #a8b1bd;
  --border: #1c2636;
  --border-hover: #2a3a52;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --section-padding: clamp(5rem, 10vw, 8rem);
  --container: 1280px;
  --radius: 0.25rem;
  --radius-lg: 0.75rem;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 10000;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 4vw;
  background: linear-gradient(to bottom, var(--bg), transparent);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--text);
}

.logo::after {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
  border-radius: 50%;
}

.logo-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.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);
}

.primary-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.primary-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

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

  .primary-nav {
    position: static;
    background: transparent;
    opacity: 1;
    visibility: visible;
    width: auto;
    height: auto;
  }

  .nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 4vw 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(219, 192, 154, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(219, 192, 154, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

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

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

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.trust-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-cursor-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 192, 154, 0.18) 0%, rgba(219, 192, 154, 0.05) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: screen;
  z-index: 0;
  top: 0;
  left: 0;
  will-change: transform;
}

.hero-cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none) {
  .hero-cursor-glow {
    display: none;
  }
}

.hero-shape-1 {
  width: 220px;
  height: 220px;
  background: var(--accent);
  top: 10%;
  right: 10%;
}

.hero-shape-2 {
  width: 160px;
  height: 160px;
  background: #3a4a63;
  bottom: 10%;
  left: 5%;
  opacity: 0.5;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--text);
  top: 40%;
  left: 30%;
  opacity: 0.06;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(15, 22, 35, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 280px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
}

.hero-card:hover {
  transform: translateY(0);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.hero-card-mockup {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.mockup-logo {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.mockup-brand-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-hero {
  background: var(--surface);
  border-radius: 3px;
  padding: 0.7rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mockup-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.mockup-hero-text {
  font-size: 0.55rem;
  color: var(--text-muted);
  line-height: 1.4;
  opacity: 0.7;
}

.mockup-row {
  display: flex;
  gap: 0.35rem;
}

.mockup-block {
  flex: 1;
  height: 1.5rem;
  background: var(--surface);
  border-radius: 2px;
  border: 1px solid var(--border);
}

.mockup-block--accent {
  background: var(--accent-muted);
  border-color: transparent;
}

.mockup-stats {
  display: flex;
  gap: 0.35rem;
}

.mockup-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  background: var(--surface);
  border-radius: 3px;
}

.mockup-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}

.mockup-stat-label {
  font-size: 0.45rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .hero-scroll {
    display: flex;
  }
}

/* Sections */
.section {
  padding: var(--section-padding) 4vw;
  position: relative;
}

.section-header,
.section-content {
  max-width: var(--container);
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 3rem;
}

/* Process */
.process {
  padding: var(--section-padding) 4vw;
  position: relative;
}

.process-header {
  max-width: var(--container);
  margin: 0 auto;
}

/* Process Timeline */
.process-timeline {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-hover));
  opacity: 0.3;
}

.process-step {
  position: relative;
  padding-left: 5rem;
  padding-bottom: 3rem;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.process-step:hover .process-number {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.process-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-text {
  color: var(--text-muted);
  max-width: 55ch;
}

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

  .process-timeline::before {
    display: none;
  }

  .process-step {
    padding-left: 0;
    padding-top: 5rem;
    padding-bottom: 0;
  }

  .process-number {
    left: 0;
    top: 0;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  text-align: center;
}

.cta-content .section-title,
.cta-content .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-quote {
  max-width: 50ch;
  margin: 2rem auto 0;
  padding: 1.5rem;
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
  font-style: italic;
  text-align: left;
}

.cta-quote p {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.cta-quote footer {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Services */
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform, border-color, box-shadow;
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: var(--radius-lg);
}

.service-card-header:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.service-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.service-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-card-toggle {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card-header:hover .service-card-toggle,
.service-card-header:focus-visible .service-card-toggle {
  border-color: var(--accent);
}

.service-card.is-open .service-card-toggle {
  transform: rotate(45deg);
}

.service-card-body {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.4s var(--ease-reveal), padding 0.4s var(--ease-reveal);
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}

/* Before / After Slider */
.before-after {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
}

.before-after-labels {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.before-after-frame {
  position: relative;
  height: 320px;
  margin: 1rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: col-resize;
  touch-action: none;
}

.before-after-frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.before-after-after,
.before-after-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before-after-after {
  z-index: 1;
}

.before-after-before {
  z-index: 2;
  clip-path: inset(0 100% 0 0);
}

.before-after-before::after,
.before-after-after::after {
  content: attr(data-label);
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.before-after-before::after {
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
}

.before-after-after::after {
  right: 1rem;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.fake-site {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fake-site.old {
  background: #f4f1ea;
  color: #333;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.fake-site.new {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}

.fake-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.5rem;
  opacity: 0.6;
}

.fake-site-title {
  width: 40%;
  height: 16px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}

.fake-site-nav {
  display: flex;
  gap: 0.5rem;
}

.fake-site-nav span {
  width: 2rem;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.3;
}

.fake-site-hero {
  text-align: center;
  padding: 1.5rem 0;
}

.fake-site-hero h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: currentColor;
}

.fake-site.old .fake-site-hero h2 {
  color: #d946ef;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.fake-site.old .fake-site-hero p {
  color: #2563eb;
}

.fake-site.new .fake-site-hero h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--accent);
}

.fake-site-hero p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.fake-site-blocks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.fake-site-block {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: currentColor;
  opacity: 0.2;
}

.old .fake-site-block:nth-child(1) { background: #ef4444; opacity: 0.5; }
.old .fake-site-block:nth-child(2) { background: #22c55e; opacity: 0.5; }
.old .fake-site-block:nth-child(3) { background: #3b82f6; opacity: 0.5; }

.new .fake-site-block:nth-child(1),
.new .fake-site-block:nth-child(2),
.new .fake-site-block:nth-child(3) {
  background: var(--accent);
  opacity: 0.25;
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.before-after-hint {
  text-align: center;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About / Team */
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
}

.about-photo-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
}

.about-photo-caption {
  font-size: 0.85rem;
  text-align: center;
  padding: 0 2rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform, border-color;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.value-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* Timeline / Milestones */
.milestones {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.milestone {
  position: relative;
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}

.milestone-year {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.milestone::before {
  content: '';
  position: absolute;
  left: -0.35rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
}

.milestone h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.milestone p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Footer */
.site-footer {
  position: relative;
  padding: var(--section-padding) 4vw;
  background: var(--bg-elevated);
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-tagline {
  color: var(--text-muted);
  max-width: 30ch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text);
  font-weight: 600;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.footer-link:hover::after,
.footer-link:focus-visible::after {
  width: 100%;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-impact {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 700;
  color: var(--text);
  opacity: 0.03;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-legal-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.footer-legal-link:hover::after,
.footer-legal-link:focus-visible::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-reveal), transform 0.8s var(--ease-reveal);
}

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

/* Staggered reveal delays within same parent */
.hero-content .reveal:nth-child(1) { transition-delay: 0ms; }
.hero-content .reveal:nth-child(2) { transition-delay: 100ms; }
.hero-content .reveal:nth-child(3) { transition-delay: 200ms; }
.hero-content .reveal:nth-child(4) { transition-delay: 300ms; }
.hero-content .reveal:nth-child(5) { transition-delay: 400ms; }

.section-header .reveal:nth-child(1) { transition-delay: 0ms; }
.section-header .reveal:nth-child(2) { transition-delay: 100ms; }
.section-header .reveal:nth-child(3) { transition-delay: 200ms; }

.process-timeline .reveal:nth-child(1) { transition-delay: 0ms; }
.process-timeline .reveal:nth-child(2) { transition-delay: 120ms; }
.process-timeline .reveal:nth-child(3) { transition-delay: 240ms; }
.process-timeline .reveal:nth-child(4) { transition-delay: 360ms; }

.cta-content .reveal:nth-child(1) { transition-delay: 0ms; }
.cta-content .reveal:nth-child(2) { transition-delay: 100ms; }
.cta-content .reveal:nth-child(3) { transition-delay: 200ms; }
.cta-content .reveal:nth-child(4) { transition-delay: 300ms; }

.services-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.services-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(3) { transition-delay: 240ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 360ms; }

/* Counter Section */
.counter-section {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.counter-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.counter-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform, border-color, box-shadow;
}

.counter-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.counter-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.counter-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* Contact */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.contact-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.contact-card-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-notice {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.demo-notice-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.demo-notice-text {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.demo-notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.demo-notice-fallback {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

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

  .demo-notice-content {
    max-width: 60ch;
  }
}

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

/* Page Transitions */
.page-transition {
  transition: opacity 0.3s var(--ease);
}

.page-transition.is-exiting {
  opacity: 0;
}

/* Showcase Badges */
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 22, 35, 0.85);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: auto;
  margin-bottom: 1rem;
}

.showcase-badge:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.showcase-badge svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-showcase {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin-bottom: 0;
  max-width: min(90%, 400px);
  text-align: center;
  justify-content: center;
}

.hero-showcase:hover {
  transform: translateX(-50%) translateY(-2px);
}

.showcase-hint {
  text-align: center;
  padding: 0.75rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

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

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

  .hero-shape,
  .hero-card {
    transition: none;
  }

  .page-transition {
    transition: none;
  }
}
