/* V3 — AI Safety Career Fair & Founders Summit

   Layout rule: everything sits inside .wrap and on one grid. .split is two
   equal columns, .quarters is four, and both use the same --gap, so every
   right-hand column and every quarter starts on the same vertical line.
   Text is flush left in its column: no inset cards, no indented rows.

   Color rule: white hero, white and pale blue alternating for the body, ink
   for the close.

   Type rule: the two big statements (hero, closing) are Brandon Grotesque;
   every section heading is New Atlas; everything else is Brandon Grotesque. */

@font-face{font-family:Spectral;src:url('assets/spectral.ttf') format('truetype');font-weight:400;font-display:swap}

:root{
  --ink:#233944;--black:#030403;--mint:#9accbf;--blue:#d5e3f7;--lavender:#a9b1cb;--white:#fff;
  --line:#23394440;
  --sans:"brandon-grotesque",Arial,sans-serif;
  --serif:"new-atlas",Spectral,Georgia,serif;
  --gutter:56px;
  --gap:64px;
  --header-h:76px;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 24px)}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--sans);font-size:18px;-webkit-font-smoothing:antialiased}
button,select{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:0;background:none;padding:0}
a,button,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4,p,figure{margin:0}
h1,h2,h3,h4{font-weight:500;text-wrap:balance}
h1,h2{letter-spacing:-.035em}
p{line-height:1.5;text-wrap:pretty}
ul{list-style:none;margin:0;padding:0}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid currentColor;outline-offset:6px}
button:focus-visible{position:relative;z-index:2}
::selection{color:var(--ink);background:var(--mint)}
[hidden]{display:none!important}

/* ---------- Grid ---------- */
.wrap{width:min(1320px,calc(100% - 2*var(--gutter)));margin-inline:auto}
.split{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap)}
.quarters{display:grid;grid-template-columns:repeat(4,1fr);column-gap:var(--gap)}

.section{padding-block:64px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.13em;line-height:1.6}

/* Section headings: one voice, one size. */
.section h2{font-family:var(--serif);font-weight:400;letter-spacing:-.04em;font-size:clamp(40px,4.4vw,58px);line-height:1.1}
.section-heading{align-items:end;margin-bottom:30px}
.section-heading>p{font-size:18px;line-height:1.55;max-width:26em;padding-bottom:6px}

.button{display:inline-flex;align-items:center;justify-content:space-between;gap:42px;min-height:58px;padding:15px 23px;font-size:16px;font-weight:500;line-height:1.35;transition:background .18s,color .18s}
.button span{font-size:27px;line-height:1}
.button-ink{background:var(--ink);color:white}
.button-ink:hover{background:var(--black)}
.button-mint{background:var(--mint);color:var(--ink)}
.button-mint:hover{background:var(--blue)}
.text-link{display:inline-flex;align-items:center;gap:25px;font-size:15px;font-weight:500;border-bottom:1px solid currentColor;padding-block:8px}
.text-link>span{font-size:23px;line-height:1}
.text-link:hover{opacity:.7}
.skip-link{position:fixed;top:10px;left:10px;z-index:30;padding:12px 20px;background:white;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}

/* ---------- Status line and header ---------- */
.notice{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 18px;padding:10px var(--gutter);background:var(--ink);color:var(--white);font-size:14px;line-height:1.45;text-align:center}
.notice strong{font-weight:700}

