@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-base: #0B0B0B;
  --c-surface: #141414;
  --c-elev: #1A1A1A;
  --c-border: #1F1F1F;
  --c-text: #F2F2F2;
  --c-text-dim: #9A9A9A;
  --c-accent: #E8B04B;
  --c-accent-hi: #F2C063;
  --c-success: #7FBF6A;

  --ff-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 8px;
  --wrap: 1180px;
  --pad: clamp(1rem, 2.5vw, 2rem);
  --sticky-bar-h: 64px;
}

* { box-sizing: border-box; }
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
main, section, .wrap, .hero { max-width: 100vw; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--c-base);
  color: var(--c-text);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--sticky-bar-h);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hi); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--c-text);
}
h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 22ch;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 640px) { .hero h1 { font-size: 2.25rem; line-height: 1.15; } }
@media (max-width: 400px) { .hero h1 { font-size: 2rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.muted { color: var(--c-text-dim); }
.small { font-size: 0.875rem; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 0.75rem 1rem;
  background: var(--c-accent); color: #000; font-weight: 700; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--c-border); background: var(--c-base); position: sticky; top: 0; z-index: 50; }
.top-call-bar { background: var(--c-surface); border-bottom: 1px solid var(--c-border); font-size: 0.875rem; }
.top-call-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.top-call-bar__label { color: var(--c-text-dim); }
.top-call-bar__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-weight: 700; color: var(--c-accent);
}
.top-call-bar__link:hover { color: var(--c-accent-hi); }

.site-header .top-call-bar { border-bottom: 1px solid var(--c-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; padding-bottom: 14px; margin-top: 0; }
.site-header .wordmark { margin-top: 0; }
.wordmark { font-family: var(--ff-body); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--c-text); }
.wordmark__dot { color: var(--c-accent); }
.wordmark:hover { color: var(--c-text); }

.site-nav { position: relative; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; align-items: center; }
.site-nav__list a {
  color: var(--c-text); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0; border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.nav-call {
  font-family: var(--ff-mono); color: var(--c-accent) !important;
  border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0.5rem 0.9rem !important;
}
.nav-call:hover { border-color: var(--c-accent); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 0.5rem; cursor: pointer; color: var(--c-text);
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; content: "";
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav__list {
    position: absolute; right: 0; top: calc(100% + 0.5rem);
    background: var(--c-elev); border: 1px solid var(--c-border); border-radius: var(--radius);
    flex-direction: column; gap: 0; padding: 0.5rem; min-width: 240px;
    display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .site-nav__list li { width: 100%; }
  .site-nav__list a { display: block; padding: 0.75rem 1rem; border: none; }
  .site-nav[data-open="true"] .site-nav__list { display: flex; }
  .nav-call { margin-top: 0.25rem; }
}

/* ---- Breadcrumbs ---- */
.breadcrumb { border-bottom: 1px solid var(--c-border); }
.breadcrumb ol,
.breadcrumb__list {
  list-style: none !important;
  list-style-type: none !important;
  display: flex; flex-wrap: wrap;
  padding: 0.75rem 0; margin: 0;
  font-size: 14px; color: var(--c-text-dim);
}
.breadcrumb ol > li,
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  list-style: none !important;
}
.breadcrumb ol > li::marker,
.breadcrumb__list li::marker { content: ""; }
.breadcrumb__list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin: 0 0.65rem;
  border-right: 1.5px solid var(--c-border);
  border-top: 1.5px solid var(--c-border);
  transform: rotate(45deg);
}
.breadcrumb__list a { color: var(--c-text-dim); }
.breadcrumb__list a:hover { color: var(--c-accent); }
.breadcrumb__list [aria-current="page"] { color: var(--c-text); }

/* ---- Images ---- */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.hero--image-bg {
  position: relative;
  overflow: hidden;
}
.hero--image-bg > .wrap { position: relative; z-index: 2; }
.hero--image-bg .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.22; z-index: 1;
}
.media-tile {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}
.post-card__media,
.article__media {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.article__media { margin-bottom: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-body); font-weight: 700;
  padding: 0.9rem 1.5rem; border-radius: var(--radius);
  background: var(--c-elev); color: var(--c-text);
  border: 1px solid var(--c-border); cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease, box-shadow 180ms ease, transform 120ms ease;
}
.btn:hover { border-color: var(--c-accent); color: var(--c-text); }
.btn--accent {
  background: var(--c-accent); color: #0B0B0B; border-color: var(--c-accent);
  font-family: var(--ff-mono); letter-spacing: -0.01em;
}
.btn--accent:hover { background: var(--c-accent-hi); color: #0B0B0B; box-shadow: 0 0 0 6px rgba(232, 176, 75, 0.2); }
.btn--xl { padding: 1.1rem 1.8rem; font-size: 1.15rem; }
.btn--ghost {
  background: #141414 !important;
  border: 1px solid #1F1F1F;
  color: #F2F2F2;
}
.btn--ghost:hover { background: var(--c-elev) !important; border-color: var(--c-accent); }

/* Pulse on homepage hero call button only */
.hero--home .btn--accent { animation: pulse 4s ease-in-out infinite; }
@keyframes pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(232, 176, 75, 0.0); }
  80% { box-shadow: 0 0 0 10px rgba(232, 176, 75, 0.2); }
  90% { box-shadow: 0 0 0 18px rgba(232, 176, 75, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--home .btn--accent { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---- Hero ---- */
.hero {
  padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-border);
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(232, 176, 75, 0.08), transparent 60%),
    var(--c-base);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.hero > * { position: relative; z-index: 1; }
.hero__ctas { position: relative; z-index: 2; }
.hero .btn,
.hero .btn--ghost,
.hero .btn--accent {
  position: relative;
  z-index: 3;
  isolation: isolate;
}
.hero h1 { max-width: 22ch; }
.hero__sub { color: var(--c-text-dim); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border);
  color: var(--c-text-dim); font-size: 0.9rem;
}
.hero__trust span::before { content: "•"; color: var(--c-accent); margin-right: 0.5rem; }

.hero-phone {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-mono); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--c-accent);
  margin-top: 0.5rem;
}

