/* ============================================
   AWA — MAIN CSS
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors */
  --color-bg:           #ffffff;
  --color-text:         #000000;
  --color-text-dark:    #242422;
  --color-text-muted:   #A1A1A1;
  --color-text-body:    #1D1D1D;
  --color-black:        #000000;
  --color-white:        #ffffff;
  --color-border:       #000000;
  --color-neutral-darkest: #000000;

  /* Typography — Two-family system */
  --font-heading:  'TradeGothic LT Extended', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-ui:       'Inter', system-ui, sans-serif;

  /* Font Sizes (Figma spec - Fluid Baseline) */
  --text-hero:    60px;  /* Home hero only */
  --text-h1:      40px;  /* Inner page hero titles */
  --text-h2:      40px;  /* Section titles — unified */
  --text-h3:      20px;  /* Sub-labels */
  --text-nav:     16px;
  --text-body:    16px;
  --text-footer:  14px;
  --text-caption: 12px;
  --text-ui:      16px;

  /* Fluid Typography Scale — ONE unified system */
  --fluid-h1-hero:    clamp(32px, 5vw + 1rem, 60px);  /* Home hero */
  --fluid-page-hero:  clamp(28px, 3.5vw, 46px);       /* Inner page heroes — same as home hero */
  --fluid-h2-section: clamp(24px, 3vw, 40px);         /* All section h2s — unified at 40px max */
  --fluid-h3-subtitle: clamp(14px, 1.5vw, 18px);      /* Sub-labels */
  --fluid-body-lead:  clamp(15px, 1.2vw, 18px);       /* Body/paragraphs — unified */
  --fluid-body:       clamp(14px, 0.9vw, 16px);        /* Small body text */

  /* Line Heights (Figma spec) */
  --lh-hero:   61.8px;
  --lh-h1:     57.6px;
  --lh-h2:     57.6px;
  --lh-h3:     33.6px;
  --lh-body:   24px;
  --lh-footer: 21px;

  /* Layout */
  --navbar-height:     72px;
  --container-max:     1354px;
  --container-padding: 64px;
  --gap-nav:           32px;
  --radius-gallery:    20px;
  --border-partners:   2px solid #1D1D1D;

  /* Responsive container padding */
  --container-padding-md: 40px;
  --container-padding-sm: 20px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main { flex: 1 0 auto; }

ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
a:hover, a:focus-visible { opacity: 0.7; }

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

button, input, select, textarea {
  font-family: var(--font-body);
  border: none;
  background: none;
  outline: none;
}
button { cursor: pointer; }

/* ============================================
   TYPOGRAPHY HIERARCHY — FIGMA SPEC
   ============================================
   H1, H2        → Trade Gothic LT Extended Bold (700)
   H3, H4, H5, H6 → Trade Gothic LT Extended Regular (400)
   p, span, body  → Inter Regular (400)
   ============================================ */

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

p, span, li, td, th, figcaption {
  font-family: var(--font-body);
  font-weight: 400;
}

/* ============================================
   UTILITY CLASSES — FIGMA TYPOGRAPHY
   ============================================ */

/* Hero title: Trade Gothic Bold, 60px */
.type-hero {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  line-height: 61.8px;
  color: var(--color-white);
}

/* H2 section title: Trade Gothic Bold, Fluid */
.type-h2 {
  font-family: var(--font-heading);
  font-size: var(--fluid-h2-section);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

/* H3 / subtitle: Trade Gothic Regular, 20px */
.type-h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 20.6px;
  color: var(--color-text-dark);
}

/* Body lead: Inter Regular, 24px */
.type-lead {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 33.6px;
  color: var(--color-text-muted);
}

/* Body standard: Inter Regular, 16px */
.type-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-dark);
}

/* Small / caption: Inter Regular, 12px */
.type-caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--color-text-muted);
}

/* Footer label: Inter Semibold, 16px */
.events-hero__title,
.about-hero__title {
  font-family: 'TradeGothic LT Extended', sans-serif !important;
  font-weight: 700;
  font-size: var(--fluid-page-hero); /* Smaller & unified across all inner pages */
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.about-hero__subtitle {
  display: none; /* Subtitles removed from all page heroes */
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container-inner {
  width: 100%;
  max-width: 1354px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
  position: relative;
  z-index: 2;
}

/* Figma 1280 inner container */
.container-1280 {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 80px;
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.awa-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.awa-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(0,0,0,0.18);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.awa-lang-current:hover { border-color: #0a0a0a; background: #f5f5f5; }

.awa-lang-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.awa-lang-switcher.is-open .awa-lang-chevron { transform: rotate(180deg); }

.awa-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 150px;
  z-index: 9999;
}

.awa-lang-switcher.is-open .awa-lang-dropdown { display: block; }

.awa-lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  transition: background 0.15s;
}

.awa-lang-dropdown li a:hover { background: #f5f5f5; }
.awa-lang-dropdown li a.is-active { font-weight: 600; background: #0a0a0a; color: #ffffff; }

/* Mobile sidebar */
.awa-sidebar__lang {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.awa-sidebar__lang-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a1a1a1;
  margin-bottom: 12px;
}

.awa-sidebar__lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.awa-sidebar__lang-link {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.awa-sidebar__lang-link:hover { border-color: rgba(0,0,0,0.2); }
.awa-sidebar__lang-link.is-active { border-color: #0a0a0a; font-weight: 600; }
