/* Fonts served from this site (no Google Fonts request) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/archivo-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700 800;
  font-display: swap;
  src: url(fonts/montserrat-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/montserrat-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DW Steel: quiet layout (after leconstructionllc.com) on one solid dark gunmetal background,
   the gray Andrew liked, with DW Steel orange for buttons, silver accents and the business card's serif. */
:root {
  --bg: #242930;        /* the one page color, everywhere: deep blue-steel gunmetal */
  --line: #3c434c;      /* thin dividers and outlines instead of colored boxes */
  --ink: #ffffff;       /* headings */
  --text: #e4e7eb;
  --muted: #b6bdc6;
  --dark: #1f2328;      /* text on white, and filled dots/avatars */
  --orange: #ff6b00;    /* logo orange: buttons */
  --orange-d: #ff9a4a;  /* lighter orange: small text accents, readable on gunmetal */
  --orange-h: #e05e00;  /* orange button hover */
  --silver: linear-gradient(120deg, #f6f6f4 0%, #cfd0ce 40%, #f2f2f0 62%, #bfc0be 100%);  /* foil, as on the card */
  --radius: 4px;
  --wrap: 1180px;
  --gut: 24px;
  --space: 104px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Montserrat", "Archivo", system-ui, sans-serif;  /* headings: Montserrat, as on the business card */
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* corrugated steel: only shows if a photo spot has no photo yet */
  --steel:
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%, rgba(0,0,0,.18)),
    repeating-linear-gradient(90deg, #5b636c 0 7px, #6e767f 7px 12px, #848c94 12px 14px, #6e767f 14px 19px, #5b636c 19px 26px);
  --cam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
[id] { scroll-margin-top: 110px; }  /* jump links land below the sticky header */
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: 0; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-family: var(--font); font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; max-width: 68ch; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Light animations: things fade up as they scroll into view (site.js adds .reveal / .in) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero h1, .hero p, .hero .btns { animation: rise 1s var(--ease) both; }
.hero p { animation-delay: .15s; }
.hero .btns { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Photo spot (real photo or video); steel panel + caption only if one is still missing */
.ph {
  position: relative; background: var(--steel); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; width: 100%; display: flex; align-items: flex-end; padding: 14px;
}
.ph > svg { display: none; }
.ph b {
  position: relative; display: inline-flex; align-items: center; gap: 8px; background: rgba(35,39,44,.88); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.3; padding: 7px 11px; border-radius: 4px; max-width: 100%;
}
.ph b::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--cam) center/contain no-repeat; mask: var(--cam) center/contain no-repeat; opacity: .8; }
.ph small { display: none; }
.ph.pic { padding: 0; background: #1f2328; }
.ph.pic img, .ph.pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.ph.pic:hover img, .ph.pic:hover video { transform: scale(1.04); }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.sq { aspect-ratio: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 16px/1 var(--font); letter-spacing: .01em; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-o { background: var(--orange); color: #fff; }
.btn-o:hover { background: var(--orange-h); }
.btn-g, .btn-w { border-color: var(--ink); color: var(--ink); }
.btn-g:hover, .btn-w:hover { background: #fff; color: var(--dark); }
.hero .btn-g { border-color: rgba(255,255,255,.8); color: #fff; }
.hero .btn-g:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Top strip */
.topbar { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 28px; min-height: 38px; flex-wrap: wrap; }
.topbar a { font-weight: 600; color: var(--ink); }
.topbar a:hover { color: var(--orange-d); }

/* Header: logo left, nav right (like leconstructionllc.com) */
/* Header like Diverse Trades: logo centered, nav centered underneath, call left and quote button right */
header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px; padding: 18px var(--gut) 0; }
.hdr .logo { grid-column: 2; }
.hdr-call { grid-column: 1; grid-row: 1; justify-self: start; font-weight: 600; font-size: 15px; color: var(--ink); }
.hdr-call:hover { color: var(--orange-d); }
.hdr-cta { grid-column: 3; grid-row: 1; justify-self: end; min-height: 44px; padding: 0 20px; font-size: 15px; }
.hdr .nav { grid-column: 1 / -1; justify-content: center; padding: 10px 0 8px; }
.logo img { height: 74px; width: auto; display: block; }
.hdr .logo { display: flex; flex-direction: column; align-items: center; }
.logo-name { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1; margin-top: 4px; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--text); font-size: 16px; padding: 4px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.nav a:hover { color: var(--ink); background-size: 100% 1px; }
.nav a.on { color: var(--ink); background-image: linear-gradient(var(--orange), var(--orange)); background-size: 100% 2px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mmenu { display: none; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; z-index: 49; background: var(--bg); padding: 8px 20px 28px; flex-direction: column; overflow-y: auto; }
.mmenu.open { display: flex; animation: rise .35s var(--ease) both; }
.mmenu a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 21px/1.3 var(--serif); }
.mmenu a.on { color: var(--orange-d); }
.mmenu .btn { margin-top: 18px; }

/* Hero: full-width photo with a dark wash, headline on top */
.hero { position: relative; background-color: #333a44; background-image: var(--steel); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,28,32,.82) 0%, rgba(25,28,32,.55) 55%, rgba(25,28,32,.2) 100%); }
.hero .wrap { position: relative; padding-top: 150px; padding-bottom: 150px; }
.hero h1 { max-width: 760px; color: #fff; }
.hero p { font-size: 19px; color: #eceae5; }
.hero.page .wrap { padding-top: 100px; padding-bottom: 100px; }
.hero-note { position: absolute; right: var(--gut); bottom: 16px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; background: rgba(35,39,44,.85); padding: 6px 10px; border-radius: 4px; max-width: 46ch; }
.hero-note svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.plate { position: relative; display: inline-block; margin-bottom: 24px; padding: 12px 30px 11px; border-radius: 3px; background: linear-gradient(115deg, #aeb5bc 0%, #e4e7ea 22%, #9aa2aa 48%, #d6dade 72%, #a3aab2 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(0,0,0,.25), 0 10px 20px -10px rgba(0,0,0,.6); color: #2f343a; text-align: center; animation: rise 1s var(--ease) both; }
.plate::before { content: ""; position: absolute; inset: 0; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px); }
.plate i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4f5f6, #6e767f 70%); box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.plate i:nth-child(1) { left: 8px; top: 8px; } .plate i:nth-child(2) { right: 8px; top: 8px; }
.plate i:nth-child(3) { left: 8px; bottom: 8px; } .plate i:nth-child(4) { right: 8px; bottom: 8px; }
.plate span { display: block; font-weight: 700; font-size: 20px; letter-spacing: .04em; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.plate b { display: block; font-weight: 600; font-size: 13px; letter-spacing: .04em; color: #4a5057; }

/* Sections: same background throughout, separated by space and thin lines */
.sec { padding: var(--space) 0; }
.sec + .sec, .intro + .sec, .sec + .intro { border-top: 1px solid var(--line); }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head p { margin: 0 auto; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row.rev > :first-child { order: 2; }
/* portrait clip beside copy: keep it upright instead of cropping to a wide box */
.row > .ph.tall { aspect-ratio: 4 / 5; max-width: 440px; justify-self: center; }
.center { text-align: center; }

/* Why choose us: icon, title, text; no boxes */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.why-item { text-align: center; }
.why-item svg { width: 34px; height: 34px; color: var(--orange-d); margin-bottom: 14px; }
.why-item p { margin: 0 auto; font-size: 16px; max-width: 32ch; }

.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.arrow:hover { background: #fff; color: var(--dark); }

/* Intro statement: big centered text with room around it */
.intro { padding: 140px 0; text-align: center; }
.intro h2 { font-size: clamp(30px, 4vw, 48px); max-width: 860px; margin: 0 auto 28px; }
.intro p { font-size: 19px; line-height: 1.8; margin: 0 auto; max-width: 64ch; }

/* Services grid: photo, centered title, short text */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.sg-item { display: block; text-align: center; }
.sg-item .ph { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.sg-item:hover .ph.pic img, .sg-item:hover .ph.pic video { transform: scale(1.04); }
.sg-item h3 { font: 700 21px/1.25 var(--serif); margin-bottom: 8px; transition: color .2s; }
.sg-item:hover h3 { color: var(--orange-d); }
.sg-item p { margin: 0 auto; font-size: 16px; max-width: 36ch; }

/* Build animation: a carport frame goes up when it scrolls into view */
.build { position: relative; }
.build svg { width: 100%; height: auto; display: block; overflow: visible; }
.build line { stroke-linecap: round; }
.b-shadow { fill: #353b42; }
.b-post { stroke: var(--ink); stroke-width: 11; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.b-beam { stroke: #9aa2aa; stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 1; }
.b-purl { stroke: #7d858c; stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.b-roof { fill: url(#rib); stroke: #6e767f; stroke-width: 2; opacity: 0; transform: translateY(-40px); }
.b-spark { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.b-spark circle { fill: #ffd27a; filter: drop-shadow(0 0 6px #ff8a1f); }
.b-spark line { stroke: var(--orange); stroke-width: 2.5; }
.b-replay { position: absolute; right: 0; bottom: -8px; min-height: 40px; padding: 0 16px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.build.done .b-replay { opacity: 1; pointer-events: auto; }
.build.in .b-post { animation: b-rise .7s var(--ease) var(--d) forwards; }
.build.in .b-beam, .build.in .b-purl { animation: b-draw .6s var(--ease) var(--d) forwards; }
.build.in .b-spark { animation: b-spark .7s ease-out var(--d); }
.build.in .b-roof { animation: b-roof .9s var(--ease) 4.4s forwards; }
@keyframes b-rise { to { transform: scaleY(1); } }
@keyframes b-draw { to { stroke-dashoffset: 0; } }
@keyframes b-spark { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes b-roof { to { opacity: .9; transform: none; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 28px; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 700 16px/1 var(--serif); color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.steps b { color: var(--ink); }
.steps span { color: var(--muted); font-size: 16px; }
.row.lit .steps li::before { animation: b-step .5s var(--ease) var(--d) forwards; }
@keyframes b-step { to { background: var(--orange); border-color: var(--orange); color: #fff; } }

/* Projects carousel: cards scroll sideways, the next one peeks in */
.pcar-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.pcar-head h2 { margin: 0; }
.pcar-btns { display: flex; gap: 10px; }
.ptrack { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gut) 8px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.ptrack::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 min(440px, 82vw); scroll-snap-align: start; }
.pcard .ph { aspect-ratio: 4 / 3; }
.pcard h3 { font: 700 19px/1.3 var(--serif); margin: 20px 0 2px; }
.pcard small { display: block; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.btn-pill { min-height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14px; background: #353c45; color: #fff; }
.btn-pill:hover { background: var(--orange); }
.pcar .center { margin-top: 48px; }

/* About block with labeled facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 4px; }
.facts p { margin: 0; font-size: 16px; }
.facts a { color: var(--ink); font-weight: 600; }
.facts a:hover { color: var(--orange-d); }

/* Instagram feed */
.feed { max-width: 960px; margin: 0 auto; }
.feed-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.feed-head .av { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; flex: none; }
.feed-head .av img { width: 100%; }
.feed-head b { color: var(--ink); font-size: 17px; display: block; }
.feed-head small { color: var(--muted); font-size: 15px; }
.feed-head .btn { margin-left: auto; min-height: 44px; padding: 0 20px; font-size: 15px; }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feed-grid .ph { aspect-ratio: 1; border-radius: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 18px; color: var(--ink); min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--orange-d); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] p { animation: rise .4s var(--ease) both; }
.faq details p { padding: 0 2px 6px; }

/* Reviews: outlined cards on the same background */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card p { margin: 0; }
.review .stars { color: #ffb020; letter-spacing: 2px; margin: 14px 0 6px; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-top .av { width: 42px; height: 42px; border-radius: 50%; background: #353c45; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.rv-top b { color: var(--ink); display: block; line-height: 1.2; }
.rv-top small { color: var(--muted); font-size: 14px; }
.gsum { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 2px; margin-bottom: 32px; }
.gsum > div:first-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gsum .score { font: 400 40px/1 var(--serif); color: var(--ink); }
.gsum .stars { color: #ffb020; font-size: 22px; letter-spacing: 2px; }
.gsum small { color: var(--muted); font-size: 15px; width: 100%; }
.gsum .btns { margin: 0; }

/* Service sections: one per service on the services page */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.strip .ph { aspect-ratio: 16 / 10; }
.incl { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.incl svg { width: 20px; height: 20px; color: var(--orange-d); margin-top: 3px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jump a { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--ink); font-size: 15px; transition: border-color .2s; }
.jump a:hover { border-color: var(--ink); }

/* Projects gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal .ph { aspect-ratio: 4 / 3; }
.gal-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.gal-head h2 { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
form { display: grid; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
label small { font-weight: 400; color: var(--muted); }
input, textarea, select { font: inherit; font-size: 16px; color: var(--dark); background: #fff; border: 1px solid #8a929a; border-radius: 4px; padding: 12px 14px; min-height: 50px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2328' stroke-width='2'/%3E%3C/svg%3E") right 16px center no-repeat; cursor: pointer; }
.err { display: none; font-style: normal; font-weight: 600; font-size: 14px; color: #ffb27a; }
label.bad input { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,107,0,.35); }
label.bad .err { display: block; }
form .btn[type="submit"] { justify-self: start; }
.sent { display: none; margin: 0; border-left: 3px solid var(--orange); padding: 14px 16px; font-weight: 600; color: var(--ink); max-width: none; }
.info { display: grid; gap: 24px; }
.info h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; color: var(--orange-d); }
.info p { margin: 0; }
.info a { font-weight: 600; color: var(--ink); }
.info a:hover { color: var(--orange-d); }

/* Footer: same background, thin line on top */
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 72px 0 28px; font-size: 16px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: 36px; }
footer h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
footer p { max-width: 32ch; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a:hover { color: var(--ink); }
footer .logo img { height: 46px; }
footer ul.social { display: flex; gap: 12px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social svg { width: 20px; height: 20px; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; }
.copy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: var(--orange-d); }
@media (max-width: 760px) { .copy { justify-content: center; text-align: center; } }

/* Sticky quote/call bar on phones */
.callbar { display: none; }

@media (max-width: 1000px) {
  .why, .gal { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sgrid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --gut: 18px; --space: 72px; }
  [id] { scroll-margin-top: 86px; }
  .topbar .wrap { justify-content: center; }
  .hdr { min-height: 76px; padding-top: 0; }
  .logo img { height: 50px; }
  .nav, .hdr-call, .hdr-cta { display: none; }
  .burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .row, .contact { grid-template-columns: 1fr; gap: 32px; }
  .row.rev > :first-child { order: 0; }
  /* phones and tablets: quote and call buttons stay on screen at the bottom */
  footer { padding-bottom: 110px; }
  .callbar {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  :root { --space: 60px; }
  body { font-size: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .hero.page .wrap { padding-top: 52px; padding-bottom: 60px; }
  .hero .btn { flex: 1 1 100%; }
  .hero-note { left: var(--gut); right: auto; }
  .cards, .why, .strip { grid-template-columns: 1fr; }
  .why { gap: 36px; }
  /* services swipe sideways on phones instead of stacking six deep */
  .sgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .sgrid::-webkit-scrollbar { display: none; }
  .sg-item { flex: 0 0 78vw; scroll-snap-align: center; }
  .intro { padding: 80px 0; }
  .intro p { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feed-head .btn { margin-left: 0; }
  form { padding: 20px; }
  .foot { grid-template-columns: 1fr; }
  form .btn[type="submit"] { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .b-post { transform: none; } .b-beam, .b-purl { stroke-dashoffset: 0; } .b-roof { opacity: .9; transform: none; }
}

/* Section titles: a short steel-gray line under the heading */
.head h2 { position: relative; padding-bottom: 20px; }
.head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 72px; height: 3px; margin-left: -36px; border-radius: 2px; background: var(--orange); }

/* What we can build: sample list */
.blist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.blist h3 { font: 700 18px/1.3 var(--serif); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.blist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.blist li { position: relative; padding-left: 20px; font-size: 16px; color: var(--text); }
.blist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #a0a6ac; transition: background .25s; }
.blist li:hover::before { background: var(--orange); }
.center-btns { justify-content: center; margin-top: 44px; }
@media (max-width: 1000px) { .blist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .blist { gap: 28px 18px; } .blist li { font-size: 15px; padding-left: 16px; } .blist h3 { font-size: 19px; } }
.hero .wrap { z-index: 2; }

.mmenu .btn + .btn { margin-top: 10px; }
.cta-band .head { margin-bottom: 24px; }

/* the main headline leans like STEEL in the logo */
.hero h1 { font-weight: 700; }

/* Service pages: breadcrumb under the photo; service headings on the overview link to them */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.crumbs a { color: var(--text); }
.crumbs a:hover, .svc-sec h2 a:hover { color: var(--orange-d); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.svc-sec h2 a { color: inherit; }
.callbar .btn { padding: 0 10px; white-space: nowrap; }

/* ---- Business card touches on the gunmetal: silver lettering and the ESTD 2026 emblem in the footer ---- */
.foil { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer { border-top: 1px solid var(--line); }
.emblem { display: inline-flex; flex-direction: column; align-items: center; text-align: center; }
.emblem .row { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 15px; color: var(--text); }
.emblem img { width: 64px; height: auto; }
.emblem .lg { width: 150px; }
.emblem b { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin-top: 8px; }
.emblem small { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .42em; padding-left: .42em; margin-top: 6px; }
@media (max-width: 860px) { .logo-name { font-size: 15px; margin-top: 2px; } }
/* the house emblem above the business name, header and footer */
.logo img.house, .emblem img.house { height: 66px; width: auto; }
.logo-name { font-size: 24px; margin-top: 6px; }
.emblem img.house { height: 64px; }
@media (max-width: 860px) { .logo img.house { height: 46px; } .logo-name { font-size: 17px; margin-top: 3px; } }
/* house on top of the DW STEEL logo */
.logo img.lg { height: 58px; width: auto; margin-top: 6px; }
.emblem img.lg { width: 150px; height: auto; margin-top: 10px; }
@media (max-width: 860px) { .logo img.lg { height: 38px; margin-top: 3px; } }
/* fit the house + logo into the header: about the height the logo alone had */
.hdr { padding-top: 12px; }
.hdr .logo img.house { height: 40px; }
.hdr .logo img.lg { height: 50px; margin-top: 4px; }
@media (max-width: 860px) { .hdr .logo img.house { height: 28px; } .hdr .logo img.lg { height: 32px; margin-top: 2px; } .hdr { padding-top: 6px; padding-bottom: 6px; } }

/* ---- Business card look: tagline with an orange rule, orange strips with bold italic text ---- */
.tagline { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tagline::before { content: ""; width: 56px; height: 2px; background: var(--orange); }
.tagline span { font: 500 14px/1 var(--serif); letter-spacing: .12em; color: var(--orange-d); }
.cta-band { background: var(--orange); border-top: 0; }
.cta-band h2 { color: #1f2328; font-style: italic; font-weight: 800; }
.cta-band .head h2::after { background: #1f2328; box-shadow: none; }
.cta-band p { color: #1f2328; }
.cta-band .btn-o { background: #1f2328; color: #fff; }
.cta-band .btn-o:hover { background: #000; }
.cta-band .btn-w { border-color: #1f2328; color: #1f2328; }
.cta-band .btn-w:hover { background: #1f2328; color: #fff; }
footer { padding-bottom: 0; }
footer .copy { margin: 48px calc(50% - 50vw) 0; padding: 16px max(var(--gut), calc(50vw - 590px + var(--gut))); background: var(--orange); border-top: 0;
  color: #1f2328; font-family: var(--serif); font-style: italic; font-weight: 700; align-items: center; }
footer .copy a { color: #1f2328; }
footer .copy a:hover { color: #fff; }
.strip-ph b { font-size: 18px; font-weight: 800; letter-spacing: .03em; margin-left: 6px; }
@media (max-width: 860px) { footer { padding-bottom: 0; } footer .copy { padding-bottom: calc(16px + 80px); } }
@media (max-width: 760px) { .tagline span { font-size: 12px; } .tagline::before { width: 36px; } }
.emblem small.emb-tag { color: var(--orange-d); letter-spacing: .12em; padding-left: 0; font-size: 11px; margin-top: 8px; }
/* header: little orange house far left, DW STEEL big in the middle, call + button on the right */
.hdr-house { grid-column: 1; grid-row: 1; justify-self: start; display: block; }
.hdr-house img { height: 44px; width: auto; display: block; }
.hdr-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 22px; }
.hdr-right .hdr-call, .hdr-right .hdr-cta { grid-column: auto; grid-row: auto; }
.hdr .logo img.lg { height: 76px; margin-top: 0; }
@media (max-width: 860px) {
  .hdr-house img { height: 30px; }
  .hdr-right { display: none; }
  .hdr .logo img.lg { height: 46px; }
}

/* ===== Homepage + footer rebuild (2026-11-01) ===== */
.h-stats { border-bottom: 1px solid var(--line); }
.h-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.h-stats-row > div { padding: 26px 20px; border-left: 1px solid var(--line); }
.h-stats-row > div:first-child { border-left: 0; padding-left: 0; }
.h-stats b { display: block; font: 700 22px/1.2 var(--serif); color: var(--ink); }
.h-stats span { font-size: 14px; color: var(--muted); }
.h-list-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.h-list-side { position: sticky; top: 170px; }
.h-list-side p { margin-top: 12px; }
.hl { border-top: 1px solid var(--line); }
.hl-row { display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 16px; padding: 22px 6px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.hl-row:hover { background: rgba(255,107,0,.06); padding-left: 14px; }
.hl-n { font: 700 15px/1 var(--serif); color: var(--orange-d); letter-spacing: .06em; }
.hl-t b { display: block; font: 700 21px/1.25 var(--serif); color: var(--ink); }
.hl-t small { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.hl-go { font-size: 22px; color: var(--orange); transition: transform .2s; }
.hl-row:hover .hl-go { transform: translateX(4px); }
.h-band { position: relative; background-size: cover; background-position: 50% 40%; padding: clamp(90px, 12vw, 150px) 0; }
.h-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,28,32,.9) 0%, rgba(25,28,32,.6) 60%, rgba(25,28,32,.35) 100%); }
.h-band .wrap { position: relative; }
.h-band h2 { color: #fff; max-width: 14ch; font-size: clamp(32px, 4.4vw, 54px); }
.h-band p { color: #e3e6e9; max-width: 44ch; font-size: 18px; }
.h-work-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.h-work-head h2 { margin: 0; }
.h-work { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.h-work .ph { aspect-ratio: auto; height: 100%; }
.h-work .w-a { grid-row: span 2; }
@media (max-width: 1000px) { .h-stats-row { grid-template-columns: 1fr 1fr; } .h-stats-row > div:nth-child(3) { border-left: 0; padding-left: 0; } .h-list-grid { grid-template-columns: 1fr; gap: 28px; } .h-list-side { position: static; } }
@media (max-width: 700px) { .h-work { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .h-work .w-a { grid-column: span 2; grid-row: auto; } .h-work .w-e { display: none; } .hl-row { grid-template-columns: 40px 1fr 24px; } .hl-t b { font-size: 18px; } }

/* footer: call to action on top, then links, then a plain bottom line */
footer { padding: 0 0 0; background: #1a1e24; border-top: 0; }
.f-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.f-cta h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.f-cta p { margin: 8px 0 0; }
.f-cta-r { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.f-phone { font: 700 clamp(24px, 2.6vw, 32px)/1 var(--serif); color: var(--orange); letter-spacing: .01em; }
.f-phone:hover { color: var(--orange-d); }
.f-main { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
.f-main p { max-width: 32ch; margin-top: 14px; }
.f-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-brand .emblem { align-items: flex-start; }
footer .f-bot { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.f-bot a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.f-bot a:hover { color: var(--orange-d); }
@media (max-width: 1000px) { .f-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { footer .f-bot { padding-bottom: 100px; } }
@media (max-width: 600px) { .f-main { grid-template-columns: 1fr; } .f-cta-r { width: 100%; } .f-cta-r .btn { flex: 1 1 100%; } footer .f-bot { justify-content: center; text-align: center; } }

/* ===== Homepage v3 (2026-11-01): split hero with photo stack, service photo tiles, orange statement band ===== */
.s-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.s-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.s-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; }
.s-lead { font-size: 19px; color: var(--text); }
.s-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.s-ticks li { display: flex; gap: 12px; align-items: center; color: var(--text); font-weight: 600; }
.s-ticks li::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); flex: none; }
.s-hero-pics { position: relative; padding: 0 0 70px 50px; }
.s-hero-pics .s-big { aspect-ratio: 4/4.4; border-radius: 6px; }
.s-hero-pics .s-small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; border-radius: 6px; border: 6px solid var(--bg); }
.s-badge { position: absolute; right: -10px; top: 26px; background: var(--orange); color: #1f2328; padding: 14px 18px; border-radius: 4px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.s-badge b { display: block; font: italic 800 26px/1 var(--serif); }
.s-badge span { font: 600 13px/1.3 var(--serif); }
.t-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.t-head h2 { margin-bottom: 8px; }
.t-head p { margin: 0; max-width: 56ch; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.t-tile { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.t-tile .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; }
.t-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0) 35%, rgba(20,22,26,.88) 100%); transition: background .3s; }
.t-tile:hover::after { background: linear-gradient(180deg, rgba(20,22,26,.1) 0%, rgba(20,22,26,.92) 100%); }
.t-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.t-cap b { display: block; font: 700 20px/1.2 var(--serif); color: #fff; }
.t-cap small { display: block; margin-top: 4px; font-size: 14px; color: #d3d7db; }
.t-cap b::after { content: " \2192"; color: var(--orange); }
.t-grid .t0 { grid-column: span 2; grid-row: span 2; }
.t-grid .t0 .t-cap b { font-size: 26px; }
.s-quote { background: var(--orange); padding: clamp(60px, 8vw, 96px) 0; }
.s-quote p { font: italic 800 clamp(26px, 3.4vw, 42px)/1.2 var(--serif); color: #1f2328; max-width: 26ch; margin: 0 0 26px; }
.s-quote .btn-o { background: #1f2328; color: #fff; }
.s-quote .btn-o:hover { background: #000; }
.s-quote .btn-w { border-color: #1f2328; color: #1f2328; }
.s-quote .btn-w:hover { background: #1f2328; color: #fff; }
.s-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.s-about-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-about-pics .ph { aspect-ratio: 3/4; border-radius: 6px; }
.s-about-pics .ph:last-child { margin-top: 48px; }
@media (max-width: 1000px) { .s-hero-grid, .s-about { grid-template-columns: 1fr; } .t-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .t-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .t-grid .t0 { grid-column: auto; grid-row: span 1; } .s-hero-pics { padding: 0 0 50px 24px; } .s-badge { right: 0; } }
.hdr-house img { height: 68px; }
@media (max-width: 860px) { .hdr-house img { height: 42px; } }

/* Projects page: custom fabrication as one big photo + what we make */
.fab-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.fab-photo { aspect-ratio: 4/4.6; border-radius: 6px; }
.fab-copy h2 { margin-bottom: 8px; }
.fab-list { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.fab-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 600; }
.fab-list svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 3px; }
.fab-sketch { border-left: 3px solid var(--orange); padding: 12px 16px; margin-bottom: 24px; background: rgba(255,107,0,.06); }
.fab-sketch b { display: block; color: var(--ink); font-family: var(--serif); }
.fab-sketch span { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .fab-feature { grid-template-columns: 1fr; } .fab-photo { aspect-ratio: 4/3; } }
@media (max-width: 480px) { .fab-list { grid-template-columns: 1fr; } }

/* Projects page v2: build stages strip, one feature per service, gates card, closing prompt */
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.stages li { counter-increment: st; position: relative; }
.stages .ph { aspect-ratio: 4/3; border-radius: 6px; margin-bottom: 14px; }
.stages b { display: block; font: 700 18px/1.3 var(--serif); color: var(--ink); }
.stages b::before { content: counter(st) ". "; color: var(--orange); }
.stages span { font-size: 15px; color: var(--muted); }
.pf { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pf.rev .pf-media { order: 2; }
.pf-media > .ph { aspect-ratio: 4/3.4; border-radius: 6px; }
.pf-more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.pf-more .ph { aspect-ratio: 4/3; border-radius: 6px; }
.pf-n { display: block; font: 700 14px/1 var(--serif); letter-spacing: .12em; color: var(--orange-d); margin-bottom: 10px; }
.pf-gates { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 56px; align-items: start; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
.pf-gates .fab-list { margin: 0; }
.pf-gates .btns { grid-column: 1 / -1; }
.p-next p { margin-left: auto; margin-right: auto; }
@media (max-width: 1000px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .pf, .pf-gates { grid-template-columns: 1fr; } .pf.rev .pf-media { order: 0; } }
@media (max-width: 480px) { .stages { grid-template-columns: 1fr; } }

/* One job, start to finish: the balcony filmstrip under the hero (from layout C) */
.film .head { max-width: 760px; }
.film .head p { margin-bottom: 30px; }
.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0 0 10px; padding: 0; counter-reset: fr; }
.frames li { counter-increment: fr; margin: 0; }
.frames .ph { aspect-ratio: 4 / 5; }
.f-cap { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: none; }
.f-cap::before { content: counter(fr); grid-row: 1 / span 2; font-family: var(--serif); font-weight: 800; font-size: 21px; line-height: 1.1; color: var(--orange-d); }
.f-cap b { grid-column: 2; justify-self: start; color: var(--ink); font-size: 15.5px; }
.f-cap span { grid-column: 2; }
.film .btns { margin-top: 24px; }
/* five frames: two stills, then three portrait clips */
.frames.f5 { grid-template-columns: repeat(5, 1fr); }
.frames.f5 .ph { aspect-ratio: 3 / 4; }
@media (max-width: 920px) { .frames, .frames.f5 { grid-template-columns: 1fr 1fr; } .frames.f5 .ph { aspect-ratio: 4 / 5; }
  .frames.f5 li:first-child { grid-column: 1 / -1; } .frames.f5 li:first-child .ph { aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .frames, .frames.f5 { grid-template-columns: 1fr; } .frames .ph, .frames.f5 li:first-child .ph { aspect-ratio: 16 / 11; }
  .frames.f5 li .ph:has(video) { aspect-ratio: 4 / 5; } }
