@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
/* Drapmi design tokens: from the Drapmi Design System v1.0 */
@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --forest-950: #07120b; --forest-900: #0c2415; --forest-800: #12361f; --forest-700: #1b4a2b;
  --forest-600: #26603a; --forest-500: #3a7a50; --forest-300: #8fb79a; --forest-100: #dceadf; --forest-50: #eef5ef;
  --neon-600: #c9db1f; --neon-500: #eeff54; --neon-300: #f4ff91; --neon-100: #fafdd6;
  --cobalt-900: #0a2a66; --cobalt-800: #003a99; --cobalt-700: #004bcc; --cobalt-600: #005ce6;
  --cobalt-500: #2e7bff; --cobalt-400: #5b97ff; --cobalt-200: #b8d6ff; --ice: #dceeff; --ice-50: #f0f7ff;
  --watermelon-700: #c2305c; --watermelon-500: #ff5c8a; --watermelon-50: #ffeef3;
  --moss-900: #0f1f15; --moss-700: #2e3a30; --moss-500: #5a6558; --moss-400: #8c978a;
  --moss-200: #d6ddd2; --moss-100: #e8ece4; --moss-50: #f4f6f1;
  --slate-900: #131a26; --slate-700: #323b4c; --slate-500: #5d6779; --slate-400: #8a94a6;
  --slate-200: #d5dce8; --slate-100: #e6ebf3; --slate-50: #f2f5fa; --slate-25: #f8fafd;
  --success: #1f8a55; --success-tint: #e3f6ec; --warning: #e8a317; --warning-tint: #fff6dd;
  --danger: #d1303c; --danger-tint: #fdecec;

  --font-display: "Chillax", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 320ms; --dur-reveal: 480ms;
  --ease: cubic-bezier(.2, 0, 0, 1); --ease-in: cubic-bezier(0, 0, 0, 1); --ease-out: cubic-bezier(.3, 0, 1, 1);
  --shadow-1: 0 1px 2px rgba(15, 31, 21, .06), 0 4px 12px rgba(15, 31, 21, .06);
  --shadow-2: 0 24px 48px -24px rgba(15, 31, 21, .35);
  --nav-h: 64px;
}

/* Shopper side (Drapmi) */
[data-side="shop"] {
  --bg: var(--moss-50); --surface: #fff; --surface-2: #f8faf6;
  --ink: var(--moss-900); --ink-2: var(--moss-700); --muted: var(--moss-500);
  --line: rgba(15, 31, 21, .12); --line-strong: rgba(15, 31, 21, .24);
  --accent: var(--forest-800); --on-accent: var(--neon-500); --accent-tint: var(--forest-50);
  --eyebrow: var(--forest-500); --focus: var(--cobalt-500);
}
/* Brand side (Drapmi for Brands) */
[data-side="brands"] {
  --bg: var(--slate-50); --surface: #fff; --surface-2: var(--slate-25);
  --ink: var(--slate-900); --ink-2: var(--slate-700); --muted: var(--slate-500);
  --line: rgba(19, 26, 38, .12); --line-strong: rgba(19, 26, 38, .24);
  --accent: var(--cobalt-600); --on-accent: #fff; --accent-tint: var(--ice);
  --eyebrow: var(--cobalt-600); --focus: var(--cobalt-500);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 24px;
  color: var(--moss-900); background: var(--moss-50);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--focus, #2e7bff); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--neon-500); color: var(--forest-800); }

.page { min-height: 100vh; background: var(--bg); color: var(--ink); overflow-x: clip; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.container-wide { width: 100%; max-width: 1376px; margin: 0 auto; padding-inline: 32px; }
@media (max-width: 599px) { .container, .container-wide { padding-inline: 16px; } }

.disp { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.ov { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--eyebrow); }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.tabnum { font-variant-numeric: tabular-nums; }
.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; }

.h-section { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; }
.h-sub { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.06; }

.section { padding-block: 96px; }
@media (max-width: 599px) { .section { padding-block: 64px; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 8px 24px -10px var(--accent); }
[data-side="shop"] .btn-primary:hover { background: var(--forest-700); }
[data-side="brands"] .btn-primary:hover { background: var(--cobalt-700); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: var(--ink); }
.btn-icon { width: 48px; padding: 0; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Cards & tags */
.card { background: var(--surface); border-radius: var(--r-lg); }
.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-xs);
  font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hairline-grid { display: grid; border-top: 1px solid var(--line); }
.hairline-grid > * { padding: 24px 24px 0 0; }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.input {
  height: 48px; width: 100%; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  padding: 0 16px; font: inherit; font-size: 16px; background: #fff; color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 12px; line-height: 16px; color: var(--danger); }
select.input { padding: 0 12px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }

/* Ticker */
.ticker-band { overflow: hidden; padding: 20px 0; }
.ticker { display: flex; width: max-content; gap: 48px; animation: ticker 38s linear infinite; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.ticker-band:hover .ticker { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Turntable sprites */
.sprite { background-repeat: no-repeat; background-size: 600% 600%; }

/* Patterns */
.dhaka-forest { background-image: url("../patterns/dhaka-forest.png"); background-size: 960px auto; }
.dhaka-cobalt { background-image: url("../patterns/dhaka-cobalt.png"); background-size: 960px auto; }
.drift { animation: drift 24s linear infinite; }
@keyframes drift { to { background-position: 960px 540px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker, .drift { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
