/* ═══════════════════════════════════════════════════════
   Meekely — landing styles
   Ink base · logo accents (blue → violet → magenta)
   Inter (UI) · Instrument Serif italic (display accents)
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* palette */
  --ink:        #04060c;
  --ink-raise:  #0a0e1a;
  --text:       #eef2f5;
  --text-dim:   rgba(200, 210, 228, 0.72);
  --text-muted: rgba(150, 165, 195, 0.5);
  --blue:       #1e6fff;
  --violet:     #7c3aed;
  --magenta:    #e91e8c;
  --brand-grad: linear-gradient(100deg, var(--blue), var(--violet) 52%, var(--magenta));
  --border:     rgba(255, 255, 255, 0.08);
  --border-hi:  rgba(255, 255, 255, 0.16);

  /* type */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;

  /* scale */
  --container: 1200px;
  --radius: 16px;
  --section-pad: clamp(5rem, 10vh, 7rem);
}

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(124, 58, 237, 0.4); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Background layers ─────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: none; /* enabled by JS when WebGL unavailable */
}
.bg-aurora::before,
.bg-aurora::after {
  content: '';
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  will-change: transform;
}
.bg-aurora::before {
  background: radial-gradient(circle at 40% 40%, var(--blue), transparent 65%);
  top: -22vmax;
  left: -14vmax;
  animation: auroraDrift 68s ease-in-out infinite alternate;
}
.bg-aurora::after {
  background: radial-gradient(circle at 60% 60%, var(--magenta), transparent 65%);
  bottom: -26vmax;
  right: -16vmax;
  animation: auroraDrift 84s ease-in-out infinite alternate-reverse;
}
.bg-aurora .aurora-mid {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  background: radial-gradient(circle, var(--violet), transparent 62%);
  top: 30%;
  left: 30%;
  animation: auroraDrift 76s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vmax, -7vmax, 0) scale(1.18); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* ── Layout primitives ─────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 3;
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
  scroll-margin-top: 4.5rem;
}

.section-head {
  margin-bottom: clamp(2.25rem, 5vh, 3.25rem);
  max-width: 640px;
}

.section-head h2,
.contact-intro h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--brand-grad);
}

/* ── Nav ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand { display: inline-flex; align-items: center; }
.brand-wordmark { height: 26px; width: auto; }
.brand-mark { height: 34px; width: auto; display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  padding-block: 0.35rem;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link-cta {
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
  border-color: rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.1);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  /* loose enough that the serif italic's descenders clear the next line */
  line-height: 1.14;
  max-width: 17ch;
  text-wrap: balance;
}

.hero h1 em,
.section-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* background-clip:text crops to the inline box, so pad it out or the
     italic's overhang and descenders (g, y, p) get sliced off */
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 52ch;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  animation: cueFloat 2.8s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
.scroll-cue:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

@keyframes cueFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.7rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-hi);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.btn-primary {
  position: relative;
  color: #fff;
  background:
    linear-gradient(var(--ink-raise), var(--ink-raise)) padding-box,
    conic-gradient(
      from var(--btn-angle),
      var(--blue),
      var(--violet) 30%,
      var(--magenta) 55%,
      var(--violet) 80%,
      var(--blue)
    ) border-box;
  border: 1.5px solid transparent;
  animation: btnBorderSpin 3.2s linear infinite;
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.28);
  animation-duration: 1.2s;
}

@keyframes btnBorderSpin {
  to { --btn-angle: 360deg; }
}

.btn-quiet {
  color: var(--text-dim);
  background: transparent;
}
.btn-quiet:hover {
  color: var(--text);
  border-color: var(--border-hi);
}

/* ── Products ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}
a.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, 0.03);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.product-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.product-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
}
.product-arrow svg { width: 17px; height: 17px; }
a.product-card:hover .product-arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

/* Badge pair lives in a quiet footer row, pinned to the bottom of the card so
   every card's meta line sits on the same baseline. Type is letterspaced caps,
   status is a dot + lowercase text — different form, so they never read alike. */
.product-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-type {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  line-height: 1;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.product-status-live      { color: #34d399; }
.product-status-beta      { color: #60a5fa; }
.product-status-development { color: #fbbf24; }
.product-status-archived  { color: var(--text-muted); }

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-dim);
}

/* ── About ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 58ch;
  text-wrap: pretty;
}
.about-copy p + p { margin-top: 1.35rem; }
.about-copy em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08em;
  color: var(--text);
}

.about-values {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.about-values li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}
.about-values li:last-child { border-bottom: 1px solid var(--border); }

.value-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.value-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* founder */
.founder {
  margin-top: clamp(3rem, 7vh, 4.5rem);
  margin-inline: auto;
  max-width: 880px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.015);
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--brand-grad);
  opacity: 0.85;
}

.founder-photo-wrap {
  width: clamp(88px, 12vw, 120px);
  height: clamp(88px, 12vw, 120px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
}

.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.42;
  letter-spacing: 0.005em;
  color: var(--text);
  text-wrap: pretty;
}
.founder-quote::before { content: '“'; }
.founder-quote::after  { content: '”'; }

.founder-meta {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.founder-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.founder-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.founder-title::before {
  content: '·';
  margin-right: 0.7rem;
  color: var(--text-muted);
}

.founder-socials {
  display: inline-flex;
  gap: 0.4rem;
  margin-left: 0.2rem;
}
.founder-socials a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.founder-socials svg { width: 13px; height: 13px; }
.founder-socials a:hover {
  color: var(--text);
  border-color: var(--border-hi);
  transform: translateY(-1px);
}

/* ── Contact ───────────────────────────────────────── */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2.2rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.015);
}