.site-header{position:sticky;top:0;z-index:20;background:var(--white);border-bottom:1px solid var(--line)}
.site-header>.wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:var(--header-h);padding-block:12px}
.identity{display:flex;align-items:center;gap:19px}
.identity img{width:48px;flex:none}
.identity span{font-size:10px;letter-spacing:.08em;font-weight:700;line-height:1.45}
.site-header .identity img{width:44px}
/* Header mark: the four-shape graphic from the closing section. */
.identity-mark{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:42px;aspect-ratio:1;flex:none;transform:rotate(-8deg)}
.identity-mark i{display:block;background:var(--lavender);mask:url('assets/interconnects-symbol.svg') 0 0/400% 400% no-repeat}
.identity-mark i:nth-child(2){background:var(--mint);transform:rotate(90deg)}
.identity-mark i:nth-child(3){background:var(--blue);transform:rotate(-90deg)}
.identity-mark i:nth-child(4){transform:rotate(180deg)}
.site-header nav{display:flex;align-items:center;gap:34px;font-size:15px;font-weight:500}
.site-header nav a:not(.luma-checkout--button){padding:8px 0}
.site-header nav a:not(.luma-checkout--button):hover{color:var(--black);text-decoration:underline;text-underline-offset:5px}
/* Luma's stylesheet turns its button into a rounded pill. This rule is more
   specific, so the button matches the site's other buttons instead. */
.site-header nav a.luma-checkout--button{display:inline-flex;align-items:center;gap:26px;height:auto;padding:11px 18px;border:0;border-radius:0;box-shadow:none;background:var(--ink);color:var(--white);font:500 15px/1.35 var(--sans);letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;opacity:1;transform:none;transition:background .18s}
.site-header nav a.luma-checkout--button:hover{background:var(--black);color:var(--white);opacity:1;transform:none}
.site-header nav a.luma-checkout--button>span{font-size:22px;line-height:1}

/* ---------- Hero ---------- */
/* The artwork is sized from the viewport height so the facts stay on the first screen. */
.hero{position:relative;isolation:isolate;background:var(--white);border-bottom:1px solid var(--line);overflow:hidden}
.hero-bitmap{position:absolute;z-index:-1;top:-14%;right:-5%;height:140%;aspect-ratio:1782/2293;background:#9accbf38;mask:url('assets/brand-bitmap-solid.svg') center/contain no-repeat;pointer-events:none}
.hero-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--gap)}
.hero-copy{padding:34px 0 36px;align-self:center}
.hero h1{font-size:clamp(60px,min(7.45vw,11vh),111px);line-height:.98;margin-top:30px;color:var(--black);font-weight:500}
.hero-intro{font-size:21px;max-width:25em;line-height:1.42;margin-top:28px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 30px;margin-top:30px}
.hero-art{width:min(clamp(260px,40vh,500px),38vw);align-self:center;margin-block:32px}
.hero-art img{width:100%}

