/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color System --------------------------------------------------- */
  --color-background: #090611; /* matte obsidian black */
  --color-surface: #120c1f; /* deep velvet midnight-violet */
  --color-surface-elevated: #151027;
  --color-border-subtle: #2d263b; /* elegant thin borders */
  --color-text: #f5f2ff; /* soft warm lavender-grey */
  --color-text-muted: #a9a1c9;
  --color-primary: #8b5cf6; /* vibrant amethyst violet */
  --color-primary-soft: rgba(139, 92, 246, 0.18);
  --color-success: #4ade80;
  --color-warning: #facc15;
  --color-danger: #fb7185;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography ----------------------------------------------------- */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (0–96px) ---------------------------------------- */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius --------------------------------------------------------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows -------------------------------------------------------- */
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 35px rgba(0, 0, 0, 0.65);
  --shadow-focus: 0 0 0 1px rgba(139, 92, 246, 0.65), 0 0 0 4px rgba(139, 92, 246, 0.3);

  /* Transitions ---------------------------------------------------- */
  --transition-fast: 120ms ease-out;
  --transition-base: 180ms ease-out;
  --transition-slow: 240ms ease-out;
}

/* ==================================================================
   Reset / Normalize
   ================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,

b,
u,
i,
center,

dl,
dt,
dd,
ol,
ul,
li,

fieldset,
form,
label,
legend,

table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,

article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
section,
summary,

time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  line-height: 1;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}

ol,
ul {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

button {
  border: none;
  padding: 0;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ==================================================================
   Base
   ================================================================== */
body {
  min-height: 100vh;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
  line-height: var(--line-height-tight);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 3vw + 1rem, var(--font-size-5xl));
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.2vw + 0.5rem, var(--font-size-4xl));
}

h3 {
  font-size: clamp(var(--font-size-xl), 1.8vw + 0.4rem, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

em {
  font-style: italic;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: #a78bfa;
}

a:focus-visible {
  outline: none;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-8) 0;
}

code,
pre {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ==================================================================
   Accessibility & Motion
   ================================================================== */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* ==================================================================
   Layout Utilities
   ================================================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: 1120px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
}

.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--tight {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

/* Flex helpers ---------------------------------------------------- */
.flex {
  display: flex;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Grid helpers ---------------------------------------------------- */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

/* Spacing utilities ----------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.pt-0 { padding-top: 0; }
.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }
.pt-8 { padding-top: var(--space-8); }
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-8 { padding-bottom: var(--space-8); }

/* Text utilities -------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--font-size-xs); }

/* Background & surface utilities --------------------------------- */
.surface {
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), transparent 55%),
              linear-gradient(135deg, #090611, #120c1f 60%, #090611 100%);
}

.surface-elevated {
  background-color: var(--color-surface-elevated);
}

.border-subtle {
  border: 1px solid var(--color-border-subtle);
}

/* ==================================================================
   Components
   ================================================================== */

/* Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: linear-gradient(135deg, var(--color-primary), #a855f7);
  color: #0b0615;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.9);
}

.btn:focus-visible {
  box-shadow: var(--shadow-focus);
}

.btn--ghost {
  background: rgba(14, 10, 28, 0.9);
  color: var(--color-text);
  border-color: var(--color-border-subtle);
}

.btn--ghost:hover:not(:disabled) {
  background: rgba(26, 20, 56, 0.95);
  border-color: rgba(139, 92, 246, 0.7);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(139, 92, 246, 0.7);
}

.btn--outline:hover:not(:disabled) {
  background: var(--color-primary-soft);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Form Controls --------------------------------------------------- */
.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(11, 7, 22, 0.98);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(169, 161, 201, 0.65);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: rgba(139, 92, 246, 0.9);
  box-shadow: var(--shadow-focus);
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.textarea {
  min-height: 140px;
}

/* Card ------------------------------------------------------------ */
.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.12), transparent 55%),
              rgba(11, 7, 22, 0.96);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(18px);
}

.card--subtle {
  background: rgba(15, 11, 30, 0.96);
  box-shadow: var(--shadow-soft);
}

.card__title {
  margin-bottom: var(--space-2);
}

.card__meta {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* Hero Block (static, no sliders) -------------------------------- */
.hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.35), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(59, 37, 130, 0.45), transparent 65%),
              linear-gradient(145deg, #05030a, #090611 40%, #120c1f 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-10);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.hero__title {
  margin-bottom: var(--space-4);
}

.hero__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__lounge-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero__lounge-link a {
  color: var(--color-primary);
}

.hero__lounge-link a::after {
  content: " →";
}

.hero__media {
  position: relative;
}

.hero__image-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.95);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%),
              linear-gradient(135deg, #070310, #150e2a);
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  left: 10%;
  bottom: -10%;
  transform: translateY(-10%);
  padding: var(--space-4) var(--space-5);
  border-radius: 999px;
  background: rgba(10, 6, 22, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.7);
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  backdrop-filter: blur(20px);
}

.hero__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #15803d);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero__badge-text {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .hero__badge {
    position: static;
    margin-top: var(--space-4);
    transform: none;
  }
}

/* Navigation Shell (for all pages) ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(9, 6, 17, 0.96), rgba(9, 6, 17, 0.88));
  border-bottom: 1px solid rgba(45, 38, 59, 0.9);
}

.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-logo span {
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 0.3rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), #a855f7);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 28px;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
  }
}

/* List styling override (global directive) ------------------------ */
ul {
  list-style: none !important;
}

/* Final directive for .nav-toggle -------------------------------- */
.nav-toggle {
  flex-direction: column;
}
