/* ==========================================================================
   RAHEL MARYAM — AESTHETIC DARK ACADEMIA & ELEGANT PORTFOLIO
   Design System: Deep Onyx, Warm Gold (#d4af37), Editorial Typography
   Full Android & Mobile Optimized
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  /* Color Tokens */
  --bg-main: #08080a;
  --bg-surface: #101014;
  --bg-surface-elevated: #16161d;
  --bg-surface-subtle: #1c1c24;
  --bg-card: #0f0f14;

  --text-main: #f8f8fa;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  --text-gold: #e2c974;

  --gold-primary: #d4af37;
  --gold-hover: #e5c158;
  --gold-light: rgba(212, 175, 55, 0.09);
  --gold-glow: rgba(212, 175, 55, 0.22);
  --gold-border: rgba(212, 175, 55, 0.2);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Dimensions & Radius */
  --nav-height: 68px;
  --max-w: 1100px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.7);

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s var(--ease);
  --t-base: 0.3s var(--ease);
  --t-slow: 0.5s var(--ease);
}

/* ==========================================================================
   RESET & CORE BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--space-md));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-border);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

::selection {
  background: var(--gold-primary);
  color: #08080a;
}

/* ==========================================================================
   LAYOUT & AMBIENT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-header.centered {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 14px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: italic;
  font-family: var(--font-editorial);
  color: var(--gold-primary);
  font-weight: 400;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Ambient Glow Orbs */
.ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
}

.orb-gold-1 {
  width: 420px;
  height: 420px;
  background: var(--gold-primary);
  top: -120px;
  right: -50px;
}

.orb-gold-2 {
  width: 350px;
  height: 350px;
  background: #a87932;
  bottom: 10%;
  left: -80px;
}

.grid-texture {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background-color var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled, .navbar.navbar-inner {
  background: rgba(10, 10, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo span {
  color: var(--gold-primary);
  font-style: italic;
  font-family: var(--font-editorial);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(22, 22, 29, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 4px 6px;
  border-radius: var(--r-full);
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--gold-primary);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  min-height: 44px;
}

.btn-primary {
  background: var(--gold-primary);
  color: #08080a;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--gold-border);
  color: var(--gold-primary);
  background: var(--bg-surface-subtle);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 14px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.hero-title em {
  font-style: italic;
  font-family: var(--font-editorial);
  color: var(--gold-primary);
  display: block;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-deco-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.hero-avatar-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow), border-color var(--t-slow);
}

.hero-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform var(--t-slow), filter var(--t-slow);
}

.hero-avatar-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.hero-avatar-card:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.hero-badge-pill {
  position: absolute;
  z-index: 10;
  background: rgba(16, 16, 20, 0.95);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.hero-badge-pill.top-right {
  top: -12px;
  right: -12px;
}

.hero-badge-pill.bottom-left {
  bottom: -12px;
  left: -12px;
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
}

.badge-text span {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURE PILLARS STRIP
   ========================================================================== */
.feature-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(16, 16, 20, 0.4);
  padding: var(--space-lg) 0;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.feature-item-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-fast);
}

.feature-item-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text-box h4 {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.feature-text-box p {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   POETIC QUOTE SECTION
   ========================================================================== */
.quote-banner {
  padding: var(--space-3xl) 0;
  position: relative;
  text-align: center;
}

.quote-card {
  background: linear-gradient(145deg, rgba(22, 22, 29, 0.7), rgba(12, 12, 16, 0.9));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  padding: var(--space-2xl) var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-family: var(--font-editorial);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold-primary);
  display: block;
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.quote-body {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: var(--space-md);
}

.quote-author {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-primary);
}

/* ==========================================================================
   EXPLORATION CARDS / BENTO PREVIEWS
   ========================================================================== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.preview-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.preview-card-number {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-primary);
  opacity: 0.6;
  margin-bottom: var(--space-sm);
}

.preview-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--space-xs);
}

.preview-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.preview-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-primary);
}

/* ==========================================================================
   ABOUT PAGE: PROFILE & STORY
   ========================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about-photo-panel {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.about-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface-elevated);
  margin-bottom: var(--space-md);
}

.about-photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: filter var(--t-slow);
}

.about-photo-frame:hover img {
  filter: grayscale(0);
}

.about-fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.fact-row:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}

.fact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.fact-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.story-intro {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-primary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.story-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.story-body p strong {
  color: var(--text-main);
}

.story-body p em {
  color: var(--gold-primary);
  font-style: italic;
  font-family: var(--font-editorial);
  font-size: 1.15em;
}

.story-quote-box {
  border-left: 2px solid var(--gold-primary);
  background: var(--gold-light);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: var(--space-md) 0;
}

.story-quote-box p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Traits Grid */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.trait-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
}

.trait-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trait-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.trait-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--space-xs);
}

.trait-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   PORTFOLIO PAGE: CARDS & AESTHETICS
   ========================================================================== */
.portfolio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.porto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.porto-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.porto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.porto-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.porto-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  color: var(--gold-primary);
  text-transform: uppercase;
}

.porto-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--space-xs);
}

.porto-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.porto-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.porto-chip {
  font-size: 11.5px;
  padding: 3px 9px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
  color: var(--text-muted);
}

/* Aesthetic Palette & Vibe */
.aesthetic-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.color-palette-card, .vibe-tags-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.color-palette-card h4, .vibe-tags-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-main);
}

.palette-swatches {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.swatch-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 8px 12px;
  background: var(--bg-surface-elevated);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
}

.swatch-preview {
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.swatch-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
}

.swatch-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.vibe-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vibe-pill {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--t-fast);
}

.vibe-pill:hover {
  border-color: var(--gold-border);
  color: var(--gold-primary);
  background: var(--gold-light);
}

/* ==========================================================================
   LOGIN / GATEWAY PAGE
   ========================================================================== */
.gateway-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  position: relative;
}

.gateway-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  padding: var(--space-2xl) var(--space-xl);
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.gateway-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--r-full);
  overflow: hidden;
  margin: 0 auto var(--space-md) auto;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.gateway-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gateway-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.gateway-title span {
  color: var(--gold-primary);
  font-style: italic;
  font-family: var(--font-editorial);
}

.gateway-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.gateway-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-primary);
  margin: 0 auto var(--space-lg) auto;
  opacity: 0.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  background: var(--bg-main);
  text-align: center;
}

.footer-inner p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-inner span {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   SCROLL REVEALS
   ========================================================================== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal { transform: translateY(16px); }
.reveal-left { transform: translateX(-16px); }
.reveal-right { transform: translateX(16px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ==========================================================================
   RESPONSIVE & ANDROID OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-eyebrow, .hero-actions {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-photo-panel {
    position: static;
    max-width: 360px;
    margin: 0 auto var(--space-xl) auto;
  }

  .traits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aesthetic-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-sm);
    transform: translateX(100%);
    transition: transform var(--t-base);
    border-radius: 0;
    align-items: stretch;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 16px;
    padding: 14px 18px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
  }

  .nav-links a.active {
    background: var(--gold-light);
    border-color: var(--gold-border);
  }

  .nav-toggle {
    display: flex;
  }

  .feature-strip-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .traits-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-deco-frame {
    max-width: 240px;
  }

  .hero-badge-pill {
    padding: 6px 10px;
  }

  .hero-badge-pill.top-right {
    top: -8px;
    right: -8px;
  }

  .hero-badge-pill.bottom-left {
    bottom: -8px;
    left: -8px;
  }

  .quote-card {
    padding: var(--space-xl) var(--space-md);
  }
}