/* Facts: when, where, what, how. Four quarters on the page grid. */
.hero-facts{border-top:1px solid #03040350}
.facts{margin-block:0;padding-block:20px 24px}
.facts dt{font-size:10px;font-weight:700;letter-spacing:.14em;line-height:1.6}
.facts dd{margin:7px 0 0;font-size:19px;font-weight:500;line-height:1.3;color:var(--black)}

/* ---------- Why come ---------- */
/* Heading across the top, one sentence per line; then text left and photo right, like the hero. */
.invitation h2{margin-bottom:30px}
.invitation-body{align-items:start}
.moment{position:relative;aspect-ratio:16/10;overflow:hidden}
.moment img{width:100%;height:100%;object-fit:cover;object-position:50% 78%}
.prose p{font-size:20px;line-height:1.55}
.prose p+p{margin-top:14px}
.prose strong{font-weight:700}

/* ---------- Find your track ---------- */
/* White now that it follows the program, which carries the pale blue. */
.ways{background:var(--white)}
.ways .section-heading{display:block}
.ways-layout{border-block:1px solid var(--ink)}
.way-tabs{padding-block:4px}
.way-tab{display:grid;grid-template-columns:1fr 25px;gap:18px;align-items:center;width:100%;padding:18px 0;text-align:left;border-bottom:1px solid var(--line);font-size:22px;line-height:1.25}
.way-tab:last-child{border-bottom:0}
.tab-arrow{font-size:25px;opacity:0;transition:transform .2s}
.way-tab[aria-selected="true"]{font-weight:600}
.way-tab[aria-selected="true"] .tab-arrow{opacity:1}
.way-tab:hover .tab-arrow{opacity:1;transform:translate(2px,-2px)}
.way-content{position:relative;padding:26px 0 28px}
.way-content::before{content:'';position:absolute;top:0;bottom:0;left:calc(var(--gap)/-2);border-left:1px solid var(--ink)}
.way-panel h3{font-size:40px;letter-spacing:-.03em;line-height:1.08;margin:12px 0 14px}
.way-panel>p:not(.eyebrow){font-size:18px;line-height:1.55;max-width:32em}
.panel-list{margin:18px 0 18px}
.panel-list ul{margin-top:8px;font-size:18px}
.panel-list li{position:relative;padding:5px 0 5px 27px}
.panel-list li::before{content:'↳';position:absolute;left:0}
/* The first panel's list runs along one line to leave room for the logos. */
.panel-list-short{margin:16px 0 18px}
.panel-list-short ul{display:flex;flex-wrap:wrap;column-gap:26px}

/* ---------- Partner logos ----------
   Its own ink band between "Why now" and the program, with every logo drawn
   in white. The list is a grid of every logo; app.js adds .is-scrolling,
   doubles the list, moves it continuously left, and lets a visitor drag it.
   Each logo is as wide as
   it draws, with --logo-gap between neighbours. --logo-speed is the scroll
   speed in pixels a second. */
.way-content{min-width:0}
.partners{background:var(--ink);color:var(--white)}
.partners .eyebrow{color:var(--mint)}
.partners h2{margin:8px 0 26px}
.partners-label{margin-bottom:4px;color:var(--white)!important;opacity:.7}
.partners .logo-track img,.partners .logo-track li:hover img,.partners .logo-track .logo-invert img{filter:grayscale(1) brightness(0) invert(1);opacity:.85}
.partners .logo-track li:hover img{opacity:1}
/* A logo with a shape cut out of a filled block (MATS) would turn into a plain
   white block, so it is inverted instead and keeps its detail. */
.partners .logo-track .logo-knockout img,.partners .logo-track .logo-knockout:hover img{filter:grayscale(1) invert(1) contrast(1.6)}
.logo-carousel{--per-view:6;--logo-gap:48px;--logo-speed:28;overflow:hidden;margin-top:2px}
.logo-track{display:grid;grid-template-columns:repeat(var(--per-view),minmax(0,1fr));column-gap:var(--logo-gap)}
.logo-track li{display:flex;align-items:center;gap:10px;height:72px;min-width:0}
/* A fixed height, not a maximum: several SVGs carry no width of their own, and
   only a set height lets the browser work out how wide they are. */
.logo-track img{height:38px;width:auto;max-width:100%;object-fit:contain;filter:grayscale(1);opacity:.8;transition:filter .2s,opacity .2s}
.logo-track li:hover img{filter:none;opacity:1}
.logo-track .logo-invert img,.logo-track .logo-invert:hover img{filter:grayscale(1) invert(1)}
.logo-track li>span{font-size:15px;font-weight:500;line-height:1.2}
.is-scrolling{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.is-scrolling{cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.is-scrolling.is-dragging{cursor:grabbing}
.is-scrolling .logo-track{display:flex;width:max-content;column-gap:0;will-change:transform}
.is-scrolling .logo-track li{flex:none;padding-right:var(--logo-gap)}
.is-scrolling .logo-track img{max-width:220px;pointer-events:none;-webkit-user-drag:none}

/* ---------- Program ----------
   Pale blue, and first after "Why now". Sessions are listed in the order
   they run. */
.program{background:var(--white)}
.days{align-items:start}
.day:focus{outline:none}
.day-header{display:grid;grid-template-columns:1fr auto;column-gap:20px;align-items:baseline;padding:14px 0 14px;border-top:2px solid var(--ink)}
.day-header .eyebrow{grid-column:1/-1;margin-bottom:6px}
.day-header h3{font-size:28px;letter-spacing:-.025em;line-height:1.15}
.day-date{font-size:16px;line-height:1.3}
.session{padding:10px 0 11px;border-top:1px solid var(--line)}
.session:last-child{border-bottom:1px solid var(--line)}
.session h4{font-size:20px;letter-spacing:-.02em;line-height:1.25}
.session p{font-size:16px;line-height:1.5;margin-top:2px;max-width:32em}
.day-note{margin-top:12px;font-size:15px;line-height:1.5}
.program-note{margin-top:18px;font-size:15px}

/* ---------- People ---------- */
.people{background:var(--blue)}
.role-art{aspect-ratio:16/10;display:grid;place-items:center;background:var(--tile,var(--lavender))}
.role-art i{display:block;width:34%;aspect-ratio:1;background:var(--shape,var(--black));mask:url('assets/interconnects-symbol.svg') calc(var(--x)*100%/3) calc(var(--y)*100%/3)/400% 400% no-repeat}
.role-photo{width:100%;aspect-ratio:4/5;object-fit:cover}
.role h3{font-size:23px;letter-spacing:-.02em;line-height:1.2;margin-top:14px}
.role p{font-size:16px;line-height:1.55;margin-top:8px}
.photo-label{position:absolute;bottom:20px;left:20px;background:var(--white);padding:10px 13px;font-size:9px;letter-spacing:.1em;font-weight:700}

/* ---------- Contribute ---------- */
.contribute-heading h2{margin-bottom:24px}
.contribute-heading>p{font-size:18px;line-height:1.55;max-width:26em}
.contribute-list ul{border-top:1px solid var(--ink)}
.contribute-list li{padding:14px 0 16px;border-bottom:1px solid var(--line)}
.contribute-list strong{display:block;font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.025em}
.contribute-list li>span{display:block;font-size:17px;line-height:1.5;margin-top:4px}
.contribute-list li>.text-link{margin-top:8px;width:auto;border-top:0;padding-top:8px}
.contribute-list .button{margin-top:22px}

/* ---------- Questions ---------- */
.questions{background:var(--blue)}
.questions h2{margin-top:12px}
.faq-list{border-top:1px solid var(--ink)}
details{border-bottom:1px solid var(--line)}
summary{display:flex;justify-content:space-between;align-items:center;gap:24px;list-style:none;cursor:pointer;padding:16px 0;font-size:20px;line-height:1.4}
summary::-webkit-details-marker{display:none}
summary>span{font-size:26px;flex:none;transition:transform .2s}
details[open] summary>span{transform:rotate(45deg)}
details>p{font-size:17px;line-height:1.6;padding:0 38px 16px 0;max-width:32em}


/* ---------- Organizers ---------- */
/* Two square photos on the right half of the grid, each inside a band of brand color. */
.organizer-list{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--gap)}
.organizer-frame{padding:12px;background:var(--tile,var(--lavender))}
.organizer-frame img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.organizer h3{font-size:22px;letter-spacing:-.02em;line-height:1.2;margin-top:14px}
.organizer a{display:block}

/* ---------- Closing and footer: carried over from v2, with less height ---------- */
.closing{background:var(--ink);color:var(--white);overflow:hidden}
.closing>.wrap{display:grid;grid-template-columns:1.35fr 1fr;gap:70px;padding-block:52px;align-items:center}
.closing .eyebrow{color:var(--mint);max-width:420px}
.closing h2{font-size:clamp(64px,6vw,92px);line-height:1.02;margin:18px 0;letter-spacing:-.035em}
.closing-copy>p:not(.eyebrow){font-size:20px;line-height:1.5;max-width:380px}
.closing .button{margin-top:22px}
.closing-art{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%;max-width:300px;justify-self:center;aspect-ratio:1;transform:rotate(-8deg)}
.closing-shape{display:block;background:var(--lavender);mask:url('assets/interconnects-symbol.svg') 0 0/400% 400% no-repeat}
.closing-shape:nth-child(2){background:var(--mint);transform:rotate(90deg)}
.closing-shape:nth-child(3){background:var(--blue);transform:rotate(-90deg)}
.closing-shape:nth-child(4){transform:rotate(180deg)}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:24px}
.site-footer .identity img{width:40px}
.site-footer .identity span{font-size:10px}
.site-footer>p{font-size:13px}
.site-footer .text-link{border:0;font-size:13px}


/* ---------- Small desktop and tablet ---------- */
@media(max-width:1100px){
  :root{--gutter:36px;--gap:40px;--header-h:72px}
  .section{padding-block:52px}
  .site-header nav{gap:24px}
  .hero-copy{padding-block:30px 32px}
  .hero h1{font-size:min(7.3vw,11vh)}
  .hero-intro{font-size:19px}
  .hero-art{margin-block:26px}
  .facts dd{font-size:17px}
  .prose p{font-size:18px}
  .section-heading>p{font-size:17px}
  .way-tab{font-size:20px;gap:12px}
  .way-panel h3{font-size:34px}
  .way-panel>p:not(.eyebrow),.panel-list ul{font-size:17px}
  .day-header h3{font-size:24px}
  .session h4{font-size:19px}
  .session p{font-size:15.5px}
  .role h3{font-size:21px}
  .role p{font-size:15px}
  .logo-carousel{--per-view:4;--logo-gap:40px}
  .contribute-list strong{font-size:22px}
  summary{font-size:18px}
  .closing>.wrap{gap:40px}
  .closing h2{font-size:70px}
  .closing-art{gap:13px}
}
@media(max-width:900px){
  .nav-wide{display:none}
}

/* ---------- Mobile: one column ---------- */
@media(max-width:760px){
  :root{--gutter:20px;--gap:20px;--header-h:64px}
  .split{display:block}
  .quarters{grid-template-columns:1fr 1fr}
  .section{padding-block:40px}
  .section h2{font-size:clamp(34px,10.4vw,42px);line-height:1.14}
  .section h2 br{display:none}
  .section-heading{margin-bottom:20px}
  .section-heading>p{font-size:16px;margin-top:16px;padding-bottom:0}

  .notice{font-size:13px;gap:2px 14px;padding-block:9px}
  .site-header>.wrap{gap:16px;padding-block:10px}
  .identity{gap:11px}
  .site-header .identity img,.identity-mark{width:36px}
  .identity span{font-size:8px;letter-spacing:.04em}
  .site-header nav{gap:18px;font-size:13px}
  .site-header nav a:not(.luma-checkout--button){display:none}
  .site-header nav a.luma-checkout--button{gap:12px;padding:9px 13px;font-size:13px}
  .site-header nav a.luma-checkout--button>span{font-size:18px}

  .hero-inner{grid-template-columns:1fr}
  .hero-copy{padding-block:28px 24px}
  .hero-copy>.eyebrow{font-size:9px}
  .hero h1{font-size:clamp(50px,13.5vw,82px);line-height:1.03;margin-top:25px}
  .hero-intro{font-size:18px;line-height:1.45;margin-top:22px}
  .hero-actions{margin-top:25px}
  .button{font-size:14px;min-height:53px;padding:13px 18px;gap:30px}
  .hero-bitmap{top:auto;bottom:-4%;right:-52%;height:56%}
  .hero-art{width:min(50%,190px);margin-block:4px 24px}
  .facts{row-gap:18px;padding-block:18px 22px}
  .facts dt{font-size:9px}
  .facts dd{font-size:16px;margin-top:5px}

  .invitation h2{margin-bottom:18px}
  .prose p{font-size:17px;line-height:1.6}
  .prose p+p{margin-top:12px}

  .ways-layout{border-bottom:0}
  .way-tabs{padding:0}
  .way-tab{font-size:19px;padding:14px 0;gap:16px}
  .way-tab:last-child{border-bottom:1px solid var(--ink)}
  .tab-arrow{opacity:.5}
  .way-content{padding:22px 0 0}
  .way-content::before{display:none}
  .way-panel h3{font-size:32px;margin:12px 0 12px}
  .panel-list{margin:16px 0 14px}
  .panel-list>.eyebrow{font-size:9px}
  .panel-list ul{font-size:16px;margin-top:6px}
  .panel-list li{padding-block:4px}

  .day+.day{margin-top:28px}
  .day-header{padding:12px 0 12px}
  .day-header h3{font-size:22px;text-wrap:wrap}
  .day-header{grid-template-columns:1fr}
  .day-date{margin-top:4px}
  .session{padding:9px 0 10px}
  .session h4{font-size:18px}
  .session p{font-size:15px}
  .program-note{margin-top:14px}

  .roles{row-gap:20px}
  .role h3{font-size:19px;margin-top:10px}
  .role p{font-size:14.5px;margin-top:4px}
  .moment{aspect-ratio:16/10;margin-top:20px}
  .photo-label{left:14px;bottom:14px;font-size:8px;padding:9px 10px}
  .partners .eyebrow{font-size:9px}
  .partners h2{margin:6px 0 18px}
  .logo-carousel{--per-view:2;--logo-gap:32px}
  .logo-track li{height:64px}
  .logo-track img{height:32px}
  .logo-track li>span{font-size:14px}
  .panel-list-short{margin:12px 0 14px}

  .contribute-heading h2{margin-bottom:14px}
  .contribute-heading>p{font-size:17px}
  .contribute-list{margin-top:18px}
  .contribute-list li{padding:12px 0 14px}
  .contribute-list li>span{font-size:15.5px}
  .contribute-list .button{margin-top:20px}

  .organizers h2{margin-bottom:18px}
  .organizer-list{column-gap:18px}
  .organizer-frame{padding:8px}
  .organizer h3{font-size:18px;margin-top:10px}
  .questions .eyebrow{font-size:9px}
  .questions h2{margin:12px 0 18px}
  summary{padding:14px 0;gap:20px}
  details>p{font-size:16px;padding-right:20px;padding-bottom:14px}

  .closing>.wrap{grid-template-columns:1fr;position:relative;padding-block:40px;gap:0}
  .closing .eyebrow{font-size:9px;max-width:300px;line-height:1.8}
  .closing h2{font-size:clamp(52px,12vw,72px);margin:16px 0}
  .closing-copy>p:not(.eyebrow){font-size:18px;max-width:320px}
  .closing .button{margin-top:20px}
  .closing-art{position:absolute;right:0;top:110px;width:100px;gap:5px;opacity:.3;pointer-events:none}
  .closing-copy{position:relative;z-index:1}
  .site-footer{gap:20px 15px;flex-wrap:wrap;padding-block:22px}
  .site-footer .identity{max-width:250px}
  .site-footer .identity img{width:35px}
  .site-footer .identity span{font-size:9px}
  .site-footer>p{font-size:11px;margin-left:auto}
  .site-footer .text-link{width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:12px}
}

@media(max-width:370px){
  .site-header nav a:not(.luma-checkout--button){display:none}
  .identity span{font-size:7px}
  .site-header .identity img,.identity-mark{width:32px}
  .hero h1{font-size:44px}
  .hero-intro{font-size:17px}
  .facts dd{font-size:15px}
  .way-panel h3{font-size:29px}
  .way-panel h3 br{display:none}
  .contribute-list strong{font-size:21px}
  .closing-art{width:80px;right:-5px}
  .closing-copy>p:not(.eyebrow){max-width:260px}
  .site-footer>p{margin-left:46px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
