:root {
  --ink: #0a0a0a;
  --graphite: #171717;
  --paper: #f5f5f3;
  --white: #ffffff;
  --muted: #737373;
  --gold: #c5a46d;
  --gold-dark: #9d7d49;
  --line: rgba(10, 10, 10, 0.12);
  --dark-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(10, 10, 10, 0.1);
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: rgba(10, 10, 10, 0.92); color: var(--white); border-bottom: 1px solid var(--dark-line); backdrop-filter: blur(18px); }
.site-header.scrolled { position: fixed; inset: 0 0 auto; background: rgba(10, 10, 10, 0.96); box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font: 800 1.1rem/1 "Manrope", sans-serif; letter-spacing: 0.14em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; border-radius: 50%; background: var(--white); }
.brand-mark img { display: block; width: 54px; height: 54px; max-width: none; transform: translate(-9px, -8px); }
.brand-word { display: inline-flex; align-items: baseline; }
.brand span { color: var(--gold); }
.brand .brand-mark { color: initial; }
.brand small { margin-left: 8px; color: rgba(255, 255, 255, 0.55); font-size: 0.43rem; letter-spacing: 0.2em; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 0.78rem; }
.site-header nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 180ms ease; }
.site-header nav a:hover, .site-header nav a.is-active { color: var(--gold); }
.site-header nav a.button { color: var(--ink); }
.site-header nav a.button:hover { color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 21px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 0.7rem/1 "DM Sans", sans-serif; letter-spacing: 0.08em; text-decoration: none; cursor: pointer; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.button:disabled { cursor: wait; opacity: 0.55; transform: none; }
.button-small { min-height: 40px; padding: 11px 16px; }
.button-ghost { border-color: rgba(255, 255, 255, 0.36); background: transparent; color: var(--white); box-shadow: none; }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.eyebrow { color: var(--gold); font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-size: 0.77rem; letter-spacing: 0.08em; text-decoration: none; transition: gap 180ms ease, color 180ms ease; }
.text-link:hover, .arrow-link:hover { gap: 14px; color: var(--gold); }

section { padding: 116px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head h2, .split h2, .text-column h2, .contact-details h2, .form-layout h2 { max-width: 800px; margin: 12px 0 18px; font: 700 clamp(2.8rem, 5vw, 5.4rem)/0.94 "Manrope", sans-serif; letter-spacing: -0.075em; }
.section-head p { max-width: 360px; margin: 0; color: var(--muted); }

.page-hero { min-height: 390px; padding: 148px 0 68px; background: var(--ink); color: var(--white); }
.page-hero h1 { max-width: 900px; margin: 18px 0; color: var(--white); font: 700 clamp(3.7rem, 8vw, 8rem)/0.88 "Manrope", sans-serif; letter-spacing: -0.09em; }
.page-hero p { max-width: 500px; margin: 0; color: rgba(255, 255, 255, 0.65); font-size: 1.05rem; }

.split, .contact-layout, .form-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(48px, 8vw, 120px); }
.split p, .text-column p, .contact-details p, .form-layout p { color: var(--muted); }
.image-frame { min-height: 500px; background: url("../images/about.png") center / cover; box-shadow: var(--shadow); }
.big-year { margin: 40px 0 8px; color: var(--gold); font: 700 clamp(5rem, 12vw, 10rem)/0.8 "Manrope", sans-serif; letter-spacing: -0.1em; }
.dark-section { background: var(--graphite); color: var(--white); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: rgba(255, 255, 255, 0.62); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { position: relative; display: flex; min-height: 410px; flex-direction: column; justify-content: end; overflow: hidden; padding: 28px; background: #202020; color: var(--white); text-decoration: none; }
.product-card::after { position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.9)); content: ""; }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82); transition: transform 650ms ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card-content { position: relative; z-index: 1; }
.product-card h3 { margin: 0 0 9px; color: var(--white); font: 700 clamp(1.35rem, 2.4vw, 2.2rem)/0.95 "Manrope", sans-serif; letter-spacing: -0.05em; }
.product-card p { max-width: 310px; margin: 0 0 17px; color: rgba(255, 255, 255, 0.68); font-size: 0.9rem; }
.product-card .arrow-link { color: var(--gold); }

.process-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.process-item, .feature { min-height: 190px; padding: 26px; background: var(--paper); }
.process-item strong { color: var(--gold-dark); }
.process-item h3, .feature h3 { margin: 36px 0 8px; font: 700 1.2rem/1.05 "Manrope", sans-serif; }
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.feature:hover { background: var(--white); }

