:root {
  --bg: #0A0A0B;
  --bg-alt: #0F1012;
  --surface: #141518;
  --surface-2: #1A1C20;
  --line: #24272D;
  --line-strong: #33373F;
  --text: #D9DDE2;
  --muted: #8F98A3;
  --head: #FFFFFF;
  --teal: #2ED3B7;
  --teal-dim: #00A38C;
  --radius: 10px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--head); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
::selection { background: var(--teal); color: #000; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-primary { background: var(--teal); color: #04110F; }
.btn-primary:hover { background: #5BE0C9; box-shadow: 0 0 0 4px rgba(46,211,183,.15); }
.btn-ghost { border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .92rem; transition: color .15s; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  color: var(--text);
  padding: 112px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(46,211,183,.12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 40%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; }
.hero h1 { color: #fff; }
.lead { font-size: 1.15rem; max-width: 34em; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual {
  width: 115%; max-width: none; justify-self: start;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}

/* Sections */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-alt); }
.section-intro { max-width: 40em; color: var(--muted); font-size: 1.08rem; margin-bottom: 56px; }

.icon {
  width: 44px; height: 44px; padding: 10px;
  border-radius: 8px;
  background: rgba(46,211,183,.06);
  border: 1px solid rgba(46,211,183,.2);
  fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 20px;
}

/* Process steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
}
.step + .step { border-left: 1px solid var(--line); }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step-num {
  position: absolute; top: 30px; right: 28px;
  font-family: var(--font-head); font-weight: 500; font-size: .85rem;
  letter-spacing: .1em;
  color: var(--line-strong);
}

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.product:hover { border-color: var(--line-strong); }
.product-media {
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
}
.product-media:empty {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    #0C0D0F;
}
.product-media:empty::after {
  content: attr(data-label) " \2014  photo coming soon";
  color: var(--muted);
  font-size: .85rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: .5em 1em; border-radius: 6px;
}
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 28px 30px 32px; }
.product-body p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .76rem; font-weight: 500; letter-spacing: .02em;
  padding: .3em .75em; border-radius: 4px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line);
}
.tags .tag-accent { background: rgba(46,211,183,.08); color: var(--teal); border-color: rgba(46,211,183,.3); }
.product-text { justify-content: center; }
.product-custom {
  justify-content: center;
  border-color: rgba(46,211,183,.35);
  background:
    radial-gradient(ellipse 80% 90% at 100% 0%, rgba(46,211,183,.14), transparent 60%),
    var(--surface);
}
.product-custom h3 { font-size: 1.5rem; font-weight: 700; }
.product-custom p { color: var(--muted); }

/* Supplied to customers */
.supplied { margin-top: 96px; }
.supplied h3 { font-size: 1.6rem; font-weight: 700; }
.supplied .section-intro { margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.gallery figure:hover { border-color: var(--line-strong); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #000; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 20px 24px 24px; border-top: 1px solid var(--line); position: relative; background: var(--surface); }
.gallery figcaption strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--head); margin-bottom: 6px; }
.gallery figcaption p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.flip-media { position: relative; overflow: hidden; }
.flip-media img:nth-child(2) { position: absolute; inset: 0; opacity: 0; transition: opacity .4s, transform .4s; }
.flip:hover .flip-media img:nth-child(2), .flip:focus .flip-media img:nth-child(2) { opacity: 1; }
.gallery .phone-inset {
  position: absolute; right: 4%; bottom: 6%;
  width: auto; height: 40%; aspect-ratio: auto;
  border: 2px solid #2A2D33; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  transform-origin: bottom right;
  cursor: zoom-in;
  z-index: 1;
}
.gallery .app-inset { height: auto; width: 40%; }
.inset-media { position: relative; overflow: hidden; }
.gallery figure:hover .phone-inset { transform: none; }
.gallery figure .phone-inset:hover { transform: scale(2.2); }
.flip:focus { outline: none; border-color: var(--teal); }
.gallery figcaption span { float: right; margin-top: .3em; font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.industry { padding: 32px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.industry p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.about p:not(.eyebrow) { font-size: 1.08rem; color: var(--text); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list strong { font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-list a { color: #fff; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--teal); }
.placeholder { background: rgba(255,200,0,.15); color: #FFD966; padding: 0 .3em; border-radius: 3px; align-self: flex-start; }

.contact-form {
  display: grid; gap: 18px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 500; font-size: .85rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 1rem;
  padding: .75em .9em;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg); color: #fff;
  width: 100%;
  transition: border-color .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,211,183,.15); }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 12px 16px; border-radius: 6px; font-weight: 500; }
.form-status.ok { background: rgba(46,211,183,.1); color: var(--teal); border: 1px solid rgba(46,211,183,.3); }
.form-status.err { background: rgba(255,90,90,.1); color: #FF8A8A; border: 1px solid rgba(255,90,90,.3); }

/* Footer */
.site-footer { background: #000; color: var(--muted); padding: 40px 0; font-size: .88rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step { border-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; justify-self: center; max-width: 560px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .steps, .products, .industries, .about, .contact, .field-row, .gallery { grid-template-columns: 1fr; }
  .step:nth-child(even) { border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .about, .contact { gap: 24px; }
  .contact-form { padding: 22px; }
}
