/* Dhakad Kirana Store · Industrial Blueprint theme
   Type scale, spacing and radii follow the Tailwind steps listed in the design brief. */

:root {
  /* colour */
  --bg: #181818;
  --bg-deep: #131209;
  --surface: #1F1F1F;
  --raised: #272727;
  --line: #313131;
  --text: #EDEDED;
  --muted: #A6A6A6;
  --faint: #767676;
  --amber: #F5B301;
  --amber-soft: rgba(245, 179, 1, 0.12);
  --amber-ink: #131209;
  --error: #FF7A66;
  --ok: #7FD99A;

  /* spacing */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* radius */
  --r-sm: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Manrope", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --wrap: 1200px;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23ffffff'%3E%3Cpath d='M32 0V160M64 0V160M96 0V160M128 0V160M0 32H160M0 64H160M0 96H160M0 128H160' stroke-opacity='.028'/%3E%3Cpath d='M0 0V160M0 0H160' stroke-opacity='.06'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px; line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; letter-spacing: -0.01em; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
em, i, cite { font-style: normal; }
::selection { background: var(--amber); color: var(--amber-ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--r-sm); }

.skip-link {
  position: fixed; left: var(--s-200); top: var(--s-200); z-index: 100;
  background: var(--amber); color: var(--amber-ink); font-weight: 600;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  transform: translateY(-160%); transition: transform 500ms var(--ease);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-300); }
@media (max-width: 640px) { .wrap { padding: 0 var(--s-200); } }

.mono { font-family: var(--mono); }
.grid-bg { background-color: var(--bg); background-image: var(--grid); background-position: center top; }
.deep { background-color: var(--bg-deep); }
.surface-bg { background-color: var(--surface); }

/* ------------------------------------------------------------ nav */
.nav-shell {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--s-200);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  margin-top: var(--s-300);
  width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  background: rgba(31, 31, 31, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 700ms var(--ease), background-color 700ms var(--ease);
}
.nav-shell.is-scrolled .nav-pill { background: rgba(24, 24, 24, 0.88); }
.brand {
  display: flex; align-items: center; gap: var(--s-75);
  text-decoration: none; font-weight: 700; font-size: 14px; line-height: 20px;
  letter-spacing: 0.02em; white-space: nowrap; margin-right: var(--s-100);
}
.brand svg { width: 24px; height: 24px; flex: none; }
.brand .brand-mark { transition: transform 1200ms var(--ease); transform-origin: 12px 12px; }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand small { color: var(--amber); font-weight: 600; }
.nav-links { display: flex; gap: var(--s-25); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full); text-decoration: none;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted);
  transition: color 500ms var(--ease), background-color 500ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--raised); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--raised); }
.nav-links a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: var(--r-full);
  background: var(--amber); margin-right: var(--s-75); vertical-align: 2px;
}
.nav-cta { margin-left: var(--s-75); }

.menu-toggle {
  display: none; position: relative; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--raised); color: var(--text); cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: var(--r-full);
  background: currentColor; transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-open .menu-toggle span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-900) var(--s-300) var(--s-600);
  opacity: 0; visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-75); }
.menu-overlay li { overflow: hidden; }
.menu-overlay a {
  display: flex; align-items: baseline; gap: var(--s-200);
  font-size: 36px; line-height: 40px; font-weight: 600; text-decoration: none;
  padding: var(--s-75) 0; color: var(--muted);
  transform: translateY(48px); opacity: 0;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease), color 500ms var(--ease);
}
.menu-overlay a .mono { font-size: 12px; line-height: 16px; color: var(--amber); }
.menu-overlay a[aria-current="page"], .menu-overlay a:hover { color: var(--text); }
.menu-open .menu-overlay a { transform: translateY(0); opacity: 1; }
.menu-open .menu-overlay li:nth-child(1) a { transition-delay: 100ms; }
.menu-open .menu-overlay li:nth-child(2) a { transition-delay: 150ms; }
.menu-open .menu-overlay li:nth-child(3) a { transition-delay: 200ms; }
.menu-open .menu-overlay li:nth-child(4) a { transition-delay: 250ms; }
.menu-open .menu-overlay li:nth-child(5) a { transition-delay: 300ms; }
.menu-open .menu-overlay li:nth-child(6) a { transition-delay: 350ms; }
.menu-overlay .overlay-foot {
  margin-top: var(--s-600); color: var(--muted); font-size: 14px; line-height: 20px;
  display: grid; gap: var(--s-75);
  opacity: 0; transition: opacity 700ms var(--ease) 400ms;
}
.menu-open .overlay-foot { opacity: 1; }
.overlay-foot a:not(.btn) { font-size: 14px; line-height: 20px; opacity: 1; transform: none; padding: 0; color: var(--text); font-weight: 500; }
.overlay-foot .btn { opacity: 1; transform: none; margin-top: var(--s-200); font-size: 16px; line-height: 24px; padding: var(--s-100) var(--s-300); color: var(--amber-ink); }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-pill { gap: var(--s-100); }
}
@media (max-width: 480px) { .nav-pill .nav-cta { display: none; } .nav-pill { gap: var(--s-200); } }
@media (min-width: 961px) { .menu-overlay { display: none; } }

