/* ============================================================
   Alpha Solutions Outsourcing — getalphasolutions.com
   Theme: deep navy + gold accent on white (premium corporate)

   RE-SKINNING: every color and key theme value lives in the
   variables below. Change a variable here and the whole site
   follows — no other file needs to be touched.
   ============================================================ */

:root {
  /* --- Brand palette --- */
  --color-navy-950: #06182b;        /* deepest navy: footer, hero overlay */
  --color-navy-900: #0a243e;        /* primary navy: header, headings, hero bg */
  --color-navy-700: #123a5f;        /* lighter navy: gradients, hover states */
  --color-navy-100: #dbe6f1;        /* pale navy tint: borders on navy, chips */
  --color-gold-500: #c9a227;        /* gold accent: rules, icons, highlights on navy */
  --color-gold-600: #a9861d;        /* darker gold: hover on light backgrounds */
  --color-gold-text: #7a5c10;       /* gold dark enough for text on white (AA) */
  --color-gold-100: #f7efda;        /* pale gold tint: CTA band background */

  /* --- Neutrals / surfaces --- */
  --color-bg: #ffffff;              /* page background */
  --color-surface: #f5f7fa;         /* alternating section background */
  --color-card: #ffffff;            /* card background */
  --color-text: #1c2733;            /* body text */
  --color-text-muted: #4d5d6e;      /* secondary text */
  --color-text-on-navy: #eef3f8;    /* body text on navy */
  --color-text-on-navy-muted: #b9c9da;
  --color-border: #d9e1ea;          /* hairlines, card borders */

  /* --- Semantic roles --- */
  --color-primary: var(--color-navy-900);
  --color-accent: var(--color-gold-500);
  --color-link: #0f4c81;
  --color-link-hover: var(--color-navy-700);
  --color-focus: #b8860b;           /* visible focus ring */

  /* --- Typography --- */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 1.0625rem;
  --line-height: 1.65;

  /* --- Layout --- */
  --max-width: 72rem;               /* content column */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3rem, 8vw, 5.5rem);
  --radius: 0.625rem;
  --shadow-card: 0 2px 6px rgba(10, 36, 62, 0.08), 0 12px 32px rgba(10, 36, 62, 0.08);
  --shadow-header: 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 24px rgba(6, 24, 43, 0.25);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.45rem); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: 0.45em; }

a { color: var(--color-link); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--color-link-hover); }

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

img, iframe { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy-950);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--color-surface); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--color-gold-text);
  margin: 0 0 0.9em;
}

.rule {
  width: 4rem;
  height: 3px;
  background: var(--color-accent);
  border: 0;
  margin: 0 0 1.5rem;
}
.rule--center { margin-inline: auto; }

/* ---------- Header ---------- */

.site-header {
  background: var(--color-navy-900);
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--color-gold-500); }
.brand:hover { color: #fff; }

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-on-navy-muted);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }

.site-nav a {
  color: var(--color-text-on-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--color-gold-500); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--color-gold-500); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--gold {
  background: var(--color-gold-500);
  color: var(--color-navy-950);
}
.btn--gold:hover { background: var(--color-gold-600); color: #fff; }

.btn--outline-light {
  border-color: var(--color-navy-100);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover { border-color: var(--color-gold-500); color: var(--color-gold-500); }

.btn--navy {
  background: var(--color-navy-900);
  color: #fff;
}
.btn--navy:hover { background: var(--color-navy-700); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Hero (home) ---------- */

.hero {
  background: linear-gradient(160deg, var(--color-navy-950) 0%, var(--color-navy-900) 55%, var(--color-navy-700) 100%);
  color: var(--color-text-on-navy);
  padding-block: clamp(3rem, 8vw, 5.5rem);
  text-align: center;
}

.hero h1 { color: #fff; max-width: 22ch; margin-inline: auto; }
.hero .eyebrow { color: var(--color-gold-500); }
.hero p.lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--color-text-on-navy-muted);
  max-width: 46ch;
  margin-inline: auto;
}
.hero .btn-row { justify-content: center; margin-top: 1.6rem; }

.hero__video {
  max-width: 56rem;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--color-gold-100);
  border-block: 1px solid var(--color-border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.35em; }
.cta-band .scarcity {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-gold-text);
  margin-bottom: 1.6rem;
}

/* ---------- Feature list / cards ---------- */

.features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .features--four { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 72rem) {
  .features--four { grid-template-columns: repeat(4, 1fr); }
}

.features li {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem;
  margin: 0;
}
.features strong { display: block; font-size: 1.08rem; margin-bottom: 0.4rem; color: var(--color-primary); }

/* ---------- Steps (How We Work) ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps li {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.6rem 1.6rem;
  margin: 0;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-navy-900);
  color: var(--color-gold-500);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.steps h3 { text-transform: none; }

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: linear-gradient(160deg, var(--color-navy-950), var(--color-navy-900) 60%, var(--color-navy-700));
  color: var(--color-text-on-navy);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-header h1 { color: #fff; margin: 0; }
.page-header .eyebrow { color: var(--color-gold-500); margin-bottom: 0.6em; }

/* ---------- Prose (legal pages, about) ---------- */

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .in-short { font-style: italic; color: var(--color-text-muted); }
.prose .updated { color: var(--color-text-muted); font-size: 0.95rem; }
.prose nav.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
}
.prose nav.toc h2 { font-size: 1.15rem; margin-top: 0; }
.prose nav.toc ol { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 48rem) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem;
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { margin-bottom: 0.6rem; }
.contact-card .big-link { font-size: 1.2rem; font-weight: 700; }

.fine-print {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 52rem;
  margin-top: 2.5rem;
}

/* ---------- Blog ---------- */

.post-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}

.post-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.post-card h2 { font-size: 1.35rem; margin-bottom: 0.45rem; }
.post-card h2 a { color: var(--color-primary); text-decoration: none; }
.post-card h2 a:hover { color: var(--color-link-hover); text-decoration: underline; }
.post-card p { color: var(--color-text-muted); }
.post-card .read-more { margin-top: auto; font-weight: 700; }

.post-tag {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-gold-text);
  margin: 0 0 0.7em;
}

.post-meta {
  color: var(--color-text-on-navy-muted);
  font-size: 0.98rem;
  margin-top: 0.8rem;
  max-width: 52ch;
}

.prose .script {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .script p:last-child { margin-bottom: 0; }
.prose .script .speaker { font-weight: 700; color: var(--color-primary); }

.back-link { font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy-950);
  color: var(--color-text-on-navy-muted);
  padding-block: 2.5rem 2rem;
  margin-top: 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a { color: var(--color-text-on-navy); }
.site-footer a:hover { color: var(--color-gold-500); }

.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 0;
  margin: 0;
}
.site-footer nav li { margin: 0; }

.site-footer .legal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}
