/* BrushRoll website v1.3 — design system and layout */

:root {
  --navy: #14213A;
  --navy-2: #26344F;
  --navy-line: #33405C;
  --orange: #B8451A;        /* 5.4:1 on white, 4.8:1 on warm white */
  --orange-dark: #8F3412;
  --orange-light: #F08A4B;  /* accent on navy only */
  --sand: #E9B872;
  --white: #FFFFFF;
  --warm: #F6F2EA;
  --sheet: #EDE6D8;
  --line: #D8CFBD;
  --text: #14213A;
  --muted: #3D475C;
  --on-dark: #D5D9E2;
  --error: #A3261B;
  --ok: #1E5E3A;
  --radius: 20px;
  --wrap: 1200px;
  --font-head: 'Archivo', 'Arial Black', Arial, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--warm); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--orange); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .card-dark :focus-visible, .site-footer :focus-visible, .glance :focus-visible { outline-color: var(--orange-light); }
.cta-band :focus-visible { outline-color: var(--white); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-title { max-width: 18em; margin-bottom: 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -80px; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: var(--white); }

.draft-bar { margin: 0; padding: 8px 24px; background: #FFF3C4; color: #3A2E00; font-size: 0.9rem; text-align: center; }
.todo { background: #FFE27A; color: #3A2E00; padding: 0 0.3em; border-radius: 4px; font-weight: 600; font-size: 0.92em; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--warm); border-bottom: 1px solid #E2DACA; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.logo-word span { color: var(--orange); }
.logo-word-light { color: var(--warm); margin-bottom: 0.4em; }
.logo-word-light span { color: var(--orange-light); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px 26px; }
.site-nav a:not(.btn) { display: inline-block; padding: 12px 2px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--orange); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; background: none; border: 2px solid var(--navy); border-radius: 999px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; content: ''; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.125rem; }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: var(--orange-dark); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #0C1526; color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: var(--warm); color: var(--warm); background: transparent; }
.btn-outline-light:hover { background: var(--warm); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 700; }

/* ---- Hero and page heads ---- */
.eyebrow { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 1em; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 36em; }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero-text .btn-row { margin-block: 1.6em 1.2em; }
.hero-call { color: var(--muted); margin: 0; }
.hero-media { position: relative; border-radius: 24px; overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.roller-pass { position: absolute; top: 0; right: 28px; display: flex; gap: 10px; height: 100%; pointer-events: none; }
.roller-pass span { width: 34px; border-radius: 0 0 17px 17px; }
.roller-pass span:nth-child(1) { height: 30%; background: var(--navy); }
.roller-pass span:nth-child(2) { height: 21%; background: var(--orange); }
.roller-pass span:nth-child(3) { height: 12%; background: var(--sand); }
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 14em; }
.page-head .btn-row { margin-top: 1.6em; }
.note { background: var(--sheet); border-radius: 12px; padding: 14px 18px; max-width: 46em; margin-top: 1.4em; font-size: 0.98rem; }

/* ---- Bands ---- */
.glance { background: var(--navy); color: var(--warm); }
.glance ul { list-style: none; margin-block: 0; padding-block: 24px; display: flex; flex-wrap: wrap; gap: 14px 44px; font-weight: 600; }
.glance li { display: flex; align-items: center; gap: 10px; }
.glance li::before { content: ''; width: 22px; height: 8px; border-radius: 4px; background: var(--orange-light); flex: none; }
.band { background: var(--sheet); }
.band a, .band .eyebrow, .note a { color: var(--orange-dark); }  /* 6.3:1 on the darker band */
.dark { background: var(--navy); color: var(--warm); }
.dark .fine { color: var(--on-dark); }
.fine { font-size: 0.92rem; margin: 1.4em 0 0; }

/* ---- Layout helpers ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > div > p { color: var(--muted); }
.split-top { align-items: start; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair img, .photo-single img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo-pair img { aspect-ratio: 3 / 4; }
.photo-pair picture:nth-child(2) { margin-top: 40px; }
.photo-pair-wide img { aspect-ratio: 16 / 10; }
.photo-pair-wide picture:nth-child(2) { margin-top: 0; }
.photo-single img { aspect-ratio: 4 / 3; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 2em; }
.title-row .section-title { margin: 0; }
.after-grid { margin: 2.4em 0 0; max-width: 46em; }

/* ---- Cards ---- */
.card { background: var(--white); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 32px 36px 36px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card-body h2, .card-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; }
.card-body p:not(.eyebrow) { color: var(--muted); }
.card-body .btn { margin-top: auto; }
.card-dark { background: var(--navy); color: var(--warm); }
.card-dark .eyebrow { color: var(--orange-light); }
.card-dark .card-body p:not(.eyebrow) { color: var(--on-dark); }
.ticks { list-style: none; margin: 0 0 1.6em; padding: 0; width: 100%; font-weight: 600; }
.ticks li { border-top: 1px solid #E2DACA; padding: 10px 0 10px 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 18px; height: 7px; border-radius: 4px; background: var(--orange); }
.card-dark .ticks li { border-top-color: var(--navy-line); }
.card-dark .ticks li::before { background: var(--orange-light); }
.ticks-wide { max-width: 40em; }

.point h3 { margin-top: 0.9em; }
.point p { color: var(--muted); margin: 0; }
.point::before { content: ''; display: block; width: 56px; height: 10px; border-radius: 5px; background: var(--orange); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--orange); margin-bottom: 0.3em; }

.work-tile { margin: 0; }
.work-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.work-tile figcaption { margin-top: 12px; color: var(--on-dark); }
.work-tile figcaption strong { display: block; color: var(--warm); font-size: 1.1rem; }

.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0; font-size: 1.1rem; }
.quote figcaption { font-weight: 700; margin-top: 0.6em; }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.service-item { border-top: 1px solid var(--line); padding: 24px 0; }
.service-item h3 { margin-bottom: 0.35em; }
.service-item p { color: var(--muted); margin: 0; }

/* ---- FAQs ---- */
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; padding: 20px 44px 20px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.8rem; font-weight: 400; color: var(--orange); }
.faq[open] summary::after { content: '\2212'; }
.faq p { color: var(--muted); margin: 0; padding: 0 44px 22px 0; }

