@font-face {
  font-family: "DM Mono";
  src: url("./fonts/dm-mono-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("./fonts/inter-tight-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("./fonts/inter-tight-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #00356b;
  --medium: #286dc0;
  --sky: #63aaff;
  --cream: #faf8ec;
  --sand: #ede9d4;
  --tag: #bccadc;
  --paper: #fffdf9;
  --ink: #171717;
  --u: min(1px, .05787037vw);
  --edge: calc(96 * var(--u));
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --font: "Inter Tight",Inter,Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,h2,h3,p,ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,h2,h3 {
  font-weight: 500;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100%,1728px);
  margin-inline: auto;
  padding-inline: var(--edge);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 5px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--paper);
  padding: 12px;
  z-index: 5;
}

.skip:focus {
  transform: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--cream);
}

.header-inner {
  min-height: calc(118 * var(--u));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  justify-self: start;
}

.brand img {
  width: calc(237 * var(--u));
}

.header nav ul {
  display: flex;
  gap: calc(16 * var(--u));
  align-items: center;
}

.header nav a {
  display: block;
  color: var(--ink);
  font-size: max(17px,calc(30 * var(--u)));
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.03em;
  text-decoration: none;
  border-radius: calc(8 * var(--u));
  padding: calc(15 * var(--u));
}

.header nav a[aria-current],.header nav a:hover {
  background: #ede8de;
}

.header .action {
  justify-self: end;
}

.header.dark {
  background: var(--navy);
}

.header.dark nav a {
  color: white;
}

.header.dark nav a[aria-current],.header.dark nav a:hover {
  background: #4f76a5;
}

.header.dark .action {
  color: #070707;
}

.header.dark .action-icon {
  background: #070707;
}

.action {
  width: max-content;
  display: inline-flex;
  gap: calc(10 * var(--u));
  align-items: center;
  color: var(--navy);
  font-size: max(14px,calc(24 * var(--u)));
  letter-spacing: -.03em;
  line-height: .9;
  background: var(--sky);
  border-radius: calc(7 * var(--u));
  padding: calc(7 * var(--u)) calc(10 * var(--u));
  text-decoration: none;
}

.action-icon {
  display: grid;
  place-items: center;
  background: var(--navy);
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 2px;
  transition: transform .18s;
}

.action-icon img {
  width: 75%;
}

.action:hover .action-icon {
  transform: translateY(-2px);
}

.section-label {
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding: calc(8 * var(--u)) calc(13 * var(--u));
  font: 500 max(12px,calc(20 * var(--u)))/.9 var(--mono);
  letter-spacing: -.025em;
  white-space: nowrap;
}

.footer,.timeline,.team-intro,.hero {
  background: var(--navy);
  color: var(--cream);
}

.footer-inner {
  padding-block: calc(66 * var(--u)) calc(32 * var(--u));
}

.footer-top {
  display: grid;
  grid-template-columns: 56% 1fr;
  gap: calc(36 * var(--u));
  min-height: calc(438 * var(--u));
}

.footer-statement {
  position: relative;
}

.footer-statement p {
  font-size: calc(90 * var(--u));
  line-height: .9;
  letter-spacing: -.03em;
}

.footer-join {
  position: absolute;
  top: calc(187 * var(--u));
  left: 51%;
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(7 * var(--u)) calc(12 * var(--u));
  background: var(--cream);
  color: var(--navy);
  font-size: calc(38 * var(--u));
  line-height: .9;
  letter-spacing: -.03em;
  text-decoration: none;
}

.footer-join-portrait {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
}

.footer-links {
  display: flex;
  gap: calc(120 * var(--u));
  padding-top: calc(21 * var(--u));
}

.footer-links ul {
  display: grid;
  gap: calc(18 * var(--u));
  margin-top: calc(22 * var(--u));
}

.footer-links li,.footer-bottom {
  font-size: max(13px,calc(22 * var(--u)));
  font-weight: 600;
  letter-spacing: -.015em;
}

.footer a:not(.footer-join) {
  text-decoration: none;
}

.footer-logo img,
.footer-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: calc(42 * var(--u));
}

.footer-bottom a {
  display: flex;
  justify-self: start;
  align-items: center;
  gap: 6px;
}

