/* Cothren Plumbing & Construction — site styles
   Palette from their badge logo: red, black, white and the light shop grey. */
:root {
  --red: #E82625;        /* badge red, slightly deepened for text on light */
  --red-bright: #FF3231; /* badge red as drawn */
  --red-ink: #C01B1A;    /* small red text on white */
  --ink: #0B0B0C;
  --ink-2: #2A2A2C;
  --grey: #D9D9D9;       /* their site grey */
  --paper: #EFEFED;
  --white: #FFFFFF;
  --muted: #5C5C60;
  --line: rgba(11, 11, 12, .14);
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --wrap: 1200px;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: .95; margin: 0 0 .4em; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.7rem; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--hand); font-weight: 700; text-transform: none; letter-spacing: 0; }
.kicker { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: .92rem; color: var(--red-ink); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.kicker::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--red); }
.on-dark .kicker { color: var(--red-bright); }

/* ---------- buttons ---------- */
.btn { --bg: var(--red); --fg: #fff; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 6px 0 #8f1413; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8f1413; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #8f1413; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn.dark { --bg: var(--ink); box-shadow: 0 6px 0 #000; }
.btn.light { --bg: #fff; --fg: var(--ink); box-shadow: 0 6px 0 var(--grey); }
.textlink { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.textlink:hover { color: var(--red-ink); }

/* ---------- header: the badge hangs below the bar like a tag ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(239, 239, 237, .92); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 2px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; align-self: flex-start; }
.brand img { width: 96px; height: auto; margin-top: 6px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); transition: transform .3s ease; }
.brand:hover img { transform: rotate(-6deg); }
.brand .name { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: 1.35rem; margin-top: 20px; }
.brand .name small { display: block; font-size: .72rem; letter-spacing: .2em; color: var(--red-ink); font-weight: 800; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; font-size: 1.02rem; padding: 10px 14px; border-radius: 999px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.call-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 8px 16px 8px 8px; border-radius: 999px; font-family: var(--display); font-weight: 800; letter-spacing: .05em; font-size: 1.05rem; white-space: nowrap; }
.call-pill .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; position: relative; }
.call-pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.2s ease-out infinite; }
.call-pill small { display: block; font-size: .66rem; letter-spacing: .16em; color: #bdbdbd; line-height: 1; }
.call-pill b { display: block; line-height: 1.05; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.menu-btn { display: none; margin-left: auto; background: var(--ink); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .top .wrap { height: 62px; }
  .brand img { width: 74px; }
  .brand .name { margin-top: 14px; font-size: 1.15rem; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 18px 16px 26px; transform: translateY(-120%); transition: transform .3s ease; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { color: #fff; font-size: 1.6rem; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; }
  .nav a::after { left: 6px; right: auto; width: 40px; bottom: 8px; }
  .nav .call-pill { margin-top: 18px; justify-content: center; padding: 12px; font-size: 1.3rem; border: 2px solid var(--red); }
  .nav .call-pill::after { display: none; }
}
@media (max-width: 420px) { .brand .name { display: none; } }

/* sticky phone bar on small screens */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--ink); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; border-radius: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: #fff; font-size: 1.05rem; }
  .dock a:first-child { background: var(--red); }
  .dock a:last-child { border: 2px solid #fff; }
  body { padding-bottom: 74px; }
}

/* ---------- home hero: motto left, 3D house right ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 10px; }
.motto { font-size: clamp(3.6rem, 9vw, 7.6rem); line-height: .86; margin: 0 0 26px; }
.motto span { display: block; position: relative; width: max-content; max-width: 100%; }
.motto .ln { opacity: 0; transform: translateY(24px); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.motto .ln:nth-child(2) { animation-delay: .18s; color: var(--red); }
.motto .ln:nth-child(3) { animation-delay: .36s; }
.motto .ln:nth-child(2)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: wipe .6s .9s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wipe { to { transform: scaleX(1); } }
.hero-lede { font-size: 1.2rem; max-width: 34ch; color: var(--ink-2); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-cta .or { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-cta .or a { color: var(--red-ink); text-decoration: none; border-bottom: 3px solid currentColor; }
.stage { position: relative; aspect-ratio: 7 / 5; min-height: 340px; touch-action: pan-y; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .note { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; will-change: transform; }
.stage .note.on { opacity: 1; }
.stage .note span { position: absolute; white-space: nowrap; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; color: var(--ink); line-height: 1; }
.stage .note i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); left: -5px; top: -5px; box-shadow: 0 0 0 4px rgba(232,38,37,.18); }
.stage .note.r span { left: 18px; top: -30px; }
.stage .note.l span { right: 18px; top: -30px; }
.stage .note.b span { left: 16px; top: 8px; }
.stage .note.red span { color: var(--red-ink); }
.stage .hint { position: absolute; right: 6px; bottom: 0; font-family: var(--hand); font-size: 1.2rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding-top: 46px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { order: -1; margin: 0 -10px; min-height: 0; }
  .stage .note span { font-size: 1.2rem; }
  .stage .note[data-at="roof"] { display: none; }
  .stage .note.l span { right: -10px; top: -34px; }
  .stage .hint { display: none; }
}

/* ---------- emergency band ---------- */
.band { background: var(--ink); color: #fff; position: relative; }
.band .wrap { display: flex; align-items: center; gap: 22px; padding: 22px 0; flex-wrap: wrap; }
.drop { width: 46px; height: 46px; flex: 0 0 auto; }
.drop path { fill: var(--red-bright); transform-origin: 50% 0; animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.08) translateY(2px); } }
.band p { margin: 0; font-size: 1.25rem; flex: 1 1 320px; }
.band p b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .03em; display: block; line-height: 1; margin-bottom: 4px; }
.band .btn { box-shadow: 0 6px 0 #5e0d0c; }

/* pipe divider (red pipe with fittings) */
.pipe { height: 26px; position: relative; background: linear-gradient(var(--paper), var(--paper)); }
.pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 8px; background: var(--red); }
.pipe i { position: absolute; top: 4px; width: 18px; height: 18px; border-radius: 4px; background: var(--ink); }