/* ------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--amber); --btn-fg: var(--amber-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 16px/24px var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 700ms var(--ease), background-color 500ms var(--ease), box-shadow 700ms var(--ease), color 500ms var(--ease);
}
.btn i { font-size: 18px; transition: transform 700ms var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(245, 179, 1, 0.55); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 14px; line-height: 20px; padding: var(--s-75) var(--s-100); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--raised); box-shadow: none; }
.btn-wa { --btn-bg: #25D366; --btn-fg: #0B2A16; }
.btn-wa:hover { box-shadow: 0 12px 32px -12px rgba(37, 211, 102, 0.55); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.btn-lg { padding: var(--s-100) var(--s-300); }

.text-link {
  color: var(--amber); text-decoration: none; font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 700ms var(--ease);
}
.text-link:hover { background-size: 100% 1px; }

/* ------------------------------------------------------------ type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.h-display {
  font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 680px;
}
.h-display .line { display: block; }
.h-section { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
@media (max-width: 1024px) { .h-display { font-size: 48px; } }
@media (max-width: 640px) {
  .h-display { font-size: 36px; line-height: 40px; }
  .h-display .line { display: inline; }
  .h-section { font-size: 30px; line-height: 36px; }
  .lead { font-size: 16px; line-height: 24px; }
}

/* ------------------------------------------------------------ sections */
.section { padding: var(--s-900) 0; position: relative; }
.section-head { display: grid; gap: var(--s-200); margin-bottom: var(--s-600); max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-400); flex-wrap: wrap; margin-bottom: var(--s-600); }
.split-head .section-head { margin-bottom: 0; }
@media (max-width: 640px) { .section { padding: var(--s-700) 0; } .section-head { margin-bottom: var(--s-400); } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------ hero */
.hero { padding: 160px 0 var(--s-800); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-600); align-items: center; }
.hero-copy { display: grid; gap: var(--s-300); justify-items: start; }
.hero-copy .lead { max-width: 680px; }
.hero-actions { display: flex; align-items: center; gap: var(--s-300); flex-wrap: wrap; margin-top: var(--s-75); }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300);
  font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted);
  padding-top: var(--s-300); margin-top: var(--s-75);
  border-top: 1px dashed var(--line); width: 100%;
}
.hero-proof span { display: inline-flex; align-items: center; gap: var(--s-75); }
.hero-proof i { color: var(--amber); font-size: 16px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.page-hero { padding: 160px 0 var(--s-700); }
.page-hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 960px) {
  .hero, .page-hero { padding-top: 128px; }
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* blueprint drawing primitives */
.bp-title { font-family: var(--mono); font-size: 11px; fill: var(--muted); letter-spacing: 0.06em; }
.bp-note { font-family: var(--mono); font-size: 11px; fill: var(--amber); letter-spacing: 0.04em; }
.bp-line { fill: none; stroke: var(--faint); stroke-width: 1; }
.bp-dash { fill: none; stroke: #4A4A4A; stroke-width: 1; stroke-dasharray: 3 4; }
.bp-center { stroke: #3F3F3F; stroke-width: 1; stroke-dasharray: 12 3 2 3; }
.bp-amber { fill: none; stroke: var(--amber); stroke-width: 1.5; }
.bp-frame { fill: none; stroke: var(--line); stroke-width: 1; }
.gear-body { fill: rgba(245, 179, 1, 0.07); stroke: var(--amber); stroke-width: 1.5; stroke-linejoin: round; }
.gear { animation: spin var(--dur, 20s) linear infinite; }
.spin-ccw { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .draw, .draw.is-in { animation: draw 2200ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-svg { opacity: 0; }
.is-in .fade-svg { animation: fadein 900ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadein { to { opacity: 1; } }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; background: var(--surface); }
.stat { padding: var(--s-400) var(--s-300); display: grid; gap: var(--s-75); position: relative; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat-num { font-family: var(--mono); font-size: 48px; line-height: 1; font-weight: 500; color: var(--text); letter-spacing: -0.04em; }
.stat-num sup { font-size: 24px; color: var(--amber); vertical-align: top; margin-left: var(--s-25); }
.stat-label { color: var(--muted); font-size: 14px; line-height: 20px; }
.stat-tag { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .stat-num { font-size: 36px; }
}

/* ------------------------------------------------------------ cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
  transition: transform 700ms var(--ease), border-color 700ms var(--ease), background-color 700ms var(--ease);
}
.card:hover { border-color: #4A4A4A; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); }
.product { padding: var(--s-75); display: flex; flex-direction: column; text-decoration: none; }
.product:hover { transform: translateY(-4px); }
.product-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--raised); }
.product-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transform: scale(1.02); transition: transform 1200ms var(--ease), filter 1200ms var(--ease), opacity 700ms var(--ease); }
.product:hover .product-media img { transform: scale(1.08); filter: grayscale(0) contrast(1.05); }
.product-media .tag {
  position: absolute; left: var(--s-75); top: var(--s-75);
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  background: rgba(19, 18, 9, 0.8); color: var(--amber);
  padding: var(--s-50) var(--s-75); border-radius: var(--r-sm);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.product-body { padding: var(--s-300) var(--s-200) var(--s-200); display: grid; gap: var(--s-100); flex: 1; align-content: start; }
.product-body h3 { font-size: 20px; line-height: 28px; display: flex; align-items: center; gap: var(--s-75); }
.product-body h3 i { color: var(--amber); font-size: 24px; }
.product-body p { color: var(--muted); font-size: 14px; line-height: 20px; }
.brand-list { list-style: none; margin: var(--s-75) 0 0; padding: var(--s-100) 0 0; display: grid; gap: var(--s-75); border-top: 1px dashed var(--line); }
.brand-list li { font-size: 14px; line-height: 20px; display: flex; gap: var(--s-75); align-items: center; }
.brand-list li i { color: var(--amber); font-size: 16px; flex: none; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* skeleton while images load */
.skeleton { animation: pulse 1600ms var(--ease) infinite alternate; }
@keyframes pulse { from { background-color: var(--raised); } to { background-color: var(--line); } }
img.loading { opacity: 0; }

/* benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-300); }
.benefit { padding: var(--s-400); display: grid; gap: var(--s-200); align-content: start; }
.benefit .icon-box {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--r-xl); background: var(--amber-soft); color: var(--amber); font-size: 24px;
}
.benefit h3 { font-size: 20px; line-height: 28px; }
.benefit p { color: var(--muted); }
.benefit .spec { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); }
@media (max-width: 800px) { .benefit-grid { grid-template-columns: 1fr; } .benefit { padding: var(--s-300); } }

/* ------------------------------------------------------------ tagline reveal */
.tagline-section { padding: 128px 0; }
.tagline {
  font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.02em;
  max-width: 880px; margin: 0 auto; text-align: center; text-wrap: balance;
}
.tagline .w { color: rgba(237, 237, 237, 0.28); transition: color 700ms var(--ease); }
.tagline .w.on { color: var(--text); }
.tagline .w.hl.on { color: var(--amber); }
.tagline-sub { text-align: center; margin-top: var(--s-400); }
.no-js .tagline .w { color: var(--text); }
@media (max-width: 800px) { .tagline { font-size: 36px; line-height: 40px; } .tagline-section { padding: var(--s-900) 0; } }
@media (max-width: 480px) { .tagline { font-size: 30px; line-height: 36px; } }

/* ------------------------------------------------------------ steps */
.steps-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-700); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-200); counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-200); padding: var(--s-300); }
.step-num {
  width: 48px; height: 48px; border-radius: var(--r-full); display: grid; place-items: center;
  border: 1px solid var(--amber); color: var(--amber); font-family: var(--mono); font-size: 14px; line-height: 20px;
}
.step h3 { font-size: 18px; line-height: 28px; margin-bottom: var(--s-50); }
.step p { color: var(--muted); font-size: 14px; line-height: 20px; }
.map-card { padding: var(--s-300); position: relative; }
.map-card .map-meta { display: flex; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); margin-bottom: var(--s-200); }
.map-card .map-meta b { color: var(--amber); font-weight: 500; }
@media (max-width: 960px) { .steps-layout { grid-template-columns: 1fr; gap: var(--s-400); } }

.india-map { width: 100%; height: auto; }
.map-dots circle { fill: #3A3A3A; }
.route { fill: none; stroke: var(--amber); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: 0.55; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.parcel { fill: var(--amber); }
.city { fill: var(--bg); stroke: var(--amber); stroke-width: 1.5; }
.city-label { font-family: var(--mono); font-size: 10px; fill: var(--muted); }
.origin-dot { fill: var(--amber); }
.origin-label { font-family: var(--mono); font-size: 11px; fill: var(--text); font-weight: 500; }
.pulse { fill: none; stroke: var(--amber); stroke-width: 1.2; transform-origin: 0 0; animation: ping 2.8s var(--ease) infinite; }
.pulse.p2 { animation-delay: 1.4s; }
@keyframes ping { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------------ brands marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-300) 0; }
.marquee-track { display: flex; gap: var(--s-700); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-700); transition: color 500ms var(--ease); }
.marquee-track span:hover { color: var(--text); }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--amber); opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-300); }
.industry { padding: var(--s-300); display: grid; gap: var(--s-200); }
.industry i { display: block; width: 32px; height: 32px; line-height: 32px; font-size: 32px; color: var(--amber); transition: transform 900ms var(--ease); }
.industry:hover i { transform: translateY(-4px) rotate(-8deg); }
.industry h3 { font-size: 18px; line-height: 28px; }
.industry p { color: var(--muted); font-size: 14px; line-height: 20px; }
@media (max-width: 960px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ assurance / risk reversal */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-300); }
.assure-item { display: grid; gap: var(--s-100); padding: var(--s-300); }
.assure-item i { font-size: 24px; color: var(--ok); }
.assure-item h3 { font-size: 16px; line-height: 24px; }
.assure-item p { font-size: 14px; line-height: 20px; color: var(--muted); }
@media (max-width: 960px) { .assure { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .assure { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ faq */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-700); align-items: start; }
.faq-layout .section-head { position: sticky; top: 128px; }
.faq { display: grid; gap: var(--s-100); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color 500ms var(--ease), background-color 500ms var(--ease); }
.faq details[open] { border-color: #4A4A4A; background: var(--raised); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s-200) var(--s-300);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  font-weight: 600; font-size: 16px; line-height: 24px; border-radius: var(--r-xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--amber); font-size: 20px; transition: transform 700ms var(--ease); flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--muted); }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; gap: var(--s-400); } .faq-layout .section-head { position: static; } }

/* ------------------------------------------------------------ CTA band */
.cta-band { padding: var(--s-700); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-500); align-items: center; position: relative; overflow: hidden; }
.cta-band .actions { display: flex; flex-direction: column; gap: var(--s-200); align-items: flex-start; }
.cta-band .contact-lines { display: grid; gap: var(--s-75); font-size: 14px; line-height: 20px; color: var(--muted); }
.cta-band .contact-lines a { color: var(--text); text-decoration: none; }
.cta-band .contact-lines a:hover { color: var(--amber); }
.cta-band .contact-lines i { color: var(--amber); margin-right: var(--s-75); }
.cta-gear { position: absolute; right: -80px; bottom: -80px; width: 280px; opacity: 0.35; pointer-events: none; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: var(--s-400) var(--s-300); } }

