/* ============================================
   Brands Design — Branding & Web Studio
   Design tokens
   ============================================ */
:root {
  --bg: #171512;
  --surface: #211e1a;
  --surface-alt: #2a2621;
  --ember: #c6451b;
  --ember-bright: #e2601f;
  --brass: #ad8a4e;
  --brass-light: #d4b878;
  --text: #f3ede2;
  --text-muted: #9c9488;
  --border: #3a352e;
  --border-light: #4a453c;

  --display: 'Fraunces', Georgia, serif;
  --body: 'IBM Plex Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-ember {
  background: var(--ember);
  color: #fff;
}
.btn-ember:hover { background: var(--ember-bright); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-outline:hover { border-color: var(--brass-light); color: var(--brass-light); }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 21, 18, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo .mark {
  color: var(--ember);
}
.logo-img {
  height: 70px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 1.5rem; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }
}

/* ---------- Section rhythm ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-border-top { border-top: 1px solid var(--border); }
.section-alt { background: var(--surface); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--brass-light);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-top: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  max-width: 14ch;
}
.hero-meta {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--ember);
  padding-left: 1.1rem;
  line-height: 1.9;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Stamp badges ---------- */
.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.stamp {
  flex: 1 1 200px;
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stamp:last-child { border-right: none; }
.stamp .num {
  font-family: var(--mono);
  color: var(--ember);
  font-size: 0.85rem;
}
.stamp .label {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-top: 0.4rem;
}

/* ---------- Grid of cards (specs, not soft-shadow cards) ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 2.5rem;
}
.spec {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spec h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.spec p { color: var(--text-muted); font-size: 0.98rem; }
.spec .tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--brass-light);
  margin-bottom: 0.8rem;
  display: block;
}

/* ---------- Process ---------- */
.process-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.process-item .idx { font-family: var(--mono); color: var(--ember); }
.process-item h4 { font-size: 1.25rem; }
.process-item p { color: var(--text-muted); }
@media (max-width: 700px) {
  .process-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- Pricing table ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}
.price-card {
  background: var(--surface);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.price-card.featured { background: #26201a; border-top: 2px solid var(--ember); }
.price-card .tier { font-family: var(--mono); font-size: 0.8rem; color: var(--brass-light); }
.price-card .amount { font-family: var(--display); font-size: 2.4rem; }
.price-card .amount span { font-family: var(--body); font-size: 0.95rem; color: var(--text-muted); }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.price-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.price-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ---------- Testimonial / quote ---------- */
.quote-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  margin-top: 3rem;
}
.quote-block blockquote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  max-width: 26ch;
  margin: 0;
}
.quote-block cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5rem) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18ch; }

/* ---------- Portfolio grid ---------- */
.work-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
}
.work-card {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 220px;
}
.work-card .swatch {
  width: 100%;
  height: 110px;
  border: 1px solid var(--border-light);
}
.work-card .k { font-family: var(--mono); font-size: 0.75rem; color: var(--brass-light); }
.work-card h3 { font-size: 1.25rem; }
.work-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}
textarea { resize: vertical; min-height: 130px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(4, 1fr);
  gap: 2.5rem;
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--brass-light);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a { text-decoration: none; color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* util */
.mt-lg { margin-top: 3rem; }
.center-narrow { max-width: 60ch; }
