/* ============================================================
   SITI DESIGNS — shared stylesheet
   Palette : navy / electric blue, derived from the logo
   Type    : Plus Jakarta Sans (display) · DM Sans (body)
   ============================================================ */

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

:root {
  --blue: #1E6FE8;
  --blue-light: #3D8BFF;
  --navy: #1A2750;
  --navy-deep: #0F1829;
  --white: #FFFFFF;
  --off-white: #F5F8FF;
  --gray: #6B7280;
  --gray-light: #E8EFF8;
  --text: #1A2750;
  --radius: 8px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Never hide content behind scroll-reveal for reduced-motion users */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── Skip link (a11y) ── */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ── focus visibility ── */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   NAV
   ========================================================= */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 72px);
  height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s var(--ease);
}
nav.site-nav.scrolled { box-shadow: 0 2px 24px rgba(26,39,80,0.08); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 58px; width: auto; }
.nav-logo .wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.1rem; color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo .wordmark b { color: var(--blue); font-weight: 800; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
  letter-spacing: 0.01em; transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a.active:not(.nav-cta) { color: var(--blue); }
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }

.nav-cta {
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--blue);
  padding: 10px 22px; border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); }

/* hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   SHARED SECTION PRIMITIVES
   ========================================================= */
.section { padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 72px); }
.container { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after {
  content: ''; display: block; flex: 1; max-width: 40px;
  height: 2px; background: var(--blue);
}
.section-label.center { justify-content: center; }
.section-label.center::before {
  content: ''; display: block; width: 40px; height: 2px; background: var(--blue);
}
.section-label.center::after { content: ''; display: block; width: 40px; }

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-body {
  font-size: 1.05rem; color: var(--gray);
  line-height: 1.8; max-width: 560px;
}

/* buttons */
.btn-primary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--white); background: var(--blue);
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-ghost {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 30px; border-radius: var(--radius);
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

.btn-outline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--blue); background: transparent;
  border: 1.5px solid var(--gray-light);
  padding: 13px 28px; border-radius: var(--radius);
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--blue); background: var(--off-white); transform: translateY(-1px); }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-header {
  padding-top: 72px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(30,111,232,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(30,111,232,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 6vw, 72px);
  position: relative; z-index: 2;
}
.page-header .crumb {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.page-header .crumb a { color: var(--blue-light); text-decoration: none; }
.page-header .crumb a:hover { text-decoration: underline; }
.page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 18px; max-width: 16ch;
}
.page-header h1 em { font-style: normal; color: var(--blue-light); }
.page-header p {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.7;
  max-width: 540px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  background: var(--navy-deep);
  padding: 60px clamp(20px, 6vw, 72px) 36px;
  color: rgba(255,255,255,0.55);
}
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 80px; }
.footer-logo .wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.05rem; color: var(--white);
}
.footer-logo .wordmark b { color: var(--blue-light); }
.footer-tagline {
  font-size: 0.875rem; line-height: 1.7;
  color: rgba(255,255,255,0.9); max-width: 320px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--blue-light); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.82rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--blue); background: rgba(30,111,232,0.15); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 16px 40px rgba(26,39,80,0.12);
    padding: 8px 0 16px;
    transform: translateY(-150%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a:not(.nav-cta) {
    display: block; padding: 16px clamp(20px, 6vw, 72px);
    border-bottom: 1px solid var(--gray-light);
    font-size: 1rem;
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links li:last-child { padding: 16px clamp(20px, 6vw, 72px) 0; }
  .nav-cta { display: block; text-align: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
