/* presentation.rawmart.tech — shared styles for the folder hub and every company deck.
   Rawmart tokens (same family as rawmart.tech / test.rawmart.tech). One deliberate dark world: it is a presentation surface. */
:root {
  --ink: #130828;          /* deep violet-black ground */
  --ink-2: #1c0f38;        /* raised surface */
  --ink-3: #271650;        /* hover surface */
  --line: rgba(196, 181, 253, 0.16);
  --line-strong: rgba(196, 181, 253, 0.32);
  --text: #f4f1ff;
  --text-2: #c9c1e6;
  --text-3: #9187b5;
  --violet: #8b5cf6;
  --violet-deep: #6d28d9;
  --cyan: #22d3ee;
  --green: #22c55e;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --gutter: clamp(10px, 1.8vw, 28px);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* ── Header (glass, sticky) ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 10px var(--gutter);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 8, 40, 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand span { font: 600 12px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; font: 600 14px/1 var(--font-body); color: var(--text-2);
  padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.site-nav a:hover { background: rgba(139, 92, 246, 0.16); color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--violet-deep), var(--violet)); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.8); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .brand span { display: none; }
}

/* ── Inset hero: a rounded card with a gutter on every side; full-bleed on phones ─────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 var(--gutter);
  border-radius: var(--radius-xl);
  min-height: min(80vh, 780px);
  display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  background: var(--ink-2) center / cover no-repeat;
}
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 8, 40, 0.55) 0%, rgba(19, 8, 40, 0.1) 38%, rgba(19, 8, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(19, 8, 40, 0.78) 0%, rgba(19, 8, 40, 0) 62%);
}
.hero__content { padding: clamp(24px, 5vw, 64px); max-width: 860px; display: grid; gap: 20px; }
.hero h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #c4b5fd, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__caption {
  position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-3);
}
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(19, 8, 40, 0.5); color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .hero { margin: 0; border-radius: 0; border-left: 0; border-right: 0; min-height: 88svh; }
  .hero__caption { display: none; }
}

/* ── Sections / folder grid ───────────────────────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 104px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section__head p { color: var(--text-2); max-width: 52ch; }

.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 20px; }
.folder {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px 22px; margin-top: 18px;
  border: 1px solid var(--line); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-2), rgba(28, 15, 56, 0.6));
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s, background .25s;
}
.folder::before { /* the folder tab, carrying the path */
  content: attr(data-path);
  position: absolute; left: -1px; top: -27px; height: 28px;
  display: flex; align-items: center; padding: 0 16px;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0;
  background: var(--ink-2);
  font: 600 12px/1 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text-3);
}
.folder:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.folder:hover::before { color: var(--cyan); }
.folder__top { display: flex; align-items: center; gap: 14px; }
.monogram {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  font: 700 18px/1 var(--font-display); color: #fff;
  background: linear-gradient(135deg, var(--c1, var(--violet-deep)), var(--c2, var(--cyan)));
}
.folder h3 { font-size: 20px; }
.folder__type { font-size: 13px; color: var(--text-3); }
.folder__text { color: var(--text-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.03);
}
.chip--live { color: #86efac; border-color: rgba(34, 197, 94, 0.35); }
.chip--dev { color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); }
.folder__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.folder__foot strong { color: var(--text); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.folder__foot svg { width: 15px; height: 15px; transition: transform .25s; }
.folder:hover .folder__foot svg { transform: translateX(3px); }

.site-footer { padding: 32px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; max-width: 1320px; margin: 0 auto; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* "Request a client preview": the folder that is not there yet */
.folder--new { border-style: dashed; background: transparent; }
.folder--new::before { border-style: dashed; background: var(--ink); }
.folder--new:hover { background: rgba(139, 92, 246, 0.06); }
.monogram--new { background: transparent; border: 1px dashed var(--line-strong); color: var(--cyan); font-size: 24px; }
