@font-face {
  font-family: "Advercase";
  src: url("fonts/Advercase-Regular.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Advercase";
  src: url("fonts/Advercase-Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Advercase";
  src: url("fonts/Advercase-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121923;
  --muted: #66717d;
  --paper: #f8f6f0;
  --panel: #ffffff;
  --line: #e3ded4;
  --teal: #00a99d;
  --teal-dark: #007f76;
  --navy: #091522;
  --pale: #eef8f5;
  --blue: #e8f2f7;
  --sand: #eee7dc;
  --gold: #c59a4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  max-width: 100%;
}

.site-header {
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo-link img {
  width: 180px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3f4b57;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--teal-dark);
}

.call-link,
.primary-button,
.secondary-button,
.contact-form button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.call-link,
.primary-button,
.contact-form button {
  background: var(--navy);
  color: #fff;
  padding: 0 22px;
}

.secondary-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0 22px;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  min-height: 610px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  align-items: center;
  gap: 68px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--teal);
}

h1,
h2 {
  margin: 0;
  font-family: "Advercase", Georgia, serif;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(38px, 4.3vw, 64px);
}

h2 {
  font-size: clamp(36px, 4vw, 58px);
}

h3,
p {
  margin: 0;
}

.hero-text {
  max-width: 710px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  background: #e9ece7;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
}

.hero-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  border-radius: 8px;
  background: rgba(9, 21, 34, 0.93);
  color: #fff;
  display: grid;
  gap: 10px;
  box-shadow: 0 20px 60px rgba(8, 19, 32, 0.3);
}

.hero-card strong {
  font-family: "Advercase", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.hero-card span {
  color: #cae9e5;
  font-size: 13px;
  font-weight: 700;
}

.ticker {
  margin-top: 52px;
  min-height: 48px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker span::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 34px;
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: middle;
}

.split-section,
.institutional,
.portfolio,
.catalog,
.readiness,
.contact {
  width: min(1180px, calc(100% - 48px));
  margin: 120px auto;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
}

.text-stack {
  display: grid;
  gap: 28px;
}

.text-stack > p,
.section-heading > p,
.readiness-copy > p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.mini-grid strong {
  display: block;
  margin-bottom: 8px;
}

.mini-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.inline-link {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.download-link {
  margin-top: 26px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(0, 169, 157, 0.32);
  border-radius: 4px;
  background: var(--pale);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  display: block;
}

.service-card div {
  padding: 24px;
}

.service-card p,
.product-card p {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.product-card h3 {
  font-size: 22px;
  line-height: 1.22;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-photo {
  height: 230px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f7fbfb, #e8f2f7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-card span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.category-grid article {
  min-height: 230px;
  padding: 25px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

.category-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.category-grid h3 {
  margin: 48px 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.category-grid p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.readiness {
  padding: 70px;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
}

.readiness-copy > p {
  color: #b8c4ce;
}

.workflow {
  display: grid;
  gap: 12px;
}

.workflow div {
  min-height: 76px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.workflow strong {
  color: var(--teal);
  font-size: 13px;
}

.workflow span {
  font-family: "Advercase", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.proof-band {
  background: var(--navy);
  color: #fff;
  min-height: 180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  text-align: center;
}

.proof-band strong {
  display: block;
  font-family: "Advercase", Georgia, serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
}

.proof-band span {
  display: block;
  margin-top: 8px;
  color: #a7b2bd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  max-width: 980px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
}

.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 50px);
}

.contact-lines {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 12px;
  font-weight: 900;
  color: #4b5563;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

footer {
  padding: 70px max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: start;
  gap: 40px;
}

footer img {
  width: 180px;
  filter: brightness(0) invert(1);
}

footer p {
  color: #a7b2bd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.footer-links {
  justify-self: end;
  display: grid;
  gap: 14px;
  color: #c4ccd4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1120px) {
  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .site-header {
    height: auto;
    padding: 20px 0;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split-section,
  .readiness,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .site-header,
  .hero,
  .split-section,
  .institutional,
  .portfolio,
  .catalog,
  .readiness,
  .contact {
    width: min(100% - 28px, 1180px);
  }

  .call-link {
    width: 100%;
  }

  .hero {
    margin-top: 20px;
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .ticker {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px;
  }

  .split-section,
  .institutional,
  .portfolio,
  .catalog,
  .readiness,
  .contact {
    margin: 76px auto;
  }

  .mini-grid,
  .product-grid,
  .category-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    display: block;
  }

  .readiness,
  .contact {
    padding: 28px;
  }

  .workflow div {
    grid-template-columns: 48px 1fr;
  }

  .workflow span {
    font-size: 22px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: start;
  }
}
