:root {
  --navy: #14213D;
  --navy-soft: #1E2F55;
  --cream: #FBF8F2;
  --sand: #F3ECDF;
  --amber: #E9A23B;
  --amber-dark: #8A5A12;
  --text: #14213D;
  --muted: #4A5468;
  --border: #E4DCCB;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus { left: 8px; }

/* 404 */
.lost { padding: 120px 0; text-align: center; }
.lost b { display: block; font-size: 5rem; line-height: 1; color: var(--amber-dark); margin-bottom: 12px; }
.lost p { color: var(--muted); margin: 12px 0 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--navy); background: var(--sand); }

/* Hero */
.hero { padding: 72px 0 88px; text-align: center; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo { width: 260px; margin-bottom: 36px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  max-width: 760px;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 620px;
  margin: 18px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-soft); }

.btn-secondary { border: 2px solid var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--sand); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; margin-bottom: 32px; }

.section-alt p:not(.eyebrow) { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Brand cards */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.1);
  transform: translateY(-2px);
}

.brand-card h3 { font-size: 1.5rem; font-weight: 600; }
.brand-card p { margin: 0; color: var(--muted); flex-grow: 1; }

.card-link {
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}

.card-link:hover { text-decoration: underline; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 500;
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #C3C9D6;
  padding: 32px 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; }

/* Mobile */
@media (max-width: 600px) {
  .header-inner { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .hero { padding: 48px 0 64px; }
  .hero-logo { width: 200px; }
  .section { padding: 64px 0; }
  .brand-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .brand-card { transition: none; }
}
