/* ============================================================
   PLS AVIATIONS — Quiet Luxury foundations
   Near-black + matte gold + platinum
   Playfair Display (display) · Inter (UI/body)
   ============================================================ */

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

:root {
  /* ---- Surfaces ---------------------------------------------- */
  --sj-obsidian:    #0B0D0F;   /* primary surface — near-black */
  --sj-onyx:        #14171B;   /* raised card */
  --sj-graphite:    #1E2227;   /* hover, popovers */
  --sj-smoke:       #2A2F36;   /* dividers */
  --sj-mist:        #3A4049;   /* tertiary borders */

  --sj-bone:        #F4F1EA;   /* light surface (rare) */
  --sj-paper:       #ECE7DC;   /* alt light */

  /* ---- Text on dark ----------------------------------------- */
  --sj-ivory:       #F4F1EA;   /* primary text on obsidian */
  --sj-pearl:       #C9C5BC;   /* secondary */
  --sj-ash:         #8A8780;   /* tertiary, captions */
  --sj-shadow:      #5A5852;   /* placeholders */

  /* ---- Accents ---------------------------------------------- */
  --sj-gold:        #C8A95C;   /* matte gold — primary accent */
  --sj-gold-2:      #B69247;   /* hover/press */
  --sj-gold-tint:   rgba(200,169,92,0.12);
  --sj-platinum:    #D8D4C8;   /* secondary accent — soft platinum */
  --sj-platinum-2:  #B8B4A8;

  /* ---- Status (muted, dark-ground) -------------------------- */
  --sj-go:          #6B9F7E;
  --sj-warn:        #C8A95C;
  --sj-stop:        #C66E5E;

  /* ---- Type families --------------------------------------- */
  --sj-display:     'Playfair Display', 'GT Sectra', Georgia, serif;
  --sj-text:        'Inter', -apple-system, system-ui, sans-serif;
  --sj-mono:        'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Type scale ------------------------------------------ */
  --sj-fs-eyebrow:  11px;
  --sj-fs-caption:  12px;
  --sj-fs-body-s:   13px;
  --sj-fs-body:     15px;
  --sj-fs-body-l:   17px;
  --sj-fs-h6:       20px;
  --sj-fs-h5:       24px;
  --sj-fs-h4:       32px;
  --sj-fs-h3:       44px;
  --sj-fs-h2:       64px;
  --sj-fs-h1:       96px;
  --sj-fs-display:  128px;

  /* ---- Tracking -------------------------------------------- */
  --sj-tr-tight:    -0.025em;
  --sj-tr-normal:   -0.005em;
  --sj-tr-wide:     0.18em;    /* eyebrows — generous, luxe */
  --sj-tr-mono:     0.04em;

  /* ---- Spacing (4px base) ---------------------------------- */
  --sj-s-1: 4px; --sj-s-2: 8px; --sj-s-3: 12px; --sj-s-4: 16px;
  --sj-s-5: 24px; --sj-s-6: 32px; --sj-s-7: 48px; --sj-s-8: 64px;
  --sj-s-9: 96px; --sj-s-10: 144px; --sj-s-11: 192px;

  /* ---- Radii ----------------------------------------------- */
  --sj-r-0: 0;
  --sj-r-1: 2px;
  --sj-r-2: 4px;
  --sj-r-pill: 999px;

  /* ---- Borders & rules ------------------------------------- */
  --sj-rule:        rgba(244,241,234,0.10);
  --sj-rule-2:      rgba(244,241,234,0.06);
  --sj-rule-gold:   rgba(200,169,92,0.40);

  /* ---- Shadows --------------------------------------------- */
  --sj-shadow-1: 0 1px 0 0 rgba(0,0,0,0.4);
  --sj-shadow-2: 0 4px 24px rgba(0,0,0,0.5);
  --sj-shadow-3: 0 24px 64px -16px rgba(0,0,0,0.7), 0 0 0 1px rgba(244,241,234,0.04);
  --sj-glow-gold: 0 0 0 1px rgba(200,169,92,0.5), 0 8px 32px rgba(200,169,92,0.15);

  /* ---- Motion ---------------------------------------------- */
  --sj-ease:      cubic-bezier(0.32, 0.08, 0.24, 1);
  --sj-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --sj-dur-1: 160ms; --sj-dur-2: 280ms; --sj-dur-3: 480ms; --sj-dur-4: 720ms;

  /* ---- Layout ---------------------------------------------- */
  --sj-page-max:  1440px;
  --sj-gutter:    32px;
}

/* ============================================================
   Type classes
   ============================================================ */

.sj-eyebrow {
  font-family: var(--sj-text);
  font-size: var(--sj-fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--sj-tr-wide);
  text-transform: uppercase;
  color: var(--sj-gold);
}