/* ------------------------------------------------------------ media split (about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo-frame { padding: var(--s-75); border-radius: var(--r-2xl); }
.photo-frame img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(0.3); }
.photo-frame figcaption { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--faint); padding: var(--s-100) var(--s-75) var(--s-50); display: flex; justify-content: space-between; gap: var(--s-200); }
.prose { display: grid; gap: var(--s-200); }
.prose p { color: var(--muted); font-size: 18px; line-height: 28px; }
.prose p strong { color: var(--text); font-weight: 600; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: var(--s-400); } .split.flip > :first-child { order: 0; } }

.id-card { padding: var(--s-400); display: grid; gap: var(--s-300); position: relative; overflow: hidden; }
.id-row { display: grid; grid-template-columns: 140px 1fr; gap: var(--s-200); padding-top: var(--s-200); border-top: 1px dashed var(--line); font-size: 14px; line-height: 20px; }
.id-row dt { color: var(--faint); font-family: var(--mono); font-size: 12px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.id-row dd { margin: 0; color: var(--text); }
.id-row dd a { text-decoration: none; }
.id-row dd a:hover { color: var(--amber); }
@media (max-width: 480px) { .id-row { grid-template-columns: 1fr; gap: var(--s-50); } }

.commit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-100); }
.commit-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-200); padding: var(--s-300); }
.commit-list i { font-size: 24px; color: var(--amber); }
.commit-list h3 { font-size: 16px; line-height: 24px; margin-bottom: var(--s-50); }
.commit-list p { font-size: 14px; line-height: 20px; color: var(--muted); }

.timeline svg { width: 100%; height: auto; }
.tl-year { font-family: var(--mono); font-size: 12px; fill: var(--amber); }
.tl-text { font-family: var(--font); font-size: 13px; fill: var(--muted); }
.tl-node { fill: var(--bg); stroke: var(--amber); stroke-width: 2; }

/* ------------------------------------------------------------ forms */
.form-card { padding: var(--s-400); display: grid; gap: var(--s-300); }
.form-card h2 { font-size: 24px; line-height: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200) var(--s-300); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: var(--s-75); }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field label .opt { color: var(--faint); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/24px var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--s-100) var(--s-200);
  transition: border-color 500ms var(--ease), box-shadow 500ms var(--ease), background-color 500ms var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #4A4A4A; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(255, 122, 102, 0.15); }
