:root {
  --ink: #24222b;
  --muted: #68646e;
  --line: #ddd6d4;
  --paper: #f8f5f2;
  --white: #fff;
  --accent: #e84d7a;
  --graphite: #292536;
  --gold: #ffc857;
  --coral: #ff715b;
  --rose: #e84d7a;
  --soft-accent: #ff8c68;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }
section { scroll-margin-top: 74px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled { background: rgb(38 35 51 / 97%); box-shadow: 0 8px 30px rgb(0 0 0 / 18%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 92px; height: 62px; object-fit: contain; filter: drop-shadow(0 3px 8px rgb(255 255 255 / 22%)); }
.brand-tagline { max-width: 100px; color: rgb(255 255 255 / 78%); font-size: 10px; font-weight: 700; line-height: 1.35; }
.company-logo { display: block; width: min(210px, 75%); height: auto; margin: 0 0 20px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
nav a { border-bottom: 1px solid transparent; padding: 8px 0; transition: color 180ms ease, border-color 180ms ease, transform 180ms ease; }
nav a:hover { border-color: var(--gold); }
.nav-contact { padding: 9px 14px; border: 1px solid rgb(255 255 255 / 50%); }
.nav-contact:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.menu-button { display: none; border: 0; background: transparent; color: white; }

.hero { position: relative; display: flex; align-items: center; min-height: min(88svh, 850px); overflow: hidden; color: var(--white); }
.hero > img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > img { object-fit: cover; object-position: center; animation: hero-drift 16s ease-in-out infinite alternate; }
.hero-shade { background: linear-gradient(90deg, rgb(31 27 43 / 94%) 0%, rgb(48 43 70 / 76%) 38%, rgb(35 41 66 / 24%) 74%, transparent 100%); }
.hero-content { position: relative; z-index: 1; width: min(710px, 88vw); margin-left: clamp(20px, 8vw, 132px); padding: 116px 0 70px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow, .products .eyebrow, .contact .eyebrow { color: var(--gold); }
.hero-content .eyebrow { animation: hero-rise 650ms 100ms both; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; letter-spacing: 0; }
h1 { max-width: 680px; margin: 0; font-size: clamp(48px, 7vw, 94px); line-height: .96; }
.hero h1 { animation: hero-rise 760ms 200ms both; }
.hero-content > p:not(.eyebrow) { max-width: 610px; margin: 26px 0 0; color: rgb(255 255 255 / 84%); font-size: clamp(16px, 1.55vw, 21px); line-height: 1.7; }
.hero-content > p:not(.eyebrow) { animation: hero-rise 760ms 320ms both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions { animation: hero-rise 760ms 440ms both; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; font-size: 13px; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgb(0 0 0 / 18%); }
.button.primary { background: var(--gold); color: #24222b; }
.button.primary:hover { background: var(--coral); color: white; }
.button.secondary { border: 1px solid rgb(255 255 255 / 52%); background: rgb(0 0 0 / 12%); color: white; }
.hero-scroll { position: absolute; z-index: 2; right: clamp(20px, 4vw, 64px); bottom: 25px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgb(255 255 255 / 55%); animation: scroll-cue 2s ease-in-out infinite; }

.intro-band, .clients, .company { padding: 92px clamp(20px, 8vw, 132px); }
.intro-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 26px 80px; background: var(--white); }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; }
.section-lead { margin: 31px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.service-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 240px; padding: 30px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.service-grid article:hover { position: relative; z-index: 1; transform: translateY(-7px); background: #fff5ef; box-shadow: 0 16px 36px rgb(232 77 122 / 13%); }
.service-grid article:nth-child(1) svg { color: var(--accent); }
.service-grid article:nth-child(2) svg { color: var(--gold); }
.service-grid article:nth-child(3) svg { color: var(--coral); }
.service-grid article:nth-child(4) svg { color: var(--soft-accent); }
.service-grid svg { width: 30px; height: 30px; }
.service-grid h3 { margin: 44px 0 10px; font-size: 17px; }
.service-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.products { padding: 92px clamp(20px, 8vw, 132px); background: #2c283b; color: white; }
.section-heading.light h2 { max-width: 850px; }
.product-list { margin-top: 54px; border-top: 1px solid rgb(255 255 255 / 20%); }
.product-list article { display: grid; grid-template-columns: 62px minmax(0, 1fr) 52px; align-items: center; gap: 24px; padding: 28px 4px; border-bottom: 1px solid rgb(255 255 255 / 20%); transition: padding 220ms ease, background 220ms ease; }
.product-list article:hover { padding-right: 14px; padding-left: 14px; background: rgb(255 255 255 / 6%); }
.product-number { color: var(--gold); font-size: 12px; font-weight: 800; }
.product-list h3 { margin: 0 0 7px; font-size: 25px; }
.product-list p { max-width: 850px; margin: 0; color: rgb(255 255 255 / 70%); font-size: 14px; line-height: 1.65; }
.product-list > article > svg { justify-self: end; width: 30px; height: 30px; color: var(--coral); transition: transform 220ms ease; }
.product-list article:hover > svg { transform: translateX(6px); }
.product-note { margin: 28px 0 0 86px; color: rgb(255 255 255 / 65%); font-size: 13px; }

.clients { background: #f5f0ec; }
.client-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.client-heading .section-heading { max-width: 780px; }
.client-search { display: flex; align-items: center; gap: 9px; width: min(340px, 100%); border-bottom: 1px solid var(--ink); padding: 10px 0; }
.client-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.client-count { margin: 42px 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-item { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 700; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.client-item:hover { position: relative; z-index: 1; transform: translateY(-2px); background: #fff7ed; color: #aa422f; }
.client-item a { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.client-item svg { width: 16px; height: 16px; }
.empty-clients { padding: 30px 0; color: var(--muted); }

.company { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 70px; background: white; }
.company-copy > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.company dl { margin: 36px 0 0; border-top: 1px solid var(--line); }
.company dl div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.company dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.company dd { margin: 0; font-size: 13px; font-weight: 700; }
.company aside { align-self: start; padding: 28px; border-left: 4px solid var(--coral); background: var(--graphite); color: white; transition: transform 220ms ease, box-shadow 220ms ease; }
.company aside:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgb(232 77 122 / 18%); }
.company aside svg { color: var(--gold); }
.company aside h3 { margin: 28px 0 14px; }
.company address { color: rgb(255 255 255 / 72%); font-size: 13px; font-style: normal; line-height: 1.8; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 80px clamp(20px, 8vw, 132px); background: #1b2930; color: white; }
.contact h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.contact p:not(.eyebrow) { color: rgb(255 255 255 / 65%); line-height: 1.7; }
.contact-actions { border-top: 1px solid rgb(255 255 255 / 20%); }
.contact-actions a { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid rgb(255 255 255 / 20%); transition: color 180ms ease, padding 180ms ease; }
.contact-actions a:hover { padding-left: 10px; color: var(--gold); }
.contact-actions span, .contact-actions small { display: block; }
.contact-actions small { margin-bottom: 3px; color: rgb(255 255 255 / 50%); font-size: 10px; text-transform: uppercase; }
footer { display: flex; justify-content: space-between; padding: 24px clamp(20px, 8vw, 132px); background: #0e1514; color: rgb(255 255 255 / 58%); font-size: 11px; }
footer a { display: flex; align-items: center; gap: 7px; }
footer svg { width: 15px; height: 15px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; }
  nav { position: absolute; top: 66px; right: 14px; left: 14px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 18px; background: var(--graphite); box-shadow: 0 18px 40px rgb(0 0 0 / 26%); }
  nav.open { display: flex; }
  nav a { padding: 13px 2px; border-bottom: 1px solid rgb(255 255 255 / 12%); }
  .nav-contact { border: 0; }
  .hero { min-height: 82svh; }
  .hero > img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(31 27 43 / 94%) 0%, rgb(48 43 70 / 72%) 62%, rgb(35 41 66 / 25%) 100%); }
  .intro-band, .company, .contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .client-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  section { scroll-margin-top: 66px; }
  .site-header { min-height: 66px; padding-inline: 16px; }
  .brand-logo { width: 78px; height: 56px; }
  .brand-tagline { display: none; }
  .hero { min-height: 86svh; align-items: end; }
  .hero > img { object-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, rgb(31 27 43 / 97%) 0%, rgb(48 43 70 / 74%) 68%, rgb(35 41 66 / 34%) 100%); }
  .hero-content { width: auto; margin: 0 20px; padding: 105px 0 72px; }
  h1 { font-size: 49px; }
  .hero-actions { display: grid; }
  .hero-scroll { display: none; }
  .intro-band, .products, .clients, .company, .contact { padding: 66px 20px; }
  .service-grid, .client-list { grid-template-columns: 1fr; }
  .service-grid article { min-height: 200px; }
  .service-grid h3 { margin-top: 32px; }
  .product-list article { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .product-list > article > svg { display: none; }
  .product-note { margin-left: 0; }
  .client-heading { align-items: stretch; flex-direction: column; }
  .client-search { width: 100%; }
  .company dl div { grid-template-columns: 1fr; gap: 5px; }
  .contact { gap: 30px; }
  footer { gap: 18px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
