/* Axcel Technology - hand-coded stylesheet
   Brand: #03a9f4 primary blue, #f79007 accent orange, #6632ff secondary, #00bf87 tertiary.
   System font stack only - zero external font payload. */

:root {
  --c-ink: #1f2937;
  --c-ink-strong: #0f172a;
  --c-ink-soft: #475569;
  --c-ink-muted: #64748b;
  --c-surface: #fcfdfe;
  --c-surface-soft: #f5f8fb;
  --c-surface-elevated: #ffffff;
  --c-hairline: #e5e7eb;
  --c-blue: #03a9f4;
  --c-blue-deep: #0277bd;
  --c-blue-deeper: #0288d1;
  --c-orange: #f79007;
  --c-orange-text: #b86300;
  --c-purple: #6632ff;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --section-pad-y: 4rem;
  --section-pad-y-tight: 2.5rem;
  --section-pad-y-wide: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue-deep); text-decoration: none; transition: color 0.2s var(--ease-out-quart); }
a:hover, a:focus { color: var(--c-orange-text); }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--c-ink-strong); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.25em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; padding: 0.5rem 1rem; background: var(--c-blue); color: #fff; z-index: 100; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-surface-elevated);
  border-bottom: 1px solid var(--c-hairline);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  min-height: 80px; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
@media (min-width: 1025px) { .header-inner { gap: 1.5rem; } }
.brand { flex-shrink: 0; }
.brand-logo { width: 180px; height: auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink-strong); margin: 5px 0; transition: transform 0.25s var(--ease-out-quart), opacity 0.25s var(--ease-out-quart); }
.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); }

.primary-nav { margin-left: auto; }
.primary-nav > ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.25rem; }
.primary-nav > ul > li { position: relative; }
.submenu { list-style: none; margin: 0; }
.primary-nav a, .primary-nav .nav-parent {
  display: inline-flex; align-items: center;
  padding: 0.65rem 0.95rem;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--c-ink);
  font-weight: 500;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  border-radius: 6px;
  transition: background 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart);
}
.primary-nav a:hover, .primary-nav .nav-parent:hover,
.primary-nav a:focus, .primary-nav .nav-parent:focus { background: #f1f5f9; color: var(--c-blue-deep); }
.primary-nav .is-current > a, .primary-nav .is-current > .nav-parent { color: var(--c-blue-deep); }
.primary-nav .is-current > a::after, .primary-nav .is-current > .nav-parent::after { display: none; }

.submenu {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--c-hairline);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
  padding: 0.4rem;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1025px) {
  .has-children:hover > .submenu,
  .has-children > .nav-parent[aria-expanded="true"] + .submenu {
    display: flex;
  }
}
.submenu li { width: 100%; }
.submenu a { display: block; width: 100%; padding: 0.55rem 0.75rem; font-size: 0.95rem; }

