:root {
  --ink: #10100f;
  --paper: #f4f0e8;
  --accent: #c4142c;
  --accent-hover: #e01c39;
  --accent-light: #ff6674;
  --accent-dark: #9f1024;
  --line: rgba(16, 16, 15, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0; color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: grid; line-height: 1; text-transform: uppercase; }
.brand strong { font-size: 19px; letter-spacing: 0.06em; }
.brand small { margin-top: 5px; color: var(--accent-light); font-size: 11px; font-weight: 800; letter-spacing: 0.24em; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
nav a { transition: color 160ms ease; }
nav a:hover { color: var(--accent-light); }
.nav-cta { padding: 12px 17px; border: 1px solid var(--accent); background: var(--accent); color: white; }
.nav-cta:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: white; }

.hero { position: relative; min-height: 760px; height: 94vh; max-height: 940px; display: flex; align-items: center; overflow: hidden; background: #20241c; color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 10, 8, 0.9) 0%, rgba(9, 10, 8, 0.62) 44%, rgba(9, 10, 8, 0.12) 76%), linear-gradient(0deg, rgba(9, 10, 8, 0.62), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 64px auto 0; }
.eyebrow { margin: 0 0 20px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .eyebrow, .product-section .eyebrow, .contact-section .eyebrow { color: var(--accent-light); }
h1 { max-width: 750px; margin: 0; font-size: clamp(54px, 7vw, 96px); line-height: 0.94; letter-spacing: -0.055em; text-wrap: balance; }
.hero-copy { max-width: 660px; margin: 26px 0 0; color: rgba(255, 255, 255, 0.82); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 23px; font-size: 14px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.12); color: white; backdrop-filter: blur(8px); }
.hero-proof { position: absolute; z-index: 2; left: 50%; bottom: 0; display: grid; grid-template-columns: repeat(3, auto); background: rgba(16, 16, 15, 0.9); backdrop-filter: blur(12px); transform: translateX(-50%); }
.hero-proof span { padding: 19px 30px; font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; border-right: 1px solid rgba(255, 255, 255, 0.16); white-space: nowrap; }
.hero-proof span::before { content: "✓"; margin-right: 9px; color: var(--accent-light); }
.hero-proof span:last-child { border-right: 0; }

.story-section { display: grid; grid-template-columns: 180px minmax(0, 1fr) 260px; gap: 70px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; border-bottom: 1px solid var(--line); }
.section-tag { padding-top: 10px; color: var(--accent-dark); font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.story-copy h2 { max-width: 720px; margin: 0 0 28px; font-size: clamp(38px, 4.8vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.story-copy p { max-width: 700px; margin: 0 0 18px; color: #4d4a42; font-size: 18px; line-height: 1.72; }
.story-stat { align-self: end; padding: 26px 0 4px; border-top: 3px solid var(--accent); }
.story-stat strong { display: block; font-size: 70px; line-height: 0.9; letter-spacing: -0.06em; }
.story-stat span { display: block; margin-top: 13px; color: #5d594f; font-size: 13px; font-weight: 700; line-height: 1.5; }

.product-section { min-height: 760px; padding: 120px max(24px, calc((100vw - 1180px) / 2)); background: var(--ink); color: white; }
.product-copy { width: 100%; margin: auto; }
.product-copy h2, .projects-heading h2, .contact-intro h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.product-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.55fr); gap: clamp(50px, 9vw, 130px); align-items: end; }
.product-intro { margin: 0 0 4px; color: rgba(255, 255, 255, 0.68); font-size: 18px; line-height: 1.7; }
.benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.benefit-list article { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 34px 28px 34px 0; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.benefit-list article + article { padding-left: 28px; }
.benefit-list article:last-child { border-right: 0; }
.benefit-list article > span { color: var(--accent-light); font-size: 12px; font-weight: 900; }
.benefit-list h3 { margin: -3px 0 8px; font-size: 18px; }
.benefit-list p { margin: 0; color: rgba(255, 255, 255, 0.56); font-size: 15px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 40px; color: var(--accent-light); font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.text-link span { font-size: 24px; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }

.projects-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.projects-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: 90px; align-items: end; margin-bottom: 56px; }
.projects-heading > p { margin: 0 0 3px; color: #59564e; font-size: 16px; line-height: 1.65; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 310px 310px 390px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; background: #d7d2c8; }
.gallery-wide { grid-column: 1 / span 2; grid-row: 1; }
.gallery figure:nth-child(2) { grid-column: 3; grid-row: 1 / span 2; }
.gallery figure:nth-child(3) { grid-column: 1; grid-row: 2; }
.gallery figure:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-product { grid-column: 1 / -1; grid-row: 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.gallery-product img { object-fit: contain; object-position: center; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; left: 18px; bottom: 16px; padding: 8px 11px; background: rgba(16, 16, 15, 0.84); color: white; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(6px); }

.contact-section { display: grid; grid-template-columns: minmax(320px, 0.8fr) minmax(540px, 1.2fr); gap: clamp(60px, 9vw, 140px); padding: 120px max(24px, calc((100vw - 1180px) / 2)); background: #25231f; color: white; }
.contact-intro { max-width: 520px; }
.contact-intro > p:not(.eyebrow) { margin: 30px 0 0; color: rgba(255, 255, 255, 0.63); font-size: 18px; line-height: 1.72; }
.contact-note { display: grid; gap: 7px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 13px; }
.contact-note strong { color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-note span { color: rgba(255, 255, 255, 0.55); }
.contact-form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-form label { display: grid; gap: 9px; color: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-form label span { color: var(--accent-light); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; outline: 0; background: rgba(255, 255, 255, 0.045); color: red; font: inherit; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; transition: border-color 160ms ease, background 160ms ease; }
.contact-form input, .contact-form select { height: 52px; padding: 0 14px; }
.contact-form textarea { min-height: 126px; padding: 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent-light); background: rgba(255, 255, 255, 0.075); }
.contact-form select { color-scheme: dark; }
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { display: flex; align-items: center; gap: 18px; }
.contact-form button { border: 0; cursor: pointer; }
.contact-form button:disabled { cursor: wait; opacity: 0.62; }
.form-status { margin: 0; color: rgba(255, 255, 255, 0.65); font-size: 13px; line-height: 1.45; }
.form-status.success { color: #9bdd8b; }
.form-status.error { color: #ff9d82; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 132px; padding: 22px max(24px, calc((100vw - 1180px) / 2)); background: #12110f; color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.footer-brand .brand-mark { width: 70px; height: 70px; }
footer p { margin: 0; }
footer p:nth-child(2) { color: rgba(255, 255, 255, 0.74); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
footer p:last-child { justify-self: end; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 720px; }
  .hero-proof { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .hero-proof span { padding: 17px 8px; text-align: center; }
  .story-section { grid-template-columns: 1fr; gap: 30px; padding: 84px 0; }
  .story-stat { max-width: 330px; }
  .product-section { min-height: 0; padding: 88px 48px; }
  .product-heading { grid-template-columns: 1fr; gap: 28px; }
  .benefit-list { grid-template-columns: 1fr; margin-top: 54px; }
  .benefit-list article, .benefit-list article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .benefit-list article:last-child { border-bottom: 0; }
  .projects-heading { grid-template-columns: 1fr; gap: 28px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header, .hero-content, .story-section { width: min(100% - 32px, 1180px); }
  .site-header { padding: 12px 0; }
  .brand-mark { width: 46px; height: 46px; }
  .nav-cta { padding: 10px 12px; font-size: 12px; }
  .hero { min-height: 730px; height: 100svh; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9, 10, 8, 0.92), rgba(9, 10, 8, 0.4)), linear-gradient(0deg, rgba(9, 10, 8, 0.72), transparent 55%); }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-copy { font-size: 17px; }
  .button { flex: 1 1 190px; }
  .hero-proof span { font-size: 9px; letter-spacing: 0.05em; }
  .hero-proof span::before { display: block; margin: 0 0 4px; }
  .product-section { padding: 76px 16px; }
  .projects-section { width: min(100% - 32px, 1180px); padding: 82px 0; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 330px; }
  .gallery figure, .gallery-wide, .gallery-tall, .gallery-product, .gallery figure:nth-child(2), .gallery figure:nth-child(3), .gallery figure:nth-child(4) { grid-column: auto; grid-row: auto; }
  .contact-section { padding: 80px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding: 34px 16px; text-align: center; }
  .footer-brand, footer p:last-child { justify-self: center; }
}

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