:root {
  --ink: #13243a;
  --navy: #12335f;
  --blue: #2f79c7;
  --blue-soft: #c8e1f4;
  --paper: #fbfaf6;
  --mist: #eef6fb;
  --line: #dbe5ed;
  --muted: #647286;
  --white: #ffffff;
  --max: 1440px;
  --shadow: 0 28px 90px rgba(19, 36, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(200, 225, 244, 0.58), transparent 28rem),
    linear-gradient(180deg, var(--paper), var(--mist) 45%, var(--paper));
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.section-shell {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(28px, 4vw, 72px);
  background: rgba(251, 250, 246, 0.82);
  border-bottom: 1px solid rgba(219, 229, 237, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 178px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(19, 36, 58, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(44px, 6vw, 94px);
  min-height: calc(100vh - 82px);
  padding: clamp(70px, 8vw, 116px) 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(56px, 7.1vw, 112px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(19, 36, 58, 0.72);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(47, 121, 199, 0.2);
}

.button.primary:hover {
  background: #266aa9;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(19, 36, 58, 0.12);
}

.hero-media {
  position: relative;
  height: clamp(520px, 42vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-media img,
.wide-photo img,
.process-photo img,
.market-grid img,
.automation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 440px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(19, 36, 58, 0.12);
  backdrop-filter: blur(16px);
}

.media-note span,
.automation-card span,
.market-grid span,
.process-list span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-note strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 0.96;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(19, 36, 58, 0.1);
  border: 1px solid rgba(19, 36, 58, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(19, 36, 58, 0.08);
}

.signal-strip div {
  min-height: 190px;
  padding: clamp(28px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.72);
}

.signal-strip strong {
  display: block;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 0.98;
}

.signal-strip span {
  display: block;
  max-width: 360px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(90px, 12vw, 160px) 0 42px;
}

.section-heading h2,
.process-copy h2,
.contact-section h2 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 600;
  line-height: 0.96;
}

.section-lead {
  align-self: end;
  margin: 0;
  color: rgba(19, 36, 58, 0.72);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.automation-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19, 36, 58, 0.09);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(19, 36, 58, 0.07);
}

.automation-card img {
  height: 260px;
}

.automation-card div {
  padding: 26px;
}

.automation-card h3,
.market-grid h3,
.process-list h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.08;
}

.automation-card p,
.market-grid p,
.process-list p,
.contact-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.market-section {
  padding-top: clamp(90px, 12vw, 160px);
}

.compact {
  max-width: 920px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.market-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(19, 36, 58, 0.09);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(19, 36, 58, 0.07);
}

.market-grid img {
  height: 390px;
}

.market-grid article > span,
.market-grid h3,
.market-grid p {
  margin-left: 26px;
  margin-right: 26px;
}

.market-grid article > span {
  margin-top: 26px;
}

.market-grid p {
  margin-bottom: 28px;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(100px, 13vw, 170px) 0;
}

.process-photo {
  height: min(680px, 70vh);
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.process-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 36, 58, 0.09);
  border-radius: 24px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.process-list h3 {
  margin-top: 0;
}

.wide-photo {
  height: clamp(360px, 48vw, 680px);
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-section {
  max-width: 980px;
  padding: clamp(90px, 12vw, 150px) 0;
  text-align: center;
}

.contact-section h2 {
  margin-left: auto;
  margin-right: auto;
}

.contact-section p {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 18px;
}

.contact-section .button {
  margin-top: 32px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(28px, 4vw, 72px);
  color: var(--muted);
  border-top: 1px solid rgba(19, 36, 58, 0.1);
}

.site-footer img {
  width: 150px;
  height: auto;
}

body.motion-ready .animatable {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
  will-change: opacity, transform;
}

body.motion-ready.scrolling-up .animatable {
  transform: translateY(-28px);
}

body.motion-ready .animatable.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1120px) {
  .hero,
  .intro-grid,
  .process-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    height: 540px;
  }

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

  .section-lead {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: calc(100% - 32px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .brand {
    width: 164px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    height: 430px;
  }

  .media-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .signal-strip,
  .automation-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .automation-card img,
  .market-grid img {
    height: 300px;
  }

  .process-photo {
    min-height: 360px;
    height: 420px;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

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