/* ============================================================
   Concept Solutions — Marketing Landing
   styles.css
   ============================================================ */

/* ----- Design tokens ---------------------------------------- */
:root {
  --navy-deep:     #10133A;
  --navy-rich:     #171C8F;
  --navy-darker:   #0A0C2E;
  --cream:         #E8E9F3;
  --ink-on-navy:   #FFFFFF;
  --ink-on-cream:  #10133A;
  --gold:          #F1C400;
  --gold-soft:     rgba(241,196,0,0.35);
  --gold-medium:   rgba(241,196,0,0.55);
  --status-error:  #FF8A8A;
  --gold-on-cream: #705500;
  --mute-on-navy:  rgba(255,255,255,0.65);
  --mute-on-cream: rgba(16,19,58,0.65);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --rhythm:       clamp(3rem, 6vw, 7rem);
  --container:    clamp(1rem, 4vw, 3rem);
  --max-width:    1240px;

  --display-fluid: clamp(2.5rem, 5.5vw + 1rem, 6.25rem);
  --display-card:  clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  --h2-fluid:      clamp(1.85rem, 2.4vw + 0.8rem, 3rem);
  --lead:          clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  --eyebrow-size:  0.78rem;
}

/* ----- Modern reset ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

/* ----- Base typography & layout ----------------------------- */
html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--navy-deep);
  color: var(--ink-on-navy);
  line-height: 1.55;
  font-weight: 400;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
em { color: var(--gold); font-style: italic; }

p { line-height: 1.6; }
a { color: var(--gold); text-decoration: none; transition: color 160ms ease; }
a:hover { color: #F4C76A; }

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

/* ----- Skip link -------------------------------------------- */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0.5rem 1rem;
  margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  width: auto; height: auto; margin: 0;
  clip: auto; overflow: visible; white-space: normal;
  top: 1rem; left: 1rem;
}

/* ----- Container -------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--container);
}

/* ----- Eyebrow ---------------------------------------------- */
.eyebrow {
  font-size: var(--eyebrow-size);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute-on-navy);
  margin: 0;
}
.eyebrow__rule {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.85rem;
  position: relative;
  top: -0.15em;
}
.eyebrow--dark { color: var(--mute-on-cream); }

/* ----- Brand wordmark --------------------------------------- */
.brand {
  display: inline-flex;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-decoration: none;
}
.brand__concept   { color: var(--gold); }
.brand__solutions { color: var(--ink-on-navy); }
.brand__logo {
  display: block;
  width: auto;
  height: clamp(1.4rem, 1vw + 1rem, 1.8rem);
}
.brand__logo--footer { height: clamp(1.6rem, 1vw + 1.2rem, 2rem); }

/* ----- Sparkle ---------------------------------------------- */
.sparkle { color: var(--gold); font-size: 0.9em; }

/* ----- Header ----------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--gold-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: clamp(0.85rem, 1.5vw, 1.25rem);
}

/* ----- Hero ------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 6vh, 4rem);
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 80px,
      rgba(255,255,255,0.025) 80px,
      rgba(255,255,255,0.025) 81px
    ),
    radial-gradient(ellipse at 28% 38%, var(--navy-rich) 0%, var(--navy-deep) 70%);
}
.hero__inner {
  max-width: 1100px;
  position: relative;
  z-index: 1;
}
.hero__headline {
  font-size: clamp(2.25rem, 4.5vw + 0.75rem, 5rem);
  margin-block: 0.75rem 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.hero__lead {
  font-size: var(--lead);
  max-width: 56ch;
  color: var(--mute-on-navy);
}
.hero__lead strong {
  color: var(--ink-on-navy);
  font-weight: 600;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

/* ----- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--primary:hover { background: #F4C76A; transform: translateY(-1px); }
.btn--secondary {
  background: transparent;
  color: var(--ink-on-navy);
  border: 1px solid var(--gold-soft);
}
.btn--secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ----- Products --------------------------------------------- */
.products {
  padding-block: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--gold-soft);
}
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 720px) {
  .products__grid {
    grid-template-columns: 1fr 1px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .products__grid::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    background: var(--gold-soft);
  }
  /* Explicit placement: AvenGIS in col 1, hairline ::before in col 2,
     STARDOM in col 3, all on row 1. Adding a third product would
     require re-templating the grid. */
  .product:first-of-type { grid-column: 1; grid-row: 1; }
  .product:last-of-type  { grid-column: 3; grid-row: 1; }
}

