/* BAD homepage, concept "you control the light". Loads after bad.css. */

/* ---------- 1. opening photo: the lights come up once, then it stays lit ---------- */
.beam {
    position: relative;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
}
.beam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the photo melts into the page background instead of ending on a hard line */
.beam { overflow: visible; overflow-x: clip; }
.beam-dark { top: 0; height: 100%; clip-path: inset(0); }
.beam > .beam-dark { clip-path: inset(0); }
/* the photo darkens to black at its bottom edge, then the wall fades up out of that black
   below the photo, so the concrete never shows through the picture */
.beam::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 13%;
    z-index: 1;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.75) 70%, #000 100%);
    pointer-events: none;
}
.beam::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 28px;
    z-index: 1;
    background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.82) 25%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.18) 80%, transparent 100%);
    pointer-events: none;
}
.beam-copy { z-index: 2; }
.beam-dark { opacity: 0; transition: opacity 1.6s ease; }
.beam-dark.on { opacity: 1; }
.beam-dark.first { animation: lights-up 2.4s cubic-bezier(.4, 0, .2, 1) .5s both; }

@keyframes lights-up { from { filter: brightness(.05) saturate(.4); } to { filter: brightness(1.05) saturate(1.08); } }
@media (prefers-reduced-motion: reduce) { .beam-dark, .beam-dark.on, .beam-dark.first.on { animation: none; filter: brightness(1.05); } }
.beam-lit { display: none; }
.beam-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: calc(var(--bar) + 10px) var(--pad) clamp(44px, 8vh, 90px);
    pointer-events: none;
    /* the logo and tagline sit in the lower part of the photo over a soft dark fade, so the room shows clean above them */
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 30%, transparent 55%);
}
.beam-copy .btn { pointer-events: auto; cursor: pointer; }
.beam-copy { --w: min(190px, 40vw); --gap: clamp(20px, 3vh, 30px); }
.beam-copy .hero-slot { width: var(--w); margin: 0 0 var(--gap); }
/* two lines, both sized so the first one runs the width of the logo */
.beam-copy .hero-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .18em;
    margin: 0;
    font-size: clamp(13px, 3.5vw, 23px);
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 0 14px #000, 0 0 30px #000;
}
.beam-copy .hero-tag span { white-space: nowrap; }
/* ---------- 2. projects: a row of big photos ---------- */
.work { padding: 40px 0 50px; position: relative; z-index: 2; }
.work-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; max-width: 1560px; margin: 0 auto 20px; padding: 0 var(--pad); }
.work-title { margin: 0; font: 400 clamp(26px, 2.6vw, 38px)/1.05 var(--marquee); text-transform: none; letter-spacing: -.03em; }
.work-top .chips { margin: 0; justify-content: flex-end; }

.rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    padding: 0 var(--pad) 6px;
    scrollbar-width: none;
    cursor: grab;
    outline: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.grabbing { cursor: grabbing; scroll-snap-type: none; }