.sj-display {
  font-family: var(--sj-display); font-weight: 400;
  font-size: var(--sj-fs-display); letter-spacing: var(--sj-tr-tight);
  line-height: 0.95; color: var(--sj-ivory);
}
.sj-h1 { font-family: var(--sj-display); font-weight: 400; font-size: var(--sj-fs-h1); letter-spacing: var(--sj-tr-tight); line-height: 1.0; color: var(--sj-ivory); }
.sj-h2 { font-family: var(--sj-display); font-weight: 400; font-size: var(--sj-fs-h2); letter-spacing: var(--sj-tr-tight); line-height: 1.05; }
.sj-h3 { font-family: var(--sj-display); font-weight: 400; font-size: var(--sj-fs-h3); letter-spacing: var(--sj-tr-normal); line-height: 1.1; }
.sj-h4 { font-family: var(--sj-display); font-weight: 500; font-size: var(--sj-fs-h4); line-height: 1.2; }
.sj-h5 { font-family: var(--sj-text); font-weight: 500; font-size: var(--sj-fs-h5); line-height: 1.3; letter-spacing: -0.01em; }
.sj-h6 { font-family: var(--sj-text); font-weight: 600; font-size: var(--sj-fs-h6); line-height: 1.35; }

.sj-body   { font-family: var(--sj-text); font-weight: 400; font-size: var(--sj-fs-body); line-height: 1.6; color: var(--sj-pearl); }
.sj-body-l { font-family: var(--sj-text); font-weight: 300; font-size: var(--sj-fs-body-l); line-height: 1.65; color: var(--sj-pearl); }
.sj-caption{ font-family: var(--sj-text); font-weight: 400; font-size: var(--sj-fs-caption); line-height: 1.45; color: var(--sj-ash); }
.sj-mono   { font-family: var(--sj-mono); letter-spacing: var(--sj-tr-mono); font-feature-settings: 'tnum' 1; }
.sj-italic { font-family: var(--sj-display); font-style: italic; font-weight: 400; }

/* ============================================================
   Doc reset (opt-in via .sj-doc)
   ============================================================ */
.sj-doc {
  font-family: var(--sj-text);
  font-size: var(--sj-fs-body);
  color: var(--sj-ivory);
  background: var(--sj-obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
.sj-doc * { box-sizing: border-box; }
.sj-doc h1,.sj-doc h2,.sj-doc h3,.sj-doc h4,.sj-doc h5,.sj-doc h6,.sj-doc p { margin: 0; }
.sj-doc h1 { font: 400 var(--sj-fs-h1)/1.0  var(--sj-display); letter-spacing: var(--sj-tr-tight); }
.sj-doc h2 { font: 400 var(--sj-fs-h2)/1.05 var(--sj-display); letter-spacing: var(--sj-tr-tight); }
.sj-doc h3 { font: 400 var(--sj-fs-h3)/1.1  var(--sj-display); letter-spacing: var(--sj-tr-normal); }
.sj-doc h4 { font: 500 var(--sj-fs-h4)/1.2  var(--sj-display); }
.sj-doc h5 { font: 500 var(--sj-fs-h5)/1.3  var(--sj-text); letter-spacing: -0.01em; }
.sj-doc h6 { font: 600 var(--sj-fs-h6)/1.35 var(--sj-text); }
.sj-doc p  { color: var(--sj-pearl); line-height: 1.6; }

/* ============================================================
   Atoms
   ============================================================ */

.sj-rule { height: 1px; background: var(--sj-rule); border: 0; margin: 0; }
.sj-rule-gold { height: 1px; background: var(--sj-rule-gold); border: 0; margin: 0; }

.sj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--sj-text); font-weight: 500; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--sj-r-1);
  cursor: pointer; user-select: none;
  transition: background var(--sj-dur-2) var(--sj-ease), color var(--sj-dur-2) var(--sj-ease), border-color var(--sj-dur-2) var(--sj-ease), transform var(--sj-dur-2) var(--sj-ease);
  border: 1px solid transparent; text-decoration: none;
}
.sj-btn--primary { background: var(--sj-gold); color: var(--sj-obsidian); border-color: var(--sj-gold); }
.sj-btn--primary:hover { background: var(--sj-gold-2); border-color: var(--sj-gold-2); }
.sj-btn--ghost { background: transparent; color: var(--sj-ivory); border-color: var(--sj-rule); }
.sj-btn--ghost:hover { border-color: var(--sj-gold); color: var(--sj-gold); }
.sj-btn--text { background: transparent; color: var(--sj-gold); border: 0; padding-left: 0; padding-right: 0; }
.sj-btn--text::after { content: '→'; transition: transform var(--sj-dur-2) var(--sj-ease); }
.sj-btn--text:hover::after { transform: translateX(4px); }

.sj-input {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--sj-rule);
  color: var(--sj-ivory);
  font-family: var(--sj-text); font-size: var(--sj-fs-body);
  padding: 14px 0;
  transition: border-color var(--sj-dur-2) var(--sj-ease);
  outline: none;
}
.sj-input::placeholder { color: var(--sj-shadow); }
.sj-input:focus { border-color: var(--sj-gold); }

.sj-field-label {
  display: block;
  font-family: var(--sj-text); font-size: 10px; font-weight: 500;
  letter-spacing: var(--sj-tr-wide); text-transform: uppercase;
  color: var(--sj-ash); margin-bottom: 8px;
}

.sj-card {
  background: var(--sj-onyx);
  border: 1px solid var(--sj-rule);
  border-radius: var(--sj-r-1);
  padding: 32px;
}

.sj-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: var(--sj-text); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--sj-r-pill);
  border: 1px solid var(--sj-rule);
  color: var(--sj-pearl);
}
.sj-pill--gold { color: var(--sj-gold); border-color: var(--sj-rule-gold); }
.sj-pill--dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
