:root {
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
  --font-wordmark: 'Jost', 'Outfit', system-ui, sans-serif;
  /* Palette from the fox mark: orange body, red crest/tail, navy tool */
  --bg: #f7f3ef;
  --surface: #ffffff;
  --chrome-well: #efe8e1;
  --text: #14110f;
  --text-muted: #4f463f;
  --text-faint: #7a6f66;
  --accent: #f04e00;
  --accent-2: #e4180c;
  --ink: #1b2a6e;
  --on-accent: #ffffff;
  --border: rgb(20 17 15 / 0.14);
  --border-strong: rgb(20 17 15 / 0.22);
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --content: 40rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0.9rem max(var(--pad-x), calc((100% - var(--content)) / 2));
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-wordmark);
  font-weight: 100;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.mark-icon {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.nav-cta:hover {
  color: var(--on-accent);
  filter: brightness(1.05);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(100% - 2 * var(--pad-x), 72rem);
  margin: 0 auto;
  padding: 0 0 1.5rem;
  animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  max-width: 100%;
}

.brand-logo {
  display: none;
}

@property --spread {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

.brand-name {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.25em;
  max-width: 100%;
  font-family: var(--font-wordmark);
  font-weight: 100;
  font-size: min(3.85rem, 9.8vw, calc((100vw - 2 * var(--pad-x)) / 9.4));
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
  --spread: 0px;
  animation:
    logo-settle 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both,
    letter-spread 49.2s linear 1.2s infinite;
}

.brand-name span {
  display: block;
  flex: 0 0 auto;
  will-change: transform;
  transform: translate3d(calc(var(--i) * var(--spread)), 0, 0);
}

@keyframes letter-spread {
  /* ~48s out to full spread, ~1.2s ease-in-out back */
  0% {
    --spread: 0px;
  }
  97.56% {
    --spread: 0.55em;
    animation-timing-function: ease-in-out;
  }
  100% {
    --spread: 0px;
  }
}

@keyframes logo-settle {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.house {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-figure {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(1.25rem, 4vh, 2.5rem);
}

.hero-frame {
  overflow: hidden;
}

.hero-lockup {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  z-index: 1;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  margin: -6% auto 0;
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(#000 0%, #000 58%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(#000 0%, #000 58%, transparent 100%);
  mask-composite: intersect;
  user-select: none;
}

h1 {
  margin: 0 auto;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 16ch;
}

.lede {
  margin: 0.75rem auto 0;
  max-width: 38ch;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cta.ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:active {
  transform: scale(0.98);
}

.spread {
  width: min(100% - 2 * var(--pad-x), var(--content));
  margin: 0 auto;
}

.pitch {
  text-align: center;
  padding-bottom: 2.5rem;
}

.pitch .lede {
  margin-top: 0;
}

.studio,
.close {
  width: 100%;
  margin: 0;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.pitch h2,
.studio h2,
.close h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
}

.studio-head .section-lede {
  margin-bottom: 0;
}

.section-lede {
  margin: 0 auto 1.15rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.project-list > li {
  border-bottom: 1px solid var(--border);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'meta arrow'
    'blurb arrow';
  gap: 0.2rem 0.85rem;
  align-items: center;
  padding: 0.85rem 0.1rem;
  text-align: left;
  text-decoration: none;
}

.project-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.4rem 0.7rem;
}

.project-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.project-status {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-faint);
}

.project-live .project-status {
  color: var(--accent);
}

.project-blurb {
  grid-area: blurb;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.project-arrow {
  grid-area: arrow;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-live:hover .project-arrow {
  transform: translateX(4px);
}

.project-live:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.project-soon {
  opacity: 0.72;
}

.project-soon .project-name {
  color: var(--text-muted);
  font-weight: 600;
}

.studio {
  padding-bottom: 2.75rem;
}

.principles {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.15rem;
}

.principles article {
  padding: 0;
  border: 0;
  background: none;
}

.principles h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.principles p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 46ch;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1.25rem;
  width: min(100% - 2 * var(--pad-x), var(--content));
  margin: 0 auto;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* Legal / support pages */
.page {
  width: min(100% - 2 * var(--pad-x), var(--content));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  text-align: left;
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page .eyebrow {
  margin-bottom: 0.35rem;
}

.page h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.page .updated {
  margin: 0.55rem 0 1.5rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.page h2 {
  margin: 1.75rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.page p,
.page li {
  color: var(--text-muted);
}

.page p {
  margin: 0 0 0.85rem;
}

.page ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.page li + li {
  margin-top: 0.35rem;
}

.page a:not(.mark):not(.nav-cta):not(.cta) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.page a:not(.mark):not(.nav-cta):not(.cta):hover {
  filter: brightness(0.92);
}

.contact-block {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: color-mix(in oklab, var(--surface) 70%, var(--chrome-well));
  border: 1px solid var(--border);
}

.contact-block p {
  margin: 0;
}

.contact-block p + p {
  margin-top: 0.45rem;
}

.contact-block .contact-label {
  margin-top: 0.85rem;
}

@media (min-width: 1100px) {
  .hero,
  .spread,
  footer {
    width: min(100% - 2 * var(--pad-x), 96rem);
  }

  .hero {
    padding-bottom: 3.25rem;
  }

  .spread {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
    align-items: start;
  }

  .pitch,
  .studio,
  .close {
    padding: 0 0 2rem;
    border: 0;
    text-align: left;
  }

  .pitch {
    gap: 0;
  }

  .pitch .lede,
  .section-lede {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .pitch .lede {
    margin-top: 0;
    margin-bottom: 0.85rem;
  }

  .pitch .cta-row,
  .close .cta-row {
    justify-content: flex-start;
  }

  .studio-head {
    margin-bottom: 1.35rem;
  }

  .principles {
    margin-top: 0;
  }

  .principles p {
    margin: 0;
    max-width: none;
  }
}

@media (min-width: 1600px) {
  .hero,
  .spread,
  footer {
    width: min(100% - 2 * var(--pad-x), 96rem);
  }
}

@media (min-width: 2400px) {
  .hero,
  .spread,
  footer {
    width: min(78vw, 112rem);
  }
}

@media (max-width: 800px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    width: 100%;
  }

  .hero > :not(.hero-figure) {
    width: min(100% - 2 * var(--pad-x), var(--content));
  }

  .hero-art {
    -webkit-mask-image: linear-gradient(#000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 58%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }

  .hero-figure {
    margin-bottom: 2.75rem;
  }

  .hero-lockup {
    bottom: -1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .page {
    animation: none;
  }

  .brand-logo,
  .brand-name {
    animation: none;
  }

  .brand-name span {
    transform: none;
  }

  .project-arrow,
  .cta {
    transition: none;
  }
}