.rail.grabbing .card { pointer-events: none; }
.card { flex: 0 0 clamp(280px, 30vw, 520px); scroll-snap-align: start; display: block; }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #0b0b0b; outline: 1px solid rgba(255, 255, 255, .08); transition: outline-color .4s, box-shadow .4s; }
.card-img img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform 1s ease, filter .4s; }
.card-name { display: block; margin-top: 16px; font-size: clamp(22px, 2vw, 30px); letter-spacing: .05em; text-transform: uppercase; color: #fff; transition: color .4s, text-shadow .4s; }
/* hover: a warm gold light, like brass catching a spot */
.card:hover .card-img, .card:focus-visible .card-img { outline-color: var(--gold); box-shadow: 0 0 18px rgba(230, 190, 120, .35), 0 0 46px rgba(230, 190, 120, .18); }
.card:hover .card-img img { transform: scale(1.03); }
.card:hover .card-name, .card:focus-visible .card-name { color: var(--gold); text-shadow: 0 0 12px rgba(230, 190, 120, .55); }

.rail-nav { display: flex; align-items: center; justify-content: flex-end; gap: 16px; max-width: 1560px; margin: 22px auto 0; padding: 0 var(--pad); }
.rail-count { font: 500 16px/1 'Inter', Arial, sans-serif; letter-spacing: .06em; color: rgba(255, 255, 255, .75); min-width: 4.5em; text-align: center; }
.rail-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 18px rgba(0, 0, 0, .45); transition: background-color .3s, box-shadow .3s, opacity .3s, transform .3s; }
.rail-btn svg { width: 26px; height: 26px; }
.rail-btn:hover:not(:disabled) { background: var(--gold); box-shadow: 0 0 22px rgba(230, 197, 138, .55); transform: scale(1.06); }
/* the unavailable arrow: a solid dark disc with a clear outline, so it reads as off without vanishing into the wall */
.rail-btn:disabled { background: #141414; color: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4), 0 4px 14px rgba(0, 0, 0, .5); cursor: default; }

/* ---------- 4. for designers: drawing to finished room ---------- */
.team { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1400px; margin: 0 auto; padding: 30px var(--pad) 60px; }
.team-title { margin: 0 0 14px; font: 400 clamp(34px, 4vw, 54px)/1.05 var(--marquee); text-transform: none; letter-spacing: -.03em; }
.team-copy .designers-lead { margin: 0 0 22px; text-align: left; }
.team-copy .a-list { margin: 0 0 28px; max-width: none; }
.team-split { aspect-ratio: 1280 / 798; }
.team-split .ba-tag { font-size: 15px; }
/* a slow nudge so people notice it moves, until they touch it */
.team-split:not(.touched) { animation: nudge 5s ease-in-out 1.5s infinite; }
@keyframes nudge { 0%, 100% { --pos: 50%; } 30% { --pos: 34%; } 60% { --pos: 66%; } }
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@media (prefers-reduced-motion: reduce) { .team-split:not(.touched) { animation: none; } }

/* ---------- 5. partners: a still wall of white logos ---------- */
.partners { padding: 20px var(--pad) 40px; }
.partners-label { text-align: center; margin: 0 0 14px; position: relative; z-index: 1; font-size: clamp(26px, 3vw, 44px); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 14px rgba(230, 197, 138, .45); }
.logo-wall { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0 10px; }
.lw { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(76px, 6.6vw, 104px); padding: 8px 10px; }
.lw img { max-width: 100%; max-height: clamp(44px, 4.6vw, 72px); width: auto; object-fit: contain; transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s; }
.lw-white { opacity: .72; }
.lw-white.svg { filter: brightness(0) invert(1); }
.lw-color { position: absolute; opacity: 0; max-width: calc(100% - 20px); }
/* hover: the logo lifts off the wall and turns to its own colors, with a soft shadow under it */
.lw:hover img { transform: translateY(-6px) scale(1.1); }
.lw:hover .lw-white { opacity: 0; }
.lw:hover .lw-color { opacity: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .75)); }

/* ---------- phones ---------- */
@media (max-width: 1100px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 760px) {
    .rail-btn { width: 54px; height: 54px; }
    .card-name { font-size: 19px; }
    .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 2px 8px; }
    .lw { height: 84px; padding: 10px; }
    .lw img { max-height: 42px; }
    .work-top { flex-direction: column; align-items: flex-start; }
    .work-top .chips { justify-content: flex-start; }
    .card { flex-basis: 78vw; }
    .beam { height: 100svh; }
    .team { grid-template-columns: 1fr; }
    .team-split { order: -1; }
}

