:root {
  --ink: #141414;
  --graphite: #2a2a28;
  --accent: #f5b301;
  --accent-hover: #ffc533;
  --muted: #5c5c58;
  --bg: #fafaf7;
  --bg-alt: #f1f0ea;
  --line: #e6e5df;
  --radius: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); }
a:hover { color: var(--muted); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: .45em 1em; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--muted); }

/* Hero */
.hero {
  background: var(--graphite);
  color: #fff;
  padding: 88px 0 96px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; color: var(--accent); }
.hero h1 { max-width: 14ch; }
.lead { font-size: 1.15rem; max-width: 52ch; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); margin: 0; }


.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { margin: 0; display: grid; gap: 18px; }
.contact-list div { border-left: 3px solid var(--accent); padding-left: 16px; }
.contact-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list dd { margin: 2px 0 0; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer-inner p { margin: 0; }

.brand span { white-space: nowrap; }
html { scroll-padding-top: 72px; }
.menu-toggle, .mobile-bar { display: none; }
.contact-list dd a { white-space: nowrap; }

@media (max-width: 720px) {
  /* Header: hamburger menu */
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn-small { margin-top: 14px; padding: .8em 1.4em; font-size: 1rem; text-align: center; }

  /* Sticky bottom call/email bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  }
  .mobile-bar .btn { text-align: center; padding: .75em 1em; }
  .btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
  body { padding-bottom: 72px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .contact .btn { text-align: center; display: block; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
}

/* Hero grid */
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }

/* Freight */
.section-freight { background: var(--graphite); color: #fff; }
.section-freight .lead { color: rgba(255,255,255,.85); margin: 0; }
.freight { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Dark hero + product stack */
.hero-dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(245,179,1,.12), transparent 60%), var(--ink); }
.stack-card { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.stack-card li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.04); }
.stack-card strong { display: block; }
.stack-card small { color: rgba(255,255,255,.65); font-size: .88rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
.eyebrow-dark { color: var(--muted); }
.lead-muted { color: var(--muted); }

/* Products */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.work { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.work p { color: var(--muted); margin: 0; }
.work-head { display: flex; align-items: center; gap: 14px; }
.work-head h3 { margin: 0; font-size: 1.3rem; }
.work-head .work-sub { font-size: .9rem; }
.mark { background: var(--ink); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.work-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.work-link:hover { text-decoration: underline; }

.service-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.service-panel h3 { font-size: 1.4rem; }
.service-panel p { color: var(--muted); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.service-list li:last-child { border-bottom: 0; }

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .service-panel { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .work-grid { grid-template-columns: 1fr; }
}
