/* ==========================================================================
   Vylox — Smart Lock Product Landing Page (index2)
   Dark rust creative-portfolio aesthetic, adapted for a product brand.
   ========================================================================== */

:root {
  --bg: #0A0A0A;
  --bg-raised: #141414;
  --text: #EFEDEA;
  --text-secondary: #8A8782;
  --border: rgba(239, 237, 234, 0.1);
  --border-strong: rgba(239, 237, 234, 0.18);
  --accent: #BF4A1A;
  --accent-hover: #D9683A;
  --accent-dim: rgba(191, 74, 26, 0.18);

  --content: 1280px;
  --radius-lg: 16px;
  --radius-sm: 10px;
  --section-pad: 140px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Big Shoulders Display', 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  color: var(--text);
}

::selection { background: var(--accent); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--content); margin: 0 auto; padding: 0 40px; }
.text-accent { color: var(--accent); }

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

/* ---- Custom cursor ---- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: absolute;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--text);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s var(--ease);
}
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent-hover);
  border-radius: 50%;
}
.cursor.is-active .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent-hover); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--accent); flex-shrink: 0; }

.section-title { font-size: clamp(36px, 5.4vw, 66px); margin-bottom: 0; }
.section-sub { color: var(--text-secondary); font-size: 17px; max-width: 56ch; margin-top: 16px; }

.section { padding: var(--section-pad) 0; position: relative; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.btn-solid:hover::before { transform: translateY(0); }
.btn-solid:hover { color: var(--text); }

.btn-outline { border: 1px solid var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hide-mobile { display: inline-flex; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-header-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 40px;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo { display: flex; align-items: center; margin-right: auto; }
.logo-img {
  height: 74px;
  width: auto;
  filter: invert(1) brightness(1.05);
  mix-blend-mode: screen;
}

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.motion-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.motion-toggle:hover, .motion-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  position: relative;
  width: 38px; height: 38px;
  z-index: 501;
  font-size: 22px;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0; top: 96px;
  background: var(--bg);
  z-index: 490;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.25s var(--ease);
}
.mobile-nav a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .main-nav, .hide-mobile, .motion-toggle { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 78%, transparent 100%);
}
.hero-bg-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.55) 30%, rgba(10,10,10,0.92) 92%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.15) 60%, rgba(10,10,10,0.55) 100%);
}

.hero-bgtype {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(160px, 24vw, 420px);
  color: rgba(239, 237, 234, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 0.95;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 48ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-social {
  position: fixed;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-social a { color: var(--text-secondary); font-size: 16px; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.hero-social a:hover { color: var(--accent); transform: translateY(-3px); }
.hero-social::after { content: ""; width: 1px; height: 60px; background: var(--border-strong); }

.scroll-cue {
  position: absolute;
  right: 36px; bottom: 36px;
  z-index: 200;
  width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
}
.scroll-cue-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 16s linear infinite; }
.scroll-cue-ring text { font-size: 9px; letter-spacing: 0.1em; fill: var(--text-secondary); text-transform: uppercase; }
.scroll-cue i { position: relative; font-size: 18px; color: var(--text); transition: color 0.3s var(--ease); }
.scroll-cue:hover i { color: var(--accent); }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-social, .scroll-cue { display: none; }
}

/* ==========================================================================
   Section head row
   ========================================================================== */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.section-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.section-head-link:hover { color: var(--accent); border-color: var(--accent); }
.section-head-link i { transition: transform 0.3s var(--ease); }
.section-head-link:hover i { transform: translate(3px, -3px); }

/* ==========================================================================
   Featured Products (staggered grid)
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}
.work-item { position: relative; cursor: pointer; }
.work-item-2, .work-item-4, .work-item-6, .work-item-8, .work-item-10, .work-item-12 { margin-top: 90px; }

.work-item figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: var(--bg-raised);
}
.work-item figure img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.work-item:hover figure img { transform: scale(1.06); }

.work-caption { padding-top: 20px; }
.work-caption h3 { font-size: 30px; margin-bottom: 6px; }
.work-caption span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.work-item:hover .work-caption span { color: var(--accent); }

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.work-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}
.work-tags i { color: var(--text); font-size: 14px; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-item-2, .work-item-4, .work-item-6, .work-item-8, .work-item-10, .work-item-12 { margin-top: 0; }
  .work-item figure { height: 340px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-crossed {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-row { overflow: hidden; }
.marquee-row + .marquee-row { margin-top: 4px; }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marquee-left 22s linear infinite;
}
.marquee-track-reverse { animation-name: marquee-right; }
.marquee-crossed:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 44px);
  white-space: nowrap;
  color: var(--text);
}
.marquee-track i { color: var(--accent); font-size: 20px; }

@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================================
   Services / Features accordion
   ========================================================================== */