/* ---- Sections ---- */
section { padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--c-border); }
section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-intro { max-width: 58ch; margin-bottom: 2rem; }

/* ---- Cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover { border-color: var(--c-accent); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--c-text-dim); margin-bottom: 1rem; }
.card__cta { font-family: var(--ff-mono); color: var(--c-accent); font-weight: 700; }
.card__cta:hover { color: var(--c-accent-hi); }

/* ---- Strip ---- */
.metal-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.metal-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: var(--c-elev); border: 1px solid var(--c-border);
  font-size: 0.9rem; font-weight: 500;
}
.metal-chip:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ---- Area strip ---- */
.area-strip { columns: 2; column-gap: 2rem; }
@media (min-width: 700px) { .area-strip { columns: 3; } }
@media (min-width: 1000px) { .area-strip { columns: 4; } }
.area-strip li { break-inside: avoid; margin-bottom: 0.35rem; }
.area-strip a { color: var(--c-text); }
.area-strip a:hover { color: var(--c-accent); }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(180deg, var(--c-surface), var(--c-base));
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.cta-band h2 { margin-bottom: 0.25rem; }
.cta-band__copy p { color: var(--c-text-dim); margin: 0; }

/* ---- Sticky call bar (mobile) ---- */
.sticky-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none; align-items: center; justify-content: center; gap: 0.6rem;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  color: var(--c-accent) !important;
  border-top: 1px solid var(--c-border);
  font-family: var(--ff-mono); font-weight: 700; font-size: 1rem;
  padding: 12px 16px; text-align: center; z-index: 100; min-height: 52px; height: 52px;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.45);
  line-height: 1.2; white-space: nowrap; overflow: hidden;
}
.sticky-call-bar .phone-icon { color: var(--c-accent); }
.sticky-call-bar:hover { color: var(--c-accent-hi) !important; }
.sticky-call-bar:hover .phone-icon { color: var(--c-accent-hi); }
.sticky-call-bar__suffix { display: none; }
@media (max-width: 860px) { .sticky-call-bar { display: flex; } }
@media (min-width: 861px) { body { padding-bottom: 0; } }

/* ---- Footer ---- */
.site-footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: clamp(2rem, 4vw, 3rem) 0 2rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-dim); margin-bottom: 1rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.link-list a { color: var(--c-text); font-size: 0.95rem; }
.link-list a:hover { color: var(--c-accent); }
.footer-phone { margin: 1rem 0 0.5rem; }
.footer-phone__link {
  font-family: var(--ff-mono); font-weight: 700;
  font-size: 1.5rem; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.site-footer__fineprint { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }

/* ---- Content page defaults ---- */
.content-page { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.content-page h2 { margin-top: 2rem; }
.content-page ul { padding-left: 1.25rem; }
.content-page li { margin-bottom: 0.4rem; }
.content-page blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 0.5rem 0 0.5rem 1rem; margin: 1.5rem 0;
  color: var(--c-text-dim);
}

/* ---- Info blocks ---- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.info-tile { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.25rem; }
.info-tile h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--c-accent); }
.info-tile p { margin: 0; color: var(--c-text-dim); font-size: 0.95rem; }

/* ---- FAQ ---- */
.faq details {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.faq details[open] { border-color: var(--c-accent); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--c-accent); font-family: var(--ff-mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--c-text-dim); }

/* ---- Contact page specifics ---- */
.contact-hero { text-align: center; padding: clamp(3rem, 6vw, 5rem) 0; }
.contact-phone {
  font-family: var(--ff-mono); font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 4rem); color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 1rem 0;
}
.contact-map { max-width: 560px; margin: 2rem auto; }

