/* DigitalCheff — portfolio site */

:root {
  --bg: #0c0a09;
  --bg-elevated: #14110f;
  --bg-card: rgba(28, 25, 23, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.35);
  --text: #fafaf9;
  --text-muted: #a8a29e;
  --text-dim: #78716c;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.18);
  --cyan: #22d3ee;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --header-h: 4.5rem;
  --container: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

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

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: var(--bg);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.ambient__orb--1 {
  width: 42vw;
  height: 42vw;
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
}

.ambient__orb--2 {
  width: 36vw;
  height: 36vw;
  bottom: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
}

.ambient__orb--3 {
  width: 28vw;
  height: 28vw;
  top: 45%;
  left: 35%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 70%);
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  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)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  border-radius: 0.5rem;
  object-fit: cover;
}

.brand__accent { color: var(--amber); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--text); }

.lang-toggle {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber-soft);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
  background: rgba(245, 158, 11, 0.18);
  color: var(--text);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle--mobile-header { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(16px);
}

.mobile-nav:not([hidden]) { display: flex; }

.mobile-nav a {
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Typography helpers */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--amber-soft);
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--amber), #d97706);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
}

.hero__stats dt {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero__stats dd {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* Hero visual cards — desktop stack */
.hero__visual--desktop {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-card {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.hero-card--back {
  width: 78%;
  height: 72%;
  transform: rotate(-8deg) translate(-12%, 8%);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.08), rgba(28, 25, 23, 0.6));
}

.hero-card--mid {
  width: 82%;
  height: 76%;
  transform: rotate(4deg) translate(8%, -4%);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.08), rgba(28, 25, 23, 0.65));
}

.hero-card--front {
  width: 72%;
  padding: 1.75rem;
  transform: rotate(-2deg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

a.hero-card--front:hover {
  transform: rotate(-2deg) translateY(-4px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.hero-card__icon--axis6 {
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.22);
}

.hero-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero-card__label {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}

.hero-card__tag {
  margin: 0.25rem 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-card__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-card__bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

/* Mobile hero spotlight */
.hero-spotlight {
  display: none;
}

.spotlight-card--lead {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(28, 25, 23, 0.94));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
}

a.spotlight-card--lead:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(245, 158, 11, 0.12);
}

.spotlight-card--axis6 .spotlight-card__eyebrow {
  color: var(--amber-soft);
}

.spotlight-card__icon {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.28);
  flex-shrink: 0;
}

.spotlight-card__icon--image {
  padding: 0.35rem;
  background: #18181b;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.spotlight-card__icon--image img,
.hero-card__icon--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-card__icon--image {
  width: 3rem;
  height: 3rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  background: #18181b;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.spotlight-card__chip--image {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.spotlight-card__chip--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-card__body {
  flex: 1;
  min-width: 0;
}

.spotlight-card__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.spotlight-card__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.spotlight-card__tag {
  margin: 0.2rem 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.spotlight-card__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--amber), #d97706);
  color: var(--bg);
}

.spotlight-card__bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.spotlight-card__bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

.spotlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.spotlight-card--compact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(28, 25, 23, 0.82);
  min-width: 0;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

a.spotlight-card--compact:hover {
  border-color: var(--border-hover);
  background: rgba(28, 25, 23, 0.95);
}

.spotlight-card__chip {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.spotlight-card__compact-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.section--contact {
  padding-bottom: clamp(5rem, 10vw, 7rem);
}

.section__header {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

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

.product-card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.product-card__icon--image {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.product-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__badge {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge--soon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge--dev {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.product-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-card__tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.product-card__tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.product-card__links {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.product-card__link {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-card__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border-hover);
}

.product-card__link--primary {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--amber-soft);
}

.product-card__link--primary:hover {
  background: rgba(245, 158, 11, 0.18);
  color: var(--text);
}

.product-card__link--muted {
  opacity: 0.55;
  pointer-events: none;
  font-weight: 500;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about__copy h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.about__copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about__values {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about__values li {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.about__values strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
}

.about__values span {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.about__panel-inner {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.06), rgba(28, 25, 23, 0.8));
  backdrop-filter: blur(16px);
}

.about__panel-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about__panel-label:not(:first-child) {
  margin-top: 1.5rem;
}

.tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.tech-list li {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.about__email {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-soft);
  transition: color 0.2s;
}

.about__email:hover { color: var(--text); }

/* Contact */
.contact__inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.contact__inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
}

.contact__lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, background 0.25s;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.site-footer__links a:hover { color: var(--text-muted); }

/* Reveal animations — progressive enhancement only */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

.reveal--delay { transition-delay: 0.1s; }

/* Responsive */
@media (max-width: 900px) {
  .hero__visual--desktop {
    display: none !important;
  }

  .hero-spotlight {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.35rem;
  }

  .hero__grid,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.25rem 0 2.25rem;
  }

  .hero__grid {
    gap: 0;
  }

  .hero__title {
    font-size: clamp(1.85rem, 7.8vw, 2.65rem);
    line-height: 1.14;
    margin-bottom: 1rem;
  }

  .hero__lead {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
  }

  .hero__actions {
    margin-bottom: 1.5rem;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero__stats dt {
    font-size: 1.1rem;
  }

  .hero__stats dd {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section__header h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
  }

  .site-nav { display: none; }
  .header-actions { display: flex; }
  .lang-toggle--mobile-header { display: inline-flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 520px) {
  :root {
    --container: calc(100% - 1.25rem);
    --header-h: 4rem;
  }

  .brand {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero__stats > div {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .hero__stats dd {
    margin: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__links {
    flex-direction: column;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .product-card:hover,
  .social-link:hover,
  .btn:active {
    transform: none;
  }
}
