/* ============================================================
   144 Asset Solutions — styles.css
   Brand tokens per Brief Sec 2 (colors) & Sec 3 (typography).
   Mobile-first, responsive, WCAG AA contrast.
   ============================================================ */

:root {
  /* Colors — Sec 2 */
  --pine:  #234B3A; /* Primary  */
  --brass: #B0863C; /* Accent — use sparingly */
  --slate: #44514B; /* Secondary / body copy */
  --ink:   #161812; /* Headlines & text on light */
  --bone:  #EFEDE3; /* Page / surface background */

  /* Tints / derived */
  --pine-deep: #1B3A2D;
  --bone-card: #F6F4EC;
  --line:      rgba(68, 81, 75, 0.22);
  --line-dark: rgba(239, 237, 227, 0.16);

  /* Type — Sec 3 */
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Type scale — Sec 3 */
  --h1: 46px;
  --h2: 32px;
  --h3: 22px;
  --body: 16px;
  --caption: 13px;

  /* Layout */
  --maxw: 1120px;
  --gutter: 20px;
  --header-h: 68px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(22, 24, 18, 0.08), 0 8px 24px rgba(22, 24, 18, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--brass); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 7.5vw, var(--h1)); letter-spacing: 0; }
h2 { font-size: clamp(26px, 5vw, var(--h2)); }
h3 { font-size: var(--h3); font-weight: 600; }
p  { margin: 0 0 1rem; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--slate); }
.caption { font-size: var(--caption); font-weight: 500; }
strong { color: var(--ink); }

/* Eyebrow / kicker label */
.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin: 0 0 0.6rem;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 9vw, 88px); }
.section--tight { padding-block: clamp(36px, 6vw, 60px); }
.section--bone-card { background: var(--bone-card); }
.section--pine { background: var(--pine); color: var(--bone); }
.section--pine h1, .section--pine h2, .section--pine h3 { color: #fff; }
.section--pine .lead, .section--pine p { color: rgba(239, 237, 227, 0.88); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 16px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

/* Brass primary — Ink text (Ink-on-brass ≈ 5.7:1, passes AA). */
.btn--primary { background: var(--brass); color: var(--ink); }
.btn--primary:hover { background: #9c7531; color: var(--ink); }

/* Outline on light */
.btn--outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn--outline:hover { background: var(--pine); color: #fff; }

/* Ghost on pine */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 10px;
}
.brand-link { display: inline-flex; align-items: center; line-height: 0; }
.brand-link img { height: 38px; width: auto; }
/* Inline-SVG logo renders with the page-loaded Saira Condensed font (crisp vector). */
.brand-logo { display: block; height: 42px; width: auto; }
.footer-logo .brand-logo { height: 48px; }
@media (min-width: 1040px) { .footer-logo .brand-logo { height: 54px; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 12px 4px;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brass); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); }

/* Mobile nav open */
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px var(--gutter) 18px;
}
.site-nav.is-open ul { display: flex; flex-direction: column; }
.site-nav.is-open .nav-link { border-bottom: 1px solid var(--line); }
.site-nav.is-open .nav-cta { margin-top: 14px; }
.nav-cta .btn { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--pine);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle brass underscore motif echo */
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  width: 96px;
  height: 6px;
  background: var(--brass);
  border-radius: 6px;
}
.hero .container { padding-block: clamp(56px, 11vw, 104px); position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: rgba(239,237,227,0.9); max-width: 56ch; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--pine-deep); color: var(--bone); }
.trust-bar ul {
  list-style: none; margin: 0; padding: 16px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 28px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 15px;
}
.trust-bar li { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.trust-bar li:not(:first-child)::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass);
  margin-right: 4px;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-vcenter { align-items: center; }

.card {
  background: var(--bone-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--ink); }
.card .card-sub { font-family: var(--font-display); text-transform: uppercase; color: var(--brass); font-weight: 700; letter-spacing: 0.04em; font-size: 15px; }

/* Two-sided cards */
.side-card { border-top: 4px solid var(--brass); }

/* Handle list / chips */
.handle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.handle-list li {
  background: var(--bone-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 8px;
  padding: 16px 18px;
}
.handle-list .h-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; color: var(--ink); display: block; font-size: 18px; letter-spacing: 0.02em; }
.handle-list .h-desc { font-size: 15px; color: var(--slate); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: 1fr; }
.steps li { position: relative; padding-left: 64px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--ink); background: var(--brass); border-radius: 10px;
}
.steps .step-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; color: var(--ink); font-size: 19px; display: block; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.6em; }

/* ---------- Real section photos ---------- */
.section-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Photo placeholders ---------- */
.photo-ph {
  background: repeating-linear-gradient(
    45deg, var(--bone-card), var(--bone-card) 14px, #ECE9DD 14px, #ECE9DD 28px
  );
  border: 2px dashed var(--slate);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--slate);
}
.photo-ph .ph-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-size: 15px;
}
.photo-ph .ph-note { font-size: 13px; max-width: 38ch; margin-top: 6px; }
.photo-ph .ph-tag {
  display: inline-block; margin-bottom: 10px;
  background: var(--pine); color: #fff;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.photo-caption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  font-size: 14px;
}
.story-card {
  background: var(--pine); color: var(--bone);
  border-radius: var(--radius); padding: 28px;
}
.story-card h3 { color: #fff; }
.story-card .gross { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--brass); line-height: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.contact-card {
  background: var(--pine); color: var(--bone);
  border-radius: var(--radius); padding: 28px;
  align-self: start;
}
.contact-card h3 { color: #fff; }
.contact-card a { color: #fff; text-decoration: underline; text-decoration-color: var(--brass); }
.contact-card a:hover { color: var(--brass); }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--brass); margin-top: 16px; }
.contact-card dd { margin: 2px 0 0; font-size: 18px; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field .req { color: var(--brass); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--slate);
  border-radius: 8px;
  padding: 12px 14px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--pine);
}
/* Honeypot — visually hidden, off-screen */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #1f4a39; color: #fff; border: 1px solid var(--brass); }
.form-status--error { background: #6e2f2f; color: #fff; }

/* Focus visibility everywhere */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--bone); padding-block: 48px 28px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #fff; text-decoration: underline; text-decoration-color: var(--brass); }
.site-footer a:hover { color: var(--brass); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-logo img { height: 46px; width: auto; }
.footer-taglines p {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.02em; line-height: 1.2;
  color: #fff; font-size: 18px; margin: 0 0 6px;
}
.footer-taglines p + p { color: var(--brass); }
.footer-contact a { color: #fff; text-decoration: underline; text-decoration-color: var(--brass); }
.footer-contact a:hover { color: var(--brass); }
.footer-contact .row { margin-bottom: 4px; }
.footer-legal {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px; color: rgba(239,237,227,0.7);
}

/* ============================================================
   Responsive — tablet / desktop
   ============================================================ */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .handle-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 860px) {
  :root { --gutter: 32px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .handle-list { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 0.85fr 1.4fr; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }

  /* Desktop nav */
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; align-items: center; gap: 28px; }
  .site-nav .nav-cta .btn { width: auto; padding: 12px 22px; }
}

@media (min-width: 1040px) {
  .footer-logo img { height: 52px; }
}