/* ---- Gallery ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.filter.is-active { background: var(--navy); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.project { margin: 0; }
.project[hidden] { display: none; }
.project-link { display: block; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.project-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.project-link:hover img { transform: scale(1.03); }
.project-before { margin-top: 10px; }
.before-tag { position: absolute; left: 12px; top: 12px; background: var(--navy); color: var(--white); font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.project figcaption h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; margin: 14px 0 2px; }
.project figcaption p { margin: 0; color: var(--muted); font-size: 1rem; }
.project-meta { font-weight: 600; }
.lightbox { border: 0; padding: 0; background: var(--navy); color: var(--warm); border-radius: 16px; max-width: min(1100px, 94vw); max-height: 94vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 16, 30, 0.85); }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox-caption { margin: 0; padding: 14px 20px 18px; font-weight: 600; }
.lightbox-close { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: var(--white); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }

/* ---- Contact form ---- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 16px; }
.form-card { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 44px); scroll-margin-top: 110px; }
.form-card h2 { font-size: 1.9rem; }
.form-intro { color: var(--muted); }
.quote-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 2px solid #8A8F9C; border-radius: 10px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="file"] { width: 100%; font: inherit; font-size: 1rem; padding: 12px; border: 2px dashed #8A8F9C; border-radius: 10px; background: var(--warm); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: 0.92rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--error); font-weight: 600; font-size: 0.95rem; margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--orange); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 14px; padding: 20px 24px; margin-bottom: 24px; }
.notice h2, .notice h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.4em; }
.notice p:last-child, .notice ul { margin-bottom: 0; }
.notice-error { background: #FBEAE7; border: 2px solid var(--error); }
.notice-error a { color: var(--error); font-weight: 600; }
.notice-ok { background: #E6F2EA; border: 2px solid var(--ok); margin-bottom: 0; }
.contact-side h2 { font-size: 1.5rem; }
.contact-side dl { margin: 0 0 2.2em; }
.contact-side dt { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 1em; }
.contact-side dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; }
.next-steps { padding-left: 1.2em; color: var(--muted); }
.next-steps li { margin-bottom: 0.5em; }

.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }

/* ---- Closing CTA and footer ---- */
.cta-band-wrap { padding: 0 24px clamp(56px, 8vw, 96px); }
.band + .cta-band-wrap, .dark + .cta-band-wrap { padding-top: clamp(56px, 8vw, 96px); }
.cta-band { max-width: calc(var(--wrap) - 48px); margin-inline: auto; background: var(--orange); color: var(--white); border-radius: 28px; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; font-size: 1.15rem; }
.cta-band .btn-outline-light { border-color: var(--white); color: var(--white); }
.site-footer { background: var(--navy); color: var(--on-dark); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px 56px; padding-block: 64px 36px; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--warm); margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--navy-line); padding-block: 20px 28px; font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-base a { text-decoration: underline; }
.footer-base p { margin: 0; }
.mobile-bar { display: none; }

/* ---- Tablet ---- */
@media (max-width: 1020px) {
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--warm); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; box-shadow: 0 18px 30px rgba(20, 33, 58, 0.12); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--orange); border-bottom-color: var(--line); }
  .nav-cta { margin-top: 18px; width: 100%; }
}

/* ---- Mobile ---- */
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .hero, .split, .cards-2, .contact-grid, .service-list { grid-template-columns: 1fr; }
  .hero { gap: 32px; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .lead { font-size: 1.125rem; }
  .field-row { grid-template-columns: 1fr; }
  .card-body { padding: 26px 24px 28px; }
  .btn-lg { width: 100%; }
  .hero-text .btn-row .btn, .cta-band .btn { width: 100%; }
  .cta-band .btn-row { width: 100%; }
  .glance ul { flex-direction: column; gap: 10px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--warm); border-top: 1px solid var(--line); }
  .mobile-bar .btn { flex: 1; }
}
@media (max-width: 560px) {
  .grid-4, .steps, .gallery, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .photo-pair-wide { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .mobile-bar, .cta-band-wrap, .draft-bar, .nav-toggle { display: none; }
  body { background: #fff; padding: 0; }
}
