/* ============================================================
   North Social Agency — styles
   Flat design: solid navy, solid white/light gray, one accent blue.
   No gradients, glows, blurs, textures or animations.
   ============================================================ */

:root {
  --navy: #0A1128;        /* dark sections: nav, hero, transparency, footer */
  --navy-2: #16224A;      /* chips/cards on dark */
  --paper: #FFFFFF;       /* light sections */
  --mist: #F4F6FA;        /* light gray sections */
  --ink: #131F3D;
  --muted: #49577A;
  --accent: #2563EB;      /* buttons + links on light */
  --accent-dark: #1D4ED8; /* button hover */
  --blue-soft: #A8BFDF;   /* muted text on dark */
  --line-light: #DEE5F0;
  --line-dark: rgba(255, 255, 255, .14);
  --radius: 12px;
  --header-h: 72px;
  --font-display: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .6em;
  color: inherit;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- buttons (the only animated hover on the site) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-lg { padding: .95rem 1.9rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.brand-logo { height: 46px; width: auto; }
.site-footer .brand-logo { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  color: var(--blue-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .35rem 0;
}
.site-nav ul a:hover, .site-nav ul a:focus-visible { color: #fff; }
.btn-nav { padding: .6rem 1.25rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle-box { display: block; width: 26px; }
.nav-toggle-box span {
  display: block;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-toggle { display: block; }
  .brand-logo { height: 38px; }
  .site-footer .brand-logo { height: 38px; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: .8rem .25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .btn-nav { margin-top: .9rem; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
}
.hero-inner {
  max-width: 860px;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.hero-badge {
  margin: 0 0 1.2rem;
  color: var(--blue-soft);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: .5em;
  font-size: clamp(2.1rem, 5.4vw, 3.55rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  color: #fff;
}
.hero-sub {
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--blue-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note {
  margin: 1.4rem 0 0;
  color: rgba(168, 191, 223, .8);
  font-size: .92rem;
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3.8rem, 8vw, 6.5rem); }
.section-light { background: var(--paper); }
.section-mist { background: var(--mist); }

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
}
.section-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 1.2rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

.step-card {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.section-mist .step-card { background: var(--paper); }
.step-num {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #D7E2F4;
  line-height: 1;
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--mist);
  border: 1px solid var(--line-light);
  color: var(--accent);
}
.step-icon svg { width: 23px; height: 23px; }
.step-card h3 { font-size: 1.18rem; margin-bottom: .4em; }
.step-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- split blocks ---------- */
.split {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}
@media (min-width: 920px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .split-flip .split-copy { order: 2; }
  .split-flip .split-visual { order: 1; }
}

.split-copy h2 { max-width: 20ch; }
.split-copy > p { color: var(--muted); font-size: 1.04rem; }

.check-list {
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: .3rem 0 .3rem 2rem;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .48rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="m6 12.5 4 4L18 8"/></svg>') center/12px no-repeat;
}

/* ---------- photos ---------- */
.photo-frame {
  margin: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- callout (creators) ---------- */
.callout {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin: 0 0 1.8rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}
.callout p { margin: 0; font-size: .95rem; color: var(--muted); }
.callout p strong { color: var(--ink); }
.callout-icon { flex: none; color: var(--accent); margin-top: .15rem; }
.callout-icon svg { width: 22px; height: 22px; }

/* ---------- transparency ---------- */
.section-dark {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.transparency-inner { max-width: 720px; margin-inline: auto; }
.transparency-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  color: #fff;
}
.transparency-icon svg { width: 30px; height: 30px; }
.section-dark h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
}
.section-dark p { color: var(--blue-soft); font-size: clamp(1.02rem, 1.6vw, 1.15rem); }

/* ---------- about ---------- */
.about-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.about-inner p { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.14rem); }
.value-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.value-chips li {
  padding: .55rem 1.3rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.6rem;
  align-items: start;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.contact-info > p { color: var(--muted); font-size: 1.04rem; }
.contact-email-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.contact-email a {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.contact-email a:hover { color: var(--accent-dark); }

.contact-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.form-fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.form-fieldset legend {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .6rem;
  padding: 0;
  color: var(--ink);
}
.radio-row { display: flex; gap: .7rem; }
.radio-pill { cursor: pointer; }
.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.radio-pill span {
  display: inline-block;
  padding: .55rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-light);
  background: var(--mist);
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
}
.radio-pill input:checked + span {
  border-color: var(--accent);
  background: var(--paper);
  color: var(--accent);
}
.radio-pill input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.form-row { display: grid; gap: 1rem; }
@media (min-width: 620px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  font-size: .93rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .78rem .95rem;
  font: inherit;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line-light);
  border-radius: 8px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* honeypot: invisible to humans, attractive to bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-note { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); }
.form-note a { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--blue-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 30ch;
  font-size: .95rem;
  color: var(--blue-soft);
}
.footer-col h2 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: var(--blue-soft);
  text-decoration: none;
  font-size: .95rem;
}
.footer-col a:hover, .footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--blue-soft) !important;
  font-size: .95rem !important;
}
.social-link svg { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  color: rgba(168, 191, 223, .85);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--blue-soft); }
.footer-bottom-center { border-top: 0; justify-content: center; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 80;
  width: min(680px, calc(100% - 2rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.2rem;
  padding: 1rem 1.3rem;
  background: var(--navy-2);
  color: var(--blue-soft);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.cookie-banner a { color: #fff; font-weight: 600; }
.cookie-actions { flex: none; }

/* ---------- legal pages ---------- */
.legal-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: .3em;
  color: #fff;
}
.legal-hero p { color: var(--blue-soft); margin: 0; }
.legal-body { padding-block: clamp(2.6rem, 5vw, 4rem); background: var(--paper); }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.1rem; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; }
.legal-body a { font-weight: 600; }
.legal-body .back-home {
  display: inline-block;
  margin-top: 2.4rem;
  font-weight: 600;
}
.legal-footer-note {
  margin-top: 2.6rem;
  padding: 1rem 1.2rem;
  background: var(--mist);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  font-size: .9rem;
}
