/* Hyperam home: "After hours" (picked 13 Nov 2026). Static: one HTML file + assets/. No build step.
   One screen, one grid: the photo plate, headline, form and footer all share the content box (logo left edge ↔ button right edge).
   The dithered city plate sits on top, and the line and form sit right under it. */
html,body{height:100%}
body{background:var(--void);color:var(--fg-d)}
.lbl{color:var(--mute-d)}

.page{height:100svh;min-height:640px;display:flex;flex-direction:column}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:clamp(72px,9vh,88px)}
.top .logo{height:29px}
.top .btn{height:40px;padding:0 18px;font-size:13px}

/* the plate: inset to the content box, flexes to fill what the type leaves */
.plate-wrap{flex:1;min-height:0;display:flex}
.plate-wrap .wrap{flex:1;display:flex}
.plate{position:relative;flex:1;overflow:hidden;border-radius:3px;min-height:220px;box-shadow:inset 0 0 0 1px rgba(232,237,241,.10)}
.plate::before{content:"";position:absolute;inset:0;z-index:1;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(232,237,241,.10);pointer-events:none}
.plate canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.plate::after{content:"";position:absolute;inset:auto 0 0 0;height:34%;background:linear-gradient(180deg,rgba(11,15,18,0),rgba(11,15,18,.55));pointer-events:none}
.cap{position:absolute;z-index:2;top:16px;right:16px;display:inline-flex;align-items:center;gap:10px;background:rgba(11,15,18,.74);color:var(--fg-d);
  padding:7px 10px;border-radius:2px;font:400 11px/1.5 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.cap i{width:11px;height:11px;background:var(--ice);display:block;flex:none}

/* the type: headline left, sub + form right, sharing one baseline */
.head .wrap{display:grid;grid-template-columns:7fr 5fr;gap:clamp(24px,4vw,64px);align-items:end;padding-top:clamp(24px,4vh,40px);padding-bottom:clamp(20px,3.4vh,36px)}
h1{font-size:clamp(44px,min(5.6vw,9.6vh),96px);max-width:12ch}
.sub{font-size:clamp(15px,1.2vw,18px);line-height:1.5;color:var(--fg-d2);max-width:28em}
.ra{margin-top:clamp(16px,2.6vh,24px);max-width:none}
.ra input[type=email]{flex:1 1 180px}

.foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;height:clamp(48px,6vh,60px);
  background:linear-gradient(var(--line-d),var(--line-d)) top center/calc(100% - 2*var(--gutter)) 1px no-repeat}


@media (max-width:900px){
  .page{height:auto;min-height:100svh}
  .plate-wrap{flex:none}
  .plate{height:44svh;flex:none;width:100%}
  .head .wrap{grid-template-columns:1fr;gap:18px}
  .cap{left:12px;right:12px;top:12px}
  .foot .wrap{height:auto;padding-top:16px;padding-bottom:20px;flex-wrap:wrap}
}
.next{margin-top:clamp(16px,2.6vh,24px)}
.next a{font:400 11px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--fg-d2);border-bottom:1px solid var(--line-d);padding-bottom:4px}
.next a:hover{color:var(--fg-d);border-color:var(--steel-4)}

/* Offer links use the same grid, colour tokens and buttons as the original homepage. */
.home-page,.offer-page{height:auto;min-height:100svh}
.offer-nav{display:flex;align-items:center;gap:clamp(14px,3vw,32px)}
.offer-nav a{display:inline-flex;align-items:center;min-height:44px;font:400 12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--fg-d2)}
.offer-nav a:hover,.offer-nav a[aria-current=page]{color:var(--ice)}
:is(.home-page,.offer-page) :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--ice);outline-offset:3px}
.home-page main{flex:1}
.home-title{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-page .plate-wrap{flex:none}
.home-page .plate{height:clamp(220px,39svh,440px);background:var(--steel-1) url(img/city.jpg) center 60%/cover}
.offer-tabs{display:flex;flex-wrap:wrap;column-gap:clamp(16px,3.2vw,48px);margin-top:13px;border-bottom:1px solid var(--line-d)}
.offer-tabs a{position:relative;display:inline-flex;align-items:center;min-height:50px;color:var(--mute-d);font:400 clamp(11px,1.1vw,13px)/1.25 var(--mono)}
.offer-tabs a:hover,.offer-tabs a[aria-selected=true]{color:var(--fg-d)}
.offer-tabs a[aria-selected=true]::after{content:"";position:absolute;inset:auto 0 -1px;height:1px;background:var(--ice)}
.offer-tabs a:focus-visible{z-index:1}
.offer-panel{scroll-margin-top:64px}
.offer-panel .wrap{align-items:start}
.offer-title{max-width:16ch;font-size:clamp(40px,min(4.8vw,8.5vh),80px)}
.offer-cta{margin-top:clamp(16px,2.6vh,24px)}
.access-note{margin-top:10px}

.offer-main{flex:1;padding-bottom:clamp(32px,5vw,76px)}
.offer-plate{height:clamp(155px,23vh,250px);min-height:0;background:var(--steel-1) url(img/city.jpg) center 60%/cover}
.offer-layout{display:grid;grid-template-columns:7fr 5fr;align-items:start;gap:clamp(24px,5vw,72px);padding-top:clamp(26px,4vw,52px)}
.offer-copy{display:grid;justify-items:start;gap:16px}
.offer-copy h1{font-size:clamp(44px,5.8vw,88px);max-width:13ch}
.offer-copy .sub{max-width:36em}
.offer-form{display:grid;gap:10px;min-width:0;margin:0;padding:clamp(16px,2.4vw,30px);border:1px solid var(--line-d);border-radius:4px;background:var(--graphite)}
.offer-form .btn{justify-self:start;margin-top:4px}
.offer-form input:not(.hp),.offer-form select,.offer-form textarea{width:100%;min-width:0}
.offer-form input[type=text]:not(.hp),.offer-form select{height:46px;padding:0 14px;border:1px solid var(--line-d);border-radius:4px;background:rgba(232,237,241,.04);color:var(--fg-d);font:400 15px var(--font);color-scheme:dark}
.offer-form input[type=text]::placeholder{color:var(--mute-d)}
.offer-form .optional{color:var(--fg-d2);font-size:13px;font-weight:400}
.offer-form textarea{display:block;resize:vertical;padding:10px 14px;border:1px solid var(--line-d);border-radius:4px;background:rgba(232,237,241,.04);color:var(--fg-d);font:400 15px/1.5 var(--font)}
.offer-form textarea::placeholder{color:var(--mute-d)}
.offer-form label{font-size:14px;font-weight:500}
.offer-form .form-note{font-size:13px;color:var(--fg-d2)}
.received-copy{padding-top:clamp(60px,15vh,140px)}
.offer-page .foot a:hover{color:var(--fg-d)}

@media (max-width:900px){
  .offer-layout{grid-template-columns:1fr}
}
@media (max-width:600px){
  .offer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:10px}
  .offer-nav{gap:12px}
  .offer-nav a{font-size:10px;letter-spacing:.04em}
  .home-page .plate{height:clamp(220px,34svh,290px)}
  .offer-title{font-size:clamp(36px,10vw,54px)}
}
