@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --wine: #6c0818;
  --wine-deep: #45040f;
  --ink: #121617;
  --muted: #62696a;
  --paper: #f2f1ed;
  --cream: #e5e4de;
  --line: rgba(23, 22, 22, 0.16);
  --shell: min(1240px, calc(100% - 48px));
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 1000; padding: 10px 14px; background: white; color: var(--ink); border-radius: 2px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.2); transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(250,249,247,.96); box-shadow: 0 8px 30px rgba(34,20,20,.08); backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { position: relative; flex: 0 0 auto; width: 170px; height: 66px; display: block; background: white; overflow: hidden; line-height: 0; }
.brand img { position: absolute; inset: 5px 8px; width: calc(100% - 16px); height: calc(100% - 10px); max-width: none; object-fit: contain; object-position: center; }
.site-nav { display: flex; align-items: center; gap: 34px; color: white; font-size: .93rem; }
.site-header.scrolled .site-nav { color: var(--ink); }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s ease; }
.site-nav > a:hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.65); padding: 12px 16px; display: inline-flex; align-items: center; gap: 18px; }
.site-header.scrolled .nav-cta { border-color: var(--wine); color: var(--wine); }
.menu-button { display: none; }

.hero { min-height: 760px; height: 94vh; max-height: 900px; position: relative; display: grid; align-items: center; overflow: hidden; background: #111719; color: white; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(90deg, black, transparent 60%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.76) contrast(1.06); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,15,.98) 0%, rgba(10,14,15,.91) 29%, rgba(10,14,15,.48) 55%, rgba(10,14,15,.08) 100%), linear-gradient(0deg, rgba(10,14,15,.44), transparent 48%); }
.hero-inner { position: relative; padding-top: 72px; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-copy { max-width: 690px; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .15em; font: 500 .72rem/1.5 "IBM Plex Mono", monospace; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0 30px; font-family: "Manrope", sans-serif; font-size: clamp(4rem, 7vw, 7rem); line-height: .9; letter-spacing: -.07em; font-weight: 600; text-transform: uppercase; }
h1 em, h2 em { position: relative; font-family: "Manrope", sans-serif; font-style: normal; font-weight: 600; letter-spacing: -.055em; color: #d29aa2; }
h1 em::after { content: ""; position: absolute; left: .04em; right: 0; bottom: -.07em; height: 5px; background: var(--wine); }
.hero-lede { max-width: 610px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.button { min-height: 54px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid transparent; font-weight: 600; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: var(--wine); }
.button-light:hover { background: var(--cream); }
.button-wine { background: var(--wine); color: white; }
.button-wine:hover { background: var(--wine-deep); }
.text-link { display: inline-flex; gap: 14px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 5px; }
.unit-stamp { align-self: flex-end; width: 190px; min-height: 150px; padding: 24px; margin-bottom: 4px; border: 1px solid rgba(255,255,255,.5); background: rgba(10,14,15,.52); backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: space-between; z-index: 2; font-family: "IBM Plex Mono", monospace; }
.unit-stamp span, .unit-stamp small { color: rgba(255,255,255,.65); font-size: .62rem; letter-spacing: .12em; }
.unit-stamp strong { font: 600 2.15rem/1 "Manrope", sans-serif; letter-spacing: -.04em; }

.trust-bar { background: #f8f8f5; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 126px; display: flex; flex-direction: column; justify-content: center; padding: 20px 30px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--ink); letter-spacing: -.025em; font-family: "Manrope", sans-serif; font-size: clamp(1.15rem, 1.65vw, 1.5rem); }
.trust-grid span { order: -1; color: var(--wine); font: 500 .62rem/1.5 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 9px; }

.section { padding: 130px 0; }
.about { position: relative; background-image: linear-gradient(rgba(18,22,23,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,22,23,.045) 1px, transparent 1px); background-size: 72px 72px; }
.about-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 92px); align-items: start; }
.section-marker { display: flex; align-items: center; gap: 13px; color: var(--muted); }
.section-marker span { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; font: 500 .68rem "IBM Plex Mono", monospace; }
.section-marker p { margin: 0; font: 500 .7rem "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.section-marker.light { color: rgba(255,255,255,.65); }
.section-marker.light span { border-color: rgba(255,255,255,.28); }
.kicker { margin-bottom: 22px; color: var(--wine); text-transform: uppercase; letter-spacing: .13em; font: 600 .7rem/1.5 "IBM Plex Mono", monospace; }
.about-copy h2, .section-heading h2, .process-intro h2, .contact h2 { margin-bottom: 30px; font-family: "Manrope", sans-serif; font-size: clamp(2.4rem, 4.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 500; }
.about-copy > p:last-child { max-width: 740px; color: var(--muted); font-size: 1.12rem; line-height: 1.8; }
.fact-card { position: relative; min-height: 315px; background: #171d1e; color: white; padding: 34px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-top: 5px solid var(--wine); }
.fact-card::before, .fact-card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid rgba(255,255,255,.32); top: 22px; }
.fact-card::before { left: 22px; } .fact-card::after { right: 22px; }
.fact-card p { margin-bottom: 4px; color: rgba(255,255,255,.7); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.fact-card strong { font-size: 1.85rem; font-family: "IBM Plex Mono", monospace; letter-spacing: -.04em; }
.fact-card > span { color: rgba(255,255,255,.68); font-size: .78rem; margin-top: 5px; }
.machine-lines { position: absolute; inset: 70px 32px auto; display: grid; gap: 12px; }
.machine-lines i { display: block; height: 1px; background: rgba(255,255,255,.2); }
.machine-lines i:nth-child(2) { width: 72%; } .machine-lines i:nth-child(3) { width: 44%; }

.capabilities { position: relative; background: #111617; color: white; overflow: hidden; }
.capabilities::before { content: "PRODUCTION / 01"; position: absolute; right: -18px; top: 60px; color: rgba(255,255,255,.025); font: 600 clamp(5rem, 12vw, 12rem)/1 "IBM Plex Mono", monospace; white-space: nowrap; }
.section-heading { display: grid; grid-template-columns: 270px 1fr; gap: 50px; align-items: start; margin-bottom: 70px; }
.section-heading .kicker { color: #d7909b; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.capability-list { border-top: 1px solid rgba(255,255,255,.16); }
.capability-row { position: relative; display: grid; grid-template-columns: 70px 1fr 1.2fr 72px; gap: 30px; align-items: center; min-height: 165px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .3s ease, padding .3s ease; }
.capability-row:hover { background: rgba(255,255,255,.035); padding-inline: 18px; }
.capability-number { color: #c7818c; font-size: .74rem; }
.capability-row h3 { margin: 0; font: 500 clamp(1.7rem, 3vw, 2.7rem)/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.capability-row p { margin: 0; max-width: 470px; color: rgba(255,255,255,.58); }
.round-arrow { width: 64px; height: 40px; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font: 500 .64rem "IBM Plex Mono", monospace; letter-spacing: .08em; transition: background .2s ease, color .2s ease; }
.capability-row:hover .round-arrow { background: white; color: var(--ink); }

.process { background-color: var(--cream); background-image: linear-gradient(90deg, rgba(18,22,23,.05) 1px, transparent 1px); background-size: 72px 100%; }
.process-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(70px, 10vw, 150px); }
.process-intro .section-marker { margin-bottom: 70px; }
.process-intro > p:not(.kicker) { max-width: 570px; color: var(--muted); font-size: 1.08rem; }
.process-intro .button { margin-top: 24px; }
.process-steps { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--wine); font: 600 .72rem "IBM Plex Mono", monospace; }
.process-steps strong { display: block; margin-bottom: 8px; font: 500 1.35rem "Manrope", sans-serif; }
.process-steps p { margin: 0; color: var(--muted); }

.credentials { background: var(--wine); color: white; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.23); border-left: 1px solid rgba(255,255,255,.23); }
.credential-card { min-height: 330px; padding: 34px; border-right: 1px solid rgba(255,255,255,.23); border-bottom: 1px solid rgba(255,255,255,.23); display: flex; flex-direction: column; transition: background .25s ease, color .25s ease; }
.credential-card:hover { background: white; color: var(--wine); }
.doc-type { min-height: 42px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.credential-card:hover .doc-type { color: rgba(108,8,24,.64); }
.credential-card h3 { margin: auto 0 8px; font: 500 2rem/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.credential-card p { margin: 0 0 38px; color: rgba(255,255,255,.7); }
.credential-card:hover p { color: rgba(108,8,24,.7); }
.document-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid currentColor; padding-top: 15px; font-size: .86rem; }
.credential-note { max-width: 720px; margin: 26px 0 0; color: rgba(255,255,255,.55); font-size: .78rem; }

.contact { position: relative; background: #111617; color: white; padding: 130px 0; overflow: hidden; }
.contact::after { content: "MFG / SURAT"; position: absolute; right: -10px; bottom: -32px; color: rgba(255,255,255,.025); font: 600 clamp(5rem, 12vw, 11rem)/1 "IBM Plex Mono", monospace; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 150px); }
.contact-copy p:last-child { max-width: 520px; color: rgba(255,255,255,.6); font-size: 1.05rem; }
.contact-actions { border-top: 1px solid rgba(255,255,255,.2); }
.contact-actions a { min-height: 126px; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 130px 1fr 28px; gap: 24px; align-items: center; transition: padding .25s ease, background .25s ease; }
.contact-actions a:hover { padding-inline: 18px; background: rgba(255,255,255,.035); }
.contact-actions span { color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.contact-actions strong { font: 500 clamp(1.1rem, 2vw, 1.65rem)/1.45 "Manrope", sans-serif; }

.site-footer { background: white; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 260px 1fr 240px; gap: 60px; align-items: start; }
.footer-grid > img { width: 210px; height: 105px; object-fit: contain; }
.footer-grid > p { max-width: 420px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.footer-links a:hover { color: var(--wine); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }

.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 90; height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 17px; background: #198754; color: white; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.2); font-weight: 600; font-size: .86rem; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.floating-whatsapp svg { width: 23px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  :root { --shell: min(100% - 36px, 760px); }
  .header-inner { min-height: 78px; }
  .brand { width: 144px; height: 58px; }
  .menu-button { display: grid; gap: 5px; background: transparent; border: 0; padding: 10px; cursor: pointer; }
  .menu-button span:not(.sr-only) { width: 25px; height: 1px; background: white; transition: transform .25s ease, opacity .25s ease; }
  .site-header.scrolled .menu-button span:not(.sr-only) { background: var(--ink); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 28px 18px 36px; background: #faf9f7; color: var(--ink); flex-direction: column; align-items: flex-start; gap: 24px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { border-color: var(--wine); color: var(--wine); }
  .hero { min-height: 700px; height: 90vh; }
  .hero-image { object-position: 65% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(10,14,15,.95), rgba(10,14,15,.72) 64%, rgba(10,14,15,.34)); }
  .unit-stamp { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(odd) { border-left: 1px solid var(--line); }
  .trust-grid div { border-bottom: 1px solid var(--line); }
  .section { padding: 95px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .fact-card { max-width: 420px; }
  .section-heading { grid-template-columns: 1fr; gap: 34px; }
  .capability-row { grid-template-columns: 45px 1fr 52px; padding: 30px 0; }
  .capability-row p { grid-column: 2 / 3; }
  .capability-row .round-arrow { grid-column: 3; grid-row: 1 / 3; }
  .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 70px; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-card { min-height: 270px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p { grid-column: 2; grid-row: 1; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 30px); }
  .hero { min-height: 680px; height: 92svh; }
  .hero-image { object-position: 70% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(10,14,15,.96), rgba(10,14,15,.78) 72%, rgba(10,14,15,.42)); }
  .hero-inner { padding-top: 85px; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .trust-grid div { padding: 18px; min-height: 104px; }
  .section { padding: 78px 0; }
  .about-copy h2, .section-heading h2, .process-intro h2, .contact h2 { font-size: 2.55rem; }
  .capability-row { grid-template-columns: 34px 1fr; gap: 16px; }
  .capability-row p { grid-column: 2; }
  .capability-row .round-arrow { display: none; }
  .process-intro .section-marker { margin-bottom: 48px; }
  .contact { padding: 90px 0; }
  .contact-actions a { min-height: 135px; grid-template-columns: 1fr 25px; gap: 8px 16px; padding: 24px 0; }
  .contact-actions span { grid-column: 1; }
  .contact-actions strong { grid-column: 1; }
  .contact-actions b { grid-column: 2; grid-row: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid > p, .footer-links { grid-column: 1; grid-row: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 52px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
}

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