/* Littoral Lucie Media — brochure homepage.
   Static recreation of the design handoff (design/website/ + design/tokens/).
   Tokens are the authoritative values from the design system. */

/* ============ tokens ============ */
:root {
  /* night neutrals */
  --night-0: #07080d;
  --night-1: #0c0e16;
  --night-2: #121524;
  --night-3: #1a1e30;
  --night-4: #262b42;

  --fg-1: #f2f2f7;
  --fg-2: #a6aabe;
  --fg-3: #686d85;

  /* littoral violet */
  --violet-200: #cdc6ff;
  --violet-300: #aa9dff;
  --violet-400: #8f7bfa;
  --violet-500: #7a5af5;
  --violet-600: #6443e0;
  --violet-700: #4e33b5;

  /* tideline accent */
  --tide-300: #84f0dd;
  --tide-400: #3fe3c2;
  --tide-500: #18c7a6;

  --grad-brand: linear-gradient(92deg, #6a4cf0 0%, #8f7bfa 52%, #b3a6ff 100%);
  --grad-fade-edge: linear-gradient(180deg, rgba(7, 8, 13, 0) 0%, #07080d 100%);

  --surface-page: var(--night-0);
  --surface-card: var(--night-1);

  --text-body: var(--fg-1);
  --text-muted: var(--fg-2);
  --text-faint: var(--fg-3);
  --text-brand: var(--violet-300);
  --text-accent: var(--tide-400);

  --line-soft: rgba(146, 134, 255, 0.13);
  --line-strong: rgba(146, 134, 255, 0.28);
  --line-neutral: rgba(242, 242, 247, 0.08);

  /* type */
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-2xl: 36px;
  --text-3xl: 48px;
  --text-4xl: 64px;
  --weight-medium: 500;
  --weight-display: 800;
  --track-display: -0.035em;
  --track-body: -0.005em;
  --track-mono: 0.16em;
  --leading-display: 1.04;
  --leading-tight: 1.2;
  --leading-body: 1.6;

  /* spacing + layout */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-10: 144px;
  --container-page: 1140px;
  --container-wide: 1320px;
  --gutter-page: 28px;

  /* effects */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --glow-violet: 0 0 0 1px rgba(143, 123, 250, 0.25), 0 0 28px rgba(122, 90, 245, 0.22);
  --focus-ring: 0 0 0 2px var(--night-0), 0 0 0 4px var(--violet-400);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-fast: 140ms;
  --speed-base: 240ms;
}

/* ============ base ============ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--violet-600); color: #ffffff; }
a { color: var(--text-brand); text-decoration: none; }

.ll-container { max-width: var(--container-page); margin: 0 auto; padding: 0 var(--gutter-page); }
.ll-container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter-page); }

.ll-grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ components ============ */
.ll-wordmark {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: 16px; letter-spacing: var(--track-display);
  line-height: 1; white-space: nowrap; color: var(--fg-1);
}
.ll-wordmark-link { display: inline-flex; }

.ll-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: var(--weight-medium);
  letter-spacing: var(--track-mono); text-transform: uppercase;
  color: var(--text-brand);
}
.ll-kicker-glyph { font-size: 9px; }
.ll-kicker-tide { color: var(--text-accent); }

.ll-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: all var(--speed-fast) var(--ease-out);
}
.ll-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ll-btn:active { filter: brightness(0.96); transform: translateY(0); }
.ll-btn-sm { padding: 7px 14px; font-size: 13px; }
.ll-btn-md { padding: 11px 22px; font-size: 14px; }
.ll-btn-lg { padding: 15px 30px; font-size: 15px; }
.ll-btn-primary { background: var(--grad-brand); color: #ffffff; }
.ll-btn-primary:hover { box-shadow: var(--glow-violet); filter: brightness(1.08); }
.ll-btn-secondary { background: transparent; color: var(--text-body); border-color: var(--line-strong); }
.ll-btn-secondary:hover { border-color: var(--violet-400); background: rgba(122, 90, 245, 0.08); }
.ll-btn-ghost { background: transparent; color: var(--text-brand); padding-left: 0; padding-right: 0; }
.ll-btn-ghost:hover { color: var(--violet-200); }

.ll-tag {
  display: inline-flex; align-items: center; padding: 5px 11px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: var(--weight-medium);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-xs); white-space: nowrap;
  color: var(--text-muted); border: 1px solid var(--line-neutral);
  background: rgba(242, 242, 247, 0.03);
}
.ll-tag-violet { color: var(--violet-200); border-color: var(--line-strong); background: rgba(122, 90, 245, 0.10); }
.ll-tag-tide { color: var(--tide-300); border-color: rgba(63, 227, 194, 0.3); background: rgba(63, 227, 194, 0.07); }

.ll-card {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

/* ============ nav ============ */
.ll-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(7, 8, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.ll-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ll-nav-links { display: flex; align-items: center; gap: var(--space-6); }
.ll-nav-link {
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  color: var(--text-muted); transition: color var(--speed-fast) var(--ease-out);
}
.ll-nav-link:hover { color: var(--fg-1); }

/* ============ hero ============ */
.ll-hero { position: relative; min-height: 100vh; display: flex; align-items: center; }
.ll-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ll-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: var(--grad-fade-edge); pointer-events: none;
}
.ll-hero-container { width: 100%; }
.ll-hero-content { position: relative; z-index: 1; max-width: 640px; padding-top: 64px; }
.ll-hero h1 {
  margin: var(--space-5) 0 var(--space-5);
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: var(--text-4xl); letter-spacing: var(--track-display);
  line-height: var(--leading-display); text-wrap: balance;
}
.ll-hero p { margin: 0 0 var(--space-6); font-size: var(--text-md); color: var(--text-muted); max-width: 50ch; text-wrap: pretty; }
.ll-hero-ctas { display: flex; align-items: center; gap: var(--space-4); }

/* ============ sections ============ */
.ll-section { padding: var(--space-10) 0; }
.ll-section-head { max-width: 560px; margin-bottom: var(--space-7); }
.ll-section-head h2 {
  margin: var(--space-4) 0 var(--space-3);
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: var(--text-2xl); letter-spacing: var(--track-display); line-height: var(--leading-tight);
}
.ll-section-head p { margin: 0; color: var(--text-muted); font-size: var(--text-base); text-wrap: pretty; }

.ll-business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.ll-biz-index { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--track-mono); color: var(--text-faint); }
.ll-biz-title {
  margin: var(--space-4) 0 var(--space-3);
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: var(--text-lg); letter-spacing: var(--track-display); line-height: var(--leading-tight);
}
.ll-biz-body { margin: 0 0 var(--space-5); color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-body); text-wrap: pretty; }
.ll-tag-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ============ capabilities ============ */
.ll-cap { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--surface-card); }
.ll-cap-head { margin-bottom: 0; }
.ll-cap-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ============ footer ============ */
.ll-footer { border-top: 1px solid var(--line-soft); padding: var(--space-6) 0; }
.ll-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.ll-footer-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-faint); }
.ll-operamatix { height: 13px; vertical-align: -3px; opacity: 0.7; margin-left: 2px; transition: opacity var(--speed-fast) var(--ease-out); }
.ll-footer-meta a:hover .ll-operamatix { opacity: 1; }

/* ============ responsive ============ */
@media (max-width: 880px) {
  .ll-business-grid { grid-template-columns: 1fr; }
  .ll-hero h1 { font-size: var(--text-3xl); }
  .ll-nav-links .ll-nav-link { display: none; }
}
