/* ═══════════════════════════════════════════════════════════════
   ALPELUXE — SHARED THEME
   Reset, tokens, typography, nav, footer, buttons, and other
   primitives common to every page. Page-specific layout lives in
   its own stylesheet (e.g. home.css) and should only add to this,
   never override its tokens.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg:        #ffffff;
  --bg-alt:    #fafafa;
  --text:      #0a0a0a;
  --muted:     rgba(10,10,10,0.60);
  --dim:       rgba(10,10,10,0.38);
  --red:       #B11226;
  --border:    rgba(10,10,10,0.12);
  --border-soft: rgba(10,10,10,0.08);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nav-h:     76px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
em { font-style: italic; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.hairline {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ── TYPOGRAPHY ── */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  transition: opacity 0.18s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.6; }

.btn-accent {
  border-color: var(--red);
  color: var(--red);
}

/* ── NAVBAR ── */
/* Sticky (not fixed) so the announcement banner above it can sit in normal
   document flow and scroll away without needing manual offset math. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.90);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
}

/* ── ANNOUNCEMENT BANNER ── */
.site-banner {
  background: var(--text);
  color: var(--bg);
}
.site-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 40px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.site-banner-inner a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s;
}
.site-banner-inner a:hover { opacity: 0.7; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo img { height: 18px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { flex-shrink: 0; }
.nav-actions .btn { padding: 9px 20px; font-size: 12.5px; }

/* ── FOOTER (structure/content preserved; colors match light theme) ── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.footer-logo-wrap img { height: 22px; width: auto; }
.footer-logo-name {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 230px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, opacity 0.18s;
}
.social-icon:hover { border-color: var(--text); opacity: 0.7; }
.social-icon svg { width: 14px; height: 14px; fill: var(--text); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 13px; color: var(--dim); }

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--dim);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--muted); }

/* ── SCROLL REVEAL (shared utility, used by any page) ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.10s; }
.fade-up.delay-2 { transition-delay: 0.20s; }
.fade-up.delay-3 { transition-delay: 0.30s; }

/* ── FORM PRIMITIVES ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
}
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 2px;
  transition: border-color 0.18s;
  resize: none;
}
.field textarea {
  overflow: hidden;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.field.field-error input,
.field.field-error textarea {
  border-bottom-color: var(--red);
}
.field-error-msg {
  font-size: 12px;
  color: var(--red);
  display: none;
}
.field.field-error .field-error-msg { display: block; }

/* ── SIGNATURE BLOCK ── */
.about-sig {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-sig-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
}
.about-sig-name { font-size: 16px; font-weight: 600; }
.about-sig-role { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 2px; }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-banner-inner { padding: 10px 20px; font-size: 12px; }
}
