/* Supersweet teaser site. White by design. One self-hosted font, no JavaScript, no third-party requests. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #0b0b0d;
  --muted: #5b5b66;
  --line: rgba(11, 11, 13, 0.1);
  --btn-bg: #0b0b0d;
  --btn-fg: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --spectrum: linear-gradient(90deg, #f6c000, #ef7828, #ff4d48, #e35897, #882aeb, #0580ec);
  --r: 28px;
  --pad: clamp(20px, 5vw, 64px);
  --gap: clamp(72px, 10vw, 152px);
  --bar-h: 40px;
  --hero-h: clamp(540px, calc(100dvh - 128px), 800px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { position: relative; margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 6px; }
[id] { scroll-margin-top: 104px; }

.wrap { width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 30; background: var(--btn-bg); color: var(--btn-fg); padding: 12px 16px; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }

/* Type */
h1, h2 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.1vw, 88px); line-height: 0.98; letter-spacing: -0.05em; }
h2 { font-size: clamp(32px, 3.9vw, 58px); line-height: 1.03; letter-spacing: -0.045em; }
h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.muted { color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 13px; line-height: 1; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Button: one shape (pill), one label per intent */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.btn:hover { opacity: 0.86; }
.btn:active { transform: scale(0.97); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 17px; }

/* The glowing ribbon sits behind the announcement bar, the menu and the hero */
.backdrop { position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: calc(128px + var(--hero-h)); overflow: hidden; pointer-events: none; }
.backdrop img { position: absolute; right: -7%; top: 50%; width: max(112%, 1180px); max-width: none; height: auto; transform: translateY(-44%); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 22%, rgba(255, 255, 255, 0.55) 44%, rgba(255, 255, 255, 0) 66%), linear-gradient(0deg, var(--bg) 0%, rgba(255, 255, 255, 0) 22%); }
.announce, .nav, main, .footer { position: relative; z-index: 1; }

/* Announcement */
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bar-h); padding: 10px var(--pad); font-size: 14px; line-height: 20px; font-weight: 500; background: rgba(11, 11, 13, 0.04); text-align: center; }
.announce__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ff4d48; }

/* Menu: frosted-glass approximation with a solid fallback */
.nav { position: sticky; top: 12px; z-index: 20; margin-top: 12px; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; padding: 0 10px 0 22px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 10px 30px -18px rgba(30, 24, 60, 0.25); }
.logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero { min-height: var(--hero-h); display: flex; align-items: center; padding-block: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: clamp(20px, 2.1vw, 30px); max-width: 720px; }
.hero__copy .lead { max-width: 36ch; }
.hero__copy--wide { max-width: 860px; }
.h1--long { font-size: clamp(36px, 4vw, 58px); }
.hero__copy--hero { max-width: 900px; }
.h1--hero { font-size: clamp(40px, 5vw, 72px); }

/* Sections */
.section { padding-top: var(--gap); }
.stack { display: flex; flex-direction: column; gap: clamp(18px, 1.8vw, 26px); }
.stack h2 { max-width: 18ch; }

/* People: a mosaic of five photographs, no captions */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 22vw, 300px)); gap: 16px; margin-top: clamp(36px, 4vw, 60px); }
.people img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.people__a { grid-column: 1; grid-row: 1 / span 2; object-position: 40% 30%; }
.people__b { grid-column: 2 / span 2; grid-row: 1; object-position: 50% 40%; }
.people__c { grid-column: 4; grid-row: 1 / span 2; object-position: 45% 20%; }
.people__d { grid-column: 2; grid-row: 2; object-position: 60% 30%; }
.people__e { grid-column: 3; grid-row: 2; object-position: 40% 40%; }
#people h2 { max-width: none; text-wrap: wrap; }

/* Idea header: statement on the left, one sourced number on the right */
.idea__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.stat { margin: 0; }
.stat__n { font-size: clamp(56px, 7.4vw, 112px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 600; }
.stat figcaption { margin-top: 14px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.4; max-width: 27ch; }
.stat__src { display: block; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 46ch; }

/* Idea: three cells, three treatments */
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 60px); }
.cell { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(26px, 2.6vw, 38px); min-height: clamp(210px, 19vw, 264px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.cell p { max-width: 36ch; }
.cell--image { grid-row: span 2; background: #f3f1ee; color: #0b0b0d; }
.cell--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell--image h3, .cell--image p { position: relative; z-index: 1; }
.cell--image h3 { font-size: clamp(28px, 2.9vw, 44px); letter-spacing: -0.04em; line-height: 1.04; }
.cell--image p { font-size: clamp(18px, 1.45vw, 21px); color: rgba(11, 11, 13, 0.74); }
.cell--plain { background: var(--surface); }
.cell--line { border: 1px solid var(--line); }
.cell--line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--spectrum); }

/* The everyday jobs, stated quietly */
.jobs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 24px; margin-top: clamp(28px, 3vw, 44px); font-size: 15px; line-height: 1.35; color: var(--muted); }

