/* The home page in Notion's look on a black page, the cover across the top, the icon over its edge, a 708px column,
   Notion's type sizes and its two-column blocks. The menu above it keeps the website's dark bar from site.css. */
body.home { background: #000; color: rgb(233, 233, 231); color-scheme: dark; }
.np { font: 400 16px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji"; }
.np-cover { height: 30vh; min-height: 180px; max-height: 280px; overflow: hidden; }
.np-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.np-body { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 120px; }
@media (min-width: 1000px) { .np { font-size: 18px; } .np h1 { font-size: 36px; } .np h2 { font-size: 30px; margin-top: 48px; } .np h3 { font-size: 24px; margin-top: 40px; } .np-cols { gap: 64px; } }
.np-icon { width: 78px; height: 78px; margin-top: -42px; position: relative; border-radius: 4px; }
.np .np-title { font-size: 40px; font-weight: 700; line-height: 1.2; color: rgb(233, 233, 231); margin: 8px 0 18px; }
.np h1, .np h2, .np h3 { font-family: inherit; color: rgb(233, 233, 231); text-transform: none; letter-spacing: normal; line-height: 1.3; }
.np h1 { font-size: 30px; font-weight: 600; margin: 32px 0 4px; }
.np h2 { font-size: 24px; font-weight: 600; margin: 28px 0 4px; }
.np h3 { font-size: 20px; font-weight: 600; margin: 24px 0 4px; }
.np h2 b, .np h3 b { font-weight: 600; }
.np p, .np ul { color: rgb(233, 233, 231); margin: 2px 0; padding: 3px 0; }
.np p:has(> b:only-child) { margin-top: 8px; }
.np b { font-weight: 600; }
.np a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.np ul { padding-left: 24px; }
.np li { padding: 3px 0; }
.np figure { margin: 8px 0; }
.np figure img { width: 100%; height: auto; border-radius: 2px; }
.np hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .16); margin: 18px 0; }
.np-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin: 4px 0; }
@media (max-width: 640px) { .np-cols { grid-template-columns: 1fr; gap: 0; } }
.np-map { margin: 8px 0; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: #111; }
.np-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.np :target { scroll-margin-top: 80px; }

/* the mailing list form */
.form { display: grid; gap: 12px; max-width: 460px; margin-top: 10px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 500; color: rgb(233, 233, 231); }
.form input { font-family: inherit; font-size: 16px; line-height: 1.4; color: rgb(233, 233, 231); background: #111; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 9px 11px; width: 100%; }
.form input:focus { outline: 2px solid rgb(35, 131, 226); outline-offset: 0; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form button[type="submit"] { font-family: inherit; font-size: 15px; font-weight: 500; background: rgb(35, 131, 226); color: #fff; border: 0; border-radius: 6px; padding: 9px 18px; cursor: pointer; }
.form button[disabled] { opacity: .6; cursor: progress; }
.status { margin: 0; padding: 0; color: rgb(233, 233, 231); }
.status.bad { color: #f0a58f; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the hero: the realistic flight under the name and the opening line */
.np-hero { position: relative; height: min(88vh, 820px); min-height: 420px; overflow: hidden; background: #000; }
.np-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.np-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%); }
.np-hero-text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.np-hero-icon { width: 64px; height: 64px; border-radius: 4px; margin-bottom: 10px; }
.np .np-hero-name { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 6px; padding: 0; }
.np .np-hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; margin: 0; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.np-hero-note { position: absolute; right: 14px; top: 12px; margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.np-hero + .np-body { padding-top: 28px; }

/* the Notion cover banner, with the page icon over its lower edge and the title under it */
.np-cover-hero .np-cover { height: auto; max-height: none; min-height: 0; }
.np-cover-hero .np-cover img { height: auto; display: block; }
/* the banner's lettering, set in code: Allison, the closest match to the script on the Notion cover, right of centre */
.np .np-script { margin: 0; padding: .5vw 6vw 0 0; background: #fff; color: #6f6f6f; font-family: "Allison", cursive;
  font-size: clamp(34px, 5.6vw, 96px); line-height: 1.5; text-align: right; letter-spacing: .02em; white-space: nowrap; }
.np-head { padding-bottom: 0; }
.np .np-head .np-icon { width: clamp(72px, 9vw, 108px); height: auto; margin-top: calc(clamp(72px, 9vw, 108px) * -0.55); box-shadow: 0 4px 18px rgba(0,0,0,.5); }
.np .np-head .np-title { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 0; }
.np-body.np-first { padding-top: 8px; }

/* the tour (fly.js): one 3D view held behind the "What You'll Discover" sections, which scroll over it as panels.
   The gaps between panels are where the camera flies to the next area; it holds while a panel is read. */
.tour { position: relative; margin-top: 24px; }
.tour-bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0b09; z-index: 0; }
.tour-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tour-live { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; background: transparent; }
.tour-live.on { opacity: 1; }
.tour-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 80%, rgba(0,0,0,.55) 100%); }
.np .tour-note { position: absolute; right: 14px; bottom: 12px; z-index: 2; margin: 0; padding: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tour-panels { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; padding: 92vh clamp(16px, 5vw, 64px) 70vh; }
.tour-panel { max-width: 1120px; margin: 0 auto 95vh; padding: 0; background: none; border: 0; box-shadow: none; }
.tour-panel h3, .tour-panel h4, .tour-panel p { text-shadow: 0 1px 14px rgba(0,0,0,.65); }
.tour-panel figure img { box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.tour-panel:last-child { margin-bottom: 0; }
.np .tour-panel h3 { margin-top: 0; font-size: clamp(24px, 2.6vw, 32px); }
.tour-panel .np-cols { gap: 28px; }
.tour-panel .np-cols { gap: clamp(28px, 4vw, 64px); }
@media (max-width: 640px) { .tour-panels { padding-left: 12px; padding-right: 12px; } .tour-panel { margin-bottom: 80vh; } }

/* the 3D view darkens while a section's text is over it and brightens in the gaps (fly.js sets the opacity) */
.tour-dim { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(6,6,5,.62) 0%, rgba(6,6,5,.82) 30%, rgba(6,6,5,.86) 60%, rgba(6,6,5,.7) 100%); }

/* status line under the title */
.np .np-status { margin: 6px 0 0; color: #ffc43d; font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .02em; }

/* the closing choices and the footer */
.np-next { padding: clamp(56px, 9vw, 110px) 0 0; }
.np-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.np-choices a { display: grid; gap: 6px; padding: 22px 22px 24px; border-radius: 14px; text-decoration: none; background: #15140f; border: 1px solid rgba(255,255,255,.1); transition: border-color .2s ease, transform .2s ease; }
.np-choices a:hover { border-color: #e3a83b; transform: translateY(-3px); }
.np-choices b { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 600; color: #fff; }
.np-choices span { color: rgba(233,233,231,.78); font-size: 15px; line-height: 1.45; }
.np-foot { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid rgba(255,255,255,.12); padding: 34px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-family: "Hanken Grotesk", system-ui, sans-serif; }
.np-foot p { margin: 0 0 6px; color: rgba(233,233,231,.7); font-size: 15px; }
.np-foot a { color: rgba(233,233,231,.9); }
.np-foot .np-foot-name { font-family: Fraunces, Georgia, serif; color: #fff; font-size: 20px; margin-bottom: 8px; }
.np-zoom { display: block; cursor: zoom-in; }

/* one type style: the site's Fraunces headings and Hanken Grotesk text */
.np { font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
.np h1, .np h2, .np h3, .np .np-title { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.np h4 { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 1em; font-weight: 600; color: #fff; margin: 14px 0 2px; }
.np .tour-note { color: rgba(255,255,255,.85); background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 4px; }

.np .np-head .np-status { margin-top: 14px; }
.np .np-status.typed-line { font-family: Fraunces, Georgia, serif; color: #fff; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; letter-spacing: 0; margin-top: 18px; }
.np .np-status .typed { color: #ffc43d; }
.np .np-propose { margin: 28px 0 0; text-shadow: none; }
.np .np-propose .cta { text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.4); line-height: 1.3; }
@media (max-width: 640px) { .np .np-propose .cta { display: block; text-align: center; font-size: 16px; padding: 12px 18px; } }

/* the Location stop is the 3D view itself: its title is drawn on the view, and this empty section only gives the scroll room to settle there */
.tour-panel--view { min-height: 70vh; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.np .np-credit { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 6px; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.np .np-credit a { color: inherit; }

/* the site plan on a phone: numbered dots on the picture and this key under it, since written labels are too small to read there */
.np-key { display: none; }
@media (max-width: 640px) {
  .np-key { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: k; font-size: 14px; line-height: 1.3; }
  .np-key li { counter-increment: k; display: flex; gap: 8px; align-items: flex-start; }
  .np-key li::before { content: counter(k); flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f2c35a; color: #1b1a16; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
}
