/* ============================================================
   GLOBAL.CSS — Reset, Base Styles, and Layout
   
   Base HTML elements and generic layout containers.
   ============================================================ */

/* ─── MATERIAL SYMBOLS ─── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ─── RESET & BOX SIZING ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* 1rem = 16px */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--brand-offwhite);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Anti-copy: prevent casual selection globally */
  -webkit-user-select: none;
  user-select: none;
}

/* Re-enable selection where appropriate */
input,
textarea,
select,
pre,
code {
  -webkit-user-select: auto;
  user-select: auto;
}

/* ─── TYPOGRAPHY BASE ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

/* ─── LAYOUT CONTAINERS ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* ─── GENERIC SECTIONS ─── */
.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  z-index: 10;
}

/* ─── TYPOGRAPHY UTILITIES (From Design) ─── */
.text-display-xl {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.text-headline-lg {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.text-headline-md {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.text-body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.text-body-md {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.text-label-caps {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.0;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ─── GRID UTILITIES ─── */
.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

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

/* ─── GLOBAL BREADCRUMB ─── */
.global-breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-bottom: var(--space-md);
}

.global-breadcrumb a {
  color: var(--on-surface-variant);
  text-decoration: none;
}

.global-breadcrumb a:hover {
  text-decoration: underline;
}

.global-breadcrumb .separator {
  color: var(--border-subtle);
}

.global-breadcrumb [aria-current="page"] {
  color: var(--on-surface-variant);
}


a:focus:not(:focus-visible) {
  outline: none;
}

a {
  -webkit-tap-highlight-color: transparent;
}