/* ============================================
   Ayelet Tech — Minimal Theme
   Inspired by abc.xyz
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --border-subtle: #e8eaed;
  --border-hover: #dadce0;

  /* Text */
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #9aa0a6;

  /* Accent colors — Ayelet brand */
  --accent-primary: #5e35b1;
  --accent-studio: #0d47a1;
  --accent-mocap: #c2185b;
  --accent-services: #1565c0;

  /* Accent line (thin multi-color bar under nav) */
  --accent-line: linear-gradient(
    90deg,
    #5e35b1 0%, #5e35b1 25%,
    #c2185b 25%, #c2185b 50%,
    #0d47a1 50%, #0d47a1 75%,
    #f9a825 75%, #f9a825 100%
  );

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1000px;
  --border-radius: 0;
  --border-radius-sm: 0;
  --border-radius-pill: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(94, 53, 177, 0.15);
  color: var(--text-primary);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-primary);
  transition: box-shadow 0.3s;
}

.nav::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent-line);
}

.nav.scrolled {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.nav__logo:hover {
  color: var(--text-primary);
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 2;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero__label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero__title span {
  color: var(--accent-primary);
}

/* Hero Rotator */
.hero__rotator {
  position: relative;
  min-height: 180px;
  margin-bottom: var(--space-md);
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero__slide--active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__rotator-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

.hero__dot--active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero__divisions {
  display: flex;
  gap: 2rem;
}

.hero__division-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.hero__division-pill:hover {
  color: var(--text-primary);
}

.hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.hero__division-pill--studio .hero__pill-dot { background: var(--accent-studio); }
.hero__division-pill--mocap .hero__pill-dot { background: var(--accent-mocap); }
.hero__division-pill--services .hero__pill-dot { background: var(--accent-services); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn--primary {
  background: var(--accent-primary);
  color: #fff;
}

.btn--primary:hover {
  background: #4527a0;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
}

.btn--outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* --- Division Labels --- */
.division-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: var(--space-xs);
}

.division-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.division-card__desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* --- Showcase (image + content) --- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
}

.showcase--reverse {
  direction: rtl;
}

.showcase--reverse > * {
  direction: ltr;
}

.showcase__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__image--studio { background: #f0f4ff; }
.showcase__image--mocap { background: #fdf2f8; }
.showcase__image--services { background: #eff6ff; }

.showcase__placeholder-icon {
  width: 50%;
  height: 50%;
  opacity: 0.5;
}

.showcase__image-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 12px;
  backdrop-filter: blur(8px);
}

.showcase__content {
  padding: var(--space-sm) 0;
}

/* Thumbnail gallery */
.showcase__gallery {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.showcase__thumb {
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  text-align: center;
  padding-bottom: 6px;
  transition: border-color 0.2s;
}

.showcase__thumb:hover {
  border-color: var(--border-hover);
}

.showcase__thumb svg {
  width: 100%;
  display: block;
}

.showcase__thumb span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

/* --- Feature Cards (Subpages) --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-md) 0;
  border-top: 3px solid var(--border-subtle);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-top-color: var(--accent-primary);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* --- Subpage Hero --- */
.subpage-hero {
  padding-top: calc(var(--space-2xl) + 40px);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.subpage-hero .breadcrumb {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  transition: color 0.2s;
}

.subpage-hero .breadcrumb:hover {
  color: var(--accent-primary);
}

.subpage-hero .breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0.25rem;
}

.subpage-hero .breadcrumb-current {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.subpage-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
}

/* --- Section Headers --- */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 560px;
}

/* --- Contact --- */
.contact {
  text-align: center;
}

.contact .section-desc {
  margin: 0 auto var(--space-md);
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--text-primary);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.contact-form__field {
  margin-bottom: var(--space-sm);
}

.contact-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: border-color 0.2s;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-muted);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.contact-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0a6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.contact-form__field select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* --- Capture Cards --- */
.capture-card {
  padding: var(--space-md);
  border-top: 3px solid var(--border-subtle);
  text-align: center;
  transition: border-color 0.2s;
}

.capture-card:hover {
  border-top-color: var(--accent-mocap);
}

.capture-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
}

.capture-card__icon svg {
  width: 100%;
  height: 100%;
}

.capture-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.capture-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* --- Process Steps --- */
.process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-sm);
}

.process__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.3;
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.process__step p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.process__connector {
  width: 40px;
  min-width: 40px;
  height: 1px;
  background: var(--border-subtle);
  margin-top: 1.5rem;
}

/* --- Portfolio --- */
.portfolio__item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s;
}

.portfolio__item:hover {
  border-color: var(--border-hover);
}

.portfolio__item--featured {
  max-width: 700px;
  margin: var(--space-md) auto 0;
}

.portfolio__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.portfolio__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  text-align: left;
}

.portfolio__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-xs);
}

.portfolio__overlay h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.portfolio__overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: var(--space-md) auto 0;
}

.testimonial {
  padding: var(--space-md);
  border-top: 3px solid var(--border-subtle);
  text-align: left;
  transition: border-color 0.2s;
}

.testimonial:hover {
  border-top-color: var(--accent-mocap);
}