.footer-clock {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.footer-bottom > :last-child {
  justify-self: end;
  text-align: right;
}

@media (max-width: 520px) {
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-clock { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
}

h1,.timeline>div>h2 {
  font-size: calc(128 * var(--u));
  line-height: .9;
  letter-spacing: -.03em;
}

.project-page {
  min-height: calc(100svh - var(--header-height));
  padding-block: calc(148 * var(--u)) calc(100 * var(--u));
}

.projects-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: calc(68 * var(--u));
}

.projects-intro p {
  text-align: right;
  color: var(--medium);
  font-size: max(15px,calc(24 * var(--u)));
  line-height: .99;
  letter-spacing: -.03em;
}

.projects-intro p a {
  color: var(--navy);
}

.projects-intro p > span {
  display: block;
}

.is-revealing .project-filter-row {
  clip-path: inset(-.12em -.25em -.16em);
}

.project-layout {
  --project-column-gap: clamp(12px, 1.4vw, 24px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--project-column-gap);
  align-items: start;
}

#project-results {
  grid-column: span 3;
}

.project-filters {
  position: sticky;
  top: max(var(--header-height), calc(150 * var(--u)));
  display: grid;
  justify-items: start;
  gap: calc(8 * var(--u));
  padding-top: calc(25 * var(--u));
}

.project-filters button,.tag {
  color: var(--navy);
  border: 0;
  background: var(--tag);
  padding: calc(8 * var(--u)) calc(13 * var(--u));
  font-size: max(13px,calc(20 * var(--u)));
  line-height: .99;
  letter-spacing: -.03em;
}

.project-filters button {
  cursor: pointer;
}

.project-filters button[aria-pressed=true] {
  background: var(--navy);
  color: var(--cream);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(78 * var(--u)) var(--project-column-gap);
}

.project-card-link {
  display: block;
  text-decoration: none;
}

.project-card-link:is(:hover, :focus-visible) h2 {
  color: var(--medium);
}

@media (any-hover: hover) and (any-pointer: fine) {
  .project-card-link {
    cursor: url("./assets/view-behance-cursor.svg") 11 15, pointer;
  }
}

.project-image {
  display: block;
  width: 100%;
  aspect-ratio: 496/343;
  object-fit: cover;
  background: #d9d9d9;
}

.project-cover {
  position: relative;
}

.project-status {
  position: absolute;
  inset: auto auto 12px 12px;
  padding: .45em .7em;
  background: var(--navy);
  color: var(--cream);
  font-size: 14px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .project-cover {
    cursor: url("./assets/in-progress-cursor.svg") 11 15, default;
  }

  .project-status { opacity: 0; }
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: calc(20 * var(--u));
}

.project-meta h2 {
  font-size: max(18px,calc(32 * var(--u)));
  font-weight: 600;
  letter-spacing: -.02em;
}

.project-meta .tag {
  flex-shrink: 0;
}

.project-card p {
  font-size: max(13px,calc(16 * var(--u)));
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-top: calc(12 * var(--u));
  min-height: 2em;
}

@media (max-width: 900px) {
  .project-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #project-results { grid-column: span 2; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .projects-intro {
    flex-direction: column;
    align-items: start;
  }
  .projects-intro p { text-align: left; }
  .project-layout { grid-template-columns: minmax(0, 1fr); }
  #project-results { grid-column: 1; }
  .project-filters {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 18px;
  }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
}

.empty {
  padding-block: calc(40 * var(--u));
  font-size: max(16px,calc(24 * var(--u)));
}

