/* Adelos Supply — site.css
   Values are lifted from the approved design build (desktop 1440 artboard).
   Breakpoints: ≤900px collapses the header to the drawer and reflows grids;
   ≤600px matches the 390 mobile artboard. Do not restyle; adjust tokens only. */

:root {
  --brand: #e07a12;
  --brand-hover: #b8610a;
  --ink: #0f1620;
  --ink-2: #0a0f16;
  --paper: #f2f2f3;
  --surface: #e9e9ea;
  --text: #1d1f20;
  --text-2: #42444a;
  --muted: #5d5d60;
  --muted-2: #7a7a7d;
  --on-dark: #c3cad3;
  --on-dark-2: #aab3bf;
  --on-dark-3: #7d8794;
  --on-dark-4: #8e9aa8;
  --hair: rgba(29,31,32,.16);
  --hair-dark: rgba(255,255,255,.18);
  --hair-dark-2: rgba(255,255,255,.12);
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; }
p { margin: 0; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* type utilities */
.kicker { font-family: var(--font-heading); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.eyebrow { font-family: var(--font-heading); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.link-caps { font-family: var(--font-heading); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.link-caps-sm { font-family: var(--font-heading); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; background: var(--brand); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; border-radius: 0; }
.btn:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }

/* utility ribbon */
.ribbon { background: var(--ink-2); height: 38px; display: flex; align-items: center; justify-content: flex-end; padding: 0 var(--gutter); }
.ribbon-links { display: flex; align-items: center; gap: 22px; font-family: var(--font-heading); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ribbon-links a { color: var(--on-dark); }
.ribbon-links a:hover { color: #fff; }
.ribbon-links .sep { width: 1px; height: 12px; background: rgba(255,255,255,.2); }
.ribbon-phone { display: none; }

/* header */
.header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--hair); }
.header-bar { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; }
.brand-word { font-family: var(--font-heading); font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--hair); padding-left: 14px; }
.header-right { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: stretch; gap: 26px; height: 88px; }
.nav > a { display: flex; align-items: center; font-family: var(--font-heading); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); border-bottom: 3px solid transparent; }
.nav > a:hover, .nav > a.is-open { color: var(--text); border-bottom-color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--hair); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger span { width: 20px; height: 1.5px; background: var(--ink); display: block; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 88px; background: #fff; border-bottom: 3px solid var(--brand); box-shadow: 0 18px 40px rgba(15,22,32,.18); padding: 34px var(--gutter) 40px; display: none; }
.mega.is-open { display: block; }
.mega-grid { display: grid; gap: 40px; }
.mega-col { display: flex; flex-direction: column; gap: 16px; }
.mega-col-title { font-family: var(--font-heading); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); border-bottom: 1px solid var(--hair); padding-bottom: 10px; }
.mega-items { display: flex; flex-direction: column; gap: 14px; }
.mega-items a { display: block; color: var(--text); }
.mega-items a:hover { color: var(--brand); }
.mega-items .name { font-family: var(--font-heading); font-size: 17px; font-weight: 600; letter-spacing: .02em; color: inherit; }
.mega-items .desc { font-size: 13.5px; line-height: 1.4; color: var(--muted); max-width: 280px; }

/* mobile drawer */
.drawer { display: none; background: var(--ink); padding: 8px 16px 20px; }
.drawer.is-open { display: block; }
.drawer-sec { border-bottom: 1px solid rgba(255,255,255,.14); }
.drawer-btn { width: 100%; min-height: 52px; background: transparent; border: 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 0; }
.drawer-btn .lbl { font-family: var(--font-heading); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.drawer-btn .sign { font-family: var(--font-heading); font-size: 20px; color: var(--brand); }
.drawer-panel { display: none; flex-direction: column; gap: 14px; padding: 4px 0 18px; }
.drawer-sec.is-open .drawer-panel { display: flex; }
.drawer-panel a { display: block; color: var(--on-dark); }
.drawer-panel .name { font-family: var(--font-heading); font-size: 16px; font-weight: 600; letter-spacing: .03em; color: #fff; }
.drawer-panel .desc { font-size: 13px; line-height: 1.4; color: var(--on-dark-4); }
.drawer-util { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 18px; font-family: var(--font-heading); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.drawer-util a { color: var(--on-dark); }

/* hero */
.hero { position: relative; height: 540px; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-grad { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,#0a0f16 0%,#0a0f16 34%,rgba(10,15,22,.86) 50%,rgba(10,15,22,.35) 74%,rgba(10,15,22,.15) 100%); }
.hero-body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 0 var(--gutter); max-width: 820px; }
.hero-kicker { font-family: var(--font-heading); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-size: 76px; line-height: .96; letter-spacing: .005em; color: #fff; text-wrap: pretty; }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 600px; }
.hero-cta { display: flex; gap: 14px; }

/* section heads */
.section { padding: 72px var(--gutter); background: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.section-head h2 { font-size: 40px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.section-head .rule { height: 1px; flex: 1; margin: 0 24px 14px; background: var(--hair); }

/* who we serve */
.serve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blueprint { position: relative; border: 1px solid var(--hair); background: #fff; padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.blueprint > .corner { position: absolute; width: 11px; height: 11px; color: rgba(29,31,32,.55); }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
.serve-title { font-family: var(--font-heading); font-weight: 600; font-size: 30px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.serve-body { font-size: 15.5px; line-height: 1.55; color: var(--text-2); }

/* categories */
.categories { padding: 0 var(--gutter) 72px; background: var(--paper); }
.categories .section-head { margin-bottom: 26px; }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.cat { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 34px; background: #fff; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); color: var(--ink); }
.cat:hover { color: var(--brand); }
.cat svg { color: var(--brand); }
.cat .name { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: inherit; }
.cat .desc { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* how we work */
.how { background: var(--ink); padding: 72px var(--gutter); }
.how h2 { font-size: 40px; letter-spacing: .02em; text-transform: uppercase; color: #fff; margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--hair-dark); }
.step { padding: 28px 28px 0 28px; border-right: 1px solid var(--hair-dark); display: flex; flex-direction: column; gap: 12px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; padding-right: 0; }
.step .n { font-family: var(--font-heading); font-size: 44px; line-height: 1; color: var(--brand); }
.step .t { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.step p { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); padding-bottom: 28px; }

/* quote */
.quote { padding: 72px var(--gutter); background: var(--surface); }
.quote-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.quote-intro { display: flex; flex-direction: column; gap: 16px; }
.quote-intro h2 { font-size: 40px; line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.quote-intro p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.quote-intro .rule { height: 1px; background: var(--hair); margin: 6px 0; }
.quote-intro .eyebrow { letter-spacing: .2em; }
.contact-line { font-size: 16px; line-height: 1.7; color: var(--text); }
.form { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px 24px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label > span { font-family: var(--font-heading); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form .span2 { grid-column: span 2; }
.input { width: 100%; background: #fff; border: 1px solid var(--hair); height: 46px; border-radius: 0; padding: 6px 12px; font: inherit; font-size: 15px; color: var(--text); caret-color: var(--brand); }
textarea.input { min-height: 96px; resize: vertical; height: auto; }
.input:hover { border-color: rgba(29,31,32,.45); }
.input:focus-visible { border-color: var(--brand); outline-offset: 0; }
.form-actions { grid-column: span 2; display: flex; align-items: center; gap: 20px; margin-top: 4px; flex-wrap: wrap; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { grid-column: span 2; font-size: 15px; line-height: 1.5; padding: 14px 16px; border: 1px solid var(--hair); background: #fff; display: none; }
.form-status.is-ok { display: block; border-color: var(--brand); }
.form-status.is-err { display: block; border-color: #b3261e; color: #7a1c15; }
.form.is-sent .form-fields, .form.is-sent .form-actions, .form.is-sent .turnstile { display: none; }
.form-fields { display: contents; }
.turnstile { grid-column: span 2; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* content pages */
.page-head { background: var(--ink); padding: 52px var(--gutter) 44px; }
.page-head .kicker { letter-spacing: .24em; margin-bottom: 12px; }
.page-head h1 { font-size: 56px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.page-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding: 56px var(--gutter) 80px; align-items: start; background: var(--paper); }
.page-main { display: flex; flex-direction: column; gap: 34px; max-width: 820px; }
.page-intro { font-size: 19px; line-height: 1.6; color: var(--text); }
.page-sec { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--hair); padding-top: 22px; }
.page-sec h2 { font-size: 26px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.page-sec p { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.page-updated { font-size: 13.5px; color: var(--muted-2); border-top: 1px solid var(--hair); padding-top: 18px; }
.page-updated:empty { display: none; }
.aside { position: sticky; top: 24px; padding: 28px 24px; gap: 14px; }
.aside .small { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.aside .btn { height: 48px; font-size: 15px; width: 100%; }

/* footer */
.footer { background: var(--ink-2); padding: 64px var(--gutter) 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col.brandcol { gap: 18px; }
.footer-col img { height: 38px; width: auto; align-self: flex-start; }
.footer .legal { font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); }
.footer .codes { font-family: var(--font-heading); font-size: 13px; line-height: 1.9; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); border-top: 1px solid var(--hair-dark-2); padding-top: 14px; }
.footer .stack { display: flex; flex-direction: column; gap: 28px; }
.footer .block { display: flex; flex-direction: column; gap: 10px; }
.footer .block p { font-size: 14.5px; line-height: 1.65; color: var(--on-dark-2); }
.footer .block p a { color: #fff; }
.footer .links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer .links a { color: var(--on-dark); }
.footer .links a:hover { color: #fff; }
.footer .kicker.mt { margin-top: 12px; }
.footer-two { display: contents; }
.footer-bar { border-top: 1px solid var(--hair-dark-2); height: 58px; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--on-dark-3); }
.footer-bar div { display: flex; gap: 24px; }
.footer-bar a { color: var(--on-dark-3); }
.footer-bar a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .hero h1 { font-size: 60px; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: 0; padding-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 300px 1fr; gap: 40px; }
  .page-body { grid-template-columns: 1fr 300px; gap: 40px; }
}

@media (max-width: 1180px) {
  /* nav needs ~760px; collapse to the drawer before it collides with the wordmark */
  .nav, .mega { display: none !important; }
  .burger { display: flex; }
  .brand-word { display: none; }
  .header-right { gap: 12px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .ribbon { height: 34px; justify-content: center; }
  .ribbon-links { display: none; }
  .ribbon-phone { display: flex; align-items: center; font-family: var(--font-heading); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
  .ribbon-phone a { color: #fff; margin-left: 6px; }
  .header-bar { height: 64px; }
  .brand img { height: 30px; }
  .header-right { gap: 10px; }
  .header-cta { height: 44px; padding: 0 14px; font-size: 13px; letter-spacing: .1em; }
  .hero { height: auto; padding: 44px 16px 40px; }
  .hero-media { width: 100%; left: 0; }
  .hero-grad { background: linear-gradient(180deg,#0a0f16 0%,rgba(10,15,22,.9) 55%,rgba(10,15,22,.6) 100%); }
  .hero-body { height: auto; padding: 0; gap: 18px; max-width: none; }
  .hero-kicker { font-size: 12px; letter-spacing: .26em; }
  .hero h1 { font-size: 42px; line-height: .98; }
  .hero-sub { font-size: 15.5px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { height: 50px; font-size: 15px; }
  .section { padding: 36px 16px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2, .how h2, .quote-intro h2 { font-size: 28px; letter-spacing: .03em; }
  .section-head .rule, .section-head .link-caps { display: none; }
  .serve-grid { grid-template-columns: 1fr; gap: 18px; }
  .blueprint { padding: 22px 18px; gap: 8px; }
  .serve-title { font-size: 22px; letter-spacing: .04em; }
  .serve-body { font-size: 14.5px; }
  .serve-num { display: none; }
  .categories { padding: 0 16px 36px; }
  .cat { padding: 18px 14px 22px; gap: 10px; min-height: 44px; }
  .cat .name { font-size: 17px; }
  .cat .desc { display: none; }
  .how { padding: 36px 16px; }
  .how h2 { margin-bottom: 22px; }
  .steps { grid-template-columns: 1fr; border-top: 0; gap: 22px; }
  .step { flex-direction: row; gap: 16px; padding: 16px 0 0; border-right: 0; border-top: 1px solid var(--hair-dark); }
  .step .n { font-size: 28px; }
  .step .t { font-size: 18px; }
  .step p { font-size: 14.5px; padding-bottom: 0; }
  .step-text { display: flex; flex-direction: column; gap: 6px; }
  .quote { padding: 36px 16px; }
  .quote-grid { grid-template-columns: 1fr; gap: 16px; }
  .quote-intro .rule, .quote-intro .eyebrow, .quote-intro .contact-line { display: none; }
  .quote-intro p { font-size: 15px; }
  .form { grid-template-columns: 1fr; gap: 14px; }
  .form .span2, .form-actions, .form-status, .turnstile { grid-column: auto; }
  .form label > span { font-size: 12px; }
  textarea.input { min-height: 88px; }
  .form-actions .btn { width: 100%; height: 52px; font-size: 15px; }
  .form-note { display: none; }
  .page-head { padding: 30px 16px 26px; }
  .page-head .kicker { font-size: 12px; margin-bottom: 8px; }
  .page-head h1 { font-size: 34px; line-height: 1.02; }
  .page-body { grid-template-columns: 1fr; padding: 26px 16px 36px; gap: 24px; }
  .page-main { gap: 24px; }
  .page-intro { font-size: 16px; }
  .page-sec { gap: 8px; padding-top: 18px; }
  .page-sec h2 { font-size: 21px; }
  .page-sec p { font-size: 15px; line-height: 1.6; }
  .aside { position: static; }
  .footer { padding: 36px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 0; }
  .footer-col img { height: 32px; }
  .footer .legal, .footer .block p, .footer .links { font-size: 14px; }
  .footer .codes { font-size: 12px; }
  .footer .kicker { font-size: 12px; }
  .footer-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bar { height: auto; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0; margin-top: 28px; font-size: 13px; }
  .footer-bar div { gap: 18px; }
}