.field-error { font-size: 14px; line-height: 20px; color: var(--error); min-height: 20px; display: flex; gap: var(--s-50); align-items: center; }
.field-error:empty { min-height: 0; }
.field-hint { font-size: 12px; line-height: 16px; color: var(--faint); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: var(--s-600); }
.pw-toggle { position: absolute; right: var(--s-75); top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: var(--r-lg); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.pw-toggle:hover { color: var(--text); background: var(--raised); }
.check { display: flex; gap: var(--s-100); align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--amber); flex: none; }
.form-status { font-size: 14px; line-height: 20px; border-radius: var(--r-xl); padding: var(--s-100) var(--s-200); display: none; gap: var(--s-75); align-items: flex-start; }
.form-status.show { display: flex; }
.form-status.ok { background: rgba(127, 217, 154, 0.1); color: var(--ok); border: 1px solid rgba(127, 217, 154, 0.3); }
.form-status.err { background: rgba(255, 122, 102, 0.1); color: var(--error); border: 1px solid rgba(255, 122, 102, 0.3); }
.form-status.info { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(245, 179, 1, 0.3); }
.form-status i { font-size: 18px; margin-top: 1px; flex: none; }
.form-foot { font-size: 14px; line-height: 20px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: var(--s-300) var(--s-200); } }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-400); align-items: start; }
.side-stack { display: grid; gap: var(--s-300); }
.info-card { padding: var(--s-300); display: grid; gap: var(--s-200); }
.info-card h3 { font-size: 18px; line-height: 28px; display: flex; align-items: center; gap: var(--s-75); }
.info-card h3 i { color: var(--amber); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-100); }
.check-list li { display: flex; gap: var(--s-100); font-size: 14px; line-height: 20px; color: var(--muted); }
.check-list i { color: var(--amber); font-size: 18px; flex: none; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--raised); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) grayscale(0.6) contrast(0.9); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-600); align-items: center; }
.auth-art svg { width: 100%; height: auto; max-width: 440px; margin: 0 auto; }
.auth-card { max-width: 480px; width: 100%; justify-self: center; }
@media (max-width: 960px) { .auth-layout { grid-template-columns: 1fr; } .auth-art { order: 2; max-width: 320px; margin: 0 auto; } }