.form-card { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 0.76rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; background: var(--paper); color: var(--ink); font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 164, 109, 0.2); }
.form-status { margin: 16px 0 0; color: var(--muted); }
.form-status.is-success { color: #25734d; }
.form-status.is-error { color: #a33a32; }
.kicker { color: var(--gold-dark); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

.specifications-section { background: var(--paper); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.spec-card { padding: 28px; background: var(--white); }
.spec-card h3 { margin: 0 0 8px; font: 700 1.5rem/1 "Manrope", sans-serif; }
.spec-card p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.83rem; }
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { color: var(--muted); font-weight: 500; }

.certificate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.certificate { background: var(--white); }
.certificate-link { display: block; height: 100%; padding: 28px; text-decoration: none; }
.certificate-preview { display: grid; min-height: 260px; place-items: center; background: var(--paper); color: var(--gold-dark); transition: background 180ms ease; }
.certificate-link:hover .certificate-preview { background: #ebe4d6; }
.certificate-link h3 { margin: 24px 0 8px; font: 700 1.45rem/1 "Manrope", sans-serif; }
.certificate-link p { color: var(--muted); }

.contact-map iframe { display: block; width: 100%; min-height: 470px; border: 0; filter: grayscale(1) contrast(1.05); }
.contact-details strong { color: var(--ink); }
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font: 700 clamp(3rem, 7vw, 7rem)/0.9 "Manrope", sans-serif; letter-spacing: -0.08em; }
.cta-band .button { margin-top: 22px; }

.site-footer { padding: 76px 0 22px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.3fr; gap: 44px; }
.brand-footer { margin-bottom: 20px; }
.footer-lead { color: rgba(255, 255, 255, 0.52); font-size: 1.2rem; }
.site-footer h3 { margin: 0 0 16px; color: var(--gold); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer a { display: block; margin: 9px 0; color: rgba(255, 255, 255, 0.68); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: rgba(255, 255, 255, 0.58); font-size: 0.86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--dark-line); color: rgba(255, 255, 255, 0.42); font-size: 0.72rem; }
.footer-bottom a { display: inline; margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.home-page { background: var(--ink); color: var(--white); }
.home-page .site-header { position: fixed; inset: 0 0 auto; background: rgba(10, 10, 10, 0.42); }
.home-hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--ink); }
.home-hero-image, .home-hero-image img, .home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-image img { object-fit: cover; filter: saturate(0.7) contrast(1.1); transform: scale(1.04) translate(var(--parallax-x, 0), var(--parallax-y, 0)); }
.home-hero-shade { background: linear-gradient(90deg, rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.22)); }
.home-hero-content { position: relative; z-index: 1; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; padding-top: 80px; }
.hero-index { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: 0.67rem; letter-spacing: 0.18em; }
.hero-index span { width: 58px; height: 1px; background: var(--gold); }
.home-hero h1 { max-width: 900px; margin: 28px 0; color: var(--white); font: 700 clamp(4.2rem, 10vw, 10.5rem)/0.84 "Manrope", sans-serif; letter-spacing: -0.09em; }
.home-hero h1 em, .home-page em { color: var(--gold); font-style: normal; }
.hero-bottomline { display: flex; align-items: end; justify-content: space-between; max-width: 730px; }
.hero-bottomline p { max-width: 330px; margin: 0; color: rgba(255, 255, 255, 0.65); }
.circle-link { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); text-decoration: none; }
.material-section, .precision-section, .applications-section, .timeline-section { background: var(--paper); color: var(--ink); }
.material-layout, .precision-layout, .timeline-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 10vw; }
.material-heading h2, .story-intro h2, .precision-section h2, .applications-section h2, .timeline-section h2 { margin: 12px 0; font: 700 clamp(3.2rem, 7vw, 8rem)/0.86 "Manrope", sans-serif; letter-spacing: -0.09em; }
.material-copy, .precision-note { max-width: 390px; color: var(--muted); }
.material-track { display: flex; align-items: center; margin-top: 100px; overflow-x: auto; }
.material-node { display: grid; min-width: 100px; gap: 5px; color: #8b8b8a; }
.material-node.is-active { color: var(--ink); }
.material-node span, .material-node small { color: var(--gold-dark); font-size: 0.67rem; letter-spacing: 0.1em; }
.material-line { flex: 1; min-width: 24px; height: 1px; margin: 0 15px; background: #c8c8c4; }
.product-story { background: var(--ink); color: var(--white); }
.story-intro { margin-bottom: 58px; }
.story-intro h2, .manufacturing-head h2, .quality-section h2, .home-cta h2 { color: var(--white); }
.story-intro p { color: rgba(255, 255, 255, 0.6); }
.product-rail { display: flex; gap: 28px; overflow-x: auto; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); }
.product-rail a { flex: 0 0 auto; color: rgba(255, 255, 255, 0.58); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.product-rail a:hover { color: var(--gold); }
.feature-product { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 580px; margin-top: 72px; background: #141414; }
.feature-product:not(.feature-product-dark) { background: var(--paper); color: var(--ink); }
.feature-product-media { min-height: 520px; overflow: hidden; }
.feature-product-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform 800ms ease; }
.feature-product:hover img { transform: scale(1.045); }
.feature-product-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 82px); }
.product-number { color: var(--gold); font-size: 0.68rem; letter-spacing: 0.12em; }
.feature-product-copy h3 { margin: 20px 0; font: 700 clamp(2.6rem, 5vw, 5.5rem)/0.88 "Manrope", sans-serif; letter-spacing: -0.08em; }
.feature-product-copy p { max-width: 300px; color: rgba(255, 255, 255, 0.6); }
.feature-product:not(.feature-product-dark) .feature-product-copy p { color: var(--muted); }
.manufacturing-section, .quality-section, .home-cta { background: var(--graphite); color: var(--white); }
.manufacturing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 7vw; margin-top: 68px; }
.manufacturing-image { height: 560px; overflow: hidden; }
.manufacturing-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04) translate(var(--parallax-x, 0), var(--parallax-y, 0)); }
.manufacturing-steps { border-top: 1px solid var(--dark-line); }
.manufacturing-step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--dark-line); color: rgba(255, 255, 255, 0.45); }
.manufacturing-step.is-current, .manufacturing-step:hover { color: var(--white); }
.manufacturing-step span { color: var(--gold); }
.manufacturing-step p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.42); font-size: 0.85rem; }
.precision-stat { display: grid; gap: 14px; border-left: 1px solid var(--gold); padding-left: 26px; }
.precision-stat strong { font: 700 clamp(5rem, 11vw, 11rem)/0.8 "Manrope", sans-serif; letter-spacing: -0.1em; }
.precision-stat span { max-width: 180px; color: var(--muted); font-size: 0.8rem; }
.applications-grid { display: grid; grid-template-columns: 1.35fr 0.825fr 0.825fr; gap: 12px; margin-top: 60px; }
.application-tile { position: relative; display: flex; min-height: 400px; flex-direction: column; justify-content: end; overflow: hidden; padding: 26px; color: var(--white); text-decoration: none; }
.application-tile::after { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.88)); content: ""; }
.application-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.application-tile:hover img { transform: scale(1.06); }
.application-tile span, .application-tile strong { position: relative; z-index: 1; }
.application-tile span { color: var(--gold); font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase; }
.application-tile strong { margin-top: 7px; font: 700 1.3rem/1 "Manrope", sans-serif; }
.timeline-large { color: var(--ink); font: 700 clamp(1.8rem, 3.5vw, 3.8rem)/1 "Manrope", sans-serif; letter-spacing: -0.07em; }
.timeline-small { max-width: 380px; color: var(--muted); }
.home-cta { text-align: center; }
.home-cta h2 { font: 700 clamp(3.5rem, 8vw, 8rem)/0.86 "Manrope", sans-serif; letter-spacing: -0.09em; }
.home-cta p { max-width: 430px; margin-inline: auto; color: rgba(255, 255, 255, 0.6); }
.home-cta .actions { justify-content: center; }

