/* Ourco R3: starry-night art carried across the site (November 2026).
   Art lives in /assets/images/release-r3/. Masters stay in the R3 archive, not in the repo.
   Loaded after each page's inline styles, so selectors repeat .osc-root and use !important
   only where an inline rule already does. */

:root{
  --r3-bead:url('/assets/images/release-r3/kit/k4-weld-bead-tile.webp');
  --r3-bead-l:url('/assets/images/release-r3/kit/k4-weld-bead-end-left.webp');
  --r3-bead-r:url('/assets/images/release-r3/kit/k4-weld-bead-end-right.webp');
  --r3-sky:url('/assets/images/release-r3/kit/k1-night-tile-quiet.webp');
}

/* Page reset (2026-11-14): no page zeroed the browser's default 8px body margin
   (only Home on phones did), so a thin white edge framed every page. */
body{margin:0}

/* ── Weld-bead divider (replaces the thin orange rule above the CTA band) ── */
.r3-bead{
  display:block;height:18px;width:100%;
  background:var(--r3-bead-l) left center/auto 100% no-repeat,var(--r3-bead-r) right center/auto 100% no-repeat,var(--r3-bead) left center/auto 100% repeat-x;
}

/* ── Worn-steel frame for framed scenes (9-slice) ── */
.r3-frame{position:relative;display:block;line-height:0}
.r3-frame img{display:block;width:100%;height:auto;border-radius:4px}
.r3-frame::after{
  content:"";position:absolute;inset:-12px;pointer-events:none;
  border:28px solid transparent;
  border-image:url('/assets/images/release-r3/kit/k2-steel-frame-9slice-small.webp') 60 / 28px stretch;
  filter:drop-shadow(0 10px 18px rgba(1,8,20,.35));
}

/* ── Steel medallion icons ── */
.r3-medal{display:block;width:100%;height:100%;object-fit:contain}