.contact-blurb {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 40ch;
}

.contact-address {
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34ch;
}
.contact-address svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--violet);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(30, 111, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

/* Honeypot wrapper: off-screen, no layout footprint, skipped by AT. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-submit { margin-top: 0.4rem; align-self: flex-start; }
.form-submit[disabled] { opacity: 0.6; cursor: wait; }

.form-error {
  font-size: 0.85rem;
  color: #ff7a9c;
}

.form-success[hidden] { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 1rem;
  animation: successIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-success svg {
  width: 42px;
  height: 42px;
  color: var(--violet);
}
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.form-success p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 42ch;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  padding-block: 2.6rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-mark { height: 26px; width: auto; opacity: 0.9; }

.footer-addr {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
  min-width: 220px;
}

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

/* ── Reveal animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(5px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* hero headline word entrance */
.hero h1 .word {
  display: inline-block;
}
.hero h1.words-ready .word {
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(10px);
  animation: wordIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.15s + var(--w, 0) * 70ms);
}
.hero h1.words-ready {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* nav hide/reveal */
.site-nav {
  transform: translateY(0);
}
.site-nav.nav-hidden {
  transform: translateY(-100%);
}

/* pointer spotlight on cards */
.spot {
  position: relative;
}
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(124, 58, 237, 0.10),
    rgba(30, 111, 255, 0.05) 40%,
    transparent 70%
  );
}
.spot:hover::after { opacity: 1; }

/* primary button shine sweep */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.02) 52%,
    transparent 70%
  );
  background-size: 240% 100%;
  background-position: 120% 0;
  transition: background-position 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::before {
  background-position: -60% 0;
}

/* No-JS safety: if module fails, keep content visible */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Large screens — use the space, don't float in it ─ */
@media (min-width: 1500px) {
  :root { --container: 1320px; }

  .hero h1 { font-size: 5.1rem; }
  .hero-sub { font-size: 1.2rem; max-width: 54ch; }

  .section-head h2,
  .contact-intro h2 { font-size: 3.1rem; }
  .section-head { max-width: 720px; }

  .product-card { min-height: 245px; padding: 1.9rem; }
  .product-name { font-size: 1.12rem; }
  .product-desc { font-size: 0.92rem; }

  .about-copy p { font-size: 1.08rem; }
  .founder { max-width: 980px; }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-wordmark { display: none; }
  .brand-mark { display: block; }
  .founder {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .founder-photo-wrap { width: 84px; height: 84px; }
}

@media (max-width: 560px) {
  :root { --section-pad: 4.5rem; }

  .container { width: calc(100% - 2.5rem); }
  .nav-inner { width: calc(100% - 2rem); }

  /* nav */
  .nav-link:not(.nav-link-cta) { font-size: 0.84rem; }
  .nav-links { gap: 1rem; }
  .nav-link-cta { padding: 0.42rem 0.95rem; }

  /* hero — tighter type, no widowed words, balanced spacing */
  .hero { padding-top: 3.5rem; }
  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .hero h1 br { display: none; }
  .hero-sub {
    margin-top: 1.25rem;
    font-size: 0.97rem;
    max-width: 34ch;
  }
  .hero-actions { margin-top: 2.1rem; width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.12em; }

  /* sections */
  .section { scroll-margin-top: 4rem; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2,
  .contact-intro h2 { font-size: 1.65rem; }

  /* products */
  .product-card { padding: 1.2rem; gap: 0.7rem; }
  .product-logo { width: 40px; height: 40px; }
  .product-logo img { width: 26px; height: 26px; }
  .product-desc { font-size: 0.86rem; }

  /* about */
  .about-grid { gap: 2rem; }
  .about-copy p { font-size: 0.95rem; line-height: 1.75; }
  .about-values li { padding-block: 1rem; }

  /* founder — centered, calm */
  .founder {
    margin-top: 2.8rem;
    padding: 1.6rem 1.3rem;
    gap: 1.2rem;
    justify-items: center;
    text-align: center;
  }
  .founder-quote { font-size: 1.18rem; line-height: 1.5; }
  .founder-meta { justify-content: center; margin-top: 0.85rem; }
  .founder-socials { margin-left: 0; }

  /* contact */
  .contact-card { padding: 1.5rem 1.25rem; gap: 1.8rem; }
  .contact-blurb { margin-top: 0.9rem; font-size: 0.9rem; }
  .contact-address { margin-top: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .field textarea { min-height: 100px; }
  .form-submit { align-self: stretch; width: 100%; }

  /* footer — centered stack */
  .site-footer { padding-block: 2rem; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }
  .footer-addr { min-width: 0; }
}

/* touch targets */
@media (hover: none) and (pointer: coarse) {
  .nav-link { padding-block: 0.6rem; }
  .field input, .field textarea { font-size: 16px; }
}

/* ── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue,
  .bg-aurora::before,
  .bg-aurora::after,
  .bg-aurora .aurora-mid {
    animation: none;
  }
  .btn, .product-card, .nav-link::after { transition: none; }
  .btn-primary { animation: none; }
  .btn-primary::before { display: none; }
  .spot::after { display: none; }
  .site-nav { transition: none; }
  .site-nav.nav-hidden { transform: none; }
  .scroll-progress { display: none; }
}
