/* Homepage-specific layout. Shared system lives in pylon.css. */
/* ---- home v4: one column of air, one product shot at a time ---- */
a:not([class]):hover{color:var(--t1)}

/* hero: single centred column, product plate below at full width */
.h4{padding:clamp(3.5rem,8vh,6.5rem) 0 0;border-bottom:1px solid var(--rule)}
.h4-c{grid-column:1/9}
.h4-c h1{max-width:18ch;margin-bottom:clamp(1.5rem,2.6vw,2rem)}
.h4-c .body{font-size:clamp(1rem,1.35vw,1.1875rem);max-width:52ch;color:var(--t2)}
.h4-e{display:flex;align-items:center;gap:.625rem;color:var(--t4);margin-bottom:clamp(1.5rem,3vh,2.25rem)}
.h4-act{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:clamp(1.75rem,3vw,2.375rem)}
@media(max-width:1024px){.h4-c{grid-column:1/-1}}
.h4-p{margin-top:clamp(3rem,6vw,5rem);position:relative;overflow:hidden;border:1px solid var(--rule-2);border-bottom:0;background:var(--ink-3);max-height:min(58vh,620px)}
.h4-p img{width:100%;height:auto;display:block}
.h4-p::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--ink) 2%,transparent 42%);pointer-events:none}

/* hero entrance: the page assembles itself once, slowly */
@keyframes h4rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes h4in{from{opacity:0}to{opacity:1}}
.h4-c>*{animation:h4rise .95s var(--e) both}
.h4-e{animation-delay:.05s}
.h4-c h1{animation-delay:.14s}
.h4-c .body{animation-delay:.26s}
.h4-act{animation-delay:.38s}
/* The faded half lands last, as the turn in the sentence. Slowed per Dan:
   .58s/1.1s -> .9s/1.6s, so it arrives a longer beat after the line above it
   and fades in more gently. It still settles before the plate finishes. */
.h4-c h1 .fade{animation:h4in 1.6s var(--e) .9s both}
.h4-p{animation:h4rise 1.2s var(--e) .46s both}

/* live rail: the plate's chrome bar, and the one thing that never stops.
   Carries the Hudson mark itself rather than a plain dot, so the perpetual
   element in the hero is the same mark that anchors the Hudson section. */
.h4-live{display:flex;align-items:center;gap:.75rem;padding:.8125rem clamp(.875rem,1.4vw,1.125rem);border-bottom:1px solid var(--rule-2);background:var(--ink-2);position:relative;z-index:2;color:var(--t4)}
.h4-live .hud{width:14px;height:14px;flex:none;color:var(--violet)}
.h4-live b{flex:none;color:var(--violet);font-weight:500}
.h4-live .t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t3);transition:opacity .38s var(--e)}
.h4-live .t.out{opacity:0}
.h4-live .sp{flex:1}
.h4-live .r{flex:none}
@media(max-width:700px){.h4-live .r{display:none}}
/* reduced motion: the site-wide block only zeroes duration, so delays with
   fill-mode:both would hold the hero blank. Drop the entrance entirely. */
@media(prefers-reduced-motion:reduce){.h4-c>*,.h4-c h1 .fade,.h4-p{animation:none}}

/* proof line */
.pf{border-bottom:1px solid var(--rule)}
.pf .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:1rem clamp(1.5rem,4vw,3.5rem);padding-top:1.375rem;padding-bottom:1.375rem;color:var(--t4)}
.pf b{color:var(--t2);font-weight:500}
.pf .sp{flex:1}
@media(max-width:700px){.pf .sp{display:none}}

/* two-up section head */
.hh{grid-column:1/7}.hb{grid-column:8/13;align-self:end}
@media(max-width:1024px){.hh,.hb{grid-column:1/-1}.hb{margin-top:2rem}}

/* ledger */
.led-h{display:flex;justify-content:space-between;padding-bottom:.75rem;border-bottom:1px solid var(--rule);color:var(--t4)}
.led-r{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:.875rem;padding:.875rem 0;border-bottom:1px solid var(--rule-2);font-family:var(--mono);font-size:.8125rem;color:var(--t3)}
.led-r .sq{width:7px;height:7px}
.led-r .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.led-r .nm em{font-style:normal;color:var(--t4)}
.led-r .dt{color:var(--t4);font-size:.75rem;white-space:nowrap}
.led-f{padding-top:1rem;color:var(--t4)}

/* product tabs */
.tabs{margin-top:clamp(3rem,5vw,4.5rem);display:flex;border-bottom:1px solid var(--rule)}
.tab{flex:1;display:flex;align-items:center;gap:.625rem;padding:1.125rem 0 1.125rem;font-family:var(--mono);font-size:.6875rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--t4);position:relative;transition:color .3s}
.tab .glyph{width:14px;height:14px;flex:none;filter:grayscale(1) opacity(.5);transition:filter .3s}
.tab:hover{color:var(--t2)}
.tab::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:1px;background:var(--acc);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--e)}
.tab[aria-selected="true"]{color:var(--t1)}
.tab[aria-selected="true"] .glyph{filter:none}
.tab[aria-selected="true"]::after{transform:scaleX(1)}
@media(max-width:700px){.tabs{flex-direction:column;border-bottom:0}.tab{border-bottom:1px solid var(--rule-2);padding:1rem 0}.tab::after{bottom:-1px}}
.pane{display:none;padding-top:clamp(2.5rem,4.5vw,3.75rem)}
.pane.on{display:grid}
.pane-c{grid-column:1/5;display:flex;flex-direction:column}
.pane-p{grid-column:6/13;position:relative;overflow:hidden;border:1px solid var(--rule-2);background:var(--ink-3);aspect-ratio:16/10}
.pane-p img{width:100%;height:100%;object-fit:cover;object-position:left top}
@media(max-width:1024px){.pane-c{grid-column:1/-1}.pane-p{grid-column:1/-1;margin-top:2.25rem}}
.pane-q{font-size:clamp(1.375rem,2.1vw,1.75rem);font-weight:500;letter-spacing:-.035em;line-height:1.16;max-width:18ch;margin-bottom:1.125rem}
.caps{list-style:none;margin:1.75rem 0 2rem;display:flex;flex-direction:column;gap:.75rem}
.caps li{position:relative;padding-left:1.125rem;font-size:.875rem;line-height:1.55;color:var(--t3)}
.caps li::before{content:'';position:absolute;left:0;top:.55rem;width:5px;height:5px;background:var(--acc)}
.pane-c .lnk{align-self:flex-start;margin-top:auto}

/* pillars */
.pil{margin-top:clamp(3rem,5vw,4.5rem);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 var(--gut);border-top:1px solid var(--rule)}
.pil>div{padding-top:1.5rem}
.pil>div+div{border-left:1px solid var(--rule-2);padding-left:var(--gut)}
.pil .n{display:block;font-family:var(--mono);font-size:.625rem;font-weight:500;letter-spacing:.2em;color:var(--t4);margin-bottom:1.125rem}
.pil b{display:block;font-size:1.0625rem;font-weight:500;letter-spacing:-.03em;color:var(--t1);margin-bottom:.625rem}
.pil p{font-size:.875rem;line-height:1.6;color:var(--t3)}
@media(max-width:900px){.pil{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:2.25rem}.pil>div:nth-child(odd){border-left:0;padding-left:0}}
@media(max-width:540px){.pil{grid-template-columns:1fr;row-gap:0}.pil>div{border-left:0!important;padding-left:0!important;padding-bottom:1.5rem;border-bottom:1px solid var(--rule-2)}}
