/* ═══════════════════════════════════════════════════════════
   STETHOSCOPE 2026 — Design System
   Government Medical College, Kozhikode · College Students Union
   Color space: OKLCH · Brand hue: 155 (clinical green)
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */

:root {
  /* Brand accent: clinical green */
  --green:        oklch(0.42 0.09 155);
  --green-light:  oklch(0.52 0.08 155);
  --green-dark:   oklch(0.32 0.08 155);
  --green-glow:   oklch(0.42 0.09 155 / 0.12);

  /* Warm amber for CTAs */
  --amber:        oklch(0.74 0.14 75);
  --amber-light:  oklch(0.80 0.12 75);
  --amber-dark:   oklch(0.64 0.14 75);

  /* Neutrals — tinted toward brand hue */
  --ink:          oklch(0.16 0.010 155);
  --dark:         oklch(0.20 0.010 155);
  --dark-elevated:oklch(0.25 0.008 155);
  --offwhite:     oklch(0.97 0.003 155);
  --white:        oklch(0.99 0.002 155);
  --mid:          oklch(0.93 0.004 155);
  --border:       oklch(0.88 0.006 155);
  --muted:        oklch(0.55 0.008 155);
  --muted-dark:   oklch(0.65 0.006 155 / 0.85);

  /* Semantic */
  --success:      oklch(0.55 0.10 150);
  --error:        oklch(0.52 0.19 25);

  /* Typography */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Mulish", "Segoe UI", system-ui, sans-serif;

  /* Spacing — 4pt base */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Z-index scale */
  --z-sticky:   100;
  --z-overlay:  200;
  --z-backdrop:  300;
  --z-modal:    400;

  /* Layout */
  --maxw: 1120px;
  --maxw-prose: 720px;
}

/* ── Reset ───────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 150ms ease-out;
}

a:hover { color: var(--green-dark); }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.35; }

p {
  text-wrap: pretty;
  max-width: 68ch;
}

strong { font-weight: 700; }

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

/* ── Layout helpers ─────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.prose { max-width: var(--maxw-prose); }

.section {
  padding: var(--space-24) 0;
}

.section-tight {
  padding: var(--space-16) 0;
}

.dark-section {
  background: var(--ink);
  color: var(--offwhite);
}

.dark-section h1,
.dark-section h2,
.dark-section h3 { color: var(--white); }

.dark-section .lead { color: var(--muted-dark); }

.dark-section a { color: var(--amber-light); }
.dark-section a:hover { color: var(--amber); }

.green-section {
  background: var(--green);
  color: var(--white);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: all 150ms ease-out;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-light);
  color: var(--ink);
}

.btn-primary:active {
  background: var(--amber-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: oklch(1 0 0 / 0.3);
}

.btn-light:hover {
  background: oklch(1 0 0 / 0.1);
  color: var(--white);
  border-color: oklch(1 0 0 / 0.5);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: 1.0625rem;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-logo-text .sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease-out;
  padding: var(--space-2) 0;
}

.nav-links a:hover { color: var(--green); }

.nav-links a.active {
  color: var(--green);
}

.nav-cta { margin-left: var(--space-4); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 200ms ease-out;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 200ms ease-out;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: var(--space-3);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px oklch(0 0 0 / 0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--space-3) 0; font-size: 1rem; }
  .nav-cta { margin-left: 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  background: var(--ink);
  color: var(--offwhite);
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-20);
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, var(--green-glow), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 85%, oklch(0.42 0.09 155 / 0.06), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero h1 .accent {
  color: var(--amber);
}

.hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--muted-dark);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  border-bottom:  1px solid oklch(1 0 0 / 0.1);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.45);
}

.hero-meta-item .value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero visual — stethoscope illustration panel */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-dark);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, oklch(0.16 0.010 155 / 0.6));
}

.hero-visual-caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  color: var(--white);
  z-index: 1;
}

.hero-visual-caption .org {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.hero-visual-caption .title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual {
    aspect-ratio: 16 / 10;
    max-height: 260px;
    border-radius: var(--radius-md);
  }
  .hero-meta { gap: var(--space-4); }
  .hero-meta-item .value { font-size: 0.875rem; }
  .hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}

/* ── Info bar ────────────────────────────────────────────── */

.info-bar {
  background: var(--green);
  color: var(--white);
  padding: var(--space-4) 0;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  text-align: center;
}

