/* ============================================================
   Renewline Industrial — Group Standard stylesheet
   Fixed bones (typography, neutrals, layout grammar, components)
   + Renewline division skin (steel-navy).
   ============================================================ */

:root {
  /* Shared neutrals — fixed for every division */
  --bone:         #F4F2EC;
  --white:        #FCFBF8;
  --border:       #E3DFD5;
  --border-light: #EEEBE3;
  --graphite:     #4F524B;
  --muted:        #6E7268;
  --ink:          #1C201E;

  /* Renewline division palette */
  --primary:       #16262F; /* anthracite — expensive dark */
  --primary-brand: #2C4E5C; /* steel — brand mid-tone */
  --secondary:     #2C5D48; /* efficiency green — technical accent */
  --accent:        #96631A; /* amber-bronze — reserved metallic, CTA only */
  --tint:          #C9D3D7; /* pale steel — quiet tint */
  --tint-ink:      #22333A; /* text on tint */

  --maxw: 1160px;
  --fs-body: 15px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Newsreader", Georgia, serif;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 500; line-height: 1.16; }
h3 { font-size: 1.24rem; font-weight: 500; line-height: 1.3; }

h1 em, h2 em, h3 em { font-style: italic; }

p { margin: 0 0 1.1rem; max-width: 60ch; }
a { color: var(--primary-brand); text-decoration: none; }
img, svg { display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 3rem;
}

.section { padding: 6rem 0; }
.section--bone { background: var(--bone); }
.section--dark { background: var(--primary); }
.section--tight { padding: 4rem 0; }

.section-head { max-width: 52ch; margin-bottom: 2.75rem; }
.section--dark .section-head h2,
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.74); }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}
.section--dark .eyebrow { color: var(--tint); }

.lead { font-size: 1.05rem; color: var(--graphite); }

