/* ==========================================================================
   BASE STYLES & TYPOGRAPHY (LIGHT EXECUTIVE THEME)
   ========================================================================== */

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

html {
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--pk-font-body);
  background-color: var(--pk-bg);
  color: var(--pk-text-body);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pk-font-display);
  color: var(--pk-text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--pk-text-body);
  font-size: 1.025rem;
  line-height: 1.65;
}

p.lead {
  font-size: 1.2rem;
  color: var(--pk-text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: var(--pk-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--pk-primary-hover);
}

ul, ol {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--pk-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

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

@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--pk-radius-full);
  background: var(--pk-cyan-soft);
  color: var(--pk-primary);
  font-family: var(--pk-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--pk-text-secondary);
}

/* Accessible focus & skip link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--pk-primary);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  z-index: 99999;
  border-radius: var(--pk-radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--pk-primary);
  outline-offset: 2px;
}

/* Gradient Text Effect */
.gradient-text {
  background: var(--pk-gradient-hero-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Code & Terminal Blocks */
.code-terminal {
  background: #0a1931;
  color: #e2e8f0;
  border-radius: var(--pk-radius-md);
  padding: 1.25rem;
  font-family: var(--pk-font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--pk-shadow-lg);
}

.code-terminal .code-keyword { color: #ff79c6; }
.code-terminal .code-string { color: #50fa7b; }
.code-terminal .code-comment { color: #6272a4; font-style: italic; }
.code-terminal .code-func { color: #8be9fd; }

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

@media (max-width: 992px) {
  .col-8, .col-7, .col-6, .col-5, .col-4 { grid-column: span 12; }
}

@media (max-width: 640px) {
  .col-3 { grid-column: span 12; }
}

