@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #161a1d;
  --muted: #505c59;
  --line: #d3d5cb;
  --soft: #f7f6f1;
  --paper: #ffffff;
  --red: #b83f43;
  --red-dark: #923238;
  --green: #4f765d;
  --steel: #5f6a68;
  --clay: #b57a64;
  --mist: #e6e8df;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(20, 24, 28, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(21,24,27,.1);
  backdrop-filter: blur(18px);
  animation: headerDrop 700ms cubic-bezier(.2,.8,.2,1) both;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(21,24,27,.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21,24,27,.12);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,.7) 50%, transparent 62%);
  transform: translateX(-120%) rotate(10deg);
  animation: logoSheen 5200ms ease-in-out infinite;
}
.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}
.brand-text strong {
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 800;
}
.brand-text em {
  color: var(--steel);
  font-size: .68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links { display: flex; justify-content: center; gap: clamp(16px,3vw,34px); color: #252b2f; font-size: .94rem; font-weight: 680; }
.nav-item {
  position: relative;
}
.nav-links a, .site-footer a { transition: color 160ms ease; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.nav-links a:hover, .nav-links a.active, .site-footer a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .62;
  transition: transform 180ms ease, opacity 180ms ease;
}
.has-menu:hover .chevron {
  opacity: 1;
  transform: translateY(1px) rotate(45deg);
}
.nav-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: min(340px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid rgba(21,24,27,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(21,24,27,.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}
.nav-menu.wide {
  width: min(380px, calc(100vw - 48px));
}
.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-menu a {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 8px;
}
.nav-menu a::after {
  display: none;
}
.nav-menu a:hover {
  color: var(--ink);
  background: var(--soft);
}
.nav-menu span {
  color: var(--green);
  font-size: .68rem;
  font-weight: 800;
  text-transform: none;
}
.nav-menu strong {
  font-size: .95rem;
  font-weight: 740;
}
.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-cta, .button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}
.nav-cta::after, .button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28), transparent 80%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}
.nav-cta:hover::after, .button:hover::after {
  transform: translateX(120%);
}
.button, .nav-cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover, .nav-cta:hover {
  transform: translateY(-2px);
}
.nav-cta, .button.primary { color: #fff; background: var(--red); }
.button.primary { box-shadow: 0 12px 28px rgba(169,79,78,.25); }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.12); }
.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(96px,12vw,150px) clamp(18px,5vw,72px) 32px;
  background: #101316;
}
.home-hero {
  min-height: 0;
  height: calc(100svh - 74px);
  padding-top: clamp(36px,5vh,64px);
  padding-bottom: 0;
  align-content: center;
}
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; }
.hero .hero-media {
  transform: scale(1.04);
  animation: heroDrift 14000ms ease-in-out infinite alternate;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(12,14,14,.9) 0%, rgba(20,22,21,.62) 44%, rgba(34,36,32,.16) 100%),
    linear-gradient(0deg, rgba(13,15,15,.7) 0%, rgba(13,15,15,.08) 52%);
}
.hero-content, .hero-proof { position: relative; z-index: 1; }
.hero-content { width: min(820px, 100%); color: #fff; }
.home-hero .hero-content {
  width: min(34vw, 700px);
  min-width: 560px;
  transform: translateY(-4vh);
}
.hero-content > * {
  animation: riseFade 800ms cubic-bezier(.2,.8,.2,1) both;
}
.hero-content > *:nth-child(2) { animation-delay: 90ms; }
.hero-content > *:nth-child(3) { animation-delay: 180ms; }
.hero-content > *:nth-child(4) { animation-delay: 270ms; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}
.hero .eyebrow { color: #f19992; }
h1,h2,h3,p { overflow-wrap: anywhere; }
h1,h2,h3 {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.8rem,6.8vw,6rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}
.home-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem,4.9vw,5.25rem);
  font-weight: 760;
  line-height: 1.05;
}
h2 {
  margin: 0;
  font-size: clamp(1.9rem,3.4vw,3.55rem);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 730;
  line-height: 1.3;
  letter-spacing: 0;
}
.hero-copy { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.84); font-size: clamp(1rem,1.6vw,1.24rem); }
.home-hero .hero-copy {
  max-width: 610px;
  margin-top: 18px;
  font-size: clamp(1rem,1.18vw,1.16rem);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.home-hero .hero-actions {
  gap: 14px;
  margin-top: 28px;
}
.home-hero .hero-actions .button {
  min-width: 168px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 1rem;
  box-shadow: 0 18px 36px rgba(0,0,0,.2);
}
.home-hero .hero-actions .button.primary {
  box-shadow: 0 18px 38px rgba(169,79,78,.32);
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  width: min(780px,100%);
  margin-top: 80px;
  overflow: hidden;
  border: 1px solid rgba(232,224,213,.24);
  border-radius: var(--radius);
  background: rgba(243,241,236,.14);
  color: #fff;
  backdrop-filter: blur(14px);
  animation: riseFade 900ms 360ms cubic-bezier(.2,.8,.2,1) both;
}
.home-hero .hero-proof {
  margin-top: clamp(24px,4vh,38px);
  transform: translateY(-4vh);
}
.hero-proof div { min-height: 112px; padding: 22px; background: rgba(24,27,25,.36); }
.home-hero .hero-proof div {
  min-height: 94px;
  padding: 18px 22px;
}
.hero-proof strong { display: block; font-size: clamp(1.65rem,2.6vw,2.45rem); line-height: 1; font-weight: 760; }
.hero-proof span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: .92rem; }
.scroll-cue {
  position: absolute;
  right: clamp(20px,4vw,56px);
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 760;
  opacity: .84;
  transition: opacity 180ms ease, transform 180ms ease;
}
.scroll-cue:hover {
  opacity: 1;
  transform: translateY(2px);
}
.scroll-cue i {
  width: 24px;
  height: 24px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cuePulse 1800ms ease-in-out infinite;
}
.section,.split-section,.spec-section,.detail-section,.quote-section { padding: clamp(70px,10vw,128px) clamp(18px,5vw,72px); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(280px,.7fr);
  align-items: end;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto 40px;
}
.section-heading h2,.split-section h2,.spec-section h2,.detail-copy h2,.quote-copy h2 { max-width: 760px; }
.section-heading p:last-child,.quote-copy p,.detail-copy p,.split-section p { color: var(--muted); font-size: 1.04rem; }
.compact { display: block; }
.product-band,.value-section { background: var(--soft); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}
.product-grid.full { grid-template-columns: repeat(3,minmax(0,1fr)); }
.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 240px 1fr;
  min-height: 440px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card::after, .case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(169,79,78,.11), transparent 35%, rgba(100,121,106,.13));
  opacity: 0;
  transition: opacity 180ms ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(169,79,78,.34); box-shadow: var(--shadow); }
