/* Base: fonts, tokens, layout primitives, nav, footer, buttons. Values measured on the template at 1440 px. */
@font-face { font-family: Sentient; src: url(/fonts/sentient-300.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Sentient; src: url(/fonts/sentient-300i.woff2) format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: Sentient; src: url(/fonts/sentient-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'BDO Grotesk'; src: url(/fonts/bdo-grotesk.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #080808;
  --black: #030303;
  --night: #0a0908;
  --paper: #f9f9f9;
  --white: #fff;
  --grey: #636363;
  --stone: #969290;
  --chalk: #bbb8b7;
  --line: #e6e3e3;
  --line-dark: rgba(230, 227, 227, .16);
  --card: #e5e5e3;
  --white-60: rgba(255, 255, 255, .6);
  --red: #ff5a6e;
  --amber: #f3a93b;
  --green: #3fcf8e;
  --serif: Sentient, 'Times New Roman', serif;
  --sans: 'BDO Grotesk', Inter, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 16px/1.4 var(--sans); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul { margin: 0; }
[hidden] { display: none !important; }

/* Sections ------------------------------------------------------------------------------------------------ */
.sec { position: relative; display: flex; flex-direction: column; align-items: center; padding: 112px 0; overflow: clip; }
.sec.light { background: var(--paper); color: var(--ink); }
.sec.dark { background: var(--ink); color: var(--white); }
.wrap { width: 100%; padding: 0 var(--gutter); }
/* The inner container carries the template's thin left rule. */
.inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 96px; padding: 0 0 0 32px; }
.inner::after { content: ''; position: absolute; inset: 0; border-left: 1px solid var(--line); pointer-events: none; }
.dark .inner::after { border-color: var(--line-dark); }

.head { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.head.center { align-items: center; text-align: center; }
.label { display: flex; align-items: center; gap: 8px; padding-top: 1px; font: 400 11px/16.5px var(--mono); letter-spacing: .55px; text-transform: uppercase; color: var(--stone); }
.label::before { content: ''; width: 6px; height: 6px; margin-bottom: 2px; background: currentColor; }
.dark .label { color: var(--chalk); }
.dark .label::before { background: var(--stone); }
.h2 { margin-top: 32px; font: 300 52px/65px var(--serif); letter-spacing: -2.6px; max-width: 740px; }
.head.center .h2 { max-width: 560px; }
.intro { margin-top: 32px; max-width: 480px; font-size: 16px; line-height: 22.4px; letter-spacing: -.16px; color: var(--grey); }
.dark .intro { color: var(--white-60); }
.head .btn { margin-top: 31px; }
.btn-ic { width: 16px; height: 16px; margin: -1px 8px 0 -3px; flex: none; }

/* Buttons ------------------------------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px 9px; border-radius: 45px; font-size: 14px; line-height: 19.6px; letter-spacing: -.14px; white-space: nowrap; cursor: pointer; border: 0; transition: background-color .2s, color .2s, opacity .2s; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #e9e9e9; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { background: rgba(59, 59, 59, .4); color: var(--white); backdrop-filter: blur(30px); }
.btn-ghost:hover { background: rgba(80, 80, 80, .5); }
.btn svg { width: 14px; height: 14px; margin-right: 6px; }

/* Nav: fixed, hides while scrolling down, comes back on the way up; its colour follows the section below. */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 71px; transition: transform .45s cubic-bezier(.22, 1, .36, 1), background-color .3s; color: var(--white); }
.nav.hide { transform: translateY(-100%); }
.nav[data-variant='transparent'] { background: rgba(8, 10, 9, 0); }
.nav[data-variant='dark'] { background: var(--black); }
.nav[data-variant='light'] { background: var(--paper); color: var(--ink); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 16px 40px; }
.logo { display: flex; align-items: center; width: 340px; }
.logo img { height: 22px; width: auto; }
.logo .on-light, .nav[data-variant='light'] .logo .on-dark, .nav.open .logo .on-light { display: none; }
.nav[data-variant='light'] .logo .on-light, .nav.open .logo .on-dark { display: block; }
.menu { display: flex; }
.menu a, .nav-link { padding: 12px 16px; font-size: 14px; line-height: 15.4px; letter-spacing: -.14px; border-radius: 45px; transition: opacity .2s; }
.menu a:hover, .nav-link:hover { opacity: .6; }
.nav-cta { display: flex; justify-content: flex-end; align-items: center; gap: 2px; width: 340px; }
.nav[data-variant='light'] .nav-cta .btn-light { background: var(--black); color: var(--white); }
.burger { display: none; width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 6px; right: 6px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger i:first-child { top: 12px; } .burger i:last-child { top: 19px; }
.nav.open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { display: none; }

/* Footer -------------------------------------------------------------------------------------------------- */
.foot { background: var(--black); color: var(--white); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; padding: 64px 40px; }
.foot-top h3 { font: 300 32px/38.4px var(--serif); letter-spacing: -1.6px; }
.foot-main { display: flex; justify-content: space-between; padding: 48px 40px 64px; }
.foot-left { width: 449px; }
.foot-mark img { width: 26px; height: 26px; }
.foot-col { display: flex; flex-direction: column; gap: 16px; width: 304px; }
.foot-col p { margin-bottom: 10px; padding-top: 5px; font-size: 12px; line-height: 15.6px; color: var(--white-60); }
.foot-col a { font-size: 14px; line-height: 15.4px; letter-spacing: -.14px; transition: opacity .2s; }
.foot-col a:hover { opacity: .6; }
.foot-bottom { position: relative; display: flex; align-items: flex-end; height: 252px; padding: 0 40px 20px; }
.foot-copy { display: flex; gap: 18px; width: 449px; font-size: 12px; line-height: 18px; letter-spacing: -.12px; }
.foot-copy span + span { color: var(--white-60); }
.foot-word { position: absolute; left: 489px; bottom: -64px; height: 290px; width: auto; opacity: .1; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 92%); mask-image: linear-gradient(180deg, #000 10%, transparent 92%); pointer-events: none; }

/* Appear effects: the template's spring (stiffness 125, damping 30), set as a linear() easing by main.js. */
[data-appear] { opacity: .001; transform: translateY(var(--ay, 16px)); }
[data-appear].in { opacity: var(--ao, 1); transform: none; transition: opacity var(--sd, 1s) var(--spring, ease-out) var(--delay, 0s), transform var(--sd, 1s) var(--spring, ease-out) var(--delay, 0s); }
.w { display: inline-block; opacity: .001; transform: translateY(10px); }
.in .w, .w.in { opacity: 1; transform: none; transition: opacity .9s var(--spring, ease-out) calc(var(--wi) * 45ms + var(--delay, 0s)), transform .9s var(--spring, ease-out) calc(var(--wi) * 45ms + var(--delay, 0s)); }
@media (prefers-reduced-motion: reduce) { [data-appear], .w { opacity: var(--ao, 1) !important; transform: none !important; transition: none !important; } }

/* Tablet ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  :root { --gutter: 24px; }
  .menu, .nav-cta { display: none; }
  .burger { display: block; }
  .logo { width: auto; }
  .nav-in { padding: 16px 24px; }
  .nav-sheet { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 71px; left: 0; right: 0; padding: 8px 24px 24px; background: inherit; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
  .nav-sheet a { padding: 10px 0; font-size: 17px; }
  .nav-sheet .btn { margin-top: 12px; align-self: flex-start; padding: 10px 20px 9px; font-size: 14px; }
  .nav.open { background: var(--black); color: var(--white); }
  .nav.open .nav-sheet { opacity: 1; pointer-events: auto; transform: none; }
  .h2 { font-size: 44px; line-height: 52px; letter-spacing: -2.2px; }
  .foot-top { padding: 48px 24px; }
  .foot-main { flex-wrap: wrap; gap: 32px; padding: 32px 24px 48px; }
  .foot-left { width: 100%; }
  .foot-col { width: auto; flex: 1; }
  .foot-bottom { height: 180px; padding: 0 24px 20px; }
  .foot-word { left: 24px; height: 200px; bottom: -44px; }
}

/* Phone ------------------------------------------------------------------------------------------------------ */
@media (max-width: 809.98px) {
  :root { --gutter: 16px; }
  .sec { padding: 80px 0; }
  .inner { gap: 64px; padding-left: 20px; }
  .h2 { margin-top: 24px; font-size: 36px; line-height: 42px; letter-spacing: -1.6px; }
  .intro { margin-top: 20px; }
  .head .btn { margin-top: 24px; }
  .nav-in { padding: 16px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 16px; }
  .foot-top h3 { font-size: 26px; line-height: 31px; }
  .foot-main { padding: 24px 16px 40px; }
  .foot-col { flex: 1 1 40%; }
  .foot-copy { flex-direction: column; gap: 2px; width: auto; }
  .foot-bottom { height: 150px; padding: 0 16px 16px; }
  .foot-word { left: 16px; height: 130px; bottom: -28px; }
}
