/* ==========================================================================
   PGWIN828 OFFICIAL PORTAL — MASTER DESIGN TOKENS & BASE SYSTEM
   Theme: Emerald-Pine Flight Lounge & Brushed Champagne Brass
   Exact Palette: #1F2B27 (Primary), #36403B (Surface), #DAC28D (Champagne Brass)
   ========================================================================== */

:root {
  --bg-pine: #1F2B27;
  --bg-deep-pine: #16201D;
  --bg-band-alt: #1A2521;
  --surface-sage: #36403B;
  --surface-sage-hover: #404C46;
  --inset-well: #25312D;

  --brass-champagne: #DAC28D;
  --brass-light: #EFE0BC;
  --brass-deep: #B59759;
  --rocket-amber: #F59E0B;
  --crimson-note: #FCA5A5;

  --text-cream: #F7F5EE;
  --text-mist: #D5DDD9;
  --text-muted: #ADC0B8;
  --ink-on-brass: #16201D;

  --border-brass-subtle: rgba(218, 194, 141, 0.22);
  --border-brass-medium: rgba(218, 194, 141, 0.42);
  --border-brass-strong: rgba(218, 194, 141, 0.68);

  --grad-brass-btn: linear-gradient(135deg, #EFE0BC 0%, #DAC28D 52%, #C4A668 100%);
  --grad-sage-card: linear-gradient(165deg, #3B4640 0%, #2E3833 100%);

  --shadow-card: 0 14px 36px rgba(10, 16, 14, 0.46);
  --shadow-brass-glow: 0 8px 24px rgba(218, 194, 141, 0.22);

  --font-heading: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1260px;
  --gutter: 32px;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-pine);
  color: var(--text-cream);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-pine);
  background-image:
    radial-gradient(960px 460px at 70% -5%, rgba(218, 194, 141, 0.12), transparent 68%),
    radial-gradient(rgba(218, 194, 141, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px;
  color: var(--text-cream);
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brass-champagne);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brass-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.28;
  color: var(--text-cream);
}

h1 {
  font-size: clamp(1.85rem, 3.7vw, 2.95rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.42rem, 2.5vw, 2.05rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.12rem, 1.65vw, 1.35rem);
  font-weight: 600;
}

p {
  color: var(--text-mist);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-band-alt);
  border-top: 1px solid var(--border-brass-subtle);
  border-bottom: 1px solid var(--border-brass-subtle);
}

.brass-text {
  color: var(--brass-champagne);
  font-weight: 700;
}

.amber-mono {
  color: var(--rocket-amber);
  font-family: var(--font-mono);
  font-weight: 700;
}

.sec-header {
  margin-bottom: clamp(26px, 3.8vw, 40px);
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-sage);
  border: 1px solid var(--border-brass-medium);
  color: var(--brass-champagne);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sec-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sec-title-bar::before {
  content: '';
  width: 5px;
  height: 28px;
  border-radius: 4px;
  background: var(--brass-champagne);
  flex-shrink: 0;
}

.sec-desc {
  max-width: 780px;
  color: var(--text-mist);
}

.rocket-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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