.product-card:hover::after, .case-card:hover::after { opacity: 1; }
.product-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-card div { padding: 22px; }
.product-card span,.case-card span,.resource-grid span { display: block; margin-bottom: 12px; color: var(--green); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.product-card p,.value-grid p,.case-card p,.resource-grid p { color: var(--muted); }
.split-section,.spec-section,.detail-section,.quote-section {
  display: grid;
  grid-template-columns: minmax(280px,.9fr) minmax(340px,1.1fr);
  gap: clamp(34px,6vw,80px);
}
.split-section { max-width: 1384px; margin: 0 auto; }
.solution-list,.value-grid { display: grid; gap: 14px; }
.solution-list article,.value-grid article,.resource-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view:nth-child(2) { transition-delay: 80ms; }
.reveal.in-view:nth-child(3) { transition-delay: 150ms; }
.reveal.in-view:nth-child(4) { transition-delay: 220ms; }
.solution-list span,.value-grid span { color: var(--red); font-weight: 850; }
.project-section,.gallery-section { background: #eeeee9; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.project-grid img {
  width: 100%;
  height: clamp(360px,34vw,520px);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(21,24,27,.08);
}
.quote-section { background: #171b1f; color: #fff; }
.quote-copy { max-width: 680px; }
.quote-copy p,.detail-copy p { color: rgba(255,255,255,.72); }
.quote-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: clamp(20px,3vw,30px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
}
.quote-form label { display: grid; gap: 8px; color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 700; }
.quote-form input,.quote-form select,.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.09);
  font: inherit;
}
.quote-form select { color: var(--ink); background: #fff; }
.quote-form textarea { resize: vertical; }
.value-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1240px; margin: 0 auto; }
.value-grid h2 { margin-top: 12px; font-size: clamp(1.5rem,2vw,2rem); }
.spec-section { align-items: start; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-table div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table span { color: var(--muted); }
.detail-section { align-items: center; background: #111519; color: #fff; }
.detail-media img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--radius); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.case-grid,.resource-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169,79,78,.34);
  box-shadow: var(--shadow);
}
.case-card img { width: 100%; height: clamp(260px,32vw,420px); object-fit: cover; }
.case-card div { padding: 26px; }
.case-card h2,.resource-grid h2 {
  font-size: clamp(1.5rem,2.2vw,2.25rem);
  line-height: 1.18;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px,5vw,72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer div { display: grid; gap: 4px; }
.site-footer strong { color: var(--ink); }
.site-footer nav { display: flex; gap: 22px; }
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes riseFade {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.09) translate3d(-1.2%, .8%, 0); }
}
@keyframes logoSheen {
  0%, 52% { transform: translateX(-120%) rotate(10deg); }
  70%, 100% { transform: translateX(120%) rotate(10deg); }
}
@keyframes cuePulse {
  0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .5; }
  50% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  h1 { font-size: clamp(3rem,14vw,5rem); }
  .home-hero {
    height: auto;
    min-height: calc(100svh - 66px);
    padding-bottom: 24px;
    align-content: end;
  }
  .home-hero .hero-content {
    width: min(760px, 100%);
    min-width: 0;
    transform: none;
  }
  .section-heading,.split-section,.quote-section,.spec-section,.detail-section { grid-template-columns: 1fr; }
  .product-grid,.product-grid.full,.value-grid,.case-grid,.resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: 10px 14px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { width: 34px; height: 34px; }
  .brand-text strong { font-size: 1.06rem; }
  .brand-text em { display: none; }
  .nav-cta { min-height: 40px; padding: 0 12px; font-size: .86rem; }
  .hero { min-height: 720px; padding: 88px 16px 24px; }
  .home-hero {
    min-height: calc(100svh - 66px);
    height: auto;
    padding: 74px 16px 18px;
  }
  .home-hero .hero-content,
  .home-hero .hero-proof {
    transform: none;
  }
  .home-hero h1 {
    font-size: clamp(2.6rem,13vw,4.2rem);
  }
  .hero-proof,.product-grid,.product-grid.full,.value-grid,.case-grid,.resource-grid { grid-template-columns: 1fr; }
  .hero-proof { margin-top: 44px; }
  .product-card { grid-template-rows: 220px 1fr; min-height: auto; }
  .button { width: 100%; }
  .spec-table div { grid-template-columns: 1fr; gap: 6px; }
  .site-footer,.site-footer nav { flex-direction: column; }
}