/* Redison Electric — colours from Agent_System/agents/marketing/references/brand.md.
   Fonts: Barlow / Barlow Condensed stand in for Fontin Sans / DIN Next until Sean supplies licences. */
:root {
  --red: #DB2827;
  --red-bright: #E21C21;
  --red-dark: #B81F1E;
  --charcoal: #2F2E2E;
  --ink: #1F1E1E;
  --grey-light: #DBDBDB;
  --grey-warm: #6E6968;
  --paper: #F6F5F4;
  --white: #FFFFFF;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--charcoal); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--red); box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.bar { max-width: var(--max); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand img { width: 150px; }
.header-call { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font: 600 1.15rem var(--head); letter-spacing: .04em; }
.header-call svg { width: 20px; height: 20px; fill: currentColor; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { background: var(--charcoal); }
.nav ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); }
.nav a { display: block; padding: 14px 16px; color: var(--white); text-decoration: none; font: 600 .95rem var(--head); text-transform: uppercase; letter-spacing: .2em; }
.nav a:hover { color: #ffb3b2; }
.nav-cta a { color: var(--white); background: var(--red); }
.nav-cta a:hover { background: var(--red-dark); color: var(--white); }

@media (max-width: 859px) {
  .header-call span { display: none; }
  .header-call { width: 44px; height: 44px; justify-content: center; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav li + li { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (min-width: 860px) {
  .brand img { width: 190px; }
  .bar { padding: 12px 32px; }
  .menu-toggle { display: none; }
  .nav ul { display: flex; justify-content: center; align-items: center; padding: 0 32px; }
  .nav-cta { margin-left: 16px; }
}

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--charcoal); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.15) 0%, rgba(20,20,20,.55) 45%, rgba(20,20,20,.88) 100%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 6.5vw, 4.4rem); text-transform: uppercase; max-width: 15ch; }
.eyebrow, .kicker { font: 600 .85rem var(--head); text-transform: uppercase; letter-spacing: .22em; margin-bottom: 14px; }
.eyebrow { color: #ffd1d0; }
.eyebrow::before, .kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--red-bright); vertical-align: middle; margin-right: 10px; }
.lede { font-size: 1.15rem; max-width: 52ch; color: rgba(255,255,255,.92); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: var(--radius); border: 2px solid transparent; font: 700 1.05rem var(--head); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* Strip */
.strip { background: var(--red); color: var(--white); }
.strip ul { list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.strip li { display: flex; flex-direction: column; }
.strip strong { font: 700 1.3rem var(--head); text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.strip span { font-size: .92rem; opacity: .9; }
@media (min-width: 860px) { .strip ul { grid-template-columns: repeat(4, 1fr); } .strip li + li { border-left: 1px solid rgba(255,255,255,.3); padding-left: 24px; } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 860px) { .section { padding: 104px 0; } }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--grey-warm); font-size: 1.1rem; }
.kicker { color: var(--red); }
.section-dark { background: var(--charcoal); color: #e9e7e6; }
.section-dark h2 { color: var(--white); }
.section-dark .section-head p:last-child { color: #bdb8b7; }
.section-dark .kicker { color: #ff8987; }
.section-grey { background: var(--paper); }

/* Services */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { border: 1px solid var(--grey-light); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 28px 26px 22px; background: var(--white); transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.service p { color: #514d4c; margin: 0; }
.ico { width: 48px; height: 48px; margin-bottom: 14px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 12px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #444; cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,10,10,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; object-fit: contain; }
.lb-caption { color: #ddd; margin-top: 12px; text-align: center; padding: 0 16px; }
.lightbox button { position: absolute; background: rgba(0,0,0,.4); color: var(--white); border: 0; font-size: 2.4rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* About */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; left: -12px; bottom: -12px; width: 40%; height: 40%; border-left: 6px solid var(--red); border-bottom: 6px solid var(--red); z-index: -1; }
.about { position: relative; z-index: 0; }
.signoff { font: 700 1.3rem var(--head); color: var(--red); text-transform: uppercase; letter-spacing: .04em; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.contact-list { margin: 28px 0; display: grid; gap: 18px; }
.contact-list div { border-left: 3px solid var(--red); padding-left: 14px; }
.contact-list dt { font: 600 .8rem var(--head); text-transform: uppercase; letter-spacing: .2em; color: var(--grey-warm); }
.contact-list dd { margin: 2px 0 0; font-size: 1.08rem; }
.contact-list dd a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.contact-list small { color: var(--grey-warm); font-size: .88rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--grey-light); border-radius: 999px; text-decoration: none; font-weight: 500; background: var(--white); }
.social a:hover { border-color: var(--red); color: var(--red); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.social svg .fill { fill: currentColor; stroke: none; }

.quote-form { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.07); border-top: 4px solid var(--red); }
@media (min-width: 700px) { .quote-form { padding: 36px 34px; } }
.field { display: flex; flex-direction: column; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font: 600 .82rem var(--head); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 6px; color: var(--charcoal); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #c8c4c3; border-radius: 4px; padding: 12px 14px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.quote-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: .88rem; color: var(--grey-warm); margin: 14px 0 0; }
.form-error { color: var(--red-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #bdb8b7; padding: 48px 0 40px; font-size: .95rem; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer-inner img { width: 72px; border-radius: 50%; margin-bottom: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #ff8987; }
.copy { font-size: .82rem; opacity: .7; margin: 8px 0 0; }
@media (max-width: 480px) { .eyebrow { letter-spacing: .12em; font-size: .78rem; } }

/* Visit request form extras */
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
legend { font: 600 .82rem var(--head); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 8px; padding: 0; color: var(--charcoal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; font: 500 1rem var(--body); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid #c8c4c3; border-radius: 999px; background: var(--white); user-select: none; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--grey-warm); }
.emergency { background: #fdecec; border-left: 4px solid var(--red); padding: 12px 14px; border-radius: 4px; font-size: .95rem; margin-bottom: 20px; }
.emergency a { color: var(--red-dark); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.form-done { background: var(--white); border-radius: var(--radius); padding: 36px 30px; border-top: 4px solid var(--red); box-shadow: 0 10px 40px rgba(0,0,0,.07); align-self: start; }
.form-done:focus { outline: none; }
.btn[disabled] { opacity: .6; cursor: wait; }