section { position: relative; }
.pad { padding: 96px 0; }
@media (max-width: 760px) { .pad { padding: 64px 0; } }

/* ---------- two trades toggle ---------- */
.trades-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; margin-bottom: 34px; }
.trades-head h2 { margin: 0; }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-radius: 999px; padding: 6px; position: relative; isolation: isolate; }
.switch button { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .06em; padding: 12px 26px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 999px; position: relative; z-index: 1; transition: color .25s ease; }
.switch button[aria-selected="true"] { color: #fff; }
.switch .knob { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--red); transition: transform .35s cubic-bezier(.6,.0,.2,1); }
.switch[data-side="build"] .knob { transform: translateX(100%); }
.trade { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: stretch; }
.trade[hidden] { display: none; }
.trade .pic { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--grey); }
.trade .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.trade.show .pic img { animation: settle 1.2s ease; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.trade .pic .tag { position: absolute; left: 16px; bottom: 16px; background: #fff; padding: 8px 14px; border-radius: 999px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.trade .copy h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.svc-list { list-style: none; margin: 18px 0 26px; padding: 0; columns: 2; column-gap: 26px; }
.svc-list li { break-inside: avoid; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; border: 3px solid var(--red); border-radius: 3px; }
@media (max-width: 860px) { .trade { grid-template-columns: 1fr; } .trade .pic { min-height: 260px; } }
@media (max-width: 520px) { .svc-list { columns: 1; } .switch button { padding: 11px 16px; font-size: 1.1rem; } }

/* ---------- gauges ---------- */
.gauges { background: #fff; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.gauges .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.gauge { text-align: center; padding: 34px 12px 30px; border-left: 1px solid var(--line); }
.gauge:first-child { border-left: 0; }
.gauge svg { width: 132px; height: 82px; overflow: visible; }
.gauge .arc { fill: none; stroke: var(--grey); stroke-width: 10; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.gauge .needle { transform-origin: 66px 72px; transform: rotate(-90deg); transition: transform 1.6s cubic-bezier(.3,1.4,.4,1); }
.gauge .hub { fill: var(--ink); }
.gauge b { display: block; font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; margin-top: 4px; }
.gauge span { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .gauges .wrap { grid-template-columns: 1fr 1fr; } .gauge:nth-child(3) { border-left: 0; } .gauge:nth-child(n+3) { border-top: 1px solid var(--line); } .gauge svg { width: 110px; height: 70px; } }

/* ---------- reviews carousel ---------- */
.reviews { background: var(--ink); color: #fff; overflow: hidden; }
.reviews .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.reviews .head h2 { margin: 0; }
.score { display: flex; gap: 12px; flex-wrap: wrap; }
.score a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: background .2s ease; }
.score a:hover { background: rgba(255,255,255,.14); }
.score b { font-family: var(--display); font-size: 1.3rem; }
.stars { color: var(--red-bright); letter-spacing: 2px; }
.carousel { position: relative; }
.track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.6,0,.2,1); will-change: transform; touch-action: pan-y; }
.rv { flex: 0 0 calc((100% - 48px) / 3); background: #18181a; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 30px 28px 26px; display: flex; flex-direction: column; position: relative; min-height: 330px; transition: opacity .5s ease, transform .5s ease; }
.rv::before { content: "\201C"; position: absolute; right: 18px; top: -18px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--red); opacity: .9; }
.rv .stars { font-size: 1.15rem; margin-bottom: 14px; }
.rv blockquote { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.5; flex: 1; }
.rv .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.rv .av { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.2rem; flex: 0 0 auto; }
.rv .who b { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; text-transform: uppercase; }
.rv .who small { color: #aaa; font-size: .9rem; }
.rv.dim { opacity: .45; }
.ctrl { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.ctrl button { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: none; color: #fff; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; transition: background .2s ease, color .2s ease; flex: 0 0 auto; }
.ctrl button:hover { background: #fff; color: var(--ink); }
.ctrl button.pause { width: 44px; height: 44px; font-size: 1rem; border-color: rgba(255,255,255,.4); }
/* progress shown as a pipe filling with water */
.flow { flex: 1; height: 14px; border-radius: 10px; background: #2a2a2c; position: relative; overflow: hidden; border: 2px solid #3a3a3d; }
.flow i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #a5100f, var(--red-bright)); border-radius: 10px; transition: width .6s ease; }
.flow i::after { content: ""; position: absolute; right: 3px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); }
.count { font-family: var(--display); font-weight: 800; letter-spacing: .1em; min-width: 64px; text-align: right; }
@media (max-width: 980px) { .rv { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .rv { flex-basis: 88%; min-height: 0; } .track { gap: 14px; } .ctrl button { width: 48px; height: 48px; } }

/* ---------- family ---------- */
.family .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.frame { position: relative; }
.frame img { border-radius: var(--radius); filter: grayscale(1) contrast(1.05); width: 100%; }
.frame .badge { position: absolute; right: -28px; bottom: -34px; width: 150px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); animation: spin-in 1s ease both; }
.frame .scrawl { position: absolute; left: -10px; top: -34px; font-family: var(--hand); font-size: 1.7rem; color: var(--red-ink); transform: rotate(-4deg); }
.family h2 .hand { display: block; font-size: .55em; color: var(--red-ink); margin-top: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts span { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
@keyframes spin-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) { .family .wrap { grid-template-columns: 1fr; gap: 50px; } .frame { max-width: 460px; } .frame .badge { right: -8px; width: 120px; } }

/* ---------- work strip ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.strip-head h2 { margin: 0; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; cursor: grab; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip figure { flex: 0 0 auto; width: clamp(240px, 30vw, 340px); margin: 0; scroll-snap-align: start; }
.strip figure:nth-child(even) { margin-top: 40px; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); pointer-events: none; }
.strip figcaption { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.strip figcaption::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }

/* ---------- rentals ---------- */
.rentals { background: #fff; }
.rentals .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.rentals h2 .hand { display: block; color: var(--red-ink); font-size: .5em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: 12px; padding: 16px 18px; font-weight: 600; font-size: 1.1rem; border-left: 6px solid var(--red); }
.checks svg { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 860px) { .rentals .wrap { grid-template-columns: 1fr; } }

/* ---------- start an inquiry panel ---------- */
.start { background: var(--red); color: #fff; overflow: hidden; }
.start .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 70px 0; position: relative; }
.start h2 { margin: 0 0 10px; }
.start p { font-size: 1.2rem; max-width: 46ch; margin: 0; }
.picks { display: grid; gap: 10px; min-width: 300px; }
.picks a { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: #fff; color: var(--ink); text-decoration: none; padding: 16px 20px; border-radius: 12px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: 1.3rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.picks a:hover { transform: translateX(-6px); background: var(--ink); color: #fff; }
.start .ghost { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .1; pointer-events: none; }
@media (max-width: 860px) { .start .wrap { grid-template-columns: 1fr; } .picks { min-width: 0; } }

/* ---------- inner page header ---------- */
.page-head { padding: 64px 0 46px; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .88; margin: 0 0 18px; }
.page-head h1 em { font-style: normal; color: var(--red); }
.page-head p { font-size: 1.2rem; max-width: 52ch; color: var(--ink-2); margin: 0; }
.page-head .mini-house { position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2)); bottom: -10px; width: min(420px, 40vw); opacity: .9; }
.page-head .mini-house path, .page-head .mini-house line, .page-head .mini-house rect { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) { .page-head .mini-house { display: none; } }

/* ---------- services page ---------- */
.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; align-items: start; }
.index { position: sticky; top: 100px; }
.index ol { list-style: none; margin: 0; padding: 0; border-left: 6px solid var(--grey); position: relative; }
.index .level { position: absolute; left: -6px; top: 0; width: 6px; height: 0; background: var(--red); transition: height .3s ease; }
.index a { display: block; padding: 10px 0 10px 20px; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; color: var(--muted); transition: color .2s ease; }
.index a.on { color: var(--ink); }
.index a span { color: var(--red-ink); margin-right: 8px; }
.group { padding: 10px 0 70px; scroll-margin-top: 100px; }
.group-top { display: flex; gap: 20px; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.group-top .no { font-family: var(--display); font-weight: 900; font-size: 4.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); }
.group-top h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0; }
.group > p { font-size: 1.15rem; max-width: 60ch; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc { background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.svc::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.svc:hover::after { transform: scaleY(1); }
.svc h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.svc .em { display: inline-block; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; margin-bottom: 10px; }
.group .photo { border-radius: var(--radius); margin-bottom: 22px; width: 100%; max-height: 360px; object-fit: cover; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; gap: 10px; } .index { position: static; display: none; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 30px; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 8px; background: var(--red); border-radius: 8px; }
.steps li { list-style: none; text-align: center; padding: 0 12px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 900; font-size: 2.2rem; border: 6px solid var(--paper); position: relative; }
.steps h3 { font-size: 1.45rem; }
.steps p { font-size: 1rem; color: var(--ink-2); }
.on-dark .steps li::before { border-color: var(--ink); background: var(--red); }
.on-dark .steps::before { background: #fff; }
.on-dark .steps p { color: #ccc; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 26px; } .steps::before { left: 37px; right: auto; top: 10px; bottom: 10px; width: 8px; height: auto; } .steps li { text-align: left; padding-left: 100px; min-height: 76px; } .steps li::before { position: absolute; left: 0; top: 0; margin: 0; } }
.dark { background: var(--ink); color: #fff; }

/* ---------- work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters button { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: none; cursor: pointer; transition: background .2s ease, color .2s ease; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 90px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--grey); transition: opacity .35s ease, transform .35s ease; }
.gallery figure.out { display: none; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(11,11,12,.86); color: #fff; padding: 8px 12px; border-radius: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; transform: translateY(8px); opacity: 0; transition: .25s ease; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { transform: none; opacity: 1; }
.g-a { grid-column: span 5; grid-row: span 4; } .g-b { grid-column: span 4; grid-row: span 3; } .g-c { grid-column: span 3; grid-row: span 3; }
.g-d { grid-column: span 3; grid-row: span 3; } .g-e { grid-column: span 4; grid-row: span 4; } .g-f { grid-column: span 4; grid-row: span 3; }
.g-g { grid-column: span 5; grid-row: span 3; } .g-h { grid-column: span 3; grid-row: span 3; }
.gallery.filtered figure { grid-column: span 4; grid-row: span 3; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; } .gallery figure, .gallery.filtered figure { grid-column: span 1 !important; grid-row: span 1 !important; } .gallery figure:first-child { grid-column: span 2 !important; grid-row: span 2 !important; } .gallery figcaption { opacity: 1; transform: none; font-size: .82rem; padding: 6px 8px; } }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(11,11,12,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 0; }
.lightbox .x { position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; border: 0; font-size: 1.6rem; cursor: pointer; }
.lightbox .nv { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox .pv { left: 16px; } .lightbox .nx { right: 16px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 46px; align-items: start; }
.formbox { background: #fff; border-radius: 22px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 0; overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--ink); }
.tabs button { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; padding: 18px 12px; border: 0; background: var(--paper); cursor: pointer; color: var(--muted); }
.tabs button + button { border-left: 2px solid var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 -6px 0 var(--red); }
form.inq { padding: 30px 30px 34px; }
form.inq[hidden] { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend, label.lbl { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; transition: background .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chips .urgent input:checked + span { background: var(--red); border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 2px solid #c9c9c9; border-radius: 10px; background: #fcfcfb; color: var(--ink); transition: border-color .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(232,38,37,.18); }
textarea { min-height: 130px; resize: vertical; }
.req { color: var(--red-ink); }
.alert { display: flex; gap: 12px; align-items: flex-start; background: var(--red); color: #fff; border-radius: 12px; padding: 14px 16px; margin: -6px 0 20px; font-weight: 600; }
.alert[hidden] { display: none; }
.alert a { color: #fff; font-weight: 800; }
.form-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border-left: 6px solid var(--ink); font-weight: 600; }
.form-note a { color: var(--red-ink); }
.fine { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -5000px; }
.side { display: grid; gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card a.big { display: block; font-family: var(--display); font-weight: 900; font-size: 2rem; text-decoration: none; line-height: 1.05; }
.card a.big:hover { color: var(--red-ink); }
.card small { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.card.red { background: var(--ink); color: #fff; border: 0; }
.card.red small { color: #bbb; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } form.inq { padding: 22px 18px 26px; } .formbox { box-shadow: 6px 6px 0 var(--ink); } .tabs button { font-size: 1.05rem; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 50px; align-items: start; }
.faq-group h2 { font-size: 2.2rem; margin: 40px 0 14px; }
.faq-group:first-child h2 { margin-top: 0; }
details { border-bottom: 2px solid var(--ink); }
details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 4px; font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--ink); }
details .ans { padding: 0 4px 22px; font-size: 1.08rem; max-width: 70ch; }
details .ans p:last-child { margin-bottom: 0; }
.faq-aside { position: sticky; top: 100px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #d6d6d6; padding: 70px 0 30px; position: relative; overflow: hidden; }
.foot .motto-line { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: #fff; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: .9; margin: 0 0 50px; }
.foot .motto-line span { color: var(--red-bright); }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot .disc { width: 128px; height: 128px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; margin-bottom: 14px; }
.foot .disc img { width: 112px; }
.foot h4 { color: #fff; font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: #d6d6d6; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.foot .tel { font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: #fff; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; color: #9a9a9a; }
.foot .legal a { color: #9a9a9a; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: 1fr; } }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.seen { opacity: 1; transform: none; }