/* ---------- Signature: the amber line ---------- */
.rule-line {
  height: 1px;
  background: var(--accent);
  width: 56px;
  margin: 0 0 1.75rem;
}
.rule-line--draw {
  width: 0;
  animation: draw 1.1s cubic-bezier(.2,.7,.2,1) forwards .25s;
}
@keyframes draw { to { width: 56px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #7f5415; }
.btn-brand { background: var(--primary-brand); color: #fff; }
.btn-brand:hover { background: #21414d; }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: #fff; }

/* ---------- Arrow links ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-brand);
}
.arrow-link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link { color: var(--tint); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 3rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem;
}
.brand { flex-shrink: 0; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: "Newsreader", serif;
  font-size: 1.5rem; font-weight: 500; color: var(--ink);
  letter-spacing: -.01em;
}
.brand-word .ln { color: var(--accent); }
.brand-sub {
  font-family: "Inter", sans-serif;
  font-size: 9.5px; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav-right { display: flex; align-items: center; gap: 2.25rem; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--graphite);
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; padding: 6px; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 560px;
}
.hero-left {
  background: var(--primary);
  padding: 5rem clamp(1.5rem, 6vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-left .container-inner { max-width: 560px; width: 100%; }
.hero-left .eyebrow { color: var(--tint); }
.hero-left h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-left h1 em { color: var(--tint); }
.hero-left p { color: rgba(255,255,255,.76); font-size: 1.02rem; }
.hero-tag {
  font-family: "Newsreader", serif; font-style: italic;
  color: var(--tint); font-size: 1.05rem; margin: .25rem 0 2rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: .5rem; }

.hero-right {
  background: var(--bone);
  padding: 4rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-right .container-inner { max-width: 460px; }
.cap-caption {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 1.5rem 0 1.25rem;
}
.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.cap-row {
  display: grid; grid-template-columns: 32px 1fr; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--border); align-items: start;
}
.cap-row .ic { color: var(--primary-brand); opacity: .72; margin-top: 2px; }
.cap-row .ic svg { width: 24px; height: 24px; }
.cap-row h4 { font-family: "Inter", sans-serif; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 2px; letter-spacing: 0; }
.cap-row span { font-size: 13px; color: var(--muted); }

/* line-art frame */
.lineart {
  width: 100%; height: auto; color: var(--primary-brand);
  border: 1px solid var(--border); background: var(--white);
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--primary-brand); }
.trust-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-cell {
  padding: 1.4rem 2rem;
  border-right: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; gap: .85rem;
}
.trust-cell:last-child { border-right: none; }
.trust-cell .ic { color: rgba(255,255,255,.55); flex-shrink: 0; }
.trust-cell .ic svg { width: 18px; height: 18px; }
.trust-cell span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72); line-height: 1.4;
}

/* ---------- Hairline card grid ---------- */
.hairline-grid {
  background: var(--border);
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.hairline-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hairline-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  transition: background .18s ease;
}
.card:hover { background: var(--bone); }
.card .ic { color: var(--primary-brand); opacity: .72; margin-bottom: 1.25rem; }
.card .ic.tech { color: var(--secondary); opacity: .85; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: 13.5px; color: var(--muted); margin-bottom: 1.25rem; }
.card .arrow-link { margin-top: auto; }
.card .card-index {
  font-family: "Newsreader", serif; font-size: 13px; color: var(--muted);
  letter-spacing: .1em; margin-bottom: 1rem;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step-num {
  font-family: "Newsreader", serif; font-size: 46px; font-weight: 400;
  color: var(--border); line-height: 1; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Feature block ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.feature-panel {
  background: var(--primary); color: #fff; padding: 3.5rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.feature-panel .eyebrow { color: var(--tint); }
.feature-panel h2, .feature-panel h3 { color: #fff; }
.feature-panel p { color: rgba(255,255,255,.76); }
.feature-panel--secondary {
  background: var(--secondary);
  align-items: center; justify-content: center; padding: 2.5rem;
}
.feature-art { width: 100%; height: auto; color: rgba(255,255,255,.85); }

.feature.reverse .feature-panel--secondary { order: -1; }

/* spec list */
.spec-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.spec-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: .75rem;
  padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px; color: rgba(255,255,255,.82);
}
.spec-list .ic { color: var(--tint); }
.spec-list .ic svg { width: 16px; height: 16px; margin-top: 3px; }

/* light spec list (on white) */
.spec-light { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 46ch; }
.spec-light li {
  display: grid; grid-template-columns: 20px 1fr; gap: .75rem;
  padding: .7rem 0; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--graphite);
}
.spec-light .ic { color: var(--secondary); }
.spec-light .ic svg { width: 16px; height: 16px; margin-top: 3px; }

/* ---------- Math / figure blocks (Why it pays) ---------- */
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.math-panel { background: var(--white); padding: 2.5rem 2.25rem; }
.math-panel h3 { margin-bottom: 1rem; }
.formula {
  font-family: "Newsreader", serif; font-size: 1.1rem; color: var(--primary-brand);
  background: var(--bone); border-left: 2px solid var(--accent);
  padding: 1rem 1.25rem; margin: 1.25rem 0; line-height: 1.5;
}
.figure {
  font-family: "Newsreader", serif; font-size: 2.4rem; color: var(--ink);
  line-height: 1; margin: .25rem 0;
}
.figure .unit { font-size: 1rem; color: var(--muted); }
.illustrative {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 1rem;
}

/* levers table (hairline) */
.levers { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.levers th, .levers td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.levers th { font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.levers td:first-child { color: var(--ink); font-weight: 500; }
.levers td { color: var(--graphite); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); }
.cta-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-inner h2 { color: #fff; max-width: 22ch; }
.cta-inner .eyebrow { color: var(--tint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.6); padding: 4.5rem 0 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word .ln { color: var(--accent); border-bottom: 1px solid var(--accent); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 13.5px; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tint); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-fine { padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.42); }

/* ---------- Form ---------- */
.form-wrap { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .55rem;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: "Inter", sans-serif; font-size: 14px; color: var(--ink);
  background: var(--bone); border: 1px solid var(--border);
  padding: 12px 14px; width: 100%;
  transition: border-color .16s ease, background .16s ease;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-brand); background: var(--white);
}
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .5rem; margin-top: .25rem; }
.check { display: flex; align-items: center; gap: .6rem; font-size: 13px; color: var(--graphite); }
.check input { width: auto; background: transparent; padding: 0; accent-color: var(--primary-brand); }
.form-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); max-width: 40ch; }
.contact-aside { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 2rem; display: flex; gap: 3rem; flex-wrap: wrap; }
.contact-aside .blk h4 { font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .5rem; }
.contact-aside .blk a, .contact-aside .blk span { font-size: 14px; color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 1.5rem; }
  .hero-left .container-inner { padding-right: 0; max-width: 100%; }
  .hairline-grid, .hairline-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(2) { border-right: none; }
  .feature, .math-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-panel--secondary { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container, .nav-inner, .cta-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section { padding: 4rem 0; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border); padding: .5rem 1.5rem 1.5rem;
  }
  .site-nav.open .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--border-light); }
  .site-nav.open .nav-right .btn { display: inline-flex; margin: 1rem 1.5rem 1.25rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-grid, .check-group { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hairline-grid, .hairline-grid.cols-4, .steps, .trust-grid, .footer-top { grid-template-columns: 1fr; }
  .trust-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rule-line--draw { width: 56px; }
}

:focus-visible { outline: 2px solid var(--primary-brand); outline-offset: 3px; }

/* ---------- Logo image (replaces typed wordmark) ---------- */
.brand-logo { height: 42px; width: auto; display: block; }
.footer-brand .brand-logo { height: 48px; margin-bottom: .5rem; }
@media (max-width: 768px){ .brand-logo { height: 34px; } }

/* ---------- Partner qualifying gate ---------- */
.partner-gate { background: var(--bone); border-bottom: 1px solid var(--border); }
.partner-gate .gate-inner {
  max-width: var(--maxw); margin: 0 auto; padding: .85rem 3rem;
  display: flex; gap: .5rem 1rem; align-items: center; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
.partner-gate .gate-inner .ic { color: var(--primary-brand); opacity: .7; display: inline-flex; }
.partner-gate .gate-inner .ic svg { width: 15px; height: 15px; }
.partner-gate strong { color: var(--ink); font-weight: 600; }
.partner-gate a { color: var(--primary-brand); font-weight: 600; }
.partner-gate a:hover { text-decoration: underline; }
@media (max-width:768px){ .partner-gate .gate-inner { padding: .8rem 1.5rem; } }

/* ---------- Preferred partner network module (conversion) ---------- */
.network-wrap { border: 1px solid rgba(200,154,78,.45); padding: 3.25rem 3rem; max-width: 880px; margin: 0 auto; text-align: center; }
.network-wrap .rule-line { margin: 0 auto 1.75rem; }
.network-wrap .eyebrow { color: var(--tint); }
.network-wrap h2 { color: #fff; max-width: 24ch; margin: 0 auto 1.15rem; }
.network-wrap p.net-sub { color: rgba(255,255,255,.76); max-width: 54ch; margin: 0 auto 1.9rem; }
.net-benefits { list-style: none; margin: 0 auto 1.9rem; padding: 0; max-width: 560px; text-align: left; }
.net-benefits li { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.86); }
.net-benefits li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.net-benefits .ic { color: var(--tint); } .net-benefits .ic svg { width: 18px; height: 18px; margin-top: 2px; }
.scarcity { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #CB9E52; margin: 0 0 1.6rem; }
.network-wrap .btn-accent { font-size: 13px; padding: 17px 36px; }
.net-reassure { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 1.2rem 0 0; }
@media (max-width:768px){ .network-wrap { padding: 2.5rem 1.4rem; } }

/* ---------- Footer supplier button (discreet partner entry) ---------- */
.footer-supplier-btn { margin-top: 1.5rem; padding: 11px 22px; font-size: 11px; }

/* ---------- Nav breathing room at mid widths ---------- */
@media (max-width: 1080px) {
  .nav-inner { padding: 0 2rem; gap: 2rem; }
  .nav-right { gap: 1.5rem; }
  .nav-links { gap: 1.35rem; }
  .nav-links a { letter-spacing: .1em; }
  .site-nav .btn-brand { padding: 13px 18px; letter-spacing: .1em; }
  .brand-logo { height: 38px; }
}
@media (max-width: 900px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 10.5px; letter-spacing: .08em; }
  .site-nav .btn-brand { padding: 12px 14px; font-size: 11px; }
  .brand-logo { height: 34px; }
}