/* ---- Fade rise on scroll ---- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 200ms ease, transform 200ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.5rem; }
.post-card h3 a { color: var(--c-text); }
.post-card h3 a:hover { color: var(--c-accent); }
.post-meta { color: var(--c-text-dim); font-size: 0.875rem; margin: 0 0 1rem; }
.article { max-width: 720px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 0; }
.article .post-meta { margin-bottom: 2rem; }

/* ---- Responsive tightening ---- */
@media (max-width: 480px) {
  .top-call-bar__label { display: none; }
  .hero__trust { font-size: 0.85rem; }
}

/* ============================================================
   MOBILE (<=640px) — mobile-first overhaul of the home page
   ============================================================ */
@media (max-width: 640px) {
  main, section, .wrap, .hero { max-width: 100vw; }

  /* Header */
  .site-header__inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .wordmark { font-size: 1.35rem; }

  /* Sections: tighten vertical rhythm */
  section { padding: 2.5rem 0; }
  section.tight { padding: 2rem 0; }
  .section-intro { margin-bottom: 1.25rem; max-width: none; }
  .section-intro h2 { margin-bottom: 0.4em; }
  .section-intro p { font-size: 0.95rem; }

  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.125rem; }

  /* Hero */
  .hero { padding: 2rem 0 2.25rem; }
  .hero--image-bg .hero-bg { display: none !important; }
  .hero__sub { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0.5rem;
  }
  .hero__trust {
    margin-top: 1.5rem;
    padding-top: 1rem;
    gap: 0.4rem 1rem;
    font-size: 0.8125rem;
  }
  .hero__trust span::before { margin-right: 0.35rem; }

  /* Buttons */
  .btn--xl {
    padding: 14px 20px;
    font-size: 1.0625rem;
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Card grid: single column, tight */
  .card-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .card { padding: 1.25rem; }
  .card h3 { margin-bottom: 0.35em; }
  .card p { font-size: 0.95rem; margin-bottom: 0.75rem; }
  .card__cta { font-size: 0.95rem; }

  /* Metals strip: tighter chips */
  .metal-strip { gap: 0.4rem; }
  .metal-chip { padding: 0.45rem 0.75rem; font-size: 0.85rem; }

  /* Area strip: 2 columns, compact */
  .area-strip { columns: 2; column-gap: 1rem; font-size: 0.95rem; }
  .area-strip li { margin-bottom: 0.3rem; }

  /* Info grid: single column with small gap */
  .info-grid { grid-template-columns: 1fr; gap: 0.75rem; margin: 1rem 0; }
  .info-tile { padding: 1rem 1.25rem; }
  .info-tile h3 { font-size: 0.95rem; margin-bottom: 0.25em; }
  .info-tile p { font-size: 0.95rem; }

  /* CTA band */
  .cta-band__inner { flex-direction: column; align-items: stretch; gap: 1rem; padding: 2rem 0; }
  .cta-band .btn--xl { width: 100%; }

  /* Breadcrumbs: scroll horizontally for long names */
  .breadcrumb__list {
    font-size: 13px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .breadcrumb__list::-webkit-scrollbar { display: none; }

  /* Sticky call bar */
  .sticky-call-bar {
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.2;
    min-height: 52px;
    height: 52px;
    white-space: nowrap;
    overflow: hidden;
  }
  .sticky-call-bar__suffix { display: none !important; }

  /* Footer */
  .site-footer { padding: 2rem 0 1.5rem; }
  .site-footer__grid { gap: 1.5rem; }
  .footer-phone__link { font-size: 1.375rem; }

  /* Article pages */
  .article { padding: 2rem 0 1.5rem; }
  .article__media { margin-bottom: 1.25rem; }

  /* Contact hero phone */
  .contact-phone { font-size: clamp(1.75rem, 8vw, 3rem); }
}

/* ============================================================
   SMALL MOBILE (<=400px)
   ============================================================ */
@media (max-width: 400px) {
  .nav-call { display: none; }
  .wordmark { font-size: 1.25rem; }
  .hero__trust { font-size: 0.75rem; }
  .sticky-call-bar {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .metal-chip { padding: 0.4rem 0.65rem; font-size: 0.8rem; }
  .area-strip { columns: 1; }
}
