/* base.css — shared by every page. Tokens, type, nav, buttons, footer.
   Change a brand colour here and it changes everywhere. */
@font-face{font-family:'Oswald';font-style:normal;font-weight:200 700;font-display:swap;src:url(../fonts/oswald-variable.woff2) format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-400.woff2) format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-500.woff2) format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-600.woff2) format('woff2');}

/* Layout: ink hero carrying both halves of the mission, then a 2-up division
   split that stacks on phones with the homeowner panel first.
   Single-theme by intent -- this is a brand page. Fonts are embedded, so the
   page never falls back to a system face. */
:root {
  --ink: #0B0906;
  --panel: #171310;
  --paper: #F2F0E6;
  --chip-paper: #E4E0D1;
  --bone: #EDE9DE;
  --yellow: #F3B919;
  --amber: #8A6404;
  --body-paper: #4A453B;
  --strong-paper: #2A261F;
  --quiet-paper: #6B665C;
  --display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --text: "Barlow", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }

.eyebrow {
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}

.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- contact bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100%; min-height: 52px; padding: 13px 20px;
  background: var(--yellow); color: var(--ink);
  border-bottom: 3px solid var(--ink);
  font-family: var(--display); font-size: clamp(13px, 1.3vw, 15px); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background .14s;
}
.topbar:hover { background: #ffc92e; color: var(--ink); }

/* ---------- nav ---------- */
.nav { background: var(--ink); border-bottom: 1px solid rgba(237,233,222,0.14); }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 15px; }
.lockup {
  display: flex; align-items: baseline; gap: 8px; min-width: 0;
  font-family: var(--display); font-size: clamp(21px, 3.4vw, 29px); font-weight: 700;
  letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
}
.lockup .b { color: var(--bone); }
.lockup .y { color: var(--yellow); }

.nav-links {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px);
  font-family: var(--display); font-size: 13.5px; font-weight: 500; letter-spacing: 0.11em;
  text-transform: uppercase; color: rgba(237,233,222,0.82); white-space: nowrap;
}
.nav-links a { padding-block: 6px; }
.nav-links a:hover { color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 46px; padding: 13px 24px;
  font-family: var(--display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffc92e; }
.btn-ghost { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
.btn-ghost:hover { background: var(--yellow); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #1d1813; }

.menu {
  display: none; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 6px; flex: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 0;
}
.menu span { display: block; width: 26px; height: 2px; background: var(--bone); }
.menu span:last-child { width: 17px; background: var(--yellow); }
/* solid block marker used on buttons — never an arrowhead */
.go { flex: none; width: 30px; height: 4px; }
.btn-ink .go { background: var(--yellow); }
.btn-yellow .go { background: var(--ink); }
/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); border-top: 4px solid var(--yellow); }
.footer .wrap { position: relative; padding-block: clamp(38px, 4.5vw, 56px) 26px; }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(26px, 3.4vw, 40px); }
.footer-id { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.footer-blurb { max-width: 42ch; font-size: 13.5px; color: rgba(237,233,222,0.6); margin: 12px auto 0; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px clamp(32px, 5vw, 68px); }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.footer-col .eyebrow { color: var(--yellow); margin-bottom: 2px; letter-spacing: 0.22em; }
.footer-col a, .footer-col div { font-size: 15px; color: rgba(237,233,222,0.78); }
.footer-col a.tel {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600;
  letter-spacing: 0.02em; color: var(--yellow); min-height: 0; margin-bottom: 2px;
}
.footer-col a.tel:hover { color: #ffc92e; }
.footer-col a { display: flex; align-items: center; min-height: 40px; }
.footer-col a:hover { color: var(--yellow); }
.legal { border-top: 1px solid rgba(237,233,222,0.14); margin-top: 34px; padding-top: 18px; font-size: 12px; color: rgba(237,233,222,0.6); text-align: center; }

@media (max-width: 880px) {
  .nav-links, .nav .btn { display: none; }
  .menu { display: flex; }
  /* drawer: the hamburger opens the hidden links, it is not decoration */
  .nav.is-open .wrap { flex-wrap: wrap; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    order: 3; flex-basis: 100%; gap: 0; white-space: normal;
    margin-top: 14px; padding-top: 4px;
    border-top: 1px solid rgba(237,233,222,0.14);
  }
  .nav.is-open .nav-links a {
    padding: 15px 2px; font-size: 15.5px; color: var(--bone);
    border-bottom: 1px solid rgba(237,233,222,0.1);
  }
  .nav.is-open .nav-links a:last-child { border-bottom: 0; }
  .nav.is-open .btn {
    display: inline-flex; order: 4; flex-basis: 100%;
    margin-top: 12px; margin-bottom: 4px;
  }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:last-child { width: 26px; background: var(--yellow); }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