/* ------------------------------------------------------------ legal */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-700); align-items: start; }
.toc { position: sticky; top: 128px; display: grid; gap: var(--s-50); }
.toc a { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; padding: var(--s-50) var(--s-100); border-radius: var(--r-lg); transition: color 500ms var(--ease), background-color 500ms var(--ease); }
.toc a:hover { color: var(--text); background: var(--surface); }
.legal { display: grid; gap: var(--s-500); max-width: 720px; }
.legal section { display: grid; gap: var(--s-200); scroll-margin-top: 128px; }
.legal h2 { font-size: 24px; line-height: 32px; display: flex; gap: var(--s-100); align-items: baseline; }
.legal h2 .mono { color: var(--amber); font-size: 14px; line-height: 20px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: var(--s-300); display: grid; gap: var(--s-75); }
.legal li strong, .legal p strong { color: var(--text); font-weight: 600; }
.legal .id-card { padding: var(--s-300); }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; gap: var(--s-400); } .toc { position: static; grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: var(--s-800) 0 var(--s-900); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1fr; gap: var(--s-500); }
.footer-grid h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); margin-bottom: var(--s-200); }
.footer-grid p, .footer-grid li, .footer-grid address { font-size: 14px; line-height: 20px; color: var(--muted); font-style: normal; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-75); }
.footer-grid a { text-decoration: none; color: var(--muted); transition: color 500ms var(--ease); }
.footer-grid a:hover { color: var(--amber); }
.footer-brand { display: grid; gap: var(--s-200); align-content: start; }
.badges { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.badge { display: inline-flex; align-items: center; gap: var(--s-75); font-family: var(--mono); font-size: 12px; line-height: 16px; padding: var(--s-50) var(--s-100); border: 1px solid var(--line); border-radius: var(--r-full); color: var(--text); }
.badge i { color: var(--amber); font-size: 14px; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-100); }
.contact-list i { color: var(--amber); font-size: 18px; margin-top: 1px; }
.socials { display: flex; gap: var(--s-75); margin-top: var(--s-200); }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--text); font-size: 20px; transition: background-color 500ms var(--ease), color 500ms var(--ease), transform 700ms var(--ease); }
.socials a:hover { background: var(--amber); color: var(--amber-ink); transform: translateY(-2px); }
.footer-bottom { margin-top: var(--s-700); padding-top: var(--s-300); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap; font-size: 14px; line-height: 20px; color: var(--faint); }
.footer-bottom nav { display: flex; gap: var(--s-300); flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }
.footer-bottom a[aria-current="page"] { color: var(--text); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.fab-wa {
  position: fixed; right: var(--s-300); bottom: var(--s-300); z-index: 30;
  width: 56px; height: 56px; border-radius: var(--r-full); display: grid; place-items: center;
  background: #25D366; color: #0B2A16; font-size: 28px; text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  transition: transform 700ms var(--ease);
}
.fab-wa:hover { transform: translateY(-4px) scale(1.04); }
.fab-wa:active { transform: scale(0.96); }
@media (max-width: 640px) { .fab-wa { right: var(--s-200); bottom: var(--s-200); width: 48px; height: 48px; font-size: 24px; } }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 128px var(--s-200) var(--s-700); }
.nf .inner { display: grid; gap: var(--s-300); justify-items: center; max-width: 560px; }
.nf svg { width: 240px; height: 240px; }
.wobble { animation: wobble 3.2s var(--ease) infinite; transform-origin: 0 0; }
@keyframes wobble { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(28deg); } 45% { transform: rotate(22deg); } 60% { transform: rotate(26deg); } }

/* bearing explode (services) */
.bearing .part { transition: transform 1400ms var(--ease); }
.bearing .lbl { opacity: 0; transition: opacity 900ms var(--ease) 500ms; }
.bearing.exploded .p-top { transform: translateY(-112px); }
.bearing.exploded .p-cage { transform: translateY(-40px); }
.bearing.exploded .p-balls { transform: translateY(36px); }
.bearing.exploded .p-bottom { transform: translateY(112px); }
.bearing.exploded .lbl { opacity: 1; }
.bearing .balls-spin { animation: spin 14s linear infinite; transform-origin: 0 0; }

/* lock (auth) */
.shackle { transition: transform 1200ms var(--ease); }
.auth-art:hover .shackle, .auth-art.open .shackle { transform: translateY(-18px); }
.dial { animation: spin 18s var(--ease) infinite alternate; transform-origin: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .draw { stroke-dashoffset: 0; }
  .fade-svg { opacity: 1; }
  .marquee-track { animation: none; }
}
