/* ═══════════════════════════════════════════════════════════
   ETG SITE — v2 DESIGN SYSTEM
   Barlow Condensed + Share Tech Mono · 1px rules · grain
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f0ede8;
  --bg2:       #e8e4de;
  --bg3:       #ddd9d2;
  --white:     #faf9f7;
  --ink:       #1a1916;
  --ink2:      #3d3a35;
  --ink3:      #7a7570;
  --rule:      #c4bfb8;
  --rule-lt:   #d8d4cd;
  --red:       #c5492a;
  --red-dk:    #9a3318;
  --nav-h:     80px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 500;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--ink3);
  letter-spacing: .05em;
  border-left: 1px solid var(--rule);
  padding-left: 14px;
  line-height: 1.4;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink2);
  text-decoration: none;
  transition: color .25s;
  position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--red);
}

/* ── PRODUCTS DROPDOWN ── */
.nav-has-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-dropdown-toggle .nav-caret { display: inline-block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; opacity: .7; }
.nav-has-dropdown:hover .nav-dropdown-toggle .nav-caret { transform: rotate(225deg) translateY(-2px); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--red);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 18px 40px -16px rgba(26,25,22,.28);
  z-index: 600;
}
.nav-dropdown::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink2);
  white-space: nowrap;
  transition: background .18s, color .18s, padding .18s;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--red); padding-left: 28px; }
.nav-dropdown a .nav-dd-num { font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: .12em; color: var(--ink3); }
.nav-dropdown a:hover .nav-dd-num { color: var(--red); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 10px 24px;
  text-decoration: none;
  transition: background .25s;
}
.nav-cta:hover { background: var(--red-dk); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); display: block; }

@media (max-width: 1024px) {
  nav.site-nav { padding: 0 24px; }
  .nav-logo-tag { display: none; }
  .nav-links { gap: 22px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 24px;
    gap: 20px;
  }
  /* Mobile: show product dropdown inline, no hover needed */
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--red);
    border-top: none;
    min-width: 0;
    padding: 8px 0 4px;
    margin: 8px 0 0 4px;
    background: transparent;
  }
  .nav-dropdown a { padding: 8px 16px; font-size: 14px; }
  .nav-dropdown a:hover { background: transparent; padding-left: 18px; }
  .nav-dropdown-toggle .nav-caret { display: none; }
}

/* ── BUTTONS ── */
.btn-solid {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 13px 28px;
  text-decoration: none;
  transition: background .25s;
  white-space: nowrap;
  display: inline-block;
  border: none;
  
}
.btn-solid:hover { background: var(--red); }

.btn-line {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 12px 28px;
  text-decoration: none;
  transition: border-color .25s, color .25s;
  white-space: nowrap;
  display: inline-block;
  background: transparent;
  
}
.btn-line:hover { border-color: var(--ink); color: var(--red); }

.btn-solid-light {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 13px 28px;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: inline-block;
}
.btn-solid-light:hover { background: var(--red); color: var(--white); }

.btn-red {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 13px 28px;
  text-decoration: none;
  transition: background .25s;
  display: inline-block;
  border: none;
  
}
.btn-red:hover { background: var(--red-dk); }

/* ── SECTION UTILS ── */
.s-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--red);
  display: block;
  flex-shrink: 0;
}
.s-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.0;
  color: var(--ink);
}
.s-title em {
  font-style: italic;
  color: var(--red);
  font-weight: 200;
}
.s-title .outline {
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
}

.h-large {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 200;
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.h-large em { font-style: italic; color: var(--red); font-weight: 200; }
.h-large .outline { -webkit-text-stroke: 1px var(--ink); color: transparent; }

.mono {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── PAGE BANNER (interior pages) ── */
.page-banner {
  margin-top: var(--nav-h);
  background: var(--white);
  padding: 80px 48px 56px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-banner-crumbs {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-banner-crumbs a { text-decoration: none; transition: color .2s; }
.page-banner-crumbs a:hover { color: var(--red); }
.page-banner-crumbs span { color: var(--ink); }
.page-banner-meta {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.78;
  max-width: 420px;
}
@media (max-width: 768px) {
  .page-banner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 40px; }
}

/* ── FOOTER ── */
footer.site-footer {
  background: var(--ink);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding: 56px 48px;
  gap: 56px;
  border-bottom: 1px solid rgba(240,237,232,.08);
}
.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 20px;
}
.footer-brand-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(240,237,232,.4);
  letter-spacing: .08em;
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-brand-body {
  font-size: 13px;
  color: rgba(240,237,232,.55);
  line-height: 1.78;
  max-width: 320px;
}
.footer-col-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240,237,232,.1);
}
.footer-list { list-style: none; }
.footer-list li {
  padding: 6px 0;
}
.footer-list a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,237,232,.5);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.footer-list a:hover { color: var(--bg); padding-left: 4px; }
.footer-contact-item { padding: 8px 0; }
.footer-contact-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(240,237,232,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-contact-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .04em;
  color: rgba(240,237,232,.7);
}
.footer-bottom {
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(240,237,232,.3);
  letter-spacing: .08em;
}
.footer-policy {
  display: flex; gap: 24px; list-style: none;
}
.footer-policy a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  text-decoration: none;
  transition: color .25s;
}
.footer-policy a:hover { color: rgba(240,237,232,.8); }
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }

/* ═══════════════ NAV LOGO MARK (IMAGE) ═══════════════ */
.nav-logo-mark {
  display: flex;
  align-items: center;
  height: 60px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-logo-mark { height: 42px; }
}

/* ═══════════════ NEW FOOTER MARKUP ═══════════════ */
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo { display: inline-flex; align-items: center; max-width: 260px; }
.footer-logo img { width: 100%; height: auto; display: block; filter: brightness(1.05); }
.footer-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: rgba(240,237,232,.4);
  letter-spacing: .08em;
  line-height: 1.6;
  text-transform: uppercase;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240,237,232,.1);
  font-weight: normal;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,237,232,.55);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--bg); padding-left: 4px; }
.footer-loc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: rgba(240,237,232,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.7;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(240,237,232,.08);
}
