:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --ink: #0a0a0a;
  --ink-soft: #5c5c5c;
  --ink-faint: #8f8f8f;
  --line: #e7e7e7;
  --accent: #0a0a0a;
  --accent-soft: #f0f0f0;
  --radius: 14px;
  --container: 1880px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

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

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 700; }

p { margin: 0; }

/* Subtle dot-grid texture, no color */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
/* Transparent-over-video variant, used on the homepage hero until scrolled.
   Pulls the hero section (and its video) up underneath the sticky nav so the
   transparent header actually shows the video instead of the page background. */
.nav--on-dark { margin-bottom: -68px; }
.nav--on-dark:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  color: #fff;
}
.nav--on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.78); }
.nav--on-dark:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  align-self: flex-start;
  padding-top: 8px;
  margin-top: 15px;
}
.logo-wordmark {
  height: 60px;
  width: auto;
  display: block;
}
.logo-wordmark--dark { display: none; }
.nav.scrolled .logo-wordmark--light { display: none; }
.nav.scrolled .logo-wordmark--dark { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  flex: none;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.nav--on-dark:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span { background: var(--ink) !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Products dropdown in nav */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger .chevron { width: 10px; height: 10px; transition: transform .15s ease; }
.nav-dropdown:hover .nav-dropdown-trigger .chevron,
.nav-dropdown:focus-within .nav-dropdown-trigger .chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  transform: translateY(4px);
  margin-top: 14px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #262626; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: #bdbdbd; transform: translateY(-1px); }
.btn-lg { padding: 13px 24px; font-size: 15.5px; border-radius: 10px; }

/* Hero */
.hero {
  padding: 88px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: #fff;
}
.hero > .container {
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 72px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.55) 100%);
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
}
.eyebrow-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
}
.hero-title {
  font-size: clamp(1.25rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  max-width: 1000px;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.text-accent {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
}
.hero-sub {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn {
  border-radius: 999px;
}
.hero-actions .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero-actions .btn-primary:hover { background: #e9e9e9; }
.hero-actions .btn-outline {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.2); border-color: #fff; }

/* Hero art: big dashboard showcase */
.hero-art {
  margin: 64px auto 0;
  max-width: 1560px;
  padding: 0 48px 60px;
}
.showcase {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.window-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.window-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
  font-weight: 500;
}
.showcase-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 460px;
}
.showcase-sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  text-align: left;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.sidebar-nav a {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.sidebar-nav a.active { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  padding: 0 10px;
  margin-bottom: 8px;
}
.sidebar-products { display: flex; flex-direction: column; gap: 2px; }
.sidebar-products a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.sidebar-products a:hover { background: #fff; color: var(--ink); }

.sb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
}
.sb-1, .sb-3, .sb-5 { background: var(--ink); }
.sb-2, .sb-4 { background: transparent; }

.showcase-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px;
  text-align: left;
  background: #fff;
}
.board-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.board-col-head span {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-faint);
  border-radius: 999px;
  padding: 1px 7px;
}
.board-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.board-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.board-card p { color: var(--ink-faint); font-size: 12.5px; }

/* Products grid */
.products { padding: 90px 0; border-top: 1px solid var(--line); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.product-glyph {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.glyph-img { padding: 0; overflow: hidden; }
.glyph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glyph-1 { background: var(--ink); color: #fff; }
.glyph-2 { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--ink); }
.glyph-3 { background: #3a3a3a; color: #fff; }
.glyph-4 { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.glyph-5 { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.product-glyph-ghost {
  background: var(--bg-soft);
  color: var(--ink-faint);
  border: 1px dashed var(--line);
}
.product-card h3 { font-size: 18.5px; margin-bottom: 4px; }
.product-cat { color: var(--ink-faint); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.product-card p:not(.product-cat) { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.product-card-ghost { background: var(--bg-soft); border-style: dashed; box-shadow: none; }

/* Status badges: monochrome */
.studio-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.studio-badge.live { background: var(--ink); color: #fff; }
.studio-badge.beta { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.studio-badge.dev { background: var(--bg-soft); color: var(--ink-faint); border: 1px solid var(--line); }

/* Company stats */
.company { padding: 90px 0; border-top: 1px solid var(--line); }
.company-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 760px;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-label { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 14px; }

/* Footer grid */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .footer-tag { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--ink-faint); font-size: 13px; }

/* Language dropdown in footer */
.lang-dropdown { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  cursor: pointer;
  font-family: inherit;
}
.lang-trigger:hover { color: var(--ink); }
.lang-trigger .chevron { width: 9px; height: 9px; transition: transform .15s ease; }
.lang-dropdown.open .lang-trigger .chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 10px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.lang-option:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-option.active { color: #fff; }

/* Language switcher placed in the top nav (opens downward, unlike the footer one) */
.nav-lang { display: flex; align-items: center; margin-left: 4px; }
.nav-lang .lang-trigger { color: var(--ink-soft); padding: 4px 0; }
.nav-lang .lang-trigger:hover { color: var(--ink); }
.nav-lang .lang-menu {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: 14px;
}
.nav--on-dark:not(.scrolled) .nav-lang .lang-trigger { color: rgba(255,255,255,0.78); }
.nav--on-dark:not(.scrolled) .nav-lang .lang-trigger:hover { color: #fff; }

/* Logos strip */
.logos-strip { padding: 10px 0 70px; }
.logos-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  color: var(--ink-faint);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* App showcase: Memry hero card + 2x2 grid of the other apps */
.app-showcase { padding: 2px 0; }
.app-showcase-inner { width: 100%; }
.app-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.app-card-hero { margin-bottom: 2px; aspect-ratio: 21 / 8; }
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.app-card-grid .app-card { aspect-ratio: 16 / 9; }
.app-card-media { position: absolute; inset: 0; }
.app-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px; height: 32px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5);
  transition: opacity .2s ease;
}
.app-card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card-grid .app-card-icon { width: 26px; height: 26px; border-radius: 7px; top: 14px; left: 14px; }
.app-card:hover .app-card-icon,
.app-card.is-active .app-card-icon { opacity: 0.15; }

.app-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.78) 100%);
  color: #fff;
  text-align: left;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.app-card:hover .app-card-overlay,
.app-card.is-active .app-card-overlay { opacity: 1; }
.app-card-overlay .app-card-name { font-weight: 700; font-size: 18px; }
.app-card-overlay .app-card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,0.7);
  margin-top: 3px;
}
.app-card-overlay .app-card-copy {
  font-size: 13.5px;
  color: rgba(255,255,255,0.88);
  margin-top: 8px;
  max-width: 440px;
  line-height: 1.5;
}
.app-card-hero .app-card-overlay .app-card-name { font-size: 21px; }

@media (max-width: 860px) {
  .app-card-grid { grid-template-columns: 1fr; }
  .app-card-hero, .app-card-grid .app-card { aspect-ratio: 16 / 10; }
}

/* Section head */
.section-head { text-align: center; max-width: 560px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; }

/* Standalone page header (products / approach / company / product detail) */
.page-hero { padding: 152px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow-pill { margin-bottom: 24px; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; max-width: 760px; margin: 0; }
.page-sub { margin: 18px 0 0; max-width: 620px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.back-link:hover { color: var(--ink); }

/* Product page hero with background video, matching the homepage hero treatment */
.page-hero--video {
  padding: 88px 0 0;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: #fff;
  border-bottom: none;
}
.page-hero--video > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 64px;
}
.page-hero--video .back-link { color: rgba(255,255,255,0.75); }
.page-hero--video .back-link:hover { color: #fff; }
.page-hero--video .page-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.page-hero--video .page-sub { color: rgba(255,255,255,0.88); text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.page-hero--video .product-cat { color: rgba(255,255,255,0.75); }
.page-hero--video .studio-badge.beta { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.page-hero--video .studio-badge.dev { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.page-hero--video .glyph-lg { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Product detail hero */
.product-hero-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.glyph-lg { width: 56px; height: 56px; border-radius: 14px; font-size: 22px; }
.product-hero-meta { display: flex; align-items: center; gap: 10px; }

/* Feature grid on product detail pages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.feature-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* Full feature showcase (alternating media/copy rows) on product detail pages */
.feature-showcase { padding: 20px 0 90px; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase-row + .showcase-row { margin-top: 90px; }
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-row.reverse .showcase-copy { order: 1; }
.motion-placeholder {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-faint);
  text-align: center;
  padding: 24px;
}
.motion-placeholder svg { width: 32px; height: 32px; opacity: .5; }
.motion-placeholder-label { font-size: 13px; font-weight: 600; }
.motion-placeholder-sub { font-size: 12px; color: var(--ink-faint); max-width: 220px; }
.showcase-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.showcase-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; margin: 0 0 14px; }
.showcase-copy p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 480px; }

/* Secondary, compact feature list below the showcase */
.more-features { padding: 20px 0 90px; border-top: 1px solid var(--line); }

/* Products listing grid links (cards become anchors) */
a.product-card { display: block; }

/* Company narrative */
.narrative { max-width: 720px; margin: 0 auto; text-align: center; }
.narrative p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; text-align: left; }
.narrative p + p { margin-top: 18px; }
.personality-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.personality-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Pillars */
.pillars { padding: 90px 0; border-top: 1px solid var(--line); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar-card {
  background: #fff;
  padding: 32px 26px;
  transition: background-color .15s ease;
}
.pillar-card:hover { background: var(--bg-soft); }
.pillar-icon {
  width: 38px; height: 38px;
  color: var(--ink);
  margin-bottom: 18px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.pillar-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* Promise */
.promise {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
  text-align: left;
}
.promise-eyebrow {
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.promise-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  max-width: 760px;
  margin: 0;
}
.promise-sub {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 17px;
}

/* Voice */
.voice { padding: 110px 0; text-align: center; }
.voice-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink);
}
.voice-caption { margin-top: 24px; color: var(--ink-faint); font-size: 14.5px; font-weight: 600; }

/* CTA / waitlist */
.cta { padding: 110px 0 120px; text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cta p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }
.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  max-width: 440px;
}
.waitlist-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.waitlist-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.waitlist-msg {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  min-height: 20px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-card {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background-color .15s ease;
}
.contact-card:hover { background: var(--bg-soft); }
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 20px;
}
.contact-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.contact-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; flex: 1; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.contact-link svg { width: 13px; height: 13px; transition: transform .15s ease; }
.contact-card:hover .contact-link svg { transform: translateX(3px); }

.contact-other { padding: 90px 0 110px; border-top: 1px solid var(--line); }
.section-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 36px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.other-card h4 { font-size: 16px; margin-bottom: 10px; }
.other-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.other-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.other-link svg { width: 13px; height: 13px; transition: transform .15s ease; }
.other-link:hover svg { transform: translateX(3px); }

/* FAQ page */
.faq-section { padding: 90px 0; }
.faq-section + .faq-section { border-top: 1px solid var(--line); }
.faq-group { max-width: 760px; margin: 0 auto 64px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
}
.faq-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; transition: opacity .2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { margin-top: 14px; max-width: 680px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* Journal page */
.journal { padding: 90px 0; }
.journal-list { max-width: 740px; margin: 0 auto; }
.journal-entry { padding: 44px 0; border-bottom: 1px solid var(--line); }
.journal-entry:first-child { padding-top: 0; }
.journal-entry:last-child { border-bottom: none; padding-bottom: 0; }
.journal-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.journal-date { color: var(--ink-faint); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.journal-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.journal-title { font-size: 21px; margin-bottom: 10px; }
.journal-body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 660px; }

/* Responsive */
@media (max-width: 860px) {
  .logo { margin-top: 0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 28px 40px;
    background: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 65;
  }
  .nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a { color: var(--ink) !important; }
  .nav-links > a,
  .nav-links .nav-dropdown-trigger {
    font-size: 17px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: max-height .2s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 300px; }
  .nav-dropdown-menu a {
    color: var(--ink-soft);
    font-size: 15.5px;
    font-weight: 500;
    padding: 12px 0 12px 12px;
  }
  .nav-dropdown-menu a:hover { background: none; color: var(--ink); }
  .nav-dropdown:hover .nav-dropdown-trigger .chevron { transform: none; }
  .nav-dropdown.open .nav-dropdown-trigger .chevron { transform: rotate(180deg); }
  .nav-lang { flex-direction: column; align-items: stretch; width: 100%; margin: 12px 0 0; }
  .nav-lang .lang-trigger { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 15.5px; color: var(--ink-soft) !important; }
  .nav-lang .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    min-width: 0;
    transition: max-height .2s ease;
  }
  .nav-lang.open .lang-menu { max-height: 200px; }
  .nav-lang .lang-option { color: var(--ink-soft); padding: 10px 0 10px 12px; }
  .nav-lang .lang-option:hover { background: none; color: var(--ink); }
  body.no-scroll { overflow: hidden; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-row { grid-template-columns: 1fr; gap: 24px; }
  .showcase-row + .showcase-row { margin-top: 56px; }
  .showcase-row.reverse .showcase-media { order: 1; }
  .showcase-row.reverse .showcase-copy { order: 2; }
  .showcase-copy p { max-width: none; }
  .waitlist-form { flex-direction: column; }
  .showcase-body { grid-template-columns: 1fr; min-height: 0; }
  .showcase-sidebar { display: none; }
  .showcase-board { grid-template-columns: 1fr; }
  .company-stats { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .other-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .container { padding: 0 28px; }
  .hero-art { padding: 0 24px 60px; }
}

@media (max-width: 520px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 104px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 20px; }
  .hero-art { padding: 0 16px 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr; gap: 28px; }
}
