/* Clint Hicks Roofing, LLC — Alamogordo, NM
   gypsum · charcoal · galvalume · copper · monsoon
   Barlow Condensed (display) + Barlow (text) */

:root {
  --gypsum: #eef0ef;
  --white: #ffffff;
  --char: #1d2124;
  --char-2: #272c30;
  --char-3: #343a3f;
  --galv: #9aa3a8;
  --galv-l: #cfd5d8;
  --copper: #b8642a;
  --copper-l: #e08a4c;
  --copper-d: #8a4317;
  --monsoon: #2c3c4e;
  --mute: rgba(29, 33, 36, 0.64);
  --mute-d: rgba(238, 240, 239, 0.7);
  --rule: rgba(29, 33, 36, 0.14);
  --rule-d: rgba(238, 240, 239, 0.14);
  --cond: "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --side: clamp(18px, 3.6vw, 60px);
  --snap: cubic-bezier(0.2, 0.9, 0.1, 1);
  --press: cubic-bezier(0.7, 0, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--gypsum); color: var(--char); font: 400 17.5px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.nav-open { overflow: hidden; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 3px solid var(--copper-l); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--copper); color: #fff; padding: 10px 16px; }

h1, h2, .cond { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(56px, 8.6vw, 150px); line-height: 0.86; }
h2 { font-size: clamp(42px, 5.4vw, 92px); line-height: 0.9; }
h3 { font-family: var(--cond); font-weight: 700; font-size: clamp(24px, 2vw, 32px); text-transform: uppercase; line-height: 1; margin: 0 0 10px; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--mute); max-width: 32em; }
.dk .lede, .dk .mute { color: var(--mute-d); }
.mute { color: var(--mute); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--copper-d); margin-bottom: 18px; }
.tag::before { content: ""; width: 26px; height: 10px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 6px); }
.dk .tag { color: var(--copper-l); }
.dk { background: var(--char); color: var(--gypsum); }
.wrap { max-width: 1460px; margin: 0 auto; padding: 0 var(--side); }
.sec { padding: clamp(90px, 11vw, 170px) 0; position: relative; }
.copper-t { color: var(--copper); }
.dk .copper-t { color: var(--copper-l); }