/* Beliefs: sticky heading, list beside it */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { position: sticky; top: 120px; max-width: 15ch; }
.beliefs li { padding-block: clamp(26px, 2.6vw, 38px); display: flex; flex-direction: column; gap: 10px; }
.beliefs li + li { border-top: 1px solid var(--line); }
.beliefs li:first-child { padding-top: 6px; }
.beliefs p { max-width: 46ch; }

/* Company */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 4.4vw, 64px); padding-top: clamp(24px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.facts dd { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; }
.company .muted { max-width: 60ch; }
.company h2 { max-width: 20ch; }

/* Contact panel */
.panel { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); padding: clamp(56px, 8vw, 128px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(20px, 2vw, 28px); background: #f3f1ee; color: #0b0b0d; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.12); }
.panel > :not(img) { position: relative; z-index: 1; }
.panel h2 { max-width: 14ch; }
.panel p { max-width: 44ch; color: rgba(11, 11, 13, 0.78); font-size: clamp(18px, 1.45vw, 21px); }
.panel__note { font-size: 15px; font-weight: 500; max-width: none; }
.panel__mail { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.footer { padding-block: clamp(56px, 6vw, 88px) 40px; font-size: 15px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__co { display: flex; flex-direction: column; gap: 14px; }
.footer__co a, .footer__links a:hover { color: var(--text); }
.footer__links { display: flex; gap: 28px; font-weight: 500; }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__legal p + p { margin-top: 8px; }

/* Plain text page */
.prose { max-width: 720px; padding-block: clamp(48px, 6vw, 88px) 0; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-size: clamp(36px, 4vw, 56px); }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; margin-top: 16px; max-width: none; }
.prose p { color: var(--muted); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Motion: hero load-in, a slow drift on the ribbon, reveal on scroll. All off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.07s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.14s; }
  .backdrop img { animation: glow-in 1.6s var(--ease) both, drift 22s ease-in-out 1.6s infinite alternate; }
  .announce__dot { animation: pulse 2.4s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes glow-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translateY(-44%) scale(1); } to { transform: translateY(-45.5%) scale(1.045); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 72, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(255, 77, 72, 0); } }

@media (prefers-reduced-transparency: reduce) {
  .nav__bar { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 1100px) {
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Below 900px everything is one column; the ribbon moves under the hero copy */
@media (max-width: 900px) {
  :root { --hero-h: clamp(600px, 150vw, 720px); }
  .nav__links { display: none; }
  .nav__bar { height: 58px; padding: 0 8px 0 18px; }
  .logo img { width: 128px; }
  .btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
  .hero { align-items: flex-start; padding-top: 44px; }
  .backdrop img { top: auto; bottom: 0; right: -18%; width: 230%; transform: none; }
  .backdrop::after { background: linear-gradient(180deg, var(--bg) 50%, rgba(255, 255, 255, 0) 72%), linear-gradient(0deg, var(--bg) 0%, rgba(255, 255, 255, 0) 12%); }
  .br-d { display: none; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; }
  .people img { height: auto; }
  .people__b { grid-column: 1 / span 2; grid-row: 1; aspect-ratio: 16 / 10; }
  .people__a { grid-column: 1; grid-row: 2; aspect-ratio: 3 / 4; }
  .people__c { grid-column: 2; grid-row: 2; aspect-ratio: 3 / 4; }
  .people__d { grid-column: 1; grid-row: 3; aspect-ratio: 1; }
  .people__e { grid-column: 2; grid-row: 3; aspect-ratio: 1; }
  .idea__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .cell { min-height: 0; }
  .cell--image { grid-row: auto; min-height: 320px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split h2 { position: static; max-width: 18ch; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .footer__links { flex-wrap: wrap; gap: 14px 24px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .backdrop img { animation: glow-in 1.6s var(--ease) both; }
}
@media (max-width: 560px) {
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .announce { font-size: 13px; padding-inline: 12px; gap: 8px; }
}
