/* ═══════════════════════════════════════════════════════════
   Alpha 101 Tools — Stylesheet
   Colors from logo: black #111, dark red #8C1C1C
═══════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

/* ── Variables ─────────────────────────────────────────── */
:root {
  --black:      #111111;
  --dark:       #1A1A1A;
  --red:        #8C1C1C;
  --red-hover:  #A82222;
  --white:      #FFFFFF;
  --off-white:  #F6F5F3;
  --gray-light: #EDECE9;
  --gray-mid:   #999999;
  --gray-text:  #555555;
  --border:     #E0DFDD;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;

  --nav-h:    72px;
  --pad-section: 96px;
  --container: 1160px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout helpers ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: var(--pad-section) 0; }

/* ── Typography helpers ────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: 56px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 3px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--full { width: 100%; }


/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(17,17,17,0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(17,17,17,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  padding: 8px 16px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 3px;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--red-hover) !important; color: var(--white) !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 75% 45%, rgba(140,28,28,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 85%, rgba(100,10,10,0.18) 0%, transparent 60%),
    linear-gradient(150deg, #0a0a0a 0%, #181818 55%, #0e0e0e 100%);
}

/* Subtle grid */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Hero graphic */
.hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 0 40px rgba(140,28,28,0.18));
}

@keyframes spin-cutter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-cutter-rotate {
  animation: spin-cutter 42s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cutter-rotate { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(10.5px, 0.75vw, 13px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: rgba(255,255,255,0.28);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, transparent 100%);
  animation: pulse-line 2.2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}


/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about__text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.78;
  margin-bottom: 18px;
}

.about__stats {
  display: flex;
  gap: 44px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 5px;
}
.stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* Image placeholder */
.about__visual { min-height: 380px; }
.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.about__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--gray-light);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.placeholder-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.placeholder-graphic {
  position: relative;
  width: 160px;
  height: 160px;
}
.pg-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(140,28,28,0.18);
}
.pg-ring--1 { width: 160px; height: 160px; }
.pg-ring--2 { width: 104px; height: 104px; border-color: rgba(140,28,28,0.28); }
.pg-ring--3 { width: 52px;  height: 52px;  border-color: rgba(140,28,28,0.42); background: rgba(140,28,28,0.06); }
.pg-cross {
  position: absolute;
  top: 50%; left: 50%;
  width: 160px; height: 160px;
  transform: translate(-50%, -50%);
}
.pg-cross::before, .pg-cross::after {
  content: '';
  position: absolute;
  background: rgba(140,28,28,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.pg-cross::before { width: 100%; height: 1px; }
.pg-cross::after  { width: 1px; height: 100%; }


/* ══════════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════════ */
.products { background: var(--off-white); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 36px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.product-card__icon {
  width: 46px;
  height: 46px;
  color: var(--red);
  margin-bottom: 22px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
  margin-bottom: 11px;
}
.product-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-card__tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__tags li {
  font-size: 12px;
  color: var(--gray-mid);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.product-card__tags li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 9px;
  top: 2px;
}


/* ══════════════════════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════════════════════ */
.industries { background: var(--black); }
.industries .section-label { color: var(--red); }
.industries .section-title { color: var(--white); }

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 52px;
}

.industry-card { background: #1c1c1c; overflow: hidden; }
.industry-card__img {
  height: 210px;
  overflow: hidden;
}
.industry-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}
.industry-card:hover .industry-card__img img { transform: scale(1.04); }
.industry-card__img--aerospace img {
  object-position: center bottom;
}
.industry-img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

/* Placeholder colour gradients — replace with <img> when photos are ready */
.industry-card__img--aerospace .industry-img-placeholder {
  background: linear-gradient(135deg, #111827 0%, #1e3a5f 60%, #0f2844 100%);
}
.industry-card__img--auto .industry-img-placeholder {
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 60%, #141414 100%);
}
.industry-card__img--general .industry-img-placeholder {
  background: linear-gradient(135deg, #1a0808 0%, #3d1010 60%, #1a0808 100%);
}

.industry-card__body { padding: 28px 26px 32px; }
.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.industry-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.68;
}


/* ══════════════════════════════════════════════════════════
   WHY
══════════════════════════════════════════════════════════ */
.why { background: var(--white); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 40px;
  margin-top: 52px;
}

.why-item__icon {
  width: 38px;
  height: 38px;
  color: var(--red);
  margin-bottom: 20px;
}
.why-item h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.why-item p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.68;
}


/* ══════════════════════════════════════════════════════════
   CATALOG
══════════════════════════════════════════════════════════ */
.catalog { background: var(--off-white); }

.catalog__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.catalog__text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.78;
  margin-bottom: 36px;
}

.catalog__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Decorative document graphic */
.catalog-doc { width: 200px; flex-shrink: 0; }

.catalog-doc__page {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 22px 24px;
  box-shadow: 6px 6px 0 var(--border), 12px 12px 0 rgba(0,0,0,0.04);
  position: relative;
}

.catalog-doc__lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.catalog-doc__lines div {
  height: 7px;
  background: var(--gray-light);
  border-radius: 2px;
}

.catalog-doc__badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
}

.catalog-doc__label {
  font-family: var(--font-heading);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  line-height: 1.9;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact { background: var(--dark); }
.contact .section-label { color: var(--red); }
.contact .section-title { color: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.78;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact__detail svg {
  width: 19px; height: 19px;
  color: var(--red);
  flex-shrink: 0;
}
.contact__detail a,
.contact__detail span {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.contact__detail a:hover { color: var(--white); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.required { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
}
.form-group select option { background: #2a2a2a; color: var(--white); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group select:invalid,
.form-group select option[value=""] { color: rgba(255,255,255,0.22); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-optional {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}
.form-notice {
  font-size: 14px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 3px;
  display: none;
}
.form-notice.success { display: block; background: rgba(60,180,60,0.12); border: 1px solid rgba(60,180,60,0.25); color: #6fcf6f; }
.form-notice.error   { display: block; background: rgba(180,60,60,0.12); border: 1px solid rgba(180,60,60,0.25); color: #f07070; }


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 44px;
}

.footer__brand img { height: 30px; margin-bottom: 16px; }
.footer__brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  max-width: 280px;
  line-height: 1.65;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 22px;
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .about__grid { gap: 56px; }
  .hero { min-height: auto; padding-bottom: 80px; }
}

@media (max-width: 768px) {
  :root { --pad-section: 64px; }

  .container { padding: 0 24px; }

  /* Nav */
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 13px 24px;
    font-size: 14px;
  }
  .nav__cta {
    margin: 8px 24px 0 !important;
    border-radius: 3px !important;
    text-align: center !important;
    padding: 12px 16px !important;
  }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { min-height: auto; order: -1; }
  .about__img-placeholder { min-height: 260px; }
  .about__stats { flex-wrap: wrap; gap: 28px; }

  /* Products */
  .products__grid { grid-template-columns: 1fr; }

  /* Industries */
  .industries__grid { grid-template-columns: 1fr; gap: 2px; }

  /* Why */
  .why__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Catalog */
  .catalog__inner { grid-template-columns: 1fr; gap: 40px; }
  .catalog-doc { display: none; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links ul { text-align: left; }

  /* Hero */
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 40px); min-height: auto; padding-bottom: 64px; }
  .hero__content { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .hero__graphic { display: none; }
  .hero__title { font-size: clamp(42px, 13vw, 68px); }
  .hero__scroll { display: none; }

  /* Logo */
  .nav__logo img { height: 30px; max-width: 170px; object-fit: contain; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .why__grid { grid-template-columns: 1fr; }
}