/* metal surfaces */
.seam { background:
  linear-gradient(105deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%) var(--gx, 0) 0 / 220% 100% no-repeat,
  repeating-linear-gradient(90deg, #2a3035 0 2px, #3a4147 2px 6px, #30363b 6px 70px, #1d2226 70px 74px), #30363b; }
.galv { background: linear-gradient(135deg, #e9eef0, #a9b2b7 40%, #dfe4e6 60%, #9aa3a8); }

/* reveals */
[data-up] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--snap), transform .8s var(--snap); }
[data-up].in { opacity: 1; transform: none; }
[data-panel] { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--press); }
[data-panel].in { clip-path: inset(0 0 0 0); }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--side); color: var(--gypsum); transition: background .35s, color .35s, box-shadow .35s; }
.hdr.solid { background: rgba(29,33,36,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule-d); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 46px; height: 40px; flex: none; }
.logo b { display: block; font-family: var(--cond); font-weight: 800; font-size: 24px; line-height: .9; letter-spacing: .02em; }
.logo small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; opacity: .75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--copper-l); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .3s var(--snap); }
.nav a:hover::after, .nav a.on::after { transform: scaleY(1); }
.hdr-r { display: flex; align-items: center; gap: 10px; }
.phone { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; background: var(--copper); color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .03em; transition: background .3s; }
.phone:hover { background: var(--copper-d); }
.phone svg { width: 17px; height: 17px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid currentColor; place-items: center; }
.burger i { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

.drawer { position: fixed; inset: 0; z-index: 80; background: var(--char); color: var(--gypsum); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--side) 30px; transform: translateY(-101%); transition: transform .7s var(--press); }
.nav-open .drawer { transform: none; }
.drawer .x { justify-self: end; width: 46px; height: 46px; border: 1.5px solid var(--gypsum); font-size: 26px; line-height: 1; }
.drawer nav { display: flex; flex-direction: column; justify-content: center; }
.drawer nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule-d); text-decoration: none; font-family: var(--cond); font-weight: 800; font-size: clamp(42px, 10vw, 70px); text-transform: uppercase; line-height: 1; }
.drawer nav a small { font-family: var(--text); font-weight: 500; font-size: 14px; text-transform: none; color: var(--mute-d); }
.drawer nav a.on { color: var(--copper-l); }
.drawer .dc { font-size: 16px; color: var(--mute-d); }
.drawer .dc a { color: var(--gypsum); font-weight: 600; text-decoration: none; display: block; word-break: break-word; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px; background: var(--copper); color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, var(--char) 0 calc(100% / 6 - 2px), #000 calc(100% / 6 - 2px) calc(100% / 6)); transform: translateY(101%); transition: transform .45s var(--press); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--snap); }
.btn:hover svg { transform: translateX(4px); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.dk .btn.line::before, .hero .btn.line::before { background: var(--gypsum); }
.dk .btn.line:hover, .hero .btn.line:hover { color: var(--char); }
.btn.line:hover { color: #fff; }
.btn.char { background: var(--char); }
.btn.char::before { background: var(--copper); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); color: var(--gypsum); overflow: hidden; }
.hero .metal { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--side) 56px; }
.hero .metal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,23,26,.92), rgba(20,23,26,.35) 60%, rgba(20,23,26,.6)); pointer-events: none; }
.hero .metal > * { position: relative; z-index: 2; }
.hero .seam { position: absolute; inset: 0; z-index: 0; }
.hero .panels { position: absolute; inset: 0; z-index: 1; display: flex; pointer-events: none; }
.hero .panels i { flex: 1; transform: translateY(-101%); background: linear-gradient(90deg, #4a5157, #3a4147 8%, #30363b 90%, #1d2226); border-right: 3px solid #1a1e21; animation: panelIn .8s var(--snap) forwards; }
@keyframes panelIn { to { transform: none; opacity: 0; } }
.hero h1 { font-size: clamp(60px, 7.6vw, 140px); }
.hero h1 span { display: block; overflow: hidden; }
.hero h1 span b { display: block; font-weight: inherit; transform: translateY(105%); animation: lineUp 1s var(--snap) forwards; }
.hero h1 span:nth-child(2) b { animation-delay: .1s; } .hero h1 span:nth-child(3) b { animation-delay: .2s; }
@keyframes lineUp { to { transform: none; } }
.hero .lede { color: var(--mute-d); margin-top: 24px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .trades { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border-top: 1px solid var(--rule-d); }
.hero .trades span { padding: 14px 22px 0 0; margin-right: 22px; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; border-right: 1px solid var(--rule-d); }
.hero .trades span:last-child { border-right: 0; }
.hero .photo { position: relative; background: var(--char); }
.hero .photo .gable { position: absolute; inset: 0; clip-path: polygon(50% 8%, 100% 38%, 100% 100%, 0 100%, 0 38%); animation: gable 1.3s var(--press) .3s both; }
@keyframes gable { from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); } }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo .ridge { position: absolute; inset: 0; pointer-events: none; }
.hero .photo .ridge path { fill: none; stroke: var(--copper-l); stroke-width: 6; stroke-linejoin: miter; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ridge 1.2s var(--snap) 1.1s forwards; }
@keyframes ridge { to { stroke-dashoffset: 0; } }
.hero .hours { position: absolute; right: var(--side); bottom: 56px; z-index: 3; padding: 16px 18px; background: rgba(29,33,36,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 15px; min-width: 220px; }
.hero .hours b { display: block; font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; }
.hero .hours .st { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--mute-d); }
.hero .hours .st i { width: 9px; height: 9px; border-radius: 50%; background: #e0a03a; }
.hero .hours .st.open i { background: #4fd18b; box-shadow: 0 0 0 0 rgba(79,209,139,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79,209,139,0); } }

/* ticker */
.ticker { overflow: hidden; background: var(--copper); color: #fff; }
.ticker .tr { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { padding: 16px 26px; font-family: var(--cond); font-weight: 800; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ticker span::after { content: ""; width: 16px; height: 16px; background: var(--char); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- three trades ---------- */
.trades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--char); }
.trade { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--rule); text-decoration: none; overflow: hidden; }
.trade:last-child { border-right: 0; }
.trade .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.trade .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--snap); }
.trade:hover .pic img { transform: scale(1.06); }
.trade .pic::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(29,33,36,.0) 0 58px, rgba(29,33,36,.35) 58px 62px); opacity: 0; transition: opacity .5s; }
.trade:hover .pic::after { opacity: 1; }
.trade .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.trade .num { font-family: var(--cond); font-weight: 800; font-size: 74px; line-height: .8; color: var(--galv-l); transition: color .4s; }
.trade:hover .num { color: var(--copper); }
.trade h3 { font-size: clamp(30px, 2.6vw, 42px); margin-top: 10px; }
.trade p { color: var(--mute); flex: 1; }
.trade .go { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--copper-d); }

