/* ============================================================
   Equilibrisk — Auxiliary Pages Stylesheet (About, Policies)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --color-slate:        #1E2A3A;
  --color-slate-mid:    #253347;
  --color-slate-light:  #2E3E52;
  --color-teal:         #3A7D7B;
  --color-teal-muted:   #2E6462;
  --color-teal-pale:    #4A9491;
  --color-graphite:     #4A505A;
  --color-graphite-mid: #6B7280;
  --color-graphite-light:#9CA3AF;
  --color-amber:        #D97706;
  --color-amber-light:  #F59E0B;
  --color-bg:           #F5F6F7;
  --color-surface:      #FFFFFF;
  --color-surface-tinted: #F0F3F6;
  --color-border:       #DDE2E8;
  --color-text:         #1E2A3A;
  --color-text-muted:   #4A505A;
  --color-text-light:   #6B7280;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(30,42,58,0.08);
  --shadow-md:  0 4px 12px rgba(30,42,58,0.10);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--color-slate);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-group .brand-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.header-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
}
.header-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.header-back:hover { color: #fff; }

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: var(--color-slate);
  padding: 64px 24px 56px;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: var(--color-teal-pale); }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.25); }
.page-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.65;
}
.page-hero-meta {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.06em;
}

/* ── About Main ───────────────────────────────────────────── */
.about-block {
  padding: 80px 24px;
  background: var(--color-surface);
}
.about-block:nth-child(even) { background: var(--color-surface-tinted); }
.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-two-col.reverse { }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--color-teal);
}
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-slate);
  margin-bottom: 16px;
}
.section-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.value-item {
  background: var(--color-surface-tinted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.value-item .val-icon {
  width: 36px; height: 36px;
  background: rgba(58,125,123,0.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.value-item .val-icon svg { width: 18px; height: 18px; stroke: var(--color-teal); fill: none; stroke-width: 1.8; }
.value-item h4 { font-size: 14px; font-weight: 600; color: var(--color-slate); margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--color-surface-tinted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.team-photo svg { width: 36px; height: 36px; stroke: var(--color-graphite-light); fill: none; stroke-width: 1.2; }
.team-photo span { font-family: var(--font-mono); font-size: 10px; color: var(--color-graphite-light); letter-spacing: 0.06em; text-transform: uppercase; }
.team-info { padding: 16px; }
.team-info h4 { font-size: 15px; font-weight: 600; color: var(--color-slate); }
.team-info p { font-size: 13px; color: var(--color-text-light); margin-top: 2px; }

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-surface-tinted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.about-photo-placeholder svg { width: 36px; height: 36px; stroke: var(--color-graphite-light); fill: none; stroke-width: 1.2; }
.about-photo-placeholder span { font-family: var(--font-mono); font-size: 11px; color: var(--color-graphite-light); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Policy Page ──────────────────────────────────────────── */
.policy-main {
  padding: 80px 24px;
  background: var(--color-surface);
  min-height: 40vh;
}
.policy-inner {
  max-width: 800px;
  margin: 0 auto;
}
.policy-empty-state {
  text-align: center;
  padding: 60px 0;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.policy-empty-state svg { width: 40px; height: 40px; stroke: var(--color-graphite-light); fill: none; stroke-width: 1.2; }
.policy-empty-state p { font-size: 15px; color: var(--color-text-muted); }
.policy-empty-state span { font-family: var(--font-mono); font-size: 11px; color: var(--color-graphite-light); letter-spacing: 0.06em; }

/* ── Policy Content Styling ─────────────────────────────── */
.policy-content {
  padding: 0;
}
.policy-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-slate);
  margin-bottom: 32px;
}
.policy-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-slate);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.policy-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.policy-content strong {
  color: var(--color-slate);
  font-weight: 600;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--color-slate);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.40); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.40); }
.footer-col ul li a:hover { color: rgba(255,255,255,0.80); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-two-col { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ── Cookie Banner ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-slate);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(30,42,58,0.20);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-banner-text {
  flex: 1;
}
.cookie-banner-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}
.cookie-banner-text a {
  color: var(--color-teal-pale);
  text-decoration: none;
}
.cookie-banner-text a:hover {
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner-btn {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-banner-btn:hover {
  opacity: 0.85;
}
.cookie-banner-btn.accept {
  background: var(--color-teal);
  color: #FFFFFF;
}
.cookie-banner-btn.decline {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
  }
}
