/* ============================================================
   ClerQ Intelligence: Design System
   Monochrome · Geometric · Ramsian Minimalism
   ============================================================ */

/* --- Fonts -------------------------------------------------- */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@200,300,400,500,600,700&display=swap');

/* --- Design Tokens ------------------------------------------ */
:root {
  /* Palette: strict monochrome base with subtle technical accents */
  --bg: #FFFFFF;
  --ink: #0A0A0A;
  --line: #E5E5E5;
  --muted: #6B6B6B;

  /* Subtle technical accent tokens (used sparingly for telemetry, validation, and key actions) */
  --accent-teal: #00D09C;
  --accent-teal-dim: rgba(0, 208, 156, 0.08);
  --accent-teal-border: rgba(0, 208, 156, 0.28);
  --accent-teal-glow: rgba(0, 208, 156, 0.35);

  --accent-cyan: #0EA5E9;
  --accent-cyan-dim: rgba(14, 165, 233, 0.08);
  --accent-cyan-border: rgba(14, 165, 233, 0.28);

  --accent-amber: #D97706;
  --accent-amber-dim: rgba(217, 119, 6, 0.08);
  --accent-amber-border: rgba(217, 119, 6, 0.3);

  --accent-violet: #8B5CF6;
  --accent-violet-dim: rgba(139, 92, 246, 0.08);

  /* Premium gradient tokens */
  --grad-hero: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 50%, #EBEBEB 100%);
  --grad-section-fade: linear-gradient(180deg, rgba(10,10,10,0.03) 0%, rgba(255,255,255,0) 100%);
  --grad-ink-down: linear-gradient(180deg, var(--ink) 0%, #1A1A1A 40%, #333333 100%);
  --grad-dark-section: linear-gradient(180deg, #0A0A0A 0%, #121417 50%, #1A1D20 100%);
  --grad-subtle-vignette: radial-gradient(ellipse at center, transparent 40%, rgba(10,10,10,0.04) 100%);
  --grad-text-fade: linear-gradient(90deg, var(--ink) 0%, var(--muted) 100%);
  --grad-teal-subtle: linear-gradient(135deg, rgba(0, 208, 156, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);

  /* Typography */
  --font-primary: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --fs-display: clamp(2.8rem, 5vw, 5rem);
  --fs-h1: clamp(2rem, 3.5vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.4rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-small: clamp(0.85rem, 0.95vw, 0.9375rem);
  --fs-caption: 0.8125rem;
  --lh-display: 1.1;
  --lh-heading: 1.25;
  --lh-body: 1.7;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 720px;
  --copy-max-ch: 68ch;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 800ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

a:hover {
  opacity: 0.6;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  max-width: var(--copy-max-ch);
}

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

.text-small {
  font-size: var(--fs-small);
}

.text-caption {
  font-size: var(--fs-caption);
  color: var(--muted);
}

/* --- Layout ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--narrow {
  max-width: var(--content-width);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--lg {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* --- Navigation --------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-out),
              background-color var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover {
  opacity: 1;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  opacity: 1;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Language Toggle ---------------------------------------- */
.nav__lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.nav__lang-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* --- Wave Divider ------------------------------------------- */
.wave-divider {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: var(--space-xl) auto;
  overflow: visible;
}

.wave-divider path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.8s var(--ease-in-out);
}

.wave-divider.is-visible path {
  stroke-dashoffset: 0;
}

/* --- Hero --------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-subtle-vignette);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.hero__logotype {
  width: clamp(280px, 50vw, 560px);
  height: auto;
}

.hero__tagline {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--muted);
  max-width: 56ch;
  line-height: var(--lh-body);
}

/* --- Dark Section (First Principles) ------------------------ */
.section--dark {
  background: var(--grad-dark-section);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.section--dark .text-muted {
  color: #999999;
}

.section--dark .wave-divider path {
  stroke: var(--bg);
}

.principles-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  min-height: 500px;
}

.principles-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.principles-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.principles-panel {
  padding-top: var(--space-lg);
}

.principles-panel__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
  min-height: 1.5em;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.principles-panel__desc {
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  color: #BBBBBB;
  max-width: 42ch;
  min-height: 3em;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.principles-panel__hint {
  margin-top: var(--space-md);
  font-size: var(--fs-caption);
  color: #666666;
}

/* --- Gradient overlay for sections -------------------------- */
.section--gradient-top {
  position: relative;
}

.section--gradient-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--grad-section-fade);
  pointer-events: none;
}

/* --- Product Snapshot --------------------------------------- */
.snapshot {
  position: relative;
}

.snapshot::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 208, 156, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Badges & Status Indicators ---------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.02);
  color: var(--ink);
  letter-spacing: 0.01em;
  width: fit-content;
  line-height: 1.4;
  vertical-align: middle;
}

.badge--teal {
  border-color: var(--accent-teal-border);
  background: var(--accent-teal-dim);
  color: #008764;
}

.badge--cyan {
  border-color: var(--accent-cyan-border);
  background: var(--accent-cyan-dim);
  color: #0369A1;
}

.badge--amber {
  border-color: var(--accent-amber-border);
  background: var(--accent-amber-dim);
  color: #B45309;
}

.badge--violet {
  border-color: rgba(139, 92, 246, 0.28);
  background: var(--accent-violet-dim);
  color: #6D28D9;
}

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

.status-dot--pulse {
  animation: pulse-dot 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* --- Lucy AI Highlight Block -------------------------------- */
.lucy-block {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.7) 100%);
  position: relative;
  transition: border-color var(--duration-normal) var(--ease-out);
}

.lucy-block:hover {
  border-color: var(--accent-teal-border);
}

.lucy-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 38px;
  color: var(--ink);
  perspective: 500px;
  transition: color var(--duration-normal) var(--ease-out);
}

.lucy-icon-wrap svg {
  display: block;
  transform-style: preserve-3d;
  animation: lucyRotateY 10s linear infinite;
  will-change: transform;
}

@keyframes lucyRotateY {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.lucy-icon-wrap:hover svg {
  color: var(--accent-teal);
  animation-duration: 4s;
}

@media (prefers-reduced-motion: reduce) {
  .lucy-icon-wrap svg {
    animation: none;
  }
}

/* --- Hakiki Engine Showcase --------------------------------- */
.hakiki-showcase {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 50%, #F4F6F8 100%);
  position: relative;
  overflow: hidden;
}

.hakiki-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--ink) 0%, var(--accent-teal) 50%, var(--accent-cyan) 100%);
}

.hakiki-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hakiki-logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hakiki-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hakiki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hakiki-feature {
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
}

.hakiki-feature h4 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rule-code-box {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: #0D0F12;
  color: #E6EDF3;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  border-radius: 4px;
  border: 1px solid #22272E;
  line-height: 1.6;
  overflow-x: auto;
}

.rule-code-box .code-comment {
  color: #768390;
}

.rule-code-box .code-accent {
  color: var(--accent-teal);
}

.rule-code-box .code-cyan {
  color: var(--accent-cyan);
}

.rule-code-box .code-amber {
  color: #FBBF24;
}

/* Monospace tags & citations */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
}

/* --- CTA Section -------------------------------------------- */
.cta-close {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta-link {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: gap var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.cta-link:hover {
  opacity: 1;
  gap: 0.75em;
}

.cta-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.cta-link:hover svg {
  transform: translateX(3px);
}

/* --- Team List ---------------------------------------------- */
.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.team-member {
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-md);
}

.team-member:last-child {
  border-bottom: none;
}

.team-member__name {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
}

.team-member__role {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 0.25em;
}

/* --- Forms -------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 540px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink);
}

.form__input,
.form__textarea {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color var(--duration-normal) var(--ease-out);
  width: 100%;
}

.form__input:focus,
.form__textarea:focus {
  border-bottom-color: var(--ink);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--bg);
  background: var(--ink);
  padding: 0.875rem 2rem;
  align-self: flex-start;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.form__submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.form__submit:active {
  transform: translateY(0);
}

.form__submit svg {
  width: 16px;
  height: 16px;
}

.form__status {
  font-size: var(--fs-small);
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.form__status--visible {
  opacity: 1;
}

.form__status--success {
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: var(--space-sm);
}

.form__status--error {
  color: var(--ink);
  border-left: 2px solid var(--muted);
  padding-left: var(--space-sm);
}

/* --- Socials ------------------------------------------------ */
.socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625em;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- External Links ----------------------------------------- */
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.ext-link:hover {
  opacity: 1;
  border-bottom-color: var(--ink);
}

.ext-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --- Footer ------------------------------------------------- */
.footer {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--line);
  text-align: left;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer__logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
}

.footer__copy {
  font-size: var(--fs-caption);
  color: var(--muted);
}

/* --- Page Header (non-hero pages) --------------------------- */
.page-header {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: var(--grad-hero);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
}

.page-header h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
}

.page-header p {
  margin-top: var(--space-sm);
  color: var(--muted);
}

/* --- Research Sections -------------------------------------- */
.research-section {
  position: relative;
}

.research-section + .research-section {
  margin-top: var(--space-xl);
}

.research-section h2 {
  margin-bottom: var(--space-sm);
}

.research-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

/* --- Partner Block ------------------------------------------ */
.partner-block {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
  margin-top: var(--space-lg);
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-md) var(--space-md);
    gap: var(--space-sm);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.05);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: flex;
  }

  .principles-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .principles-canvas-wrap {
    aspect-ratio: 16 / 10;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .section--lg {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .hero__logotype {
    width: clamp(220px, 70vw, 320px);
  }
}

/* --- Reduced Motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .wave-divider path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* --- Utility ------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
