/* yantrik.online — v2 "workshop" design
   Palette: charcoal #2C2C2A · cream #F2EEE6 · index red #C03A2E · hairline #D8D2C5 · faint #888780
   Motif: the red index tick + concentric machined ridges (like the knob face). */

@font-face {
  font-family: "Inter var";
  src: url("/assets/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #2C2C2A;
  --charcoal-2: #232321;
  --cream: #F2EEE6;
  --cream-2: #EAE5DA;
  --ink: #2C2C2A;
  --muted: #5F5E5A;
  --faint: #888780;
  --hairline: #D8D2C5;
  --red: #C03A2E;
  --red-dark: #A62F25;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter var", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- shared bits ---------- */
.red-tick {
  display: inline-block; width: 4px; height: 1.05em; background: var(--red);
  vertical-align: -0.18em; margin-right: 0.65em;
}
.section-no {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 18px;
}
.section-no.light { color: #E08A80; }

.btn {
  display: inline-block; padding: 14px 28px; font-size: 15px; font-weight: 650;
  letter-spacing: 0.02em; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: 0.85; }
.btn-ghost:hover { opacity: 1; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(44,44,42,0.94); backdrop-filter: blur(8px);
  color: var(--cream);
  border-bottom: 1px solid rgba(242,238,230,0.08);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 30px; height: auto; }
.brand-wordmark { font-weight: 650; letter-spacing: 0.18em; font-size: 15px; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.site-nav a {
  color: inherit; text-decoration: none; font-size: 14px; font-weight: 550;
  letter-spacing: 0.06em; opacity: 0.85;
}
.site-nav a:hover { opacity: 1; }
.site-nav .nav-cta {
  border: 1.5px solid var(--red); color: #fff; background: var(--red);
  padding: 8px 18px; opacity: 1;
}
.site-nav .nav-cta:hover { background: var(--red-dark); }

/* ---------- hero ---------- */
.hero {
  background:
    repeating-radial-gradient(circle at 78% 30%,
      rgba(242,238,230,0.045) 0 1.5px, transparent 1.5px 26px),
    linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: var(--cream);
  padding: clamp(64px, 10vw, 130px) clamp(20px, 5vw, 56px);
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-kicker {
  font-size: 15px; letter-spacing: 0.04em; color: var(--faint); margin-bottom: 26px;
}
.hero-kicker em { color: var(--cream); font-style: italic; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04; font-weight: 830; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: 18px; color: #C9C5BB; max-width: 46ch; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badge { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  width: 100%; height: auto; display: block;
  background: #fff; border: 1px solid rgba(242,238,230,0.12);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,0.55);
  transform: rotate(-1.5deg);
}
.hero-photo figcaption {
  margin-top: 18px; font-size: 14px; color: var(--faint);
}

/* ---------- sections ---------- */
.section {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px);
}
.section h2, .manifesto h2, .teaser h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.section-lede { font-size: 18px; color: var(--muted); max-width: 62ch; margin-bottom: 48px; }

/* product cards */
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px);
  margin-bottom: 56px;
}
.product-card {
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 14px 34px -22px rgba(44,44,42,0.35);
}
.product-photo { width: 100%; height: auto; display: block; border-bottom: 3px solid var(--red); }
.product-card-body { padding: 26px 28px 30px; }
.product-card h3 { font-size: 19px; font-weight: 750; margin-bottom: 10px; }
.product-card p { color: var(--muted); font-size: 16px; }

/* spec strip */
.spec-strip {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.spec-strip li {
  border-top: 3px solid var(--red); background: var(--cream-2);
  padding: 18px 18px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.5;
}
.spec-strip strong {
  display: block; color: var(--ink); font-size: 16px; font-weight: 750; margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* ---------- steel-arm teaser ---------- */
.teaser {
  background:
    repeating-linear-gradient(-45deg, rgba(242,238,230,0.035) 0 2px, transparent 2px 18px),
    var(--charcoal-2);
  color: var(--cream);
}
.teaser-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px);
}
.teaser p { color: #C9C5BB; max-width: 62ch; font-size: 18px; }

/* ---------- manifesto ---------- */
.manifesto {
  background: var(--charcoal); color: var(--cream);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px);
}
.manifesto .principles {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
}
.manifesto .section-no { max-width: 1180px; margin: 0 auto 42px; }
.principle-no {
  display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 850; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242,238,230,0.35);
  margin-bottom: 16px;
}
.principle h3 {
  font-size: 19px; font-weight: 750; margin-bottom: 10px;
  border-left: 4px solid var(--red); padding-left: 12px;
}
.principle p { color: #C9C5BB; font-size: 16px; }

/* ---------- form ---------- */
.contact-form { max-width: 480px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 8px; color: var(--ink);
}
.form-row .optional { color: var(--faint); font-weight: 500; letter-spacing: 0.06em; text-transform: none; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px;
  background: #fff; border: 1.5px solid var(--hairline); color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red);
}
.botcheck { display: none !important; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--muted); min-height: 1.4em; }
.contact-alt { margin-top: 34px; color: var(--muted); font-size: 16px; }
.contact-alt a { color: var(--ink); font-weight: 650; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal); color: var(--faint);
  padding: 40px clamp(20px, 5vw, 56px); text-align: center; font-size: 14px;
}
.site-footer .brand-wordmark { color: var(--cream); font-size: 13px; }
.site-footer .fine { margin-top: 8px; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .manifesto .principles { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
  .spec-strip { grid-template-columns: 1fr; }
}