/* ---------- 4. three boxes ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 40px var(--pad) 70px; max-width: 1560px; margin: 0 auto; }
.door {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: clamp(26px, 2.6vw, 40px);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 6px;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    transition: border-color .4s, box-shadow .4s, background-color .4s;
}
.door-kicker { display: block; line-height: 0; color: #fff; transition: color .4s; }
.door-kicker .logo-bad { height: 30px; width: auto; vertical-align: top; }
.door:hover .door-kicker, .door:focus-visible .door-kicker { color: var(--gold); }
.door-name { margin: 16px 0 14px; font: 400 clamp(24px, 2.05vw, 31px)/1.05 var(--marquee); white-space: nowrap; text-transform: none; letter-spacing: -.03em; transition: color .4s; }
.door-text { margin: 0 0 28px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.door-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; transition: color .4s, gap .4s; }
.door-go::after { content: "\203A"; font-size: 22px; line-height: 1; }
.door:hover, .door:focus-visible { border-color: var(--gold); box-shadow: 0 0 18px rgba(230, 190, 120, .3), 0 0 46px rgba(230, 190, 120, .14); background: rgba(0, 0, 0, .7); }
.door:hover .door-name, .door:hover .door-go, .door:focus-visible .door-name, .door:focus-visible .door-go { color: var(--gold); }
.door:hover .door-go { gap: 16px; }
@media (max-width: 860px) {
    .doors { grid-template-columns: 1fr; }
    .door { min-height: 0; }
}


/* where each opening photo is anchored when the screen crops it */
.beam img[src$="rob-roy-drive.webp"] { object-position: 50% 78%; }
.beam img[src$="st-marks.webp"] { object-position: 50% 72%; }
.beam img[src$="west-end-night.webp"] { object-position: 45% 40%; }
.beam img[src$="kitchen-ring-crop.webp"] { object-position: 50% 40%; }   /* the ring sits on the center line (Blake, Nov 3 2026) */
.beam img[src$="rolex.webp"] { object-position: 66% 50%; }   /* the green Rolex wall and the chandelier stay in a phone crop */
.beam img[src$="casa-kenji-bar.webp"] { object-position: 45% 50%; }
.beam img[src$="zadok-austin-ceiling.webp"] { object-position: 50% 40%; }

/* the logo and tagline sit in the bottom left corner of the opening photo (Blake's pick, Oct 17 2026) */
.beam-copy {
    align-items: flex-start;
    text-align: left;
    padding-left: var(--pad);
    padding-bottom: clamp(36px, 6.5vh, 72px);
    background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .25) 30%, transparent 50%),
                linear-gradient(to right, rgba(0, 0, 0, .45) 0%, transparent 45%);
}
.beam-copy .hero-tag { align-items: flex-start; }

