/* One — landing */

:root {
  --bg: #f6f5f2;
  --bg-2: #eeede8;
  --ink: #111110;
  --ink-2: #3d3d3a;
  --muted: #7a7a74;
  --line: rgba(17, 17, 16, 0.1);
  --white: #fffcf7;
  --accent: #111110;
  --soft: #c8c4b8;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.one {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
  animation: navDrop 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-links {
  display: none;
  gap: 1.75rem;
  margin-left: 1rem;
}

.nav-links a,
.nav-login,
.foot-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-login:hover,
.foot-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  margin-left: 0.25rem;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav {
    padding: 1.15rem clamp(1.5rem, 4vw, 3.5rem);
  }
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  border: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: webIn 1.4s ease 0.2s forwards;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(246, 245, 242, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(246, 245, 242, 0.35) 0%, transparent 28%, transparent 72%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.brand-hero {
  margin: 0;
  line-height: 0.9;
}

.brand-word {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(5.5rem, 22vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  font-style: italic;
  position: relative;
  text-shadow: 0 0 40px rgba(246, 245, 242, 0.9), 0 0 80px rgba(246, 245, 242, 0.7);
}

.tagline {
  margin: 1.5rem 0 0;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-sub {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 20px;
  height: 32px;
  border: 1px solid rgba(17, 17, 16, 0.22);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}

.scroll-hint span {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--ink);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes webIn {
  to {
    opacity: 1;
  }
}

/* Shared */
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.section-head {
  width: min(920px, 100%);
  margin: 0 auto 3.5rem;
}

.section-head h2,
.why h2,
.position h2,
.cta-end h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

/* Why */
.why {
  padding: 8rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why .eyebrow {
  color: rgba(255, 252, 247, 0.45);
}

.why h2 .word.accent {
  font-style: italic;
  color: rgba(255, 252, 247, 0.55);
}

/* Does */
.does {
  padding: 8rem 1.5rem;
}

.does-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(820px, 100%);
}

.does-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.does-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.does-list li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.does-list.is-in li.is-in::after {
  width: 100%;
}

.does-list span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.does-list p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
  font-weight: 400;
}

/* Lines */
.lines {
  padding: 6rem 1.5rem;
  text-align: center;
  background: var(--bg-2);
  overflow: hidden;
}

.lines p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-style: italic;
  color: var(--ink);
}

.lines p + p {
  margin-top: 0.35rem;
  color: var(--ink-2);
}

.lines p:last-child {
  color: var(--muted);
}

/* Platform */
.platform {
  padding: 8rem 1.5rem;
}

.platform-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.platform-grid article {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease;
}

.platform-grid article:hover {
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
}

@media (min-width: 720px) {
  .platform-grid article {
    padding: 2.25rem 1.5rem 2.25rem 0;
  }
  .platform-grid article:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

.platform-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.platform-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 28ch;
}

/* Position */
.position {
  padding: 8rem 1.5rem;
  text-align: center;
}

.position-inner {
  width: min(800px, 100%);
  margin: 0 auto;
}

.position .big {
  margin: 1.25rem 0 0;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: var(--muted);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* CTA */
.cta-end {
  padding: 8rem 1.5rem 9rem;
  text-align: center;
  background: var(--bg-2);
}

.cta-inner p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.cta-end .hero-cta {
  margin-top: 2rem;
}

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

@media (min-width: 860px) {
  .hero,
  .why,
  .does,
  .lines,
  .platform,
  .position,
  .cta-end,
  .foot {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* Motion */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  animation: enter 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-animate][data-delay="1"] { animation-delay: 0.14s; }
[data-animate][data-delay="2"] { animation-delay: 0.28s; }
[data-animate][data-delay="3"] { animation-delay: 0.42s; }
[data-animate][data-delay="4"] { animation-delay: 0.7s; }

@keyframes enter {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal][data-reveal-type="fade"] {
  transform: none;
  filter: blur(6px);
}

[data-reveal][data-reveal-type="scale"] {
  transform: scale(0.92);
  filter: blur(6px);
}

[data-reveal][data-delay="1"] { transition-delay: 0.12s; }
[data-reveal][data-delay="2"] { transition-delay: 0.24s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].is-in > *.is-in {
  opacity: 1;
  transform: none;
}

.platform-grid[data-stagger] > *:nth-child(odd) {
  transform: translateX(-22px) translateY(18px);
}

.platform-grid[data-stagger] > *:nth-child(even) {
  transform: translateX(22px) translateY(18px);
}

.platform-grid[data-stagger].is-in > *.is-in {
  transform: none;
}

[data-split] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.05em) rotate(1.5deg);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-split].is-in .word {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[data-split] .word-space {
  display: inline-block;
  width: 0.28em;
}

[data-line] {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-line].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[data-line]:nth-child(1).is-in { transition-delay: 0.05s; }
[data-line]:nth-child(2).is-in { transition-delay: 0.2s; }
[data-line]:nth-child(3).is-in { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-animate],
  [data-reveal],
  [data-stagger] > *,
  [data-split] .word,
  [data-line],
  .nav {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .scroll-hint {
    display: none;
  }
}