.product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.product__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--eyebrow-size);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-on-navy);
  margin: 0;
}
.product__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0;
}
.product__wordmark {
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.product__wordmark--italic { font-style: italic; }

.product__acronym {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--mute-on-navy);
  font-variant: small-caps;
  margin: 0;
}
.product__acronym .acronym-letter { color: var(--gold); font-weight: 700; }

.product__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  line-height: 1.25;
  margin-top: 0.25rem;
  font-weight: 400;
  color: var(--ink-on-navy);
}
.product__body {
  color: var(--mute-on-navy);
  max-width: 50ch;
}
.product__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
  color: var(--ink-on-navy);
}
.product__bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--mute-on-navy);
}
.product__bullets li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--gold);
  font-size: 0.7em;
}
.product__bullets strong { color: var(--ink-on-navy); }

.product__cta {
  align-self: flex-start;
  margin-top: 0.75rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
}
.product__cta:hover { border-color: var(--gold); }

/* ----- Capabilities ----------------------------------------- */
.capabilities {
  background: var(--cream);
  color: var(--ink-on-cream);
  padding-block: var(--rhythm);
}
.capabilities__heading {
  font-size: var(--h2-fluid);
  margin-block: 0.75rem 2.5rem;
  max-width: 28ch;
  font-weight: 500;
}
.capabilities__heading em { color: var(--gold-on-cream); }
.capabilities__grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .capabilities__grid { grid-template-columns: repeat(3, 1fr); }
}
.cap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid var(--gold-soft);
  padding-top: 1rem;
}
.cap__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-on-cream);
  font-size: 1.4rem;
  font-weight: 500;
}
.cap__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cap__desc {
  color: var(--mute-on-cream);
  font-size: 0.95rem;
}

/* ----- Contact ---------------------------------------------- */
.contact {
  padding-block: var(--rhythm);
  border-top: 1px solid var(--gold-soft);
}
.contact__inner { max-width: 880px; }
.contact__heading {
  font-size: var(--h2-fluid);
  margin-block: 0.75rem 0.75rem;
  font-weight: 500;
  max-width: 22ch;
}
.contact__sub {
  color: var(--mute-on-navy);
  margin-bottom: 2.25rem;
  max-width: 50ch;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
}
@media (min-width: 720px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute-on-navy);
  font-weight: 500;
}
.required { color: var(--gold); }

.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-medium);
  border-radius: 6px;
  color: var(--ink-on-navy);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  transition: border-color 160ms ease, background 160ms ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gold); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 7rem; }

.field--honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.contact-form__status { margin: 0; color: var(--mute-on-navy); font-size: 0.95rem; }
.contact-form__status[data-state="error"] { color: var(--status-error); }
.contact-form__status[data-state="success"] { color: var(--gold); }
.contact-form.is-submitted .contact-form__status { font-size: 1.05rem; }

/* ----- Footer ----------------------------------------------- */
.site-footer {
  background: var(--navy-darker);
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: 1.75rem;
  border-top: 1px solid var(--gold-soft);
  font-size: 0.92rem;
  color: var(--mute-on-navy);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
@media (min-width: 860px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .site-footer__grid > :last-child { text-align: right; }
}
.site-footer__col p { margin: 0 0 0.3rem; }
.site-footer__brand {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.site-footer__copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-soft);
  font-size: 0.82rem;
  color: var(--mute-on-navy);
}

/* ----- Reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----- Selection -------------------------------------------- */
::selection { background: var(--gold); color: var(--navy-deep); }

/* ----- Print ------------------------------------------------ */
@media print {
  body { background: #FFFFFF; color: #000000; }
  .hero, .products, .contact, .site-footer { background: #FFFFFF !important; color: #000000 !important; }
  .site-footer a { color: #000000 !important; text-decoration: underline; }
  .contact-form { display: none !important; }
}
