/* patio-enclosures: page-level styles (from site/src/patio-enclosures.src.html) */
/* ===== Patio awnings · Patio enclosures · Aluminum awnings (Oct 24 2026) ===== */
.np-cmp .rca-head,.np-states .rca-head{margin-bottom:clamp(28px,3vw,40px)}
/* ledger: one ruled comparison table with a highlighted column */
.np-ledger{overflow-x:auto}
.np-ledger:focus-visible{outline:3px solid var(--rca-rose);outline-offset:6px}
.np-ledger table{width:100%;border-collapse:collapse;min-width:640px}
.np-ledger caption{display:block;width:auto;caption-side:top;text-align:left;padding:0 0 12px;font:600 10.5px/1.3 var(--rca-font-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--rca-slate)}
.np-ledger thead th{padding:0 20px 14px 0;border-bottom:1.5px solid var(--rca-ink);text-align:left;vertical-align:bottom}
.np-ledger thead th b{display:block;font:500 1.375rem/1.15 var(--rca-font-display);color:var(--rca-ink)}
.np-ledger thead th small{display:block;margin-top:4px;font:600 10.5px/1.3 var(--rca-font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--rca-slate)}
.np-ledger thead th.is-pick b{color:var(--rca-evergreen)}
.np-ledger thead th.is-pick small{color:var(--rca-rose-700)}
.np-ledger tbody th,.np-ledger tbody td{padding:16px 20px 16px 0;border-bottom:1px solid #D6CBB3;text-align:left;vertical-align:top;font-size:15px;line-height:1.55;color:#2F3833}
.np-ledger tbody th{width:16%;font:600 11px/1.5 var(--rca-font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--rca-slate);padding-top:19px}
.np-ledger tbody td.is-pick,.np-ledger thead th.is-pick{background:rgba(255,255,255,.55);padding-left:16px}
.np-ledger tbody td.is-pick{color:var(--rca-ink)}
.np-ledger tbody tr:last-child th,.np-ledger tbody tr:last-child td{border-bottom:1.5px solid var(--rca-ink)}
.np-ledger td a{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--rca-evergreen);text-decoration:none;border-bottom:1.5px solid currentColor}
.np-ledger td a svg{width:14px;height:14px}
.np-ledger td a:hover{color:var(--rca-rose-700)}
.np-ledger--tight{margin-top:clamp(36px,4vw,56px)}
.np-note{margin:18px 0 0;max-width:70ch;font-size:14.5px;line-height:1.6;color:var(--rca-slate)}
/* split sections */
.np-split__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(36px,5vw,80px);align-items:center}
.np-split--flip .np-split__fig{order:2}
.np-split__fig{margin:0;background:var(--rca-evergreen-900);box-shadow:var(--rca-shadow)}
.np-split__fig img{display:block;width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}
.np-split__copy .rca-h2{margin:0 0 14px;text-wrap:balance}
.np-split__copy .rca-lead{margin:0 0 26px;color:#3E4641}
/* numbered steps as a ruled key */
.np-steps{list-style:none;margin:0;padding:0;border-top:1.5px solid var(--rca-ink)}
.np-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid #D6CBB3}
.np-steps li:last-child{border-bottom:1.5px solid var(--rca-ink)}
.np-steps__n{width:32px;height:32px;margin-top:2px;border:1.5px solid var(--rca-ink);border-radius:50%;display:grid;place-items:center;font:600 12px/1 var(--rca-font-sans);color:var(--rca-ink)}
.np-steps h3{margin:4px 0 4px;font:500 1.1875rem/1.2 var(--rca-font-display);color:var(--rca-ink)}
.np-steps p{margin:0;font-size:15px;line-height:1.55;color:#3E4641}
/* screen states */
.np-states__list{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1.5px solid var(--rca-ink);border-bottom:1.5px solid var(--rca-ink)}
.np-state{padding:28px 28px 26px 0;color:var(--rca-evergreen)}
.np-state+.np-state{padding-left:28px;border-left:1px solid #D6CBB3}
.np-state svg{display:block;width:100%;max-width:240px;height:auto;margin-bottom:16px}
.np-state h3{margin:0 0 6px;font:500 1.375rem/1.15 var(--rca-font-display);color:var(--rca-ink)}
.np-state p{margin:0;font-size:15px;line-height:1.55;color:#3E4641}
/* vs list and systems */
.np-vs{margin:0}
.np-vs div{padding:18px 0;border-top:1px solid #D6CBB3}
.np-vs div:last-child{border-bottom:1px solid #D6CBB3}
.np-vs dt{margin:0 0 6px;font:500 1.25rem/1.2 var(--rca-font-display);color:var(--rca-evergreen)}
.np-vs dd{margin:0;font-size:15px;line-height:1.6;color:#2F3833}
.np-sys{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;border-top:1.5px solid var(--rca-ink)}
.np-sys li{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:12px 0;border-bottom:1px solid #D6CBB3}
.np-sys b{font:500 1.125rem/1.25 var(--rca-font-display);color:var(--rca-ink)}
.np-sys span{font:600 10.5px/1.3 var(--rca-font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--rca-slate);white-space:nowrap}
@media (max-width:980px){
  .np-split__grid{grid-template-columns:minmax(0,1fr)}
  .np-split--flip .np-split__fig{order:0}
  .np-split__fig img{aspect-ratio:16/10}
  .np-states__list{grid-template-columns:minmax(0,1fr)}
  .np-state,.np-state+.np-state{padding:22px 0;border-left:0}
  .np-state+.np-state{border-top:1px solid #D6CBB3}
  .np-state svg{max-width:200px}
}
@media (max-width:640px){
  .np-ledger{overflow:visible}
  .np-ledger table,.np-ledger tbody,.np-ledger tr,.np-ledger th,.np-ledger td{display:block;width:auto;min-width:0}
  .np-ledger thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .np-ledger table{border-top:1.5px solid var(--rca-ink)}
  .np-ledger tbody tr{padding:14px 0 6px;border-bottom:1px solid #D6CBB3}
  .np-ledger tbody tr:last-child{border-bottom:1.5px solid var(--rca-ink)}
  .np-ledger tbody th,.np-ledger tbody td{padding:0;border:0!important;width:auto}
  .np-ledger tbody th{margin-bottom:8px}
  .np-ledger tbody td{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:12px;padding:7px 0;font-size:14.5px}
  .np-ledger tbody td::before{content:attr(data-c);font:500 15px/1.4 var(--rca-font-display);color:var(--rca-slate)}
  .np-ledger tbody td.is-pick{background:none;padding-left:0;margin:0}
  .np-ledger tbody td.is-pick::before{color:var(--rca-evergreen)}
  .np-sys{grid-template-columns:minmax(0,1fr)}
  .np-sys li:last-child{border-bottom:1.5px solid var(--rca-ink)}
}

/* ===== Aluminum vs fabric: a matched pair of material cards (Oct 24 2026) ===== */
.np-duo{padding-block:var(--rca-section);background:var(--rca-fog)}
.np-duo__head{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:20px clamp(40px,6vw,96px);align-items:end;margin-bottom:clamp(36px,4vw,56px)}
.np-duo .rca-h2{margin:0;text-wrap:balance}
.np-duo .rca-h2 em{font-style:italic;color:var(--rca-rose-700)}
.np-duo .rca-lead{margin:0;color:#3E4641;max-width:48ch}
.np-duo__pair{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.np-duo__vs{position:absolute;left:50%;top:118px;z-index:3;display:grid;place-items:center;width:64px;height:64px;margin-left:-32px;border-radius:50%;background:var(--rca-fog);box-shadow:0 0 0 6px var(--rca-fog),inset 0 0 0 1.5px var(--rca-ink);font:italic 400 1.375rem/1 var(--rca-font-display);color:var(--rca-ink)}
.np-mat{--mpad:clamp(24px,2.8vw,40px);position:relative;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;isolation:isolate}
.np-mat--alu{background:#1A1F1C;color:var(--rca-on-dark)}
/* standing-seam texture on the metal card */
.np-mat--alu::before{content:"";position:absolute;inset:0 0 auto;height:230px;z-index:-1;background:repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 22px),linear-gradient(180deg,#2A302C,#1A1F1C);-webkit-mask:linear-gradient(#000,transparent);mask:linear-gradient(#000,transparent)}
.np-mat--fab{background:#FBF8F1;color:var(--rca-ink);box-shadow:inset 0 0 0 1px rgba(24,33,28,.1)}
/* awning-stripe valance on the fabric card */
.np-mat--fab::before{content:"";position:absolute;left:0;right:0;top:0;height:14px;z-index:-1;background:repeating-linear-gradient(90deg,var(--rca-evergreen) 0 26px,#E7DFCF 26px 52px);-webkit-mask:radial-gradient(13px 9px at 13px 14px,transparent 98%,#000) 0 0/26px 14px;mask:radial-gradient(13px 9px at 13px 14px,transparent 98%,#000) 0 0/26px 14px}
.np-mat__head{padding:calc(var(--mpad) + 10px) var(--mpad) 0;text-align:center}
.np-mat__tag{display:inline-flex;align-items:center;padding:7px 12px 7px calc(12px + .14em);border-radius:999px;font:600 10px/1 var(--rca-font-sans);letter-spacing:.14em;text-transform:uppercase}
.np-mat--alu .np-mat__tag{color:var(--rca-khaki);box-shadow:inset 0 0 0 1px rgba(217,199,163,.4)}
.np-mat--fab .np-mat__tag{color:var(--rca-rose-700);box-shadow:inset 0 0 0 1px rgba(143,37,55,.35)}
.np-mat__head h3{margin:16px 0 8px;font:400 clamp(2.5rem,1.8rem + 2.4vw,3.75rem)/1 var(--rca-font-display);letter-spacing:-.02em;color:inherit}
.np-mat--fab .np-mat__head h3{font-style:italic}
.np-mat__head p{margin:0 auto;max-width:34ch;font-size:15px;line-height:1.55;opacity:.78}
.np-mat__spec{margin:28px var(--mpad) 0;padding:0}
.np-mat__spec div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:baseline;padding:13px 0;border-top:1px solid rgba(24,33,28,.12)}
.np-mat--alu .np-mat__spec div{border-top-color:rgba(242,241,234,.12)}
.np-mat__spec dt{font:600 10px/1.4 var(--rca-font-sans);letter-spacing:.14em;text-transform:uppercase;opacity:.62}
.np-mat__spec dd{margin:0;font-size:15px;line-height:1.5}
.np-mat__spec .is-na dd{opacity:.45;font-style:italic}
.np-mat__cta{display:inline-flex;align-self:center;align-items:center;gap:8px;margin:22px var(--mpad) 28px;padding-bottom:3px;border-bottom:1.5px solid currentColor;font:600 14.5px/1.2 var(--rca-font-sans);text-decoration:none}
.np-mat--alu .np-mat__cta{color:var(--rca-khaki)}
.np-mat--fab .np-mat__cta{color:var(--rca-evergreen)}
.np-mat__cta svg{width:15px;height:15px;transition:transform var(--rca-t-base) var(--rca-ease-out)}
.np-mat__cta:hover svg{transform:translateX(3px)}
.np-mat__fig{margin:auto 0 0;aspect-ratio:16/10;overflow:hidden}
.np-mat__fig img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 900ms var(--rca-ease-out)}
.np-mat:hover .np-mat__fig img{transform:scale(1.04)}
@media (max-width:980px){
  .np-duo__head{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  .np-duo__pair{grid-template-columns:minmax(0,1fr);gap:0}
  .np-duo__vs{position:relative;left:auto;top:auto;margin:-18px auto;width:56px;height:56px}
  .np-duo__pair{row-gap:0}
  .np-mat--alu{margin-bottom:0}
  .np-mat__spec div{grid-template-columns:92px minmax(0,1fr);gap:12px}
}
@media (prefers-reduced-motion:reduce){.np-mat__fig img,.np-mat__cta svg{transition:none}}

/* ===== Metal awnings (Round 1): aluminum vs steel ledger + manual gallery ===== */
.np-met{padding-block:var(--rca-section);background:#F4EEE2}
.np-met__grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(32px,6vw,96px);align-items:start}
.np-met__head{display:flex;flex-direction:column;gap:14px}
.np-met__head .rca-label{margin:0;color:var(--rca-rose-700)}
.np-met__head .rca-h2{margin:0;text-wrap:balance}
.np-met__head .rca-h2 em{font-style:italic;color:var(--rca-rose-700)}
.np-met__head p:last-child{margin:0;max-width:44ch;color:#3E4641}
.np-met__t table{min-width:520px}
.np-gal__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:clamp(24px,3vw,40px)}
.np-gal__head .rca-h2{margin:0 0 10px}
.np-gal__head .rca-h2 em{font-style:italic;color:var(--rca-rose-700)}
.np-gal__head .rca-lead{margin:0;max-width:52ch}
.np-gal__nav{display:flex;align-items:center;gap:10px;flex:none}
.np-gal__nav[hidden]{display:none}
.np-gal__btn{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1.5px solid var(--rca-ink);border-radius:50%;background:transparent;color:var(--rca-ink);cursor:pointer;transition:background var(--rca-t-fast),color var(--rca-t-fast)}
.np-gal__btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.np-gal__btn:hover{background:var(--rca-ink);color:#fff}
.np-gal__btn:disabled{opacity:.35;cursor:default;background:transparent;color:var(--rca-ink)}
.np-gal__count{margin:0;min-width:52px;text-align:center;font:600 13px/1 var(--rca-font-sans);letter-spacing:.08em;color:var(--rca-slate);font-variant-numeric:tabular-nums}
.np-gal__count b{color:var(--rca-ink)}
.np-gal__view{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.np-gal__view::-webkit-scrollbar{display:none}
.np-gal__view:focus-visible{outline:3px solid var(--rca-rose);outline-offset:6px}
.np-gal__track{display:flex;gap:16px;margin:0;padding:0;list-style:none}
.np-gal__s{flex:0 0 min(78%,900px);scroll-snap-align:start}
.np-gal__s figure{position:relative;margin:0;overflow:hidden;background:var(--rca-evergreen-900)}
.np-gal__s img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.np-gal__s figcaption{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:4px;padding:56px 24px 20px;background:linear-gradient(180deg,rgba(26,52,36,0),rgba(26,52,36,.86));color:#E8EBE4;font-size:14px}
.np-gal__s figcaption b{font:500 1.375rem/1.15 var(--rca-font-display);color:#fff}
.np-gal__thumbs{display:flex;gap:10px;margin:18px 0 0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.np-gal__thumbs a{display:block;width:96px;border:2px solid transparent;opacity:.7;transition:opacity var(--rca-t-fast),border-color var(--rca-t-fast)}
.np-gal__thumbs a:hover,.np-gal__thumbs a[aria-current="true"]{opacity:1;border-color:var(--rca-rose)}
.np-gal__thumbs img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:980px){.np-met__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:767px){
  .np-gal__head{flex-direction:column;align-items:flex-start}
  .np-gal__s{flex-basis:88%}
  .np-gal__s img{aspect-ratio:4/3}
  .np-gal__thumbs a{width:72px}
}
@media (prefers-reduced-motion:reduce){.np-gal__view{scroll-behavior:auto}.np-gal__btn,.np-gal__thumbs a{transition:none}}
/* former inline styles: :not(#rca-x) lifts them to ID specificity, like an inline style (still below !important) */
.rca-s-07da3ca:not(#rca-x){font-size:clamp(1.75rem,1.4rem + 1.2vw,2.5rem)}
.rca-s-3945242:not(#rca-x){padding-top:var(--rca-s8)}
.rca-s-4699683:not(#rca-x){margin-bottom:var(--rca-s6)}
.rca-s-4daa7fb:not(#rca-x){padding-block:var(--rca-s8)}
.rca-s-a000b23:not(#rca-x){--cta-hem:var(--rca-paper)}
.rca-s-d217f7a:not(#rca-x){color:var(--rca-rose-700);margin:0 0 18px}
.rca-s-fe2baef:not(#rca-x){--hero-pos:50% 45%;--hem:var(--rca-paper)}