/* ---------- live sun panel ---------- */
.sunbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.sky { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(180deg, var(--sky-a, #3f6f9e), var(--sky-b, #e8c79a)); overflow: hidden; transition: background 1s; }
.sky svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky .arc { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2; stroke-dasharray: 3 8; }
.sky .sun { fill: #fff3c4; filter: drop-shadow(0 0 24px #ffd36b); }
.sky .ray { stroke: rgba(255, 220, 140, .55); stroke-width: 3; stroke-dasharray: 8 10; animation: rays 1.2s linear infinite; }
@keyframes rays { to { stroke-dashoffset: -36; } }
.sky .roof { fill: #2f353a; }
.sky .roof-hi { fill: none; stroke: #8d969b; stroke-width: 2; }
.sky .wall { fill: #d8cbb6; }
.sky .ground { fill: #efe7d8; }
.sky .mtn { fill: rgba(44, 60, 78, .55); }
.sky .lbl { font-family: var(--cond); font-weight: 700; font-size: 18px; fill: #fff; letter-spacing: .04em; }
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--gypsum); margin-top: 30px; }
.readings div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule-d); }
.readings div:nth-child(odd) { border-right: 1px solid var(--rule-d); }
.readings div:nth-child(even) { padding-left: 18px; }
.readings small { display: block; font-size: 13.5px; color: var(--mute-d); font-weight: 500; }
.readings b { font-family: var(--cond); font-weight: 800; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; letter-spacing: -.01em; }
.readings b em { font-style: normal; font-size: .45em; color: var(--copper-l); margin-left: 4px; }
.verdict { margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--copper-l); background: var(--char-2); color: var(--mute-d); font-size: 16px; }

/* ---------- sheet metal brake ---------- */
.brake { position: relative; height: 300vh; }
.brake-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding: 0 var(--side); max-width: 1460px; margin: 0 auto; }
.brake svg { width: 100%; height: auto; overflow: visible; }
.brake .sheet { fill: none; stroke: url(#copperGrad); stroke-width: 12; stroke-linejoin: miter; stroke-linecap: square; filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }
.brake .bed { fill: #2a2f33; }
.brake .bed-top { fill: #4a5157; }
.brake .clamp { fill: #3a4147; }
.brake .dim { font-family: var(--cond); font-weight: 700; font-size: 22px; fill: var(--galv); letter-spacing: .04em; }
.brake .grid line { stroke: rgba(29,33,36,.06); }
.brake-steps { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.brake-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--mute); transition: color .3s; }
.brake-steps li b { font-family: var(--cond); font-weight: 800; font-size: 34px; line-height: 1; color: var(--galv-l); transition: color .3s; }
.brake-steps li strong { display: block; color: var(--char); font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.brake-steps li.on { color: var(--char); }
.brake-steps li.on b { color: var(--copper); }
.brake .profile-name { font-family: var(--cond); font-weight: 800; font-size: clamp(40px, 4.4vw, 74px); text-transform: uppercase; line-height: .9; color: var(--copper); min-height: 1.8em; }

/* ---------- monsoon ---------- */
.storm { position: relative; min-height: 92vh; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.storm img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.storm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,24,30,.9), rgba(20,24,30,.1) 60%); }
.storm canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.storm .copy { position: relative; z-index: 3; padding: clamp(30px, 6vw, 90px) var(--side); display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: end; width: 100%; max-width: 1460px; margin: 0 auto; }
.storm .copy p { color: rgba(255,255,255,.85); margin: 0; }
.storm .facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.25); }
.storm .facts4 div { padding: 14px 14px 0 0; }
.storm .facts4 b { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(30px, 3vw, 48px); line-height: 1; }
.storm .facts4 small { color: rgba(255,255,255,.75); font-size: 14px; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; border-top: 3px solid var(--char); }
.process > div { position: relative; padding: 30px 26px 30px 0; border-right: 1px solid var(--rule); }
.process > div + div { padding-left: 26px; }
.process > div:last-child { border-right: 0; }
.process i { display: block; font-style: normal; font-family: var(--cond); font-weight: 800; font-size: 90px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--copper); margin-bottom: 20px; }
.process p { color: var(--mute); margin: 0; }

/* ---------- configurator ---------- */
.config { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.house { background: linear-gradient(180deg, #8fb3cf, #e9dcc5 80%); position: relative; overflow: hidden; }
.house svg { width: 100%; height: auto; }
.house .r-face { transition: fill .5s; }
.house .w-face { transition: fill .5s; }
.house .trim { transition: fill .5s, stroke .5s; }
.house .ribs line { transition: opacity .4s; }
.house .shingles { transition: opacity .4s; }
.house .lapl { transition: opacity .4s; }
.house .pitch-t { font-family: var(--cond); font-weight: 800; font-size: 26px; fill: #fff; }
.opts h4 { margin: 0 0 10px; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-d); }
.opts .grp { margin-bottom: 22px; }
.opts .row { display: flex; flex-wrap: wrap; gap: 8px; }
.opts input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.opts label.o { padding: 10px 14px; border: 1.5px solid var(--rule-d); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.opts input:checked + label.o { background: var(--gypsum); color: var(--char); border-color: var(--gypsum); }
.opts input:focus-visible + label.o { outline: 3px solid var(--copper-l); outline-offset: 2px; }
.opts label.sw { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 3px rgba(255,255,255,.15); transition: transform .3s var(--snap), box-shadow .2s; }
.opts input:checked + label.sw { box-shadow: 0 0 0 3px var(--char), 0 0 0 5px var(--gypsum); transform: scale(1.06); }
.opts input:focus-visible + label.sw { outline: 3px solid var(--copper-l); outline-offset: 4px; }
.opts input[type=range] { width: 100%; accent-color: var(--copper-l); }
.opts .pv { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute-d); }
.opts .pv b { color: var(--gypsum); font-family: var(--cond); font-size: 22px; }

/* ---------- page head ---------- */
.ph { position: relative; min-height: 76svh; display: flex; align-items: flex-end; color: var(--gypsum); overflow: hidden; }
.ph img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 1.6s var(--snap) forwards; }
@keyframes settle { to { transform: scale(1); } }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,23,26,.92), rgba(20,23,26,.25) 70%, rgba(20,23,26,.5)); }
.ph .panels { position: absolute; inset: 0; z-index: 2; display: flex; pointer-events: none; }
.ph .panels i { flex: 1; background: linear-gradient(90deg, #4a5157, #3a4147 8%, #30363b 90%, #1d2226); border-right: 3px solid #1a1e21; animation: panelOut .9s var(--press) forwards; }
@keyframes panelOut { to { transform: translateY(-101%); } }
.ph .panels i:nth-child(2) { animation-delay: .05s; } .ph .panels i:nth-child(3) { animation-delay: .1s; } .ph .panels i:nth-child(4) { animation-delay: .15s; } .ph .panels i:nth-child(5) { animation-delay: .2s; } .ph .panels i:nth-child(6) { animation-delay: .25s; } .ph .panels i:nth-child(7) { animation-delay: .3s; } .ph .panels i:nth-child(8) { animation-delay: .35s; }
.ph .wrap { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(40px, 6vw, 80px); padding-top: 130px; }
.ph h1 { font-size: clamp(60px, 10vw, 170px); }
.ph .lede { color: var(--mute-d); margin-top: 20px; }

/* services detail */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; padding: clamp(70px, 9vw, 140px) 0; border-bottom: 1px solid var(--rule); }
.svc:nth-child(even) .pic { order: -1; }
.svc .num { font-family: var(--cond); font-weight: 800; font-size: clamp(90px, 11vw, 190px); line-height: .78; color: transparent; -webkit-text-stroke: 2px var(--galv); }
.svc h2 { margin: 6px 0 18px; }
.svc ul { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.svc li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.svc li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: var(--copper); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.svc .pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.svc .pic img { width: 100%; height: 100%; object-fit: cover; }
.svc .pic .badge { position: absolute; left: 0; bottom: 0; background: var(--char); color: var(--gypsum); padding: 12px 16px; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.extras > div { padding: 30px; background: var(--char-2); border-top: 4px solid var(--copper); }
.extras p { color: var(--mute-d); margin: 0; }
.extras svg { width: 44px; height: 44px; color: var(--copper-l); margin-bottom: 24px; }

/* about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.sticky { position: sticky; top: 100px; }
.pic-tall { aspect-ratio: 4 / 5; overflow: hidden; }
.pic-tall img, .pic-wide img { width: 100%; height: 100%; object-fit: cover; }
.pic-wide { aspect-ratio: 16 / 9; overflow: hidden; }
.prose p { font-size: 19px; max-width: 34em; }
.rules3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--gypsum); }
.rules3 > div { padding: 28px 26px 0 0; }
.rules3 > div + div { padding-left: 26px; border-left: 1px solid var(--rule-d); }
.rules3 p { color: var(--mute-d); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.towns span { padding: 8px 14px; border: 1.5px solid var(--rule); font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { padding: 12px 18px; border: 2px solid var(--char); font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; transition: background .25s, color .25s; }
.filters button.on, .filters button:hover { background: var(--char); color: var(--gypsum); }
.masonry { columns: 3 320px; column-gap: 14px; }
.masonry figure { position: relative; margin: 0 0 14px; break-inside: avoid; overflow: hidden; cursor: zoom-in; transition: opacity .4s, transform .5s var(--snap); }
.masonry figure.hide { display: none; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--snap); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(20,23,26,.85), transparent); color: #fff; font-weight: 600; font-size: 15px; transform: translateY(100%); transition: transform .4s var(--snap); }
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { transform: none; }
.masonry figcaption small { display: block; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-l); }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(15,17,19,.95); display: grid; place-items: center; padding: 60px 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.on { opacity: 1; pointer-events: auto; }
.lb img { max-height: 80vh; width: auto; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.lb p { color: var(--gypsum); text-align: center; margin: 14px 0 0; }
.lb button { position: absolute; width: 54px; height: 54px; border: 1.5px solid var(--gypsum); color: var(--gypsum); font-size: 26px; }
.lb .lx { top: 18px; right: 18px; } .lb .lp { left: 18px; top: 50%; } .lb .ln { right: 18px; top: 50%; }

/* contact */
.estimate { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.hot { position: relative; background: linear-gradient(180deg, #a7c2d6, #efe6d6 85%); }
.hot svg { width: 100%; height: auto; }
.hot .hz { cursor: pointer; transition: fill .25s, stroke .25s; }
.hot .hz.roof-z { fill: #3a4147; } .hot .hz.wall-z { fill: #d8cbb6; } .hot .hz.flash-z { fill: #9aa3a8; } .hot .hz.gut-z { fill: #6f777d; }
.hot .hz:hover { stroke: var(--copper); stroke-width: 4; }
.hot .hz.sel { fill: var(--copper) !important; }
.hot text { font-family: var(--cond); font-weight: 700; font-size: 18px; fill: var(--char); pointer-events: none; }
.hot .pinlbl { fill: #fff; }
.hot-cap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 40px; }
.hot-cap span { padding: 8px 12px; background: var(--copper); color: #fff; font-weight: 600; font-size: 14px; }
.hot-cap em { font-style: normal; color: var(--mute); font-size: 15px; }
.form { display: grid; gap: 16px; margin-top: 30px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; }
.fld .l { display: flex; justify-content: space-between; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.fld .l em { font-style: normal; color: var(--copper-d); font-family: var(--text); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 14px; }
.fld input, .fld select, .fld textarea { width: 100%; height: 56px; padding: 0 16px; border: 2px solid var(--rule); background: #fff; font-size: 17px; outline: none; border-radius: 0; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.fld textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8642a' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--copper); }
.fld.bad input { border-color: #c0392b; background: #fff5f3; }
.fld .err { display: none; color: #b03a2e; font-size: 14px; margin-top: 4px; }
.fld.bad .err { display: block; }
.shop { background: var(--char); color: var(--gypsum); padding: clamp(24px, 3vw, 40px); }
.shop dl { margin: 0; }
.shop dt { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-l); margin-top: 20px; }
.shop dt:first-child { margin-top: 0; }
.shop dd { margin: 4px 0 0; font-size: 17px; }
.shop dd a { text-decoration: none; font-weight: 600; word-break: break-word; }
.shop dd a:hover { color: var(--copper-l); }
.shop .big { font-family: var(--cond); font-weight: 800; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; }
.map { margin-top: 14px; aspect-ratio: 4 / 3; background: var(--char-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.sent { display: none; margin-top: 20px; padding: 24px; background: var(--char); color: var(--gypsum); border-left: 6px solid var(--copper); }
.sent.on { display: block; animation: slideIn .5s var(--snap); }
@keyframes slideIn { from { opacity: 0; transform: translateY(16px); } }
.sent p { color: var(--mute-d); }

/* CTA band */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.cta .big-num { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(38px, 4.4vw, 84px); line-height: .9; white-space: nowrap; text-decoration: none; color: var(--copper-l); transition: color .3s; }
.cta .big-num:hover { color: var(--gypsum); }
.cta .mail { display: block; margin-top: 14px; font-size: clamp(17px, 1.6vw, 24px); font-weight: 600; text-decoration: none; word-break: break-word; }
.cta .mail:hover { color: var(--copper-l); }

/* footer */
.foot { background: #15181b; color: var(--gypsum); padding: clamp(70px, 8vw, 110px) 0 28px; }
.foot-g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot h4 { margin: 0 0 12px; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-l); }
.foot a { display: block; text-decoration: none; margin-bottom: 7px; transition: color .2s; word-break: break-word; }
.foot a:hover { color: var(--copper-l); }
.foot p { margin: 0 0 7px; color: var(--mute-d); }
.foot .word { font-family: var(--cond); font-weight: 800; font-size: clamp(34px, 3.4vw, 54px); line-height: .9; text-transform: uppercase; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--rule-d); font-size: 14px; color: var(--mute-d); }

/* page transition: seams drop */
.seams { position: fixed; inset: 0; z-index: 500; display: flex; pointer-events: none; }
.seams i { flex: 1; background: linear-gradient(90deg, #4a5157, #3a4147 8%, #30363b 90%, #1d2226); border-right: 3px solid #1a1e21; transform: translateY(-101%); }
.seams.drop i { transform: none; transition: transform .5s var(--press); }
.seams.drop i:nth-child(2) { transition-delay: .04s; } .seams.drop i:nth-child(3) { transition-delay: .08s; } .seams.drop i:nth-child(4) { transition-delay: .12s; } .seams.drop i:nth-child(5) { transition-delay: .16s; } .seams.drop i:nth-child(6) { transition-delay: .2s; } .seams.drop i:nth-child(7) { transition-delay: .24s; } .seams.drop i:nth-child(8) { transition-delay: .28s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .photo { min-height: 46vh; order: -1; }
  .hero .metal { padding-top: 40px; }
  .hero .hours { bottom: auto; top: calc(46vh - 90px); }
  .sunbox, .config, .split, .estimate, .cta, .svc, .storm .copy { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(even) .pic { order: 0; }
  .sticky { position: static; }
  .brake-pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 10px; }
  .brake-steps { display: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .process > div:nth-child(2) { border-right: 0; }
  .process > div:nth-child(3) { padding-left: 0; }
  .foot-g { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .phone span { display: none; }
  .phone { padding: 0 14px; }
  .logo small { display: none; }
  .trades-grid, .extras, .rules3, .process, .form .two, .readings { grid-template-columns: 1fr; }
  .trade, .process > div, .process > div + div { border-right: 0; padding-left: 0; }
  .rules3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-d); }
  .readings div:nth-child(odd) { border-right: 0; }
  .readings div:nth-child(even) { padding-left: 0; }
  .storm .facts4 { grid-template-columns: 1fr 1fr; }
  .foot-g { grid-template-columns: 1fr; }
  .hero h1 { font-size: 15vw; }
  .ph h1 { font-size: 17vw; }
  .hero .hours { display: none; }
  .brake { height: 240vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-up], [data-panel] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .brake { height: auto; }
  .brake-pin { position: relative; height: auto; padding-top: 80px; padding-bottom: 80px; }
}