.header-phone {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--c-blue); color: #fff;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart);
}
.header-phone:hover, .header-phone:focus { background: var(--c-blue-deeper); color: #fff; box-shadow: 0 6px 16px rgba(3,169,244,0.28); }
.header-phone-icon { flex-shrink: 0; }

@media (max-width: 1024px) {
  .header-inner { gap: 0.75rem; }
  .brand-logo { width: 150px; }
  .nav-toggle { display: block; order: 3; padding: 0.5rem 0.25rem; }
  .header-phone { order: 2; margin-left: auto; padding: 0.5rem 0.85rem 0.5rem 0.7rem; font-size: 0.9rem; gap: 0.4rem; }
  .header-phone-icon { width: 14px; height: 14px; }
  .primary-nav {
    display: none;
    padding: 0;
    background: var(--c-surface);
  }
  .primary-nav.is-open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    border-top: 1px solid var(--c-hairline);
    border-bottom: 1px solid var(--c-hairline);
    box-shadow: 0 12px 24px rgba(15,23,42,0.06);
    z-index: 49;
  }
  .primary-nav > ul { flex-direction: column; gap: 0; padding: 0.25rem 0; }
  .primary-nav > ul > li { width: 100%; border-bottom: 1px solid var(--c-hairline); }
  .primary-nav > ul > li:last-child { border-bottom: 0; }
  .primary-nav a, .primary-nav .nav-parent {
    width: 100%; padding: 1rem 1.5rem; border-radius: 0;
    justify-content: space-between;
    font-size: 1rem;
  }
  .primary-nav a:hover, .primary-nav .nav-parent:hover,
  .primary-nav a:focus, .primary-nav .nav-parent:focus { background: var(--c-surface-soft); color: var(--c-blue-deep); }
  .primary-nav .is-current > a, .primary-nav .is-current > .nav-parent { color: var(--c-blue-deep); background: var(--c-surface-soft); }
  .nav-parent[aria-expanded="true"] { background: var(--c-surface-soft); }
  .nav-parent span[aria-hidden="true"] { transition: transform 0.25s var(--ease-out-quart); }
  .nav-parent[aria-expanded="true"] span[aria-hidden="true"] { transform: rotate(180deg); }

  .submenu {
    position: static; display: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0; background: var(--c-surface-soft);
  }
  .has-children > .nav-parent[aria-expanded="true"] + .submenu { display: block; }
  .submenu li { border-top: 1px solid var(--c-hairline); }
  .submenu a {
    padding: 0.85rem 1.5rem 0.85rem 2.5rem;
    font-size: 0.95rem;
    color: var(--c-ink-soft);
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0277bd 100%);
  color: #fff;
  padding: 5.5rem 0 4.25rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 55%, rgba(3,169,244,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 1rem; line-height: 1.15; }
.hero .lede { font-size: 1.25rem; line-height: 1.55; color: rgba(255,255,255,0.92); margin-bottom: 0.75rem; max-width: 65ch; }
.hero .promise { font-size: 1.5rem; font-weight: 600; color: var(--c-blue); margin-bottom: 2rem; }
.hero .promise-tag { display: block; font-size: 0.95rem; color: var(--c-orange); font-weight: 500; margin-top: 0.5rem; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 0; cursor: pointer;
  transition: transform 0.12s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart), background 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart);
  text-align: center;
  font-family: inherit;
  text-wrap: balance;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-blue); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--c-blue-deeper); color: #fff; box-shadow: 0 8px 22px rgba(3,169,244,0.32); }
.btn-accent { background: var(--c-orange); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: #e07e00; color: #fff; box-shadow: 0 8px 22px rgba(247,144,7,0.28); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover, .btn-ghost:focus { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ========== Sections ========== */
section { padding: var(--section-pad-y) 0; }
.section-tight { padding: var(--section-pad-y-tight) 0; }
.section-wide { padding: var(--section-pad-y-wide) 0; }
.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading > p { max-width: 65ch; margin-left: auto; margin-right: auto; }
.section-eyebrow { display: block; color: var(--c-orange-text); text-transform: uppercase; font-weight: 700; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 0.6rem; }
.section-heading h2 { margin-bottom: 0.5rem; }

/* ========== Card grids ========== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--c-surface-elevated);
  border: 1px solid var(--c-hairline);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,0.09); }
.card-logo { height: 56px; width: auto; max-width: 200px; margin-bottom: 1.25rem; object-fit: contain; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--c-ink-soft); font-size: 0.97rem; flex-grow: 1; }
.card .read-more { margin-top: 1rem; font-weight: 600; color: var(--c-blue-deep); display: inline-flex; align-items: center; gap: 0.35rem; }
.card .read-more::after { content: "→"; transition: transform 0.25s var(--ease-out-quart); display: inline-block; }
.card:hover .read-more::after { transform: translateX(5px); }
.card a { color: inherit; }
.card a:hover { color: var(--c-orange-text); }

/* ========== Vendor page ========== */
.vendor-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 4.5rem 0 3.25rem;
  text-align: center;
}
.vendor-hero h1 { color: #fff; }
.vendor-hero .vendor-logo {
  background: #fff;
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.vendor-hero .vendor-logo img { max-height: 60px; width: auto; }
.vendor-hero .vendor-tagline { font-size: 1.2rem; color: rgba(255,255,255,0.92); max-width: 70ch; margin: 0 auto; line-height: 1.5; }

.vendor-section { padding: 3rem 0; border-bottom: 1px solid var(--c-hairline); }
.vendor-section:last-of-type { border-bottom: 0; }
.vendor-section h2 { color: var(--c-blue-deep); margin-bottom: 1rem; }
.vendor-section .lead { font-size: 1.1rem; color: var(--c-ink); max-width: 70ch; margin-left: auto; margin-right: auto; }

/* ========== Document list ========== */
.doc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.doc-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--c-surface-soft);
  border: 1px solid var(--c-hairline);
  border-radius: 10px;
  color: var(--c-ink-strong);
  transition: background 0.2s var(--ease-out-quart), border-color 0.2s var(--ease-out-quart), transform 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart);
}
.doc-card:hover, .doc-card:focus {
  background: #ffffff;
  border-color: var(--c-blue);
  color: var(--c-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(3,169,244,0.10);
}
/* Monoline document glyph; replaces the prior filled "PDF" tile.
   Inline SVG data URI keeps the architectural no-third-party rule intact. */
.doc-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  font-size: 0; /* hide the legacy "PDF" text node */
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230277bd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><polyline points='14 3 14 8 19 8'/><line x1='9' y1='13' x2='15' y2='13'/><line x1='9' y1='17' x2='14' y2='17'/></svg>") center/contain no-repeat;
  transition: transform 0.2s var(--ease-out-quart);
}
.doc-card:hover .doc-icon { transform: translateY(-1px); }
.doc-card-title { font-weight: 600; line-height: 1.35; font-size: 1rem; }
.doc-card-sub { font-size: 0.85rem; color: var(--c-ink-muted); margin-top: 0.15rem; }