/* arrows sit on the photos, at the left and right edges of the row, centered on the pictures */
.rail-wrap { position: relative; }
.rail-wrap .rail-btn { position: absolute; z-index: 3; top: calc((100% - 50px) / 2); transform: translateY(-50%); }
.rail-wrap #railPrev { left: calc(var(--pad) + 12px); }
.rail-wrap #railNext { right: calc(var(--pad) + 12px); }
.rail-wrap .rail-btn:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.rail-wrap .rail-btn:disabled { opacity: 0; pointer-events: none; }
/* Featured Projects: the title and a "See all projects" link both go to the Projects page */
.work-head { display: flex; align-items: baseline; gap: 10px 26px; flex-wrap: wrap; }
.work-title a { color: inherit; text-decoration: none; transition: color .3s; }
.work-title a:hover { color: #e6c58a; }
.work-all { font: 500 15px/1 var(--marquee); letter-spacing: .08em; text-transform: uppercase; color: #e6c58a; text-decoration: none; border-bottom: 1px solid rgba(230,197,138,.5); padding-bottom: 5px; white-space: nowrap; }
.work-all span { display: inline-block; transition: transform .3s; }
.work-all:hover { color: #fff; border-bottom-color: #fff; }
.work-all:hover span { transform: translateX(4px); }
/* the last card in the Featured row: every project */
.card-all .card-img { display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,.55); border: 1px solid rgba(230,197,138,.45); }
.card-all-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.card-all-n { font: 300 clamp(56px, 6vw, 96px)/1 var(--marquee); color: #e6c58a; text-shadow: 0 0 18px rgba(230,197,138,.45); }
.card-all-t { font: 500 16px/1 var(--marquee); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.card-all-go { font-size: 26px; color: #e6c58a; transition: transform .3s; }
.card-all:hover .card-all-go { transform: translateX(6px); }
.card-all:hover .card-img { border-color: #e6c58a; }
/* hero: what we do, under the tagline */
.beam-copy .hero-what { margin: 14px 0 0; font: 400 clamp(15px, 1.2vw, 19px)/1.45 var(--marquee); color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.8); max-width: 46ch; }
.beam-copy .hero-do { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; max-width: min(760px, 92vw); }
.beam-copy .hero-do li { font: 400 clamp(11px, .85vw, 13px)/1.2 leddot, ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #e6c58a; text-shadow: 0 1px 8px rgba(0,0,0,.9); white-space: nowrap; }
.beam-copy .hero-do li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: rgba(230,197,138,.7); vertical-align: middle; }
@media (max-width: 640px) { .beam-copy .hero-do { gap: 5px 0; } .beam-copy .hero-do li + li::before { margin: 0 8px; } }
.beam-copy .hero-do li.row-start::before { display: none; }
.beam-copy .hero-what { max-width: 62ch; }
/* the dot sits in the space before each item; the one at the start of a line falls outside and is clipped */
.beam-copy .hero-do-wrap { overflow: hidden; max-width: min(760px, 92vw); }
.beam-copy .hero-do { margin-left: -26px !important; max-width: none; }
.beam-copy .hero-do li { position: relative; padding-left: 26px; }
.beam-copy .hero-do li::before, .beam-copy .hero-do li + li::before, .beam-copy .hero-do li.row-start::before { content: ""; display: block !important; position: absolute; left: 11px; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 !important; border-radius: 50%; background: rgba(230,197,138,.7); }
@media (max-width: 640px) { .beam-copy .hero-do { margin-left: -18px !important; } .beam-copy .hero-do li { padding-left: 18px; } .beam-copy .hero-do li::before { left: 7px; } }
@media (max-width: 640px) { .beam-copy .hero-do li::before, .beam-copy .hero-do li + li::before, .beam-copy .hero-do li.row-start::before { left: 7px; } }
/* hero services: one line across the full width of the photo, evenly spread, a touch bigger */
@media (min-width: 900px) {
    .beam-copy { right: 0; }
    .beam-copy .hero-do-wrap { max-width: none; width: calc(100vw - 2 * var(--pad)); margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(230,197,138,.3); }
    .beam-copy .hero-do { flex-wrap: nowrap; justify-content: space-between; margin-left: 0 !important; }
    .beam-copy .hero-do li { padding-left: 0; font-size: clamp(11px, .95vw, 15px) !important; }
    .beam-copy .hero-do li::before, .beam-copy .hero-do li + li::before, .beam-copy .hero-do li.row-start::before { display: none !important; }
}
/* two even rows of five across the full width */
@media (min-width: 900px) {
    .beam-copy .hero-do { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 24px; }
    .beam-copy .hero-do li { white-space: nowrap; overflow: hidden; text-overflow: clip; font-size: clamp(10px, .9vw, 15px) !important; }
}
@media (min-width: 900px) and (max-width: 1199px) { .beam-copy .hero-do { gap: 12px 14px; } .beam-copy .hero-do li { font-size: 10px !important; letter-spacing: .08em; } }
@media (min-width: 900px) and (max-width: 999px) { .beam-copy .hero-do { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; } }
/* hero services bigger */
@media (min-width: 900px) {
    .beam-copy .hero-do li { font-size: clamp(12px, 1.12vw, 19px) !important; letter-spacing: .1em; }
    .beam-copy .hero-do { gap: 14px 24px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .beam-copy .hero-do li { font-size: 11px !important; } }
@media (max-width: 640px) { .beam-copy .hero-do li { font-size: 12.5px !important; } }
/* twelve services: two rows of six, each column as wide as its words, spread edge to edge */
@media (min-width: 900px) {
    .beam-copy .hero-do { grid-template-columns: repeat(6, auto) !important; justify-content: space-between; }
    .beam-copy .hero-do li { overflow: visible; }
}
@media (min-width: 900px) and (max-width: 1199px) { .beam-copy .hero-do { grid-template-columns: repeat(4, auto) !important; } }
@media (min-width: 900px) { .beam-copy .hero-what { max-width: none; white-space: nowrap; } }
/* hero: one short paragraph about what we do */
.beam-copy .hero-what { white-space: normal !important; max-width: 68ch !important; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(230,197,138,.35); font: 400 clamp(14px, 1.05vw, 17px)/1.6 var(--marquee); color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.85); }
@media (max-width: 640px) { .beam-copy .hero-what { font-size: 13.5px; line-height: 1.55; } }
.beam-copy .hero-what p { margin: 0; }
.beam-copy .hero-what p + p { margin-top: 10px; }
@media (max-width: 640px) { .beam-copy .hero-what { font-size: 13px; } }

/* ===== hero paragraph placement options (index-hero-b..e, mockup only) ===== */
/* E: the two paragraphs side by side across the bottom of the photo */
@media (min-width: 900px) {
    .hv-split .beam-copy { right: 0; padding-right: var(--pad); }
    .hv-split .beam-copy .hero-what { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: none !important; width: calc(100vw - 2 * var(--pad)); font-size: clamp(13px, 1vw, 16px); }
    .hv-split .beam-copy .hero-what p + p { margin-top: 0; }
}

/* hero: bigger tagline and paragraph (Blake, Oct 20 2026) */
.beam-copy .hero-tag { font-size: clamp(16px, 2.6vw, 34px) !important; }
@media (min-width: 900px) { .hv-split .beam-copy .hero-what { font-size: clamp(15px, 1.25vw, 20px); line-height: 1.55; gap: 0 64px; } }
@media (max-width: 640px) { .beam-copy .hero-tag { font-size: 16px !important; } .beam-copy .hero-what { font-size: 14px !important; } }
/* hero: one paragraph stretched nearly the full width */
@media (min-width: 900px) {
    .hv-split .beam-copy .hero-what { display: block !important; width: min(calc(100vw - 2 * var(--pad)), 1500px); font-size: clamp(15px, 1.3vw, 21px); line-height: 1.6; }
}
/* smoother hand-off from the photo into the wall: a long soft fade, no black band */
.beam::before { height: 30%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.82) 80%, rgba(0,0,0,.92) 100%); }
.beam::after { height: clamp(120px, 16vh, 200px); background: linear-gradient(to bottom, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 22%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.16) 75%, rgba(0,0,0,0) 100%); }
/* hero paragraph centered (Blake, Oct 20 2026) */
.beam-copy .hero-what { text-align: center; text-wrap: balance; }
@media (min-width: 900px) { .hv-split .beam-copy .hero-what { margin-left: auto; margin-right: auto; } }
/* shorter dark hand-off under the photo */
.beam::before { height: 18%; }
.beam::after { height: clamp(50px, 7vh, 80px); background: linear-gradient(to bottom, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.2) 70%, rgba(0,0,0,0) 100%); }
.beam-copy { padding-bottom: clamp(20px, 3.2vh, 34px) !important; }
/* hero paragraph back to left aligned (Blake, Oct 20 2026) */
.beam-copy .hero-what { text-align: left; text-wrap: pretty; }
@media (min-width: 900px) { .hv-split .beam-copy .hero-what { margin-left: 0; margin-right: 0; } }
.beam-copy .hero-what { border-top: 0 !important; padding-top: 0 !important; margin-top: 18px !important; }
/* the glass sculpture is a tall photo: the wide file fills the right 58 percent with the whole piece, the hero text sits on dark at left (Oct 20 2026) */
.beam img[src$="grand-living.webp"] { object-position: 50% 45%; }
/* hero copy sits lower so it covers less of the photo: the bottom lines hang 40px below the picture, into the
   Featured row's top padding (Blake, Oct 20 2026). Phones keep their layout. */
@media (min-width: 900px) {
    .beam-copy { bottom: -40px; padding-bottom: 4px !important; }
    /* the copy's dark backing fades out over the 40px below the photo instead of ending on a hard line */
    .beam-copy { background: linear-gradient(to top, transparent 0, rgba(0, 0, 0, .6) 40px, rgba(0, 0, 0, .25) 30%, transparent 50%),
                             linear-gradient(to right, rgba(0, 0, 0, .45) 0%, transparent 45%) top left / 100% calc(100% - 40px) no-repeat; }
}
/* a little more room between the hero paragraph and Featured Projects (Blake, Oct 20 2026) */
@media (min-width: 900px) { .work { padding-top: 84px; } }   /* 58px gap plus the 26px the hero copy dropped (Oct 20) */
/* the BAD logo opens the hero paragraph in place of the word, at Inter's cap height on the baseline;
   the word stays in the page for search and screen readers (Blake, Oct 20 2026) */
.hero-what .logo-inline { white-space: nowrap; }
.hero-what .logo-inline .logo-bad { height: .8em; width: auto; vertical-align: 0; margin-right: .05em; }

/* What we handle: one dark panel like the boxes under it, five services in a row with hairlines between, words only (no icons). Right under Featured, no gap (Blake, Nov 2 2026) */
.work { padding-bottom: 0; }
.svcs { max-width: 1560px; margin: 0 auto; padding: 28px var(--pad) 0; }
/* long job names (Miller Grossbard Advisors, West End Residence Aspen) stretched their cards wider, so those photos ran taller
   and left a gap under the whole row: the card keeps its width and the name shrinks to fit it (Nov 2 2026) */
.card { min-width: 0; container-type: inline-size; }
.card-name { white-space: nowrap; font-size: min(clamp(22px, 2vw, 30px), 6cqi) !important; }
@media (max-width: 640px) { .card-name { font-size: min(19px, 6cqi) !important; } }
/* the heading reads as a section, the same type as Featured Projects only bigger, centered (Blake, Nov 2 2026) */
.svcs { padding-top: 24px; }   /* tighter, Blake Nov 2 2026 */
.svcs-title { margin: 0 0 clamp(14px, 1.4vw, 20px); text-align: center; font: 300 clamp(34px, 4.2vw, 64px)/1.05 var(--marquee); letter-spacing: -.03em; color: var(--gold); text-shadow: 0 0 14px rgba(230,197,138,.3); }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(8,8,8,.72); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; }
.svc { position: relative; display: block; padding: clamp(24px, 2.4vw, 38px) clamp(20px, 1.8vw, 30px) clamp(26px, 2.6vw, 40px); color: #fff; text-decoration: none; border-left: 1px solid rgba(230,197,138,.18); }
.svc:first-child { border-left: 0; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 40px 30px, rgba(230,197,138,.11), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc h3 { position: relative; margin: 0 0 8px; font: 400 clamp(19px, 1.45vw, 25px)/1.15 var(--marquee); letter-spacing: -.02em; transition: color .3s; }
.svc h3::after { content: "\203A"; display: inline-block; margin-left: 10px; color: var(--gold); font-size: .95em; transition: transform .3s; }
.svc p { position: relative; margin: 0; max-width: 32ch; font: 300 clamp(15px, 1.02vw, 17px)/1.45 var(--marquee); color: rgba(255,255,255,.68); }
.svc:hover::before, .svc:focus-visible::before { opacity: 1; }
.svc:hover h3, .svc:focus-visible h3 { color: var(--gold); }
.svc:hover h3::after, .svc:focus-visible h3::after { transform: translateX(4px); }
@media (max-width: 1200px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc:nth-child(odd) { border-left: 0; }
    .svc:nth-child(n+3) { border-top: 1px solid rgba(230,197,138,.18); }
    .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc:nth-child(n) { border-left: 0; } .svc:nth-child(n+2) { border-top: 1px solid rgba(230,197,138,.18); }
    .svc { padding: 20px; }
}

/* framing per hero photo, set by eye on a wide monitor (Nov 3 2026). Wide screens crop the photos top and bottom, so each one
   keeps what matters: the fixture at the top on West End in snow, the kitchen ring and the jewelers; the room lower down on
   St. Marks, Kenny & Ziggys and Hamsa. One blanket "keep the tops" rule lost St. Marks and Kenny & Ziggys to their ceilings. */
.beam img[src$="west-end-night.webp"] { object-position: 45% 40%; }
.beam img[src$="rolex.webp"] { object-position: 66% 30%; }
.beam img[src$="grand-living.webp"] { object-position: 50% 20%; }
.beam img[src$="panerai.webp"] { object-position: 50% 40%; }
.beam img[src$="bellaire-library.webp"] { object-position: 50% 30%; }
.beam img[src$="zadok-chandeliers.webp"] { object-position: 50% 15%; }
.beam img[src$="forest-park-chapel.webp"] { object-position: 50% 25%; }
.beam img[src$="rob-roy-drive-straight.webp"] { object-position: 50% 60%; }
.beam img[src$="casa-kenji-bar.webp"] { object-position: 45% 35%; }
.beam img[src$="west-end-snow.webp"] { object-position: 50% 0%; }
.beam img[src$="zadok-austin-ceiling.webp"] { object-position: 50% 20%; }
.beam img[src$="kitchen-ring-crop.webp"] { object-position: 50% 0%; }
.beam img[src$="dandelion.webp"] { object-position: 50% 30%; }
.beam img[src$="hamsa.webp"] { object-position: 50% 55%; }
.beam img[src$="iwc.webp"] { object-position: 50% 40%; }
.beam img[src$="kenny-ziggys.webp"] { object-position: 50% 70%; }
.beam img[src$="sterling-aspen.webp"] { object-position: 50% 50%; }
.beam img[src$="post-oak-lobby.webp"] { object-position: 50% 50%; }
.beam img[src$="st-marks.webp"] { object-position: 50% 75%; }

/* About BAD: the full paragraph, moved off the hero photo, between What we handle and the three boxes (Nov 3 2026) */
.about-bad { max-width: 1560px; margin: 0 auto; padding: clamp(48px, 5vw, 80px) var(--pad) 0; }
.about-bad .svcs-title { margin-bottom: clamp(14px, 1.4vw, 20px); }
.about-bad .svcs-title .logo-inline svg { height: .74em; width: auto; vertical-align: -.02em; }
.about-bad .svcs-title .logo-inline svg path, .about-bad .svcs-title .logo-inline svg rect { fill: var(--gold); }
.about-bad p { margin: 0 auto; max-width: min(1240px, 100%); text-align: center; text-wrap: balance; font: 300 clamp(17px, 1.3vw, 21px)/1.75 var(--marquee); color: rgba(255,255,255,.82); }   /* spread wider (Blake, Nov 3 2026) */
.about-bad p .logo-inline { white-space: nowrap; }
.about-bad p .logo-inline svg { height: .74em; width: auto; vertical-align: 0; margin-right: .05em; }
.about-bad p .logo-inline svg path, .about-bad p .logo-inline svg rect { fill: #fff; }
/* one short hero line now, so the words sit inside the photo instead of hanging below it (Nov 3 2026) */
@media (min-width: 900px) {
    .beam-copy { bottom: 0; padding-bottom: clamp(30px, 5vh, 52px) !important; }
    .work { padding-top: 56px; }
}


/* phones: the logo wall shows its first 15 (five rows of three); computers keep all 30 (Blake, Nov 9 2026) */
@media (max-width: 760px) { .logo-wall > .lw:nth-child(n+16) { display: none; } }