.events-intro {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(36px, 7svh, 82px) clamp(22px, 4svh, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  grid-template-rows: 1fr auto;
  gap: clamp(20px, 4vw, 68px);
  align-items: start;
}

.events-intro h1, .timeline > .wrap > h2 {
  font-size: clamp(34px, min(5.6vw, 8svh), 76px);
  line-height: 1;
}

.events-intro .action {
  margin-top: clamp(14px, 2.4svh, 28px);
}

.events-intro p {
  max-width: 30ch;
  margin-top: clamp(14px, 2.4svh, 26px);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.4;
}

.past-events-link {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  padding-inline: .5em;
  font-size: clamp(14px, 1.2vw, 17px);
  text-decoration: none;
}

.calendar-slot {
  width: 100%;
  height: clamp(240px, 60svh, 660px);
  border: 1px solid #bfcbda88;
  border-radius: 4px;
}

.timeline {
  scroll-margin-top: var(--header-height);
  padding-block: clamp(36px, 6.6svh, 74px) clamp(54px, 8.5svh, 106px);
}

.timeline .year {
  margin-top: clamp(32px, 5svh, 64px);
}

.event-heading-clip {
  display: block;
  clip-path: inset(-.09em -.12em -.17em);
}

.timeline .rule-heading .event-heading-clip { flex: none; }

.timeline .rule-heading {
  gap: clamp(12px, 1.7vw, 24px);
  margin-bottom: clamp(16px, 2.7svh, 30px);
  font-size: clamp(27px, 3.1vw, 46px);
  line-height: 1.04;
}

.timeline .rule-heading::before {
  clip-path: inset(0 0 0 var(--rule-covered, 0%));
}

.timeline .rule-heading::after {
  clip-path: inset(0 var(--rule-covered, 0%) 0 0);
}

.rule-heading {
  display: flex;
  align-items: center;
  gap: calc(28 * var(--u));
  font-size: calc(64 * var(--u));
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--medium);
  margin-bottom: calc(46 * var(--u));
}

.rule-heading:before,.rule-heading:after {
  content: "";
  flex: 1;
  border-top: calc(3 * var(--u)) dashed currentColor;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: clamp(12px, 1.4vw, 22px);
}

.event-image {
  aspect-ratio: 234/173;
}

.event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checker {
  background: repeating-conic-gradient(#ececec 0 25%,#f8f8f8 0 50%) 0/ calc(48 * var(--u)) calc(48 * var(--u));
}

.event-date {
  font: 500 clamp(12px, 1.1vw, 16px)/1.04 var(--mono);
  display: flex;
  align-items: center;
  gap: clamp(6px, .75vw, 12px);
  margin-top: clamp(9px, 1.3svh, 14px);
}

.event-date:before {
  content: "";
  width: .85em;
  height: .85em;
  background: var(--sky);
}

.event-card p {
  font-size: clamp(13px, 1.18vw, 17px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-top: clamp(6px, 1svh, 11px);
}

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

@media (max-width: 620px) {
  .events-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  .calendar-slot { height: clamp(200px, 42svh, 390px); }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.team-intro {
  text-align: center;
  min-height: calc(524 * var(--u));
  display: grid;
  place-items: center;
}

.team-intro p {
  font-size: max(14px,calc(24 * var(--u)));
  line-height: 1.09;
  letter-spacing: -.03em;
  max-width: calc(640 * var(--u));
  margin: calc(25 * var(--u)) auto calc(40 * var(--u));
}

.team-layout {
  --team-section-offset: calc(var(--header-height) + 24px);
  display: grid;
  grid-template-columns: 1fr 74.8%;
  padding-block: calc(80 * var(--u));
  align-items: start;
}

.team-sections {
  position: sticky;
  top: var(--team-section-offset);
  display: grid;
  gap: calc(15 * var(--u));
  justify-items: start;
}

.team-sections a {
  --team-arrow-width: clamp(16px, 1.9vw, 30px);
  position: relative;
  display: flex;
  align-items: center;
  padding-inline-end: calc(var(--team-arrow-width) + 8px);
  text-decoration: none;
  font-size: clamp(15px, 1.55vw, 23px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.team-sections a:is([aria-current], :hover, :focus-visible) {
  color: var(--medium);
}

.team-sections a img {
  position: absolute;
  inset-inline-start: 0;
  width: var(--team-arrow-width);
  opacity: 0;
  transform: translateX(-6px);
}

.team-sections a:is([aria-current], :hover, :focus-visible) img {
  opacity: 1;
  transform: translateX(0);
}

.team-sections a:is([aria-current], :hover, :focus-visible) > span {
  transform: translateX(calc(var(--team-arrow-width) + 8px));
}

.team-groups>section {
  scroll-margin-top: var(--team-section-offset);
  margin-bottom: calc(100 * var(--u));
}

.team-groups .rule-heading {
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.1;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(20px, 3.3vw, 48px) calc(20 * var(--u));
}

.member-body {
  display: grid;
  align-content: start;
  gap: clamp(6px, 1vw, 14px);
}

.member-image {
  display: block;
  width: 100%;
  aspect-ratio: 370/456;
  object-fit: cover;
}

.member-initials {
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--medium);
  font-size: clamp(22px, 4vw, 52px);
}

@media (hover: hover) and (pointer: fine) {
  .member {
    cursor: url("./assets/view-designer-cursor.svg") 10 15, default;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .team-sections a { transition: color .28s ease; }
  .team-sections a img,
  .team-sections a > span {
    transition: transform .32s var(--motion-ease), opacity .24s ease;
  }

  @media (hover: hover) {
    .member-body { transition: transform .28s var(--motion-ease); }
    .member:hover .member-body { transform: translateY(-5px); }
  }
}

.member h3,.member p {
  font-size: clamp(14px, 1.3vw, 19px);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.member p {
  font-size: clamp(13px, 1.05vw, 16px);
  color: #536d8c;
}

.member-role {
  justify-self: start;
  background: var(--navy);
  color: var(--cream);
  padding: .45em .65em;
  font: 500 clamp(9px, .7vw, 11px)/1.15 var(--mono);
  letter-spacing: -.03em;
  text-transform: uppercase;
}

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

@media (max-width: 640px) {
  .team-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .team-sections { position: static; display: flex; flex-wrap: wrap; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero-inner {
  padding-top: calc(800 * var(--u));
  min-height: calc(1155 * var(--u));
}

.hero h1,.home-team h2 {
  font-size: calc(160 * var(--u));
  line-height: .9;
  letter-spacing: -.03em;
}

.hero h1 span {
  display: inline-block;
  font-size: calc(55 * var(--u));
  padding: calc(8 * var(--u)) calc(13 * var(--u));
  color: #151617;
  background: var(--sky);
  transform: rotate(-12deg);
  transform-origin: left bottom;
  margin-left: calc(-22 * var(--u));
}

.hero p {
  color: var(--sky);
  font-size: calc(36 * var(--u));
  letter-spacing: -.025em;
  margin: calc(10 * var(--u)) 0 calc(18 * var(--u));
}

.about-inner {
  position: relative;
  padding-block: calc(90 * var(--u));
}

.about h2 {
  font-size: calc(96 * var(--u));
  line-height: 1.1;
  letter-spacing: -.03em;
  width: 69%;
  margin: calc(34 * var(--u)) 0 calc(60 * var(--u));
  position: relative;
  z-index: 1;
}

.home-path {
  position: absolute;
  width: 43%;
  right: 11%;
  top: calc(-185 * var(--u));
  pointer-events: none;
}

.home-path img {
  width: 100%;
}

.about-art {
  display: grid;
  grid-template-columns: 2.35fr 1fr;
  align-items: center;
  gap: calc(55 * var(--u));
  margin-bottom: calc(50 * var(--u));
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr .6fr;
  gap: calc(40 * var(--u));
  height: calc(341 * var(--u));
}

.about-mark {
  width: 100%;
}

.partners {
  height: calc(419 * var(--u));
  padding-top: calc(84 * var(--u));
}

.home-team {
  position: relative;
  height: calc(1053 * var(--u));
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.home-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-team .team-overlay {
  position: absolute;
  top: 12%;
  inset-inline: 0;
}

.home-team .action {
  margin-top: calc(24 * var(--u));
}

.current-work {
  padding-block: calc(82 * var(--u)) calc(140 * var(--u));
}

.current-layout {
  display: grid;
  grid-template-columns: 1fr 70.5%;
  gap: calc(45 * var(--u));
  margin-top: calc(48 * var(--u));
  align-items: start;
}

.current-layout>div {
  position: sticky;
  top: calc(150 * var(--u));
}

.current-layout p {
  font-size: calc(64 * var(--u));
  line-height: .99;
  letter-spacing: -.03em;
  color: var(--medium);
  margin-bottom: calc(40 * var(--u));
}

.current-layout li {
  border-top: 2px solid var(--medium);
}

.current-layout li a {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: calc(235 * var(--u));
  font-size: calc(160 * var(--u));
  letter-spacing: -.03em;
  line-height: .9;
}

.current-arrow {
  width: 0;
  opacity: 0;
  transition: width .25s,opacity .25s,margin .25s;
}

.current-layout li a:is(:hover, :focus-visible) {
  color: var(--medium);
}

.current-layout li a:is(:hover, :focus-visible) .current-arrow {
  width: calc(210 * var(--u));
  margin-right: calc(90 * var(--u));
  opacity: 1;
}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}

.action:disabled {
  border: 0;
  opacity: .65;
  cursor: default;
}

.action:disabled:hover .action-icon {
  transform: none;
}