.testimonial blockquote {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.testimonial__name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial__role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Mocap Hero --- */
.mocap-hero {
  position: relative;
  padding-top: calc(var(--space-2xl) + 20px);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.mocap-hero__top {
  margin-bottom: var(--space-lg);
}

.mocap-hero__top .breadcrumb,
.mocap-hero__top .breadcrumb-sep,
.mocap-hero__top .breadcrumb-current {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mocap-hero__top .breadcrumb:hover {
  color: var(--accent-primary);
}

.mocap-hero__split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: center;
}

.mocap-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mocap-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.mocap-hero__title span {
  color: var(--accent-mocap);
}

.mocap-hero__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: var(--space-md);
}

.mocap-hero__anim {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.mocap-hero__video {
  width: 100%;
  display: block;
}

.mocap-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}

.mocap-hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.mocap-hero__stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.footer__brand {
  flex: 1;
  min-width: 200px;
}

.footer__brand-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer__brand-name span {
  color: var(--text-primary);
}

.footer__logo-mark {
  width: 20px;
  height: 20px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__copyright {
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
}

/* --- Product List (Homepage inline) --- */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-md);
}

.product-link {
  display: block;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: background 0.2s;
}

.product-link:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

a.product-link:hover {
  background: var(--bg-secondary);
  padding-left: 0.5rem;
  color: inherit;
}

.product-link__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.product-link__desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Product Cards (Immersion subpage) --- */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.product-card {
  padding: var(--space-md);
  border-top: 3px solid var(--border-subtle);
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
}

a.product-card:hover {
  border-top-color: var(--accent-services);
  color: inherit;
}

.product-card--patent {
  border-top-color: var(--accent-primary);
}

.product-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.product-card__header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card__header svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.product-card__badge {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.product-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- About Page --- */
.about-lead {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 680px;
  border-left: 3px solid var(--accent-primary);
  padding-left: var(--space-md);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.vm-card {
  padding-top: var(--space-md);
  border-top: 3px solid var(--border-subtle);
}

.vm-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: var(--space-xs);
}

.vm-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.vm-card__desc {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-divisions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-division {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
}

.about-division__marker {
  width: 4px;
  min-width: 4px;
  height: 100%;
  min-height: 60px;
  flex-shrink: 0;
}

.about-division__content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.about-division__content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.about-division__content a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-primary);
}

.about-division__content a:hover {
  color: var(--text-primary);
}

/* --- Responsive --- */

/* Tablet & Small Laptop */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .container,
  .container-wide {
    padding: 0 var(--space-sm);
  }

  /* Nav — full-screen overlay */
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links .nav__link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__rotator {
    min-height: 0;
    overflow: hidden;
  }

  .hero__slide {
    position: absolute;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
  }

  .hero__slide--active {
    position: relative;
    height: auto;
    overflow: visible;
    opacity: 1;
  }

  .hero__tagline {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero__divisions {
    flex-direction: column;
    gap: 1rem;
  }

  /* Sections */
  .section {
    padding: var(--space-lg) 0;
  }

  /* Showcase */
  .showcase {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .showcase--reverse {
    direction: ltr;
  }

  .showcase__image {
    aspect-ratio: 16 / 9;
  }

  .showcase__content {
    padding: 0;
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  /* Process Steps */
  .process {
    flex-direction: column;
    align-items: center;
  }

  .process__step {
    max-width: 340px;
  }

  .process__connector {
    width: 1px;
    min-width: 1px;
    height: 24px;
    margin: 0;
  }

  /* Testimonials */
  .testimonials {
    grid-template-columns: 1fr;
  }

  /* Mocap Hero */
  .mocap-hero {
    padding-top: calc(var(--space-xl) + 40px);
  }

  .mocap-hero__split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .mocap-hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .mocap-hero__desc {
    font-size: 1rem;
  }

  .mocap-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Subpage Hero */
  .subpage-hero {
    padding-top: calc(var(--space-xl) + 40px);
    padding-bottom: var(--space-md);
  }

  .subpage-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* About Page */
  .about-lead {
    font-size: 1.05rem;
    padding-left: var(--space-sm);
  }

  .vm-card__title {
    font-size: 1.25rem;
  }

  .about-division {
    gap: var(--space-sm);
  }

  /* Contact Form */
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }

  .footer__brand {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --space-lg: 2.5rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .hero__label {
    font-size: 0.7rem;
    margin-bottom: var(--space-sm);
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero__tagline {
    font-size: 0.925rem;
    line-height: 1.7;
  }

  .division-card__title {
    font-size: 1.35rem;
  }

  .division-card__desc {
    font-size: 0.925rem;
  }

  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .showcase__gallery {
    gap: 0.5rem;
  }

  .showcase__thumb span {
    font-size: 0.5rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
  }

  .btn--primary,
  .btn--outline {
    width: 100%;
    justify-content: center;
  }

  /* Mocap Stats */
  .mocap-hero__stat-num {
    font-size: 1rem;
  }

  .mocap-hero__stat-label {
    font-size: 0.65rem;
  }

  /* Process */
  .process__number {
    font-size: 2rem;
  }

  /* About Page */
  .about-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .vm-card__title {
    font-size: 1.15rem;
  }

  .vm-card__desc {
    font-size: 0.925rem;
  }

  .about-division__content h3 {
    font-size: 1.05rem;
  }

  .about-division__content p {
    font-size: 0.925rem;
  }

  /* Feature & Capture Cards */
  .feature-card {
    padding: var(--space-sm) 0;
  }

  .capture-card {
    padding: var(--space-sm);
  }

  .capture-card__icon {
    width: 44px;
    height: 44px;
  }

  /* Product Cards */
  .product-card {
    padding: var(--space-sm);
  }

  /* Testimonials */
  .testimonial {
    padding: var(--space-sm);
  }

  .testimonial blockquote {
    font-size: 0.825rem;
  }

  /* Footer */
  .footer__links {
    gap: 0.75rem;
  }

  .footer__links a {
    font-size: 0.8rem;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .container,
  .container-wide {
    padding: 0 0.75rem;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__tagline {
    font-size: 0.875rem;
  }

  .nav__logo span {
    font-size: 0.95rem;
  }

  .mocap-hero__stats {
    grid-template-columns: 1fr;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
