/* mtlbrands.com — corporate site
   Three static pages. No JS, no external requests, no tracking. */

:root {
  --ink:      #14181d;
  --ink-soft: #48525e;
  --line:     #e2e6ea;
  --bg:       #ffffff;
  --bg-alt:   #f6f8f9;
  --accent:   #1c5c4a;
  --measure:  38rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;

  /* Push the footer to the bottom on short pages instead of leaving it
     stranded mid-screen. dvh handles mobile browsers whose address bar
     shrinks the viewport. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 4.5rem 0;
}

.hero h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero p {
  margin: 1.5rem 0 0;
  max-width: var(--measure);
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */

main { padding: 3.5rem 0 4rem; flex: 1 0 auto; }

section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

p { margin: 0 0 1rem; max-width: var(--measure); }

p:last-child { margin-bottom: 0; }

main a { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  /* Deep bottom padding on purpose: leaves dead space below the last line so a
     taskbar or mobile browser chrome overlapping the viewport edge never covers
     content, and the page reads as "ended" rather than cut off. */
  padding: 2rem 0 6rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.site-footer p { max-width: none; margin: 0 0 0.4rem; }

.site-footer a { color: var(--ink-soft); }

@media (max-width: 34rem) {
  .hero { padding: 3rem 0; }
  main  { padding: 2.5rem 0 3rem; }
  .site-nav { gap: 1.25rem; }
}