.info-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  font-weight: 600;
}

.info-bar-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .info-bar-inner { gap: var(--space-6); }
  .info-bar-item { font-size: 0.875rem; }
}

/* ── Purpose section ────────────────────────────────────── */

.purpose {
  padding: var(--space-24) 0;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.purpose-text h2 { margin-bottom: var(--space-6); }

.purpose-text .lead { margin-bottom: var(--space-6); }

.purpose-text p { margin-bottom: var(--space-4); }

.purpose-aside {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.purpose-aside h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-6);
  color: var(--green);
}

.purpose-aside ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.purpose-aside li {
  display: flex;
  gap: var(--space-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.purpose-aside li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 7px;
}

@media (max-width: 768px) {
  .purpose-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ── Programme highlights ───────────────────────────────── */

.programme-highlights {
  padding: var(--space-24) 0;
  background: var(--white);
}

.section-header {
  margin-bottom: var(--space-16);
  max-width: 640px;
}

.section-header h2 { margin-bottom: var(--space-4); }
.section-header .lead { color: var(--muted); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-time {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.4;
}

.timeline-time .duration {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.timeline-content h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--green-glow);
  color: var(--green-dark);
  margin-top: var(--space-3);
}

@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* ── Who should attend ───────────────────────────────────── */

.audience {
  padding: var(--space-24) 0;
  background: var(--mid);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
}

.audience-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
  color: var(--green);
}

.audience-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.audience-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.audience-card li {
  display: flex;
  gap: var(--space-3);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.audience-card li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── CTA section ─────────────────────────────────────────── */

.cta-section {
  padding: var(--space-20) 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-section .lead {
  color: oklch(1 0 0 / 0.8);
  margin: 0 auto var(--space-8);
  max-width: 52ch;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--green);
}

.cta-section .btn-primary:hover {
  background: oklch(1 0 0 / 0.92);
}

/* ── Page header (inner pages) ───────────────────────────── */

.page-header {
  background: var(--ink);
  color: var(--offwhite);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 20%, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-header .lead {
  color: var(--muted-dark);
  max-width: 56ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  margin-bottom: var(--space-6);
  color: oklch(1 0 0 / 0.5);
}

.breadcrumb a { color: oklch(1 0 0 / 0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: oklch(1 0 0 / 0.3); }

/* ── Registration form ───────────────────────────────────── */

.register-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.form-card .form-intro {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.form-group label .required { color: var(--error); }

.form-group .hint {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: var(--space-2);
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: oklch(0.55 0.008 155 / 0.6);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-submit {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: var(--space-4);
  line-height: 1.5;
}

/* Register sidebar */

.register-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: var(--space-16);
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.sidebar-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: var(--space-4);
}

.sidebar-card .detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-card .detail-row:last-child { border-bottom: none; }

.sidebar-card .detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sidebar-card .detail-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .register-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .register-sidebar { position: static; }
}

/* ── FAQ ────────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 760px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease-out;
}

.faq-item.open {
  border-color: var(--green);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  transition: color 150ms ease-out;
}

.faq-question:hover { color: var(--green); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 200ms ease-out;
  color: var(--green);
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-answer-inner p { margin-bottom: var(--space-3); }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ── About page ──────────────────────────────────────────── */

.about-section {
  padding: var(--space-20) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.about-text h2 { margin-bottom: var(--space-6); }
.about-text p { margin-bottom: var(--space-4); }

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mid);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: var(--offwhite);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.footer-brand .footer-logo .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--white);
}

.footer-brand .footer-logo .sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-dark);
  line-height: 1.55;
  max-width: 40ch;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-dark);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.1);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--muted-dark);
}

.footer-credit {
  font-size: 0.8125rem;
  color: var(--muted-dark);
}
.footer-credit a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.footer-credit a:hover {
  text-decoration: underline;
}

.footer-bottom .social {
  display: flex;
  gap: var(--space-3);
}

.footer-bottom .social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: oklch(1 0 0 / 0.06);
  color: var(--muted-dark);
  transition: all 150ms ease-out;
}

.footer-bottom .social a:hover {
  background: var(--green);
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Reveal animation ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* ── Alert banner ───────────────────────────────────────── */

.alert-banner {
  background: var(--amber);
  color: var(--ink);
  padding: var(--space-3) 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.alert-banner a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
}

/* ── Utility ─────────────────────────────────────────────── */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }