:root {
  --bg: #f9f9f8;
  --ink: #111318;
  --accent: #add54d;
  --line: #b3abab;
  --gutter: 8.33vw;
  --display: clamp(28px, 3.17vw, 84px);
  --display-xl: clamp(56px, 12.1vw, 320px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #000;
}

.site-shell {
  width: min(100%, 1920px);
  margin-inline: auto;
}

.gutter {
  padding-inline: var(--gutter);
}

.section-clip {
  overflow: clip;
}

.display {
  margin: 0;
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.light {
  color: var(--bg);
}

.accent {
  color: var(--accent);
}

.eyebrow {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.44px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--bg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(249, 249, 248, 0.82);
  backdrop-filter: blur(12px);
  transition: transform 500ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding-inline: var(--gutter);
}

.logo-button {
  width: 32px;
  height: 36px;
  cursor: pointer;
  color: #0c0d11;
  padding: 0;
}

.logo-mark {
  width: 100%;
  height: 100%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.desktop-nav button,
.desktop-nav a,
.mobile-nav button,
.footer-nav a {
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.52px;
  text-transform: uppercase;
}

.nav-flip {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0;
}

.nav-flip span {
  display: block;
  transition: transform 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-flip::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  left: 0;
  transition: transform 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-flip:hover span,
.nav-flip:hover::after {
  transform: translateY(-100%);
}

.menu-button {
  display: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 300ms ease, opacity 300ms ease;
}

.site-header.menu-open .menu-button span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-button span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 32px var(--gutter);
  border-top: 1px solid #e5e5e5;
  background: rgba(249, 249, 248, 0.96);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: 300ms ease;
}

.site-header.menu-open .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.hero {
  min-height: 680px;
  background: var(--bg);
}

.hero-shell {
  position: relative;
  height: 973px;
}

.accent-bar {
  position: absolute;
  width: 10px;
  background: var(--accent);
}

.hero-accent {
  left: 0;
  top: 195px;
  height: 663px;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 269px;
  left: var(--gutter);
  width: min(780px, 50vw);
  will-change: transform;
}

.word-logo {
  margin-bottom: 26px;
}

.hero-wordmark {
  width: min(100%, 310px);
  height: auto;
  margin-bottom: 26px;
}

.word-logo-main {
  margin: 0;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.word-logo-sub {
  margin: 16px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.5em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 782px;
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-copy .word-logo-main {
  font-size: clamp(58px, 7.55vw, 124px);
}

.hero-stone {
  position: absolute;
  z-index: 1;
  top: 127px;
  right: 3.16vw;
  width: 528px;
  height: 528px;
  will-change: transform;
}

.hero-stone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-line {
  position: absolute;
  left: calc(var(--gutter) + 2px);
  top: 659px;
  width: 1px;
  height: 199px;
  background: #000;
}

.scroll-pill {
  position: absolute;
  left: calc(var(--gutter) - 4px);
  top: 886px;
  display: flex;
  justify-content: center;
  width: 13px;
  height: 21px;
  padding-top: 4px;
  border: 1px solid #000;
  border-radius: 999px;
}

.scroll-pill span {
  width: 1px;
  height: 6px;
  background: #000;
  animation: scroll-hint 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.about {
  background: #000;
  padding-block: 120px 180px;
}

.about-intro {
  display: flex;
  justify-content: space-between;
  gap: 72px;
  padding-inline: var(--gutter);
}

.about-intro > div {
  width: 45%;
}

.about-intro h2 {
  width: 50%;
  padding-top: 109px;
}

.about-thesis {
  max-width: 784px;
  margin: 370px 0 0;
  color: var(--bg);
  font-size: 18px;
  line-height: 27.2px;
  letter-spacing: -0.17px;
}

.founder {
  position: relative;
  margin-top: 210px;
}

.founder-image {
  position: absolute;
  top: 15%;
  bottom: 0;
  left: calc(68% + 10px);
  width: min(25.2vw, 434px);
}

.founder-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, #000);
}

.founder-image img {
  position: sticky;
  top: calc(96px + 15vh);
  width: 100%;
  height: min(50.4vh, 532px);
  object-fit: cover;
}

.founder-content {
  position: relative;
  z-index: 2;
  padding-inline: var(--gutter);
}

.founder-name {
  width: min(1100px, 85vw);
  padding-top: 212px;
  pointer-events: none;
}

.founder-name h3,
.founder-name p {
  margin: 0;
  font-size: clamp(48px, 6vw, 112px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.founder-name h3 {
  color: #fff;
}

.founder-name p {
  color: #2f2f2f;
  white-space: nowrap;
}

.founder-bio {
  max-width: 785px;
  padding-top: 44px;
}

.founder-bio .display {
  margin-bottom: 46px;
}

.body-copy {
  color: var(--bg);
  font-size: 18px;
  line-height: 27.2px;
  letter-spacing: -0.17px;
}

.body-copy p {
  margin: 0 0 27px;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.founder-links a,
.footer-email {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: -0.17px;
}

.founder-links .linkedin-link {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease, transform 200ms ease;
}

.founder-links .linkedin-link:hover {
  color: var(--bg);
  transform: translateY(-1px);
}

.founder-links .linkedin-link svg {
  width: 100%;
  height: 100%;
}

.founder-links span {
  width: 21px;
  height: 1px;
  background: #6a6a6a;
}

.portfolio {
  background: #f2f2f2;
  padding-block: 160px;
}

.portfolio > .site-shell > .eyebrow {
  margin-bottom: 100px;
}

.portfolio-group {
  margin-bottom: 160px;
}

.portfolio-final {
  margin-bottom: 0;
  padding-top: 40px;
}

.portfolio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.portfolio-heading > div {
  display: flex;
  align-items: flex-start;
}

.portfolio-heading span {
  width: 3px;
  height: 40px;
  margin-top: 3px;
  background: var(--accent);
}

.portfolio-heading h3 {
  margin: 0 0 0 14px;
  color: #000;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 0.88;
}

.portfolio-heading p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.portfolio-row {
  display: flex;
  align-items: center;
  min-height: 248px;
  padding-left: 34px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 500ms ease, box-shadow 500ms ease;
}

.portfolio-row:hover {
  background: #000;
  box-shadow: -8.33vw 0 0 0 #000, 8.33vw 0 0 0 #000;
}

.portfolio-row h4 {
  margin: 0;
  color: #000;
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  transition: color 500ms ease;
}

.portfolio-row h4 em {
  font-style: italic;
}

.portfolio-row h4 span {
  display: inline-block;
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.portfolio-row.split {
  justify-content: space-between;
  gap: 24px;
}

.portfolio-row.split p {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 0.88;
  transition: color 500ms ease;
}

.portfolio-row:hover h4,
.portfolio-row:hover p {
  color: var(--accent);
}

.news {
  background: var(--bg);
  padding-block: 160px;
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 100px;
}

.rss-status {
  max-width: 620px;
  margin: 12px 0 0;
  color: #6d6d6d;
  font-size: 14px;
  line-height: 1.6;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: 300ms ease;
}

.carousel-controls button:hover {
  background: #000;
  color: #fff;
}

.carousel-controls button.is-disabled {
  border-color: var(--line);
  color: var(--line);
  cursor: default;
}

.carousel-controls button.is-disabled:hover {
  background: transparent;
  color: var(--line);
}

.carousel-controls .prev {
  transform: scaleX(-1);
}

.carousel-controls span {
  color: #898989;
  font-size: 14px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.news-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  scrollbar-width: none;
}

.news-track::-webkit-scrollbar {
  display: none;
}

.news-card {
  position: relative;
  display: flex;
  flex: 0 0 461px;
  flex-direction: column;
  justify-content: space-between;
  height: 640px;
  padding: 84px 40px 50px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: 500ms ease;
}

.news-card:hover {
  border-color: #000;
  background: #000;
}

.news-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 89px;
  width: 3px;
  height: 85px;
  background: var(--accent);
}

.news-card-date,
.news-card-source {
  margin: 0;
  color: #898989;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-card h3 {
  max-width: 330px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 21.1px;
  font-weight: 700;
  line-height: 1.4;
  transition: 500ms ease;
}

.news-card-source {
  margin-top: 20px;
}

.news-card-excerpt {
  max-width: 383px;
  margin: 0 0 30px;
  color: #000;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.44px;
  transition: 500ms ease;
}

.news-card-cta {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 500ms ease;
}

.news-card:hover h3 {
  color: var(--accent);
}

.news-card:hover .news-card-excerpt,
.news-card:hover .news-card-cta {
  color: #fff;
}

.article-header {
  position: sticky;
}

.article-page {
  min-height: 100vh;
  padding-block: 130px 110px;
  background: var(--bg);
}

.article-wrap {
  max-width: 1180px;
}

.article-back {
  display: inline-block;
  margin-bottom: 68px;
  color: #5e6265;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.article-back:hover {
  color: var(--accent);
}

.article-title-block {
  max-width: 980px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.article-date {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-title-block h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 104px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.article-body {
  max-width: 760px;
  margin-left: auto;
  padding-top: 70px;
}

.article-body p {
  margin: 0;
  color: #202225;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.55;
}

.article-body p + p {
  margin-top: 28px;
}

.article-source-link {
  display: inline-block;
  margin-top: 36px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.article-source-link:hover {
  color: var(--ink);
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 90px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.article-pagination div:last-child {
  text-align: right;
}

.article-pagination a {
  display: inline-flex;
  max-width: 420px;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  transition: color 200ms ease;
}

.article-pagination a:hover {
  color: var(--accent);
}

.article-pagination span {
  color: #747474;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-footer {
  background: #000;
  color: var(--bg);
}

.article-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.article-footer a {
  transition: color 200ms ease;
}

.article-footer a:hover {
  color: var(--accent);
}

.article-footer p {
  margin: 0;
}

.footer {
  position: relative;
  background: #000;
  padding-block: 200px 80px;
}

.footer-accent {
  top: 580px;
  left: 0;
  height: 663px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 180px;
}

.footer-mark {
  width: 113px;
  height: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav a {
  color: var(--bg);
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-email {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #5f5f5f;
  color: var(--bg);
  font-size: 14px;
  letter-spacing: 1.44px;
}

.subfooter-logo {
  width: 220px;
  height: auto;
}

@keyframes scroll-hint {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.4;
    transform: translateY(5px);
  }
}

@media (min-width: 1536px) {
  .hero-stone {
    width: 640px;
    height: 640px;
  }
}

@media (max-width: 1023px) {
  .header-inner {
    height: 72px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button,
  .mobile-nav {
    display: flex;
  }

  .hero-shell {
    height: auto;
    min-height: 760px;
    padding-bottom: 60px;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 138px var(--gutter) 0;
  }

  .hero-stone {
    position: relative;
    top: auto;
    right: auto;
    width: min(82vw, 344px);
    height: min(82vw, 344px);
    margin: 40px auto 0;
  }

  .hero-accent,
  .scroll-line,
  .scroll-pill,
  .footer-accent {
    display: none;
  }

  .about {
    padding-block: 80px 100px;
  }

  .about-intro {
    flex-direction: column;
  }

  .about-intro > div,
  .about-intro h2 {
    width: 100%;
    padding-top: 0;
  }

  .about-thesis {
    margin-top: 40px;
  }

  .founder {
    margin-top: 80px;
  }

  .founder-image {
    position: relative;
    left: auto;
    width: 70%;
    height: 42vh;
    margin-inline: auto;
  }

  .founder-image img {
    position: static;
    height: 100%;
  }

  .founder-content {
    margin-top: -40px;
  }

  .founder-name {
    padding-top: 40px;
  }

  .founder-bio {
    padding-top: 32px;
  }

  .portfolio,
  .news {
    padding-block: 80px;
  }

  .portfolio > .site-shell > .eyebrow,
  .news-header {
    margin-bottom: 50px;
  }

  .portfolio-group {
    margin-bottom: 80px;
  }

  .portfolio-row {
    min-height: 120px;
    padding-block: 30px;
    padding-left: 17px;
  }

  .news-card {
    flex-basis: 380px;
    height: 600px;
  }

  .article-page {
    padding-block: 110px 80px;
  }

  .article-title-block {
    padding-bottom: 46px;
  }

  .article-body {
    margin-left: 0;
    padding-top: 54px;
  }

  .footer {
    padding-block: 100px 60px;
  }

  .footer-top {
    margin-bottom: 80px;
  }
}

@media (max-width: 767px) {
  :root {
    --display: clamp(38px, 11vw, 70px);
    --display-xl: clamp(72px, 24vw, 128px);
  }

  .word-logo-main {
    font-size: clamp(48px, 18vw, 72px);
  }

  .word-logo-sub {
    letter-spacing: 0.42em;
  }

  .about-intro,
  .founder-content {
    padding-inline: var(--gutter);
  }

  .founder-name h3,
  .founder-name p {
    font-size: clamp(36px, 12vw, 64px);
  }

  .about-thesis,
  .body-copy {
    font-size: 16px;
    line-height: 25px;
  }

  .portfolio-heading,
  .portfolio-row.split,
  .news-header,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-heading {
    padding-bottom: 30px;
  }

  .portfolio-row.split p {
    font-size: 18px;
    line-height: 1.2;
  }

  .news-card {
    flex-basis: calc(100vw - 16.66vw);
    height: 520px;
    padding: 60px 24px 40px;
  }

  .news-card::before {
    top: 65px;
  }

  .article-page {
    padding-block: 96px 66px;
  }

  .article-back {
    margin-bottom: 46px;
  }

  .article-title-block h1 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .article-body {
    padding-top: 42px;
  }

  .article-body p {
    font-size: 17px;
    line-height: 1.62;
  }

  .article-pagination {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .article-pagination div:last-child {
    text-align: left;
  }

  .article-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .copyright {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
  }
}