/* ══ Shared CTA band: “Need something handled?” ══ */
.osc-root section.nsh-band{
  border-top:0!important;
  background:url('/assets/images/release-r3/scenes/k6-cta-band-desktop.webp') right center/cover no-repeat,#061a35!important;
  padding:clamp(64px,7vw,104px) 0!important;
}
.osc-root section.nsh-band::before{
  content:"";position:absolute;left:0;right:0;top:0;height:18px;
  background:var(--r3-bead-l) left center/auto 100% no-repeat,var(--r3-bead-r) right center/auto 100% no-repeat,var(--r3-bead) left center/auto 100% repeat-x;
}
.osc-root .nsh-band .nsh-inner{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:26px!important;
}
.osc-root .nsh-band .nsh-copy{max-width:min(50vw,720px)!important}
.osc-root .nsh-band .nsh-title{font-size:clamp(2rem,3.5vw,3.5rem)!important}
.osc-root .nsh-band .nsh-copy p{text-shadow:0 1px 10px rgba(2,10,22,.7)}
.osc-root .nsh-band .nsh-actions{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:14px!important;
  width:min(46vw,600px)!important;max-width:100%!important;
}
.osc-root .nsh-band .nsh-action{flex:1 1 220px!important;width:auto!important}
@media(max-width:768px){
  .osc-root section.nsh-band{
    background:linear-gradient(to bottom,#00040f 0,#00040f calc(100% - 129.6vw),rgba(0,4,15,0) calc(100% - 110vw)),url('/assets/images/release-r3/scenes/k6-cta-band-mobile.webp') center bottom/100% auto no-repeat,#00040f!important;
    padding:56px 0 calc(129.6vw - 300px)!important;
    min-height:129.6vw;
  }
  .osc-root .nsh-band .nsh-copy,.osc-root .nsh-band .nsh-actions{max-width:100%!important;width:100%!important}
}

/* ══ Home: live welding loop over the approved painting ══ */
.osc-root .hero-image{position:relative}
.osc-root .hero-image .hero-motion{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:left top;
  opacity:0;transition:opacity .25s linear;pointer-events:none;
}
.osc-root .hero-image .hero-motion.is-playing{opacity:1}
@media (prefers-reduced-motion:reduce){.osc-root .hero-image .hero-motion{display:none}}

/* ══ About: the Ourco neon crest on the mural wall ══ */
.osc-root .serve-band.serve-band--creators.r3-crest{
  position:relative;display:block;padding:0;min-height:0;overflow:hidden;
  aspect-ratio:2400/1000;background:#071733;text-align:left;
}
.r3-crest__art{position:absolute;inset:0;container-type:size;overflow:hidden}
.r3-crest__stage{
  position:absolute;right:0;top:50%;translate:0 -50%;
  width:max(100cqw,240cqh);aspect-ratio:2400/1000;
}
.r3-crest__stage img{position:absolute;display:block;max-width:none;user-select:none}
.r3-crest__wall{inset:0;width:100%;height:100%}
.r3-crest__sign{left:59.8333%;top:-3%;width:40%;height:105.06%}
.r3-crest__spill{left:49.8333%;top:-22.47%;width:60%;height:144%}
.osc-root .r3-crest .serve-band__head,.osc-root .r3-crest .serve-list{position:relative;z-index:2}
.osc-root .r3-crest .r3-crest__copy{
  position:relative;z-index:2;max-width:52%;
  padding:clamp(28px,4vw,56px) clamp(24px,4vw,52px);
}
.osc-root .r3-crest .serve-list{justify-content:flex-start;max-width:100%}
.osc-root .r3-crest .serve-band__title{font-size:clamp(1.5rem,2.8vw,2.4rem);text-shadow:0 2px 14px rgba(2,10,22,.75)}

/* Neon timing: one 4.6 s loop. Groups switch whole, like real LED neon flex. */
.r3-neon{opacity:0}
.r3-crest.is-lit .r3-neon{animation:4.6s linear infinite both}
.r3-crest.is-lit .r3-neon--arc{animation-name:r3-arc}
.r3-crest.is-lit .r3-neon--g1{animation-name:r3-g1}
.r3-crest.is-lit .r3-neon--g2{animation-name:r3-g2}
.r3-crest.is-lit .r3-neon--g3{animation-name:r3-g3}
.r3-crest.is-lit .r3-neon--g4{animation-name:r3-g4}
.r3-crest.is-lit .r3-neon--spill{animation-name:r3-spill}
.r3-crest.is-lit .r3-neon--est{animation-name:r3-est}
.r3-crest.is-paused .r3-neon{animation-play-state:paused}
@keyframes r3-arc{0%,6.52%{opacity:0}6.53%,7.6%{opacity:1}7.61%,8.91%{opacity:0}8.92%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-g1{0%,9.78%{opacity:0}9.79%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-g2{0%,13.04%{opacity:0}13.05%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-g3{0%,16.3%{opacity:0}16.31%,30%{opacity:1}33%{opacity:.975}36%,60%{opacity:1}63%{opacity:.975}66%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-g4{0%,19.56%{opacity:0}19.57%,40%{opacity:1}43%{opacity:.975}46%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-spill{0%,9.78%{opacity:0}9.79%,13.04%{opacity:.3}13.05%,16.3%{opacity:.6}16.31%,19.56%{opacity:.85}19.57%,73.9%{opacity:1}73.91%,100%{opacity:0}}
@keyframes r3-est{0%,47.82%{opacity:0}47.83%,49.34%{opacity:1}49.35%,50.43%{opacity:0}50.44%,51.3%{opacity:1}51.31%,100%{opacity:0}}
/* Reduced motion, or before the band scrolls into view: show the sign fully lit and still. */
@media (prefers-reduced-motion:reduce){
  .r3-crest .r3-neon{animation:none!important;opacity:1}
  .r3-crest .r3-neon--est{opacity:0}
}
.r3-crest.is-static .r3-neon{opacity:1}
.r3-crest.is-static .r3-neon--est{opacity:0}

@media(max-width:768px){
  /* Phone: text sits above the painting; the painting's calm top fades in behind it. */
  .osc-root .serve-band.serve-band--creators.r3-crest{aspect-ratio:auto;display:flex;flex-direction:column;background:#0a1631}
  .r3-crest__art{
    position:relative;inset:auto;order:1;width:100%;aspect-ratio:1080/1500;margin-top:-55%;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 22%);mask-image:linear-gradient(to bottom,transparent 0,#000 22%);
  }
  .r3-crest__stage{top:auto;bottom:0;right:auto;left:50%;translate:-50% 0;width:max(100cqw,72cqh);aspect-ratio:1080/1500}
  .r3-crest__sign{left:12.2222%;top:43.3333%;width:75.5556%;height:59.534%}
  .r3-crest__spill{left:-6.6667%;top:32.3003%;width:113.3333%;height:81.6%}
  .osc-root .r3-crest .r3-crest__copy{max-width:100%;padding:28px 22px}
  .osc-root .r3-crest .serve-list{gap:8px}
  .osc-root .r3-crest .serve-list li{padding:8px 12px;font-size:.85rem}
}

/* ══ About: steel medallions for the quick facts ══ */
.osc-root .fact__icon.r3-medal-wrap{width:52px;height:52px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0}

/* ══ Industrial Gases: painted night hero ══ */
.osc-root .gases-banner.r3-gases-hero{
  background:url('/assets/images/release-r3/scenes/g1-gases-hero-desktop.webp') 70% center/cover no-repeat,#061a35;
  min-height:clamp(520px,46vw,700px);padding:clamp(70px,9vw,140px) 0!important;
}
.osc-root .r3-gases-hero .banner-grid{display:block}
.osc-root .r3-gases-hero .banner-copy{max-width:min(44%,560px)}
.osc-root .r3-gases-hero .banner-art{display:none}
.osc-root .r3-gases-hero .banner-title{color:#fff}
.osc-root .r3-gases-hero .banner-title .accent-word{color:#ff8a32}
.osc-root .r3-gases-hero .banner-lede,.osc-root .r3-gases-hero .banner-points li{color:#e8eef7}
.osc-root .r3-gases-hero .banner-copy{text-shadow:0 1px 12px rgba(2,10,22,.65)}
.osc-root .r3-gases-hero .btn-outline{color:#fff;border-color:rgba(255,255,255,.75);background:rgba(6,26,53,.35)}
.osc-root .r3-gases-hero .btn-outline:hover,.osc-root .r3-gases-hero .btn-outline:focus-visible{background:#fff;color:#0a2447}
@media(max-width:768px){
  .osc-root .gases-banner.r3-gases-hero{
    background:linear-gradient(to bottom,#011229 0,#011229 calc(100% - 138.9vw),rgba(1,18,41,0) calc(100% - 120vw)),url('/assets/images/release-r3/scenes/g1-gases-hero-mobile.webp') center bottom/100% auto no-repeat,#011229;
    min-height:138.9vw;padding:40px 0 calc(138.9vw * .5)!important;
  }
  .osc-root .r3-gases-hero .banner-copy{max-width:100%}
}
.osc-root .bulk-art.r3-frame{margin:14px}
.osc-root .program-card__icon.r3-medal-wrap{width:60px;height:60px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.osc-root section.section--quote-navy{background:linear-gradient(180deg,rgba(6,26,53,.55),rgba(6,26,53,.7)),var(--r3-sky) center/800px repeat,#0a2447!important}

/* ══ Contact: the real storefront at night ══ */
.osc-root .page-banner.r3-contact-hero{
  background:url('/assets/images/release-r3/scenes/c1-contact-hero-desktop.webp') right center/cover no-repeat,#061a35!important;
  min-height:clamp(320px,37.5vw,560px);padding:clamp(80px,12vw,190px) 0!important;
}
.osc-root .page-banner.r3-contact-hero::before,.osc-root .page-banner.r3-contact-hero::after{display:none!important}
.osc-root .r3-contact-hero .contact-intro__title{text-shadow:0 2px 16px rgba(2,10,22,.7)}
@media(max-width:768px){
  .osc-root .page-banner.r3-contact-hero{
    background:url('/assets/images/release-r3/scenes/c1-contact-hero-mobile.webp') center bottom/100% auto no-repeat,#00061d!important;
    min-height:120.4vw;padding:40px 0 0!important;
  }
}
.osc-root .contact-action .r3-medal,.osc-root .contact-hours .r3-medal{width:46px;height:46px;flex:0 0 46px}
.osc-root .r3-visit{margin-top:34px}
.osc-root section.section--contact-navy{background:linear-gradient(180deg,rgba(10,36,71,.6),rgba(6,26,53,.75)),var(--r3-sky) center/800px repeat,#0a2447!important}
@media(max-width:768px){.osc-root .r3-visit{margin:28px 12px 8px}}

/* ══ Services: steps illustrated ══ */
.osc-root .how-step .how-step__art{
  display:block;width:calc(100% + 52px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;
  margin:-30px -26px 18px;border-radius:10px 10px 0 0;
}
.osc-root .how-step{overflow:hidden}

/* ══ 404: the missing beam ══ */
.osc-root .section.r3-404{
  background:url('/assets/images/release-r3/scenes/e1-404-scene.webp') center top/cover no-repeat,#061a35;
  min-height:clamp(480px,55.6vw,760px);padding:clamp(40px,5vw,72px) 0;
}
.osc-root .r3-404 .serve-band{background:none;border:0;box-shadow:none;padding:0;text-align:center}
.osc-root .r3-404 .serve-band__title{font-size:clamp(2rem,4vw,3.2rem);text-shadow:0 2px 16px rgba(2,10,22,.75)}
@media(max-width:768px){.osc-root .section.r3-404{background-position:68% bottom;min-height:560px}}

/* ══════════ R4 (2026-11-11): polish from the round-4 audit ══════════ */

/* ── Inner pages: the header sits in the night sky instead of on a flat black bar ── */
.osc-root header.osc-header{background:#00061d var(--r3-sky) center/900px repeat!important}
.osc-root .util-bar.owner-contact{background:#00040f!important}

/* ── About: values and stats as riveted steel plates ── */
.osc-root div.about-grid-wrap::before{display:none}
.osc-root div.about-items{gap:18px;border:0;box-shadow:none;background:none}
.osc-root div.about-item,
.osc-root div.about-item:hover{
  background:#06163a var(--r3-sky) center/640px repeat;border:0;
  padding:38px 36px 36px;box-shadow:0 14px 30px rgba(4,14,34,.28);
}
.osc-root div.about-item::before{display:none}
.osc-root div.about-item::after,
.osc-root div.story-stat::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  border:22px solid transparent;
  border-image:url('/assets/images/release-r3/kit/k2-steel-frame-9slice-small.webp') 60 / 22px stretch;
}
.osc-root div.about-item h3{color:#ff9a4a;letter-spacing:.06em}
.osc-root div.about-item p{color:#dbe4f3}
.osc-root div.story-stat{
  position:relative;border:0;border-radius:0;
  background:#06163a var(--r3-sky) center/520px repeat;
  padding:30px 32px;box-shadow:0 10px 22px rgba(4,14,34,.25);
}
.osc-root div.story-stat__num{color:#ff9a4a}
.osc-root div.story-stat__label{color:#e6edf8}
@media(max-width:768px){
  .osc-root div.about-items{gap:14px}
  .osc-root div.about-item,.osc-root div.about-item:hover{padding:32px 30px 30px}
  .osc-root div.story-stat{padding:26px 26px}
}

/* ── Contact: headline at the scale of the other pages; night-tinted, steel-framed map ── */
.osc-root .r3-contact-hero .contact-intro__title{
  display:block;font-size:clamp(2.4rem,4.6vw,4.2rem);color:#fff;letter-spacing:-.02em;
}
.osc-root .r3-contact-hero .contact-intro__title .accent-word{color:var(--accent-bright)}
.osc-root section.contact-map{
  border-top:0;line-height:0;
  padding:0 clamp(16px,4vw,60px) clamp(40px,5vw,64px);
  background:linear-gradient(180deg,rgba(6,26,53,.75),rgba(6,26,53,.75)),var(--r3-sky) center/800px repeat,#0a2447;
}
.osc-root .r3-map{position:relative;max-width:1240px;margin:0 auto;background:#0a1830}
.osc-root .r3-map::after{
  content:"";position:absolute;inset:-10px;pointer-events:none;
  border:26px solid transparent;
  border-image:url('/assets/images/release-r3/kit/k2-steel-frame-9slice-small.webp') 60 / 26px stretch;
}
.osc-root .contact-map .r3-map iframe{filter:invert(92%) hue-rotate(180deg) saturate(.85) brightness(.92) contrast(.94)}

/* ── Phones: the footer shows the address and hours once ── */
@media(max-width:768px){
  .osc-root .site-footer .footer-brand .footer-contact{display:none}
  .osc-root .site-footer .footer-top{grid-template-columns:1fr 1fr;gap:28px 20px}
  .osc-root .site-footer .footer-top .footer-brand{grid-column:1 / -1}
  .osc-root .site-footer .footer-top .footer-col:nth-child(4){grid-column:1 / -1}
  .osc-root .site-footer .footer-col h4{white-space:nowrap}
}

/* ── Home, phones: the headline sits below the weld arc and never grows up over it ──
   The copy is anchored from the top of the painting (the arc is at about 67% of its height),
   and the headline is capped to the frame width so larger text settings cannot wrap it. */
@media(max-width:768px){
  .osc-root .hero-frame .hero-inner{align-items:flex-start;padding:0}
  .osc-root .hero-frame .hero-copy{position:absolute;left:0;right:0;top:73%;align-items:center;text-align:center}
  .osc-root .hero-frame .hero-tagline{font-size:min(2.4rem,8.4vw,4.5vh);white-space:nowrap;margin-bottom:min(18px,4vw)}
  .osc-root .hero-frame .hero-btns .btn{font-size:min(0.7rem,3.1vw)}
}
@media(min-width:481px) and (max-width:768px){
  .osc-root .hero-frame .hero-tagline{font-size:min(4rem,8.4vw,4.5vh)}
}

/* ── About: Inside Ourco gallery (R4). Showroom mosaic first, then an even row. Every photo fills its tile. ── */
.osc-root .r4-gal__label{
  margin:28px 0 14px;font-size:1.05rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink,#0a2447);
}
.osc-root .r4-gal{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}
.osc-root .r4-gal--showroom{grid-template-rows:repeat(2,clamp(190px,17vw,250px))}
.osc-root .r4-gal--row{grid-auto-rows:clamp(190px,17vw,250px)}
.osc-root .r4-gal__tile{
  position:relative;margin:0;overflow:hidden;border-radius:12px;background:#061a35;
  box-shadow:0 14px 30px rgba(10,36,71,.14);
}
.osc-root .r4-gal__tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.osc-root .r4-gal__tile--lead{grid-column:1 / span 2;grid-row:1 / span 2}
.osc-root .r4-gal__tile--tall{grid-column:3;grid-row:1 / span 2}
.osc-root .r4-gal__tile--tall img{object-position:center 30%}
.osc-root .r4-gal__tile .tile-cap{font-size:.8rem}
@media(max-width:1000px){
  .osc-root .r4-gal{grid-template-columns:repeat(2,minmax(0,1fr))}
  .osc-root .r4-gal--showroom{grid-template-rows:none;grid-auto-rows:clamp(170px,30vw,250px)}
  .osc-root .r4-gal--row{grid-auto-rows:clamp(170px,30vw,250px)}
  .osc-root .r4-gal__tile--lead{grid-column:1 / -1;grid-row:span 2}
  .osc-root .r4-gal__tile--tall{grid-column:1;grid-row:span 2}
}
@media(max-width:560px){
  .osc-root .r4-gal{grid-template-columns:1fr;gap:14px}
  .osc-root .r4-gal--showroom,.osc-root .r4-gal--row{grid-auto-rows:auto;grid-template-rows:none}
  .osc-root .r4-gal__tile,.osc-root .r4-gal__tile--lead,.osc-root .r4-gal__tile--tall{grid-column:auto;grid-row:auto;aspect-ratio:4 / 3}
  .osc-root .r4-gal__tile--tall{aspect-ratio:4 / 5}
}
