/*
 * Pinkbook "Coming soon" site: the splash at / and the About page.
 * Reuses the live site's fonts, colours and logo (Saul's look); no new design tokens.
 * Must never: load anything from another domain (the CSP blocks it), or animate without a user's yes
 * when the visitor asked for reduced motion.
 * Used by: public/index.html and public/about/index.html.
 */

/* Fonts: same self-hosted files and unicode ranges as the live site's fonts.css. */
@font-face{font-family:"Unbounded";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/unbounded-800-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/unbounded-800-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2713,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/intertight-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/intertight-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2713,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/intertight-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/intertight-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2713,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/intertight-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/intertight-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2713,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/intertight-500-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/intertight-500-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2713,U+FEFF,U+FFFD}

/* Colours copied from the live site (f2.css and f8.css). */
:root{
  --pink:#FF3EA5; --pinkdeep:#B0005E; --dusk:#0C110F; --bar:#151214; --stone:#F3EFE8; --fog:#B9C2BC;
  --day:#F4F1EC; --ink:#0C110F; --moss:#3F5A47; --line:#E2DDD4;
  --f-title:"Unbounded",system-ui,sans-serif; --f-sans:"Inter Tight",system-ui,sans-serif;
  --r-lg:22px; --tap:48px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--dusk);color:var(--stone);font:400 18px/1.55 var(--f-sans);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
