/* Ogburn Brothers public site. Colors come from brand.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--brand-ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
[hidden] { display: none !important; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- Type ---- */
.display-xl, .display-xl-dark, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1;
}
.display-xl { font-size: clamp(44px, 7vw, 72px); max-width: 820px; color: #fff; }
.display-xl-dark { font-size: clamp(40px, 6vw, 56px); }
.display-lg { font-size: clamp(32px, 4.5vw, 44px); }
.display-md { font-size: 26px; line-height: 1.05; }
.display-sm { font-size: 24px; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow-bright { color: var(--brand-bright); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-primary); }
.kicker-muted { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #5b5b57; }
.lead { font-size: 19px; color: #4f4f4b; max-width: 680px; }
.muted { color: #4f4f4b; }
.small { font-size: 15px; }
.strong { font-weight: 600; }
.body-dark { color: #3f3f3c; }
.on-dark-muted { color: #dcdcd8; }
.link-strong { color: var(--brand-primary); font-weight: 600; }
.link-strong:hover { color: var(--brand-primary-hover); }
.req { color: #9b2c1f; }

/* ---- Layout helpers ---- */
.stack-2, .stack-4, .stack-8, .stack-10, .stack-12, .stack-14, .stack-16, .stack-18, .stack-24, .stack-40, .stack-56 { display: flex; flex-direction: column; }
.stack-2 { gap: 2px; } .stack-4 { gap: 4px; } .stack-8 { gap: 8px; } .stack-10 { gap: 10px; } .stack-12 { gap: 12px; }
.stack-14 { gap: 14px; } .stack-16 { gap: 16px; } .stack-18 { gap: 18px; } .stack-24 { gap: 24px; } .stack-40 { gap: 40px; } .stack-56 { gap: 56px; }
.grid-auto { display: grid; gap: 24px; }
.grid-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.self-start { align-self: flex-start; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0 24px; }
.section-tight { padding: 40px 0 88px; }
.bg-ground { background: var(--brand-ground); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn-lg { padding: 14px 28px; min-height: 52px; }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-primary-hover); color: #fff; }
.btn-light { background: #fff; color: #1C1C1C; }
.btn-light:hover { background: #ececea; color: #000; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: #a9a9a4; color: var(--brand-ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand-ink); }

/* ---- Banner + header ---- */
.banner { background: var(--brand-soft); border-bottom: 1px solid #dcdcd6; font-size: 15px; }
.banner-inner { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.badge { background: var(--brand-primary); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }

.site-header { background: #fff; border-bottom: 1px solid #e3e3e0; }
.topbar { background: var(--brand-graphite); color: #e9e9e6; font-size: 14px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-ink); }
.logo img { height: 38px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; }
.logo-sub { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-primary); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 600; }
.main-nav a:not(.btn) { text-decoration: none; padding: 8px 0; }
.main-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--brand-primary); }
@media (max-width: 560px) {
  .nav-row { gap: 10px; }
  .main-nav { gap: 6px 16px; font-size: 15px; width: 100%; }
  .main-nav .btn { margin-left: auto; padding: 8px 14px; }
}

/* ---- Hero ---- */
.hero { position: relative; background: #2a2a2a; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(20, 20, 20, .62); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 112px; color: #fff; display: flex; flex-direction: column; gap: 24px; }
.hero-lead { font-size: 20px; max-width: 640px; color: #ececea; }
.hero-call { color: #fff; font-weight: 600; padding: 8px 12px; }
.hero-call:hover { color: #fff; }
@media (max-width: 640px) { .hero-inner { padding-top: 72px; padding-bottom: 64px; } }

.facts { border-bottom: 1px solid #e3e3e0; }
.facts .container { padding-top: 32px; padding-bottom: 32px; }
.fact { display: flex; flex-direction: column; gap: 4px; }

/* ---- Mat cards ---- */
.mat-card { background: #fff; border: 1px solid #dededa; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--brand-ink); display: flex; flex-direction: column; }
.mat-card:hover { border-color: #a9a9a4; color: var(--brand-ink); }
.mat-card img { width: 100%; height: 190px; object-fit: cover; }
.mat-card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.mat-card .muted { font-size: 16px; }
.spec { font-size: 14px; font-weight: 600; color: var(--brand-primary); margin-top: 4px; }

.callout-dark { background: var(--brand-graphite); color: #fff; border-radius: 6px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.callout-lg { padding: 40px; }

.steps .step { display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--brand-primary); padding-top: 20px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--brand-primary); }

.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.photo-strip img { width: 100%; height: 280px; object-fit: cover; }

.cta-band { background: var(--brand-primary); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }

/* ---- Mats page ---- */
.page-head { background: var(--brand-ground); border-bottom: 1px solid #e3e3e0; }
.page-head .container { padding-top: 64px; padding-bottom: 48px; }
.table-wrap { overflow-x: auto; border: 1px solid #dededa; border-radius: 6px; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 16px; }
.spec-table thead tr { background: var(--brand-graphite); color: #fff; text-align: left; }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: left; }
.spec-table tbody tr { border-top: 1px solid #e6e6e2; }
.spec-table tbody th { font-weight: 600; }
.spec-table tbody th a { color: var(--brand-ink); }
.mat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; scroll-margin-top: 24px; }
.mat-row img { width: 100%; height: 340px; object-fit: cover; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--brand-soft); padding: 6px 12px; border-radius: 3px; font-size: 15px; font-weight: 500; }

/* ---- Terms ---- */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 14px; padding-bottom: 72px; }
.prose h2 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; margin-top: 18px; scroll-margin-top: 24px; }

/* ---- Forms ---- */
.form-page { max-width: 880px; padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.form-page-split { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-card { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid #dededa; border-radius: 6px; padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.message-page { max-width: 760px; padding-top: 72px; padding-bottom: 120px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 20px; }
.form-section { margin: 0; min-width: 0; background: #fff; border: 1px solid #dededa; border-radius: 6px; padding: clamp(20px, 4vw, 32px); }
.form-section-strong { border: 2px solid var(--brand-primary); }
.form-section legend { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; padding: 0 8px; }
.span-all { grid-column: 1 / -1; }
.sub-head { font-weight: 600; color: var(--brand-primary); margin-top: 6px; }
.divider { border-top: 1px solid #ececea; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-weight: 600; font-size: 15px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  font: inherit; padding: 12px; border: 1px solid #8f8f8a; border-radius: 4px; background: #fff; color: var(--brand-ink); width: 100%;
}
.field textarea { resize: vertical; }
.field input.file { padding: 10px; border-style: dashed; background: #fafaf8; }
.field input.readonly { background: #f4f4f2; color: #5b5b57; border-color: #dededa; }
.field [aria-invalid="true"] { border-color: #9b2c1f; border-width: 2px; }
.field-error { color: #9b2c1f; font-size: 14px; font-weight: 600; }
.field-hint { color: #5b5b57; font-size: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-primary); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #4f4f4b; flex: 1 1 260px; }
.alert { border-radius: 6px; padding: 16px 20px; }
.alert-error { background: #fbeae7; border: 1px solid #e2b3ab; color: #6e1f15; }
.note-soft { background: var(--brand-soft); border-radius: 6px; padding: 18px 20px; font-size: 15px; }
.prefill { background: #fff; border: 1px solid #dededa; border-radius: 6px; padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.terms-box { background: var(--brand-ground); padding: 16px; border-radius: 4px; font-size: 15px; color: #3f3f3c; display: flex; flex-direction: column; gap: 8px; }
.ref-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #ececea; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pay-option { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; min-height: 88px; border: 2px solid #cfcfca; border-radius: 6px; cursor: pointer; background: #fff; }
.pay-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--brand-primary); background: var(--brand-soft); }
.pay-option:has(input:focus-visible) { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.pay-label { font-weight: 600; }
.pay-note { font-size: 14px; color: #4f4f4b; }

.mode-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mode-pill { position: relative; }
.mode-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 22px; border: 2px solid #cfcfca; font-weight: 600; font-size: 15px; background: #fff; }
.mode-pill input:checked + span { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.mode-pill input:focus-visible + span { outline: 3px solid var(--brand-primary); outline-offset: 2px; }

/* Quote sidebar */
.side-stack { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.side-dark { background: var(--brand-graphite); color: #fff; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.side-phone { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: #fff; text-decoration: none; line-height: 1.1; }
.side-phone:hover { color: #fff; }
.side-card { background: #fff; border: 1px solid #dededa; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.side-soft { background: var(--brand-soft); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-graphite); color: #d9d9d5; font-size: 15px; line-height: 1.6; }
.footer-grid { padding-top: 48px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { color: #fff; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: #fff; letter-spacing: .5px; margin-bottom: 4px; }
.footer-head { font-weight: 600; color: #fff; }
.footer-bottom { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid #44464a; font-size: 13px; color: #b5b5b0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a { color: #b5b5b0; }
