:root {
  --blue: #7091a8;
  --blue-dark: #466577;
  --sand: #d6cfb5;
  --sand-light: #f4f1e8;
  --charcoal: #2e2e2e;
  --ink: #1f2930;
  --muted: #687078;
  --line: #e7e1d3;
  --white: #ffffff;
  --surface: #fbfaf6;
  --shadow: 0 20px 60px rgba(46, 46, 46, 0.11);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.skip-link {
  background: var(--charcoal);
  color: var(--white);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -10rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(214, 207, 181, 0.6);
  position: sticky;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(46, 46, 46, 0.08);
}

.header-top {
  border-bottom: 1px solid rgba(214, 207, 181, 0.35);
}

.header-top-inner {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0.35rem 1.5rem 0.2rem;
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 92px;
  padding: 0 1.5rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 292px;
}

.brand-logo-wrap {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-emblem {
  display: block;
  height: auto;
  object-fit: contain;
  width: 84px;
}

.brand-wordmark {
  display: block;
  height: auto;
  object-fit: contain;
  width: 198px;
}

.brand strong,
.footer-brand {
  color: var(--ink);
  display: block;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.61rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: flex-end;
  white-space: nowrap;
}

.language-switcher {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 750;
  gap: 0.25rem;
  white-space: nowrap;
}

.language-option {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0.25rem 0.2rem;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  color: var(--charcoal);
}

.language-option.is-active {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.language-divider {
  color: var(--line);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.45rem 0.35rem;
  transition: color 160ms ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--charcoal);
}

.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle-line {
  background: var(--charcoal);
  display: block;
  height: 2px;
  position: absolute;
  width: 18px;
}

.nav-toggle-line:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle-line:nth-child(3) {
  transform: translateY(6px);
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.section-band {
  background: linear-gradient(180deg, var(--surface), var(--white));
}

.hero {
  overflow: hidden;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 78px);
  padding: 4.25rem 1.5rem 3rem;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.75rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--blue-dark);
  font-size: clamp(1.38rem, 2.47vw, 2.22rem);
  line-height: 1.08;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 1rem;
}

h3 {
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.slogan {
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1.3rem;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--charcoal);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--charcoal);
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual::before {
  background: var(--sand);
  content: "";
  height: 72%;
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  width: 72%;
  z-index: 0;
}

.hero-visual img {
  aspect-ratio: 28 / 15;
  box-shadow: var(--shadow);
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.section-wrap {
  margin: 0 auto;
  max-width: var(--max);
  padding: 5.5rem 1.5rem;
}

.partner-grid,
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro-grid {
  align-items: start;
  column-gap: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) 1px minmax(0, 0.58fr);
}

.intro-grid::before {
  align-self: stretch;
  background: var(--line);
  content: "";
  grid-column: 2;
  grid-row: 1;
}

.intro-grid .section-heading {
  grid-column: 1;
}

.intro-grid .section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.intro-copy {
  grid-column: 3;
  max-width: 560px;
  padding-top: 2.25rem;
}

.intro-brand {
  color: var(--blue-dark);
  font-weight: 800;
}

.intro-copy p {
  line-height: 1.68;
  margin-bottom: 1.15rem;
  text-align: justify;
}

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

.section-heading p:last-child,
.intro-copy p,
.partner-copy p,
.contact-grid p,
.info-card p,
.category-panel p,
.faq-item p {
  color: var(--muted);
}

.centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}

.info-card,
.category-panel,
.faq-item,
.contact-card,
.values-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
  padding: 1.4rem;
  text-align: center;
}

.info-card h3 {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 3rem;
}

.info-card p {
  max-width: 31ch;
  min-height: 5.7rem;
  text-align: center;
  text-align-last: center;
}

.service-icon {
  color: var(--blue-dark);
  display: inline-flex;
  height: 32px;
  margin-bottom: 1.35rem;
  width: 32px;
}

.service-icon svg {
  height: 100%;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.service-icon-large svg {
  transform: scale(1.13);
  transform-origin: center;
}

.card-number,
.category-kicker {
  color: var(--blue-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 1.4rem;
}

.categories {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  overflow: hidden;
  padding: 0;
  text-align: center;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category-panel h3,
.category-panel p {
  margin-bottom: 0;
}

.category-panel h3 {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 70px;
  padding: 1rem 1rem 1.15rem;
}

.category-panel:hover {
  border-color: rgba(112, 145, 168, 0.45);
  box-shadow: 0 14px 30px rgba(46, 46, 46, 0.08);
  transform: translateY(-3px);
}

.category-image {
  aspect-ratio: 16 / 10;
  background: rgba(214, 207, 181, 0.28);
  overflow: hidden;
  width: 100%;
}

.category-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.category-panel:hover .category-image img {
  transform: scale(1.04);
}

.partner-section {
  background:
    linear-gradient(rgba(46, 46, 46, 0.86), rgba(46, 46, 46, 0.86)),
    url("assets/ag-nova-sourcing-hero.png") center / cover;
  color: var(--white);
}

.partner-section h2,
.partner-section h3,
.partner-section .eyebrow {
  color: var(--white);
}

.partner-section p {
  color: rgba(255, 255, 255, 0.82);
}

.values-panel {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.6rem;
}

.values-panel h3 {
  color: var(--charcoal);
}

.values-panel ul {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.values-panel li {
  background: var(--sand-light);
  border-left: 4px solid var(--blue);
  color: var(--charcoal);
  font-weight: 800;
  padding: 0.9rem 1rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.4rem;
}

.faq-item {
  padding: 1.4rem;
}

.contact-section {
  background: #394a54;
  border-top: 1px solid rgba(214, 207, 181, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.8fr 1.2fr;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.contact-details h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
  position: relative;
}

.contact-details h2::after {
  background: var(--sand);
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.55rem;
  width: 48px;
}

.contact-details dl {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 1.8rem 0 0;
}

.contact-details dt {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.contact-details dd {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 750;
  margin: 0;
}

.contact-details a {
  color: inherit;
}

.contact-icon {
  color: var(--sand);
  display: inline-flex;
  height: 14px;
  width: 14px;
}

.contact-icon svg {
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 100%;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 207, 181, 0.28);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.35rem;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.4rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid rgba(214, 207, 181, 0.46);
  color: var(--charcoal);
  font: inherit;
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-message,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 2rem 1.5rem;
}

.footer-brand {
  color: var(--white);
  font-weight: 850;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin: 0.25rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav-links {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(46, 46, 46, 0.08);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem 1.5rem 1.5rem;
    position: absolute;
    right: 0;
    top: 92px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero-inner,
  .intro-grid,
  .categories,
  .partner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid {
    row-gap: 2rem;
  }

  .intro-grid::before {
    display: none;
  }

  .intro-grid .section-heading,
  .intro-copy {
    grid-column: auto;
  }

  .intro-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 3.25rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .service-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-top-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-shell {
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .brand {
    min-width: 0;
  }

  .brand {
    gap: 0.35rem;
  }

  .brand-emblem {
    width: 58px;
  }

  .brand-wordmark {
    width: 142px;
  }

  .hero-inner,
  .section-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-inner {
    gap: 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .slogan {
    font-size: 0.82rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid span:last-child {
    grid-column: 1 / -1;
  }

  .category-panel {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .contact-compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-compact dl {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