/* ========== Vendor logos strip (home) ========== */
.vendor-strip {
  background: var(--c-surface-soft);
  padding: 2.5rem 0;
  border-top: 1px solid var(--c-hairline);
  border-bottom: 1px solid var(--c-hairline);
}
.vendor-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.75rem; }
.vendor-strip a { display: inline-flex; transition: opacity 0.2s var(--ease-out-quart); opacity: 0.85; }
.vendor-strip a:hover, .vendor-strip a:focus { opacity: 1; }
.vendor-strip img { max-height: 44px; width: auto; }

/* ========== Two-column bullet list (used on /diy/ and BrickStor capabilities) ========== */
.column-list { columns: 2; column-gap: 2.5rem; line-height: 1.6; }
.column-list li { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin-bottom: 0.45rem; }
@media (max-width: 640px) { .column-list { columns: 1; } }

/* ========== About ========== */
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.bio-photo { width: 100%; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,0.12); }
.bio h2 { color: var(--c-blue-deep); }
.bio-linkedin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--c-blue-deep);
  background: var(--c-surface-soft);
  border: 1px solid var(--c-hairline);
  border-radius: 999px;
  transition: background 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart), border-color 0.2s var(--ease-out-quart);
}
.bio-linkedin:hover, .bio-linkedin:focus { background: var(--c-blue-deep); color: #fff; border-color: var(--c-blue-deep); }
@media (max-width: 768px) { .bio-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ========== Contact form ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info p { margin-bottom: 0.5rem; font-size: 1.05rem; }
.contact-info .info-label { font-weight: 600; color: var(--c-ink-strong); }
.contact-form { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 8px 30px rgba(15,23,42,0.06); border: 1px solid var(--c-hairline); }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: 0.45rem; color: var(--c-ink-strong); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart);
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--c-blue); outline: none; box-shadow: 0 0 0 3px rgba(3,169,244,0.18); }
.form-row textarea { min-height: 140px; resize: vertical; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-top: 0.5rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; color: var(--c-ink); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-blue); }
.required { color: #dc2626; }

/* ========== CTA band ========== */
.cta-band {
  background: var(--c-blue-deep);
  color: #fff;
  padding: 3rem 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.cta-text { font-size: 1.5rem; font-weight: 700; margin: 0; text-wrap: balance; }
.cta-band .btn-primary { background: #fff; color: var(--c-blue-deep); }
.cta-band .btn-primary:hover, .cta-band .btn-primary:focus { background: #f1f5f9; color: var(--c-orange-text); box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

/* ========== Footer ========== */
.site-footer { background: var(--c-ink-strong); color: #cbd5e1; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover, .site-footer a:focus { color: var(--c-blue); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.footer-promise { color: #94a3b8; }
.footer-heading { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.9rem; color: var(--c-ink-muted); }

/* ========== Misc ========== */
.muted { color: var(--c-ink-muted); }
.center { text-align: center; }
.bg-soft { background: var(--c-surface-soft); }
.divider { height: 1px; background: var(--c-hairline); margin: 3rem 0; }

/* Note callout: full hairline + tinted background, no side stripe.
   Replaces the prior border-left:4px accent. */
.note {
  background: #fff8e6;
  border: 1px solid #fde2a4;
  padding: 1rem 1.25rem 1rem 2.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--c-ink);
  position: relative;
}
.note::before {
  content: "";
  position: absolute;
  left: 1rem; top: 1.15rem;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(247,144,7,0.18);
}
