/* =====================================================================
 * ANTON INTELLIGENCE — Global stylesheet
 * Design philosophy: "Sunset Ridge" — cinematic hero matching the
 * LinkedIn banner (layered low-poly maroon mountains over a flat gold
 * sky with a soft warm sun glow), then calm cream body sections with
 * editorial spacing, closing on a deep maroon-ink contact section.
 * Brand palette and typography are locked per the build brief.
 * ===================================================================*/

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  border-color: rgba(58, 12, 31, 0.12);
  outline-color: rgba(140, 29, 64, 0.5);
}

/* --- Brand tokens --- */
:root {
  --maroon: #8C1D40;
  --maroon-deep: #5E1330;
  --maroon-ink: #3A0C1F;
  --gold: #FFC627;
  --gold-deep: #E0A800;
  --cream: #FBF6EE;
  --cream-2: #F3EBDA;
  --paper: #FFFFFF;
  --ink: #1A0A14;
  --ink-2: #4A3340;
  --ink-3: #7A6770;

  /* Mountain layer colors — match the LinkedIn banner; do not change. */
  --mtn-far: #b86072;
  --mtn-mid: #8a2746;
  --mtn-near: #641430;
  --mtn-fore: #430d22;

  /* Hairlines */
  --rule: rgba(58, 12, 31, 0.12);
  --rule-strong: rgba(58, 12, 31, 0.20);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--maroon);
  color: var(--cream);
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled),
a[href],
select:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled) {
  cursor: pointer;
}

/* --- Layout utilities --- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

/* ---------------------------------------------------------------------
 * Display / typography utilities
 * -------------------------------------------------------------------*/
.font-display {
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 14px;
  display: inline-block;
}

/* ---------------------------------------------------------------------
 * NAV
 * -------------------------------------------------------------------*/
.ai-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.ai-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.ai-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.ai-nav__logo {
  width: 34px;
  height: 34px;
  display: block;
}

.ai-nav__wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.ai-nav__wordmark .dot {
  color: var(--gold-deep);
  margin: 0 2px;
}

.ai-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ai-nav__links a {
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}

.ai-nav__links a:hover {
  color: var(--maroon);
}

@media (max-width: 720px) {
  .ai-nav__links {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease-out),
              background-color 220ms var(--ease-out),
              color 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              border-color 220ms var(--ease-out);
}

.btn--maroon {
  background: var(--maroon);
  color: var(--cream);
}

.btn--maroon:hover {
  background: var(--maroon-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(58, 12, 31, 0.5);
}

.btn--gold {
  background: var(--gold);
  color: var(--maroon-ink);
  font-size: 14px;
  padding: 14px 22px;
}

.btn--gold:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(58, 12, 31, 0.55);
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-size: 14px;
  padding: 12.5px 22px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------
 * HERO — cinematic sunset scene matching the LinkedIn banner
 * Mountain polygon coordinates and fills are EXACT per brief.
 * -------------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--maroon);
  color: #ffffff;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background: var(--gold);
  z-index: -3;
}

.hero__sun {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  top: 62%;
  left: 58%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 220, 120, 0.65) 0%,
    rgba(255, 198, 39, 0) 55%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -2;
}

/* Hero mountain artwork — replace the URL below with your hosted asset.
   Native size 2048×681. Bottom-anchored, full-bleed. */
.hero__mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 2048 / 681;
  z-index: -1;
  pointer-events: none;
  background-image: url("assets/anton_hero_mountains_alpha.webp");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}

@media (min-aspect-ratio: 16/10) {
  .hero__mountains {
    aspect-ratio: auto;
    top: 30%;
  }
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.23  0 0 0 0 0.05  0 0 0 0 0.12  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding-top: clamp(72px, 12vw, 140px);
  padding-bottom: clamp(96px, 14vw, 180px);
  animation: heroRise 700ms var(--ease-out) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow {
  background: var(--gold);
  color: var(--maroon-ink);
  padding: 7px 12px 6px;
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px -10px rgba(58, 12, 31, 0.6);
}

.hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #ffffff;
  margin: 0 0 22px 0;
  text-shadow: 0 2px 18px rgba(58, 12, 31, 0.18);
}

.hero__title .accent {
  color: var(--maroon-ink);
}

.hero__lede {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
  margin: 0 0 32px 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------------------------------------------------------------
 * Section wrappers
 * -------------------------------------------------------------------*/
.section {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.section--cream  { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--ink    { background: var(--maroon-ink); color: #ffffff; }

/* ABOUT */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}

.about__lede {
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 36px 0;
  text-wrap: balance;
}

.about__lede strong {
  color: var(--maroon);
  font-weight: 700;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.about__stat-num {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--maroon);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__stat-label {
  margin-top: 8px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.about__body p {
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px 0;
}

.about__body p:last-child { margin-bottom: 0; }

/* WHAT WE DO */
.what__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

@media (max-width: 860px) {
  .what__head { grid-template-columns: 1fr; align-items: start; }
}

.what__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--maroon-ink);
  max-width: 22ch;
  text-wrap: balance;
  margin: 0;
}

.what__sub {
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.what__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .what__grid { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 240ms var(--ease-out),
              box-shadow 240ms var(--ease-out),
              border-color 240ms var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(58, 12, 31, 0.35);
  border-color: var(--rule-strong);
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--maroon);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillar__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pillar__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--maroon-ink);
  margin: 0;
}

.pillar__body {
  font-family: "Satoshi", sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* INDUSTRIES */
.industries__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.industries__head .eyebrow { color: var(--maroon); }

.industries__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--maroon-ink);
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}

.industries__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .industries__strip { grid-template-columns: 1fr; }
}

.industries__cell {
  background: var(--cream);
  padding: 36px 28px;
  text-align: center;
}

.industries__cell h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--maroon-ink);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.industries__cell p {
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

/* CONTACT / FOOTER */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}

.contact .eyebrow { color: var(--gold); }

.contact__title {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 22px 0;
  text-wrap: balance;
}

.contact__title .gold { color: var(--gold); }

.contact__lede {
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 50ch;
}

.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  align-items: start;
}

.contact__row .icon {
  color: var(--gold);
  margin-top: 2px;
}

.contact__row .icon svg { width: 22px; height: 22px; display: block; }

.contact__label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 4px 0;
}

.contact__value,
.contact__value a {
  color: #ffffff;
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  text-decoration: none;
}

.contact__value a {
  border-bottom: 1px solid rgba(255, 198, 39, 0.45);
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out);
  padding-bottom: 1px;
}

.contact__value a:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.footer-bar {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-bar__brand svg {
  width: 20px;
  height: 20px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__inner { animation: none; }
  * {
    transition: none !important;
    animation: none !important;
  }
}
