/* ==========================================================================
   MOYKA EXECUTIVE ADVISORY - GLOBAL STYLES & RESET
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-brand-deep);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Image Distortion & Responsive Layout Safeguards */
img, picture, svg, video, canvas {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.logo-card-item img {
  max-height: 72px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.founder-seamless-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  font-weight: var(--weight-light);
}

p.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

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

a {
  color: var(--color-brand-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-brand-gold-hover);
}

ul, ol {
  list-style: none;
}

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

/* Section Layout Grid & Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow-width);
}

section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

@media (min-width: 992px) {
  section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.section-border-top {
  border-top: 1px solid var(--color-brand-border);
}

.section-border-bottom {
  border-bottom: 1px solid var(--color-brand-border);
}

.bg-slate {
  background-color: var(--color-brand-slate);
}

.bg-deep {
  background-color: var(--color-brand-deep);
}

/* Utility Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gold { color: var(--color-brand-gold); }
.text-cyan { color: var(--color-brand-accent); }
.text-white { color: var(--color-text-primary); }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  background-color: var(--color-brand-gold-light);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-brand-gold);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.badge-tag-cyan {
  background-color: var(--color-brand-accent-light);
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--color-brand-accent);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 4px;
}