img,video{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.wrap{width:100%;max-width:1040px;margin:0 auto;padding:0 max(20px,env(safe-area-inset-left)) 0 max(20px,env(safe-area-inset-right))}
.skip{position:absolute;left:-9999px;top:8px;background:var(--pink);color:var(--ink);padding:10px 14px;border-radius:10px;font-weight:700;z-index:10}
.skip:focus{left:12px}

/* Header: the live site's dark bar and header logo, nothing else. */
header.site{background:var(--bar)}
header.site .bar{display:flex;align-items:center;min-height:64px}
header.site .logo{display:inline-flex;align-items:center;min-height:var(--tap)}
header.site .logo img{width:144px;height:34px}

/* Splash (/) */
.cs{flex:1;display:flex;align-items:flex-start;padding:clamp(20px,5vw,56px) 0 clamp(40px,7vw,80px)}
/* Phones: start under the header so the thumb finds the video at once. Larger screens: centre it. */
@media(min-width:900px) and (min-height:700px){.cs{align-items:center}}
.cs .wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
.cs h1{font:800 clamp(30px,6vw,60px)/1.1 var(--f-title);letter-spacing:-.01em;margin:clamp(24px,4vw,40px) 0 0;text-wrap:balance}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:12px;font:700 18px/1.2 var(--f-sans);text-decoration:none}
.btn.quiet{border:2px solid var(--stone);color:var(--stone)}
@media(hover:hover){.btn.quiet:hover{border-color:var(--pink);color:#fff}}
.cs .btn{margin-top:24px}

/* The intro video: poster first (the page's largest paint), then the video on top. */
.intro{position:relative;width:100%;aspect-ratio:16/9;margin:0;border-radius:var(--r-lg);overflow:hidden;background:#000}
.intro>img,.intro>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.intro>video{z-index:1}
/* The whole frame is one tap target, so it works one-handed anywhere on the video. */
.intro .sound{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:100%;border:0;padding:0;background:radial-gradient(60% 60% at 50% 50%,rgba(12,17,15,.05),rgba(12,17,15,.35));cursor:pointer;color:var(--ink)}
.intro .tile{display:grid;place-items:center;width:84px;height:84px;border-radius:22px;background:var(--pink);box-shadow:0 6px 24px rgba(0,0,0,.35)}
.intro .tile svg{width:34px;height:34px}
.intro .tile .i-play{margin-left:4px}
.intro .sound .i-muted,.intro.autoplaying .sound .i-play{display:none}
.intro.autoplaying .sound .i-muted{display:block}
/* Top left, so it never sits on the captions at the bottom. */
.intro .dur{position:absolute;left:14px;top:14px;font:600 15px/1 var(--f-sans);color:var(--stone);background:rgba(12,17,15,.82);padding:8px 10px;border-radius:8px}
.intro .sound:focus-visible{outline:none}
.intro .sound:focus-visible .tile{outline:3px solid #fff;outline-offset:4px}
@media(hover:hover){.intro .sound:hover .tile{box-shadow:0 0 0 1px rgba(255,62,165,.6),0 0 72px rgba(255,62,165,.8)}}
@media(max-width:640px){.intro{border-radius:14px}.intro .tile{width:68px;height:68px;border-radius:18px}.intro .tile svg{width:28px;height:28px}}
.intro.withsound .sound{display:none}

/* About page */
.ab-hero{padding:clamp(48px,9vw,112px) 0 clamp(40px,7vw,88px)}
.eyebrow{font:600 16px/1.3 var(--f-sans);color:var(--pink);margin:0 0 16px;letter-spacing:.02em}
.ab-hero h1{font:800 clamp(30px,5.2vw,56px)/1.12 var(--f-title);margin:0;max-width:18ch;text-wrap:balance}
.ab-hero .lead{font-size:clamp(19px,2.2vw,23px);color:var(--fog);max-width:40ch;margin:24px 0 0}
.band{background:var(--day);color:var(--ink);padding:clamp(48px,8vw,96px) 0}
.band+.band{border-top:1px solid var(--line)}
.band h2{font:800 clamp(24px,3.4vw,38px)/1.18 var(--f-title);margin:0 0 20px;max-width:24ch;text-wrap:balance}
.band p{max-width:62ch;margin:0 0 16px}
.band .lead{font-size:clamp(19px,2.2vw,22px);font-weight:600}
.points{display:grid;gap:28px;margin:36px 0 0;padding:0;list-style:none}
@media(min-width:900px){.points{grid-template-columns:repeat(3,1fr);gap:36px}}
.points h3{font:700 20px/1.3 var(--f-sans);margin:0 0 8px}
.points p{margin:0}
.small{font-size:16px;color:var(--moss)}
.why-name{margin-top:36px}
.photos{display:grid;gap:24px;margin:32px 0 40px}
@media(min-width:760px){.photos{grid-template-columns:repeat(3,1fr);align-items:start}}
.photos figure{margin:0}
.photos img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:var(--line)}
.photos figcaption{font-size:15px;line-height:1.45;color:var(--moss);margin-top:10px}
.founder{display:grid;gap:40px}
@media(min-width:960px){.founder{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:64px;align-items:start}}
blockquote{margin:0}
blockquote p{font:500 italic clamp(18px,1.9vw,20px)/1.6 var(--f-sans)}
blockquote footer{font-weight:700;margin-top:8px}
.facts h3{font:700 18px/1.3 var(--f-sans);margin:0 0 12px}
.facts ul{margin:0;padding-left:20px}
.facts li{margin-bottom:8px;font-size:17px}
.close{background:var(--dusk);color:var(--stone);padding:clamp(56px,9vw,112px) 0}
.close .statement{font:800 clamp(22px,3.2vw,34px)/1.25 var(--f-title);max-width:28ch;margin:0;text-wrap:balance}
.close .soon{font:700 20px/1.3 var(--f-sans);color:var(--pink);margin:24px 0 0}

/* Footer: the four legal pages only (coordinator under INTAKE 171, 16 Nov: Dodo's approval assumes they are reachable). */
footer.site{background:var(--dusk);border-top:1px solid rgba(243,239,232,.12)}
footer.site .legal{display:flex;flex-wrap:wrap;gap:4px 20px;padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
footer.site a{display:inline-flex;align-items:center;min-height:var(--tap);font-size:15px;color:var(--fog);text-decoration:underline;text-underline-offset:3px}
@media(hover:hover){footer.site a:hover{color:#fff}}

/* Update signup: uses the existing splash palette and type. */
.updates{width:min(100%,560px);margin:36px auto 0;text-align:left}
.updates h2{font:800 clamp(21px,3vw,28px)/1.2 var(--f-title);margin:0;text-align:center}
.updates>p{text-align:center;color:var(--fog);margin:10px 0 20px}
.updates label{display:block;font-weight:600;font-size:16px;margin-bottom:8px}
.updates-row{display:flex;gap:10px}
.updates-row input{flex:1;min-width:0;border:2px solid var(--stone);border-radius:12px;padding:12px 14px;font:400 18px var(--f-sans);background:var(--day);color:var(--ink)}
.updates-row button{min-height:52px;border:0;border-radius:12px;padding:0 20px;background:var(--pink);color:var(--ink);font:700 17px var(--f-sans);cursor:pointer}
.updates-row button:disabled{opacity:.6;cursor:wait}
.updates-consent{display:flex!important;gap:10px;align-items:flex-start;margin:16px 0 0!important;font-weight:400!important;line-height:1.4}
.updates-consent input{width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:var(--pink)}
.updates-privacy{font-size:15px;color:var(--fog);margin:8px 0 0}
#updates-message{min-height:1.5em;margin:12px 0 0;font-size:16px}
#updates-message.success{color:var(--stone);font-weight:600}
#updates-message.error{color:#ffb8d8}
@media(max-width:480px){.updates-row{flex-direction:column}.updates-row input,.updates-row button{width:100%;min-height:52px}}