.split-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.split-header-text { color: var(--text-secondary); font-size: 17px; max-width: 48ch; margin-top: 16px; }

.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  text-align: left;
}
.accordion-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.accordion-title {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 38px);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.accordion-caret {
  font-size: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.accordion-item:hover .accordion-count { color: var(--accent); }
.accordion-item:hover .accordion-title { transform: translateX(8px); }
.accordion-item.is-open .accordion-count,
.accordion-item.is-open .accordion-caret { color: var(--accent); }
.accordion-item.is-open .accordion-caret { transform: rotate(45deg); }

.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-body-inner { padding: 0 0 30px 56px; }
.accordion-body-inner p { color: var(--text-secondary); font-size: 17px; max-width: 62ch; }

@media (max-width: 900px) {
  .split-header { grid-template-columns: 1fr; gap: 20px; }
  .accordion-body-inner { padding-left: 0; }
}

/* ==========================================================================
   Visual break
   ========================================================================== */
.section-break {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.section-break-image { position: absolute; inset: 0; z-index: 0; }
.section-break-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35); }
.section-break-quote {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin-left: 50px;
  padding: 100px 40px;
}
.section-break-quote p {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.1;
  max-width: 14ch;
}

/* ==========================================================================
   Use cases
   ========================================================================== */
.section-heading-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-heading-center .eyebrow { justify-content: center; }

.usecase-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-wall li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.usecase-wall li:hover { border-color: var(--accent); transform: translateY(-4px); }
.usecase-wall i { font-size: 30px; color: var(--accent); }
.usecase-wall span {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .usecase-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .usecase-wall { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials / carousel
   ========================================================================== */
.testimonial-carousel { position: relative; max-width: 860px; margin: 0 auto; }
.testimonial-track {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(239,237,234,0.03);
  text-align: center;
}
.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease);
}
.testimonial-card.is-active { position: relative; opacity: 1; visibility: visible; }
.testimonial-text {
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text);
  max-width: 56ch;
  margin-bottom: 20px;
}
.testimonial-author { color: var(--text-secondary); font-size: 14px; }

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; }
.testimonial-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-btn:hover { background: var(--accent); border-color: var(--accent); }
.testimonial-dots { display: flex; gap: 9px; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.testimonial-dot.is-active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 640px) {
  .testimonial-card { padding: 40px 24px; }
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: 72px 64px;
  transition: border-color 0.4s var(--ease);
}
.contact-card:hover { border-color: var(--accent-dim); }
.contact-glow {
  position: absolute;
  top: -35%; right: -12%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.contact-card .split-header { position: relative; z-index: 1; align-items: center; margin-bottom: 0; }

.contact-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }

.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-detail-link i { color: var(--accent); font-size: 17px; }
.contact-detail-link:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

.round-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 40px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 0 10px rgba(191, 74, 26, 0.08);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.round-cta i { font-size: 20px; transition: transform 0.3s var(--ease); }
.round-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px var(--accent-hover), 0 0 0 14px rgba(191, 74, 26, 0.14);
}
.round-cta:hover i { transform: translate(3px, -3px); }

@media (max-width: 900px) {
  .contact-card { padding: 48px 28px; }
  .contact-card .split-header { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; padding: 100px 0 56px; border-top: 1px solid var(--border); }
.footer-bgtype {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(160px, 24vw, 420px);
  color: rgba(239, 237, 234, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  margin-bottom: 28px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.footer-col a { color: var(--text-secondary); font-size: 16px; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--text); }

.footer-col-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-col-brand .logo-img { height: 84px; filter: invert(1) brightness(1.05); mix-blend-mode: screen; }
.footer-copyright { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.footer-col-contact ul { margin-bottom: 24px; }

.footer-bottom {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom .footer-copyright { margin: 0; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-col-brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-brand { grid-column: auto; }
}

/* ==========================================================================
   Scroll to top
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 300;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); }
.scroll-top-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.scroll-top-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 170;
  stroke-dashoffset: var(--progress, 170);
  transition: stroke-dashoffset 0.1s linear;
}

@media (max-width: 640px) {
  .scroll-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
}

/* ==========================================================================
   Generic responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --section-pad: 96px; }
  .container { padding: 0 24px; }
  .hero-inner, .site-header-inner { padding: 0 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { padding: 15px 24px; }
}

/* ==========================================================================
   Reduced motion / motion-paused toggle
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .cursor { display: none; }
}
html.motion-paused .marquee-track,
html.motion-paused .scroll-cue-ring {
  animation-play-state: paused;
}