.admin-page { min-height: 100vh; background: var(--paper); }
.admin-shell { width: min(1180px, calc(100% - 64px)); margin: auto; padding: 42px 0 80px; }
.admin-heading, .admin-dashboard-heading, .admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-brand { color: var(--ink); }
.admin-brand small { color: var(--muted); }
.admin-panel { margin-top: 64px; }
.admin-form { max-width: 480px; margin-top: 28px; }
.admin-table-wrap { overflow-x: auto; margin-top: 28px; background: var(--white); box-shadow: var(--shadow); }
.admin-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th, .admin-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.status-select, .table-action { padding: 7px 9px; border: 1px solid var(--line); background: var(--white); color: inherit; font: inherit; }
.table-action { cursor: pointer; }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 620px); }
  section { padding: 82px 0; }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-header nav { position: absolute; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 32px 30px; background: rgba(10, 10, 10, 0.98); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px 0; border-bottom: 1px solid var(--dark-line); }
  .site-header nav .button { justify-content: center; margin-top: 13px; }
  .page-hero { min-height: 340px; padding: 126px 0 56px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 6rem); }
  .section-head, .split, .contact-layout, .form-layout, .material-layout, .precision-layout, .timeline-layout, .manufacturing-grid, .feature-product { grid-template-columns: 1fr; align-items: start; gap: 38px; }
  .section-head { display: block; }
  .section-head p { margin-top: 20px; }
  .product-grid, .spec-grid, .certificate-grid, .process-grid, .feature-grid, .applications-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .product-card { min-height: 390px; }
  .feature-product-media, .feature-product-media img { min-height: 330px; height: 330px; }
  .feature-product-copy { min-height: 330px; padding: 38px 26px; }
  .manufacturing-image { height: 370px; }
  .material-track, .product-rail { overflow-x: auto; }
  .material-node { min-width: 90px; }
  .applications-grid { margin-top: 38px; }
  .application-tile { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: 8px 0; }
  .admin-shell { width: min(100% - 32px, 620px); padding-top: 28px; }
  .admin-heading, .admin-dashboard-heading, .admin-section-head { align-items: flex-start; flex-direction: column; }
}

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