/* Homepage portfolio direction: restrained type with a loose field of app icons. */
.home .site-header {
  min-height: 78px;
  padding-inline: clamp(1.4rem, 4vw, 4rem);
}

.home .hero {
  width: min(100%, 1440px);
  min-height: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.home .hero h1 {
  max-width: 12ch;
  margin: clamp(2.5rem, 6vw, 5rem) 0;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.home .hero-canvas {
  right: clamp(2rem, 5vw, 5rem);
  bottom: clamp(2rem, 4vw, 4rem);
  width: min(31vw, 460px);
  height: min(47vh, 480px);
  border-radius: 2.5rem;
}

.home .round-link {
  width: 96px;
}

.home .hero-services {
  display: flex;
  max-width: 34rem;
  margin: 0 0 0.5rem;
  padding: 0;
  gap: 0.65rem 1.4rem;
  flex-wrap: wrap;
  color: #a8a8a8;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home .hero-services li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home .marquee > div {
  font-size: clamp(1.8rem, 3.5vw, 3.8rem);
}

.home .studio {
  position: relative;
  padding-block: clamp(5rem, 9vw, 9rem);
  color: #f1ebdd;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 5% 0%, rgba(184, 90, 67, 0.28), transparent 47%),
    radial-gradient(80% 100% at 104% 68%, rgba(87, 156, 145, 0.24), transparent 56%),
    radial-gradient(55% 55% at 54% 112%, rgba(114, 107, 145, 0.18), transparent 68%),
    linear-gradient(135deg, #201817 0%, #11191a 52%, #0d1118 100%);
  border-top: 1px solid rgba(241, 235, 221, 0.16);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 -30px 90px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.home .studio::before,
.home .studio::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.home .studio::before {
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background: repeating-linear-gradient(
    102deg,
    rgba(241, 235, 221, 0.12) 0 1px,
    transparent 1px 10px
  );
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.home .studio::after {
  right: -13rem;
  bottom: -18rem;
  z-index: 0;
  width: min(64vw, 54rem);
  aspect-ratio: 1;
  opacity: 0.68;
  background: repeating-radial-gradient(
    circle,
    transparent 0 29px,
    rgba(211, 169, 78, 0.13) 30px 31px
  );
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 72%);
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.home .studio > .section-shell {
  position: relative;
  z-index: 1;
}

.home .studio .section-index {
  color: #b9b8ae;
  border-color: rgba(241, 235, 221, 0.2);
}

.home .studio-statement {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.home .studio-statement > h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 6rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.home .studio-facts {
  display: grid;
  margin: 0;
  gap: 1.25rem;
  align-self: end;
}

.home .studio-facts div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(241, 235, 221, 0.2);
}

.home .studio-facts dt {
  color: #8f948d;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home .studio-facts dd {
  margin: 0.4rem 0 0;
  color: #f1ebdd;
  font-size: 0.86rem;
}

.home .principle {
  min-height: 300px;
  color: #f1ebdd;
  background:
    radial-gradient(circle at 14% 8%, rgba(211, 169, 78, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(52, 38, 31, 0.92), rgba(20, 24, 25, 0.94));
  border: 1px solid rgba(241, 235, 221, 0.13);
  border-radius: 1.25rem;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.home .principle-gradient {
  background:
    radial-gradient(circle at 16% 18%, rgba(211, 169, 78, 0.54), transparent 40%),
    radial-gradient(circle at 86% 76%, rgba(87, 156, 145, 0.46), transparent 48%),
    linear-gradient(145deg, #54372c, #2a3436 54%, #29293a);
}

.home .principle:nth-child(3) {
  background:
    radial-gradient(circle at 88% 16%, rgba(87, 156, 145, 0.28), transparent 44%),
    radial-gradient(circle at 12% 94%, rgba(114, 107, 145, 0.22), transparent 48%),
    linear-gradient(145deg, #1a2c2d, #11171d 68%, #12131c);
}

.home .principle ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  color: #b9b8ae;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home .principle li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(241, 235, 221, 0.14);
}

.home .principle h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1;
}

.home .work {
  position: relative;
  width: min(calc(100% - 2rem), 1440px);
  margin: clamp(5rem, 9vw, 9rem) auto 0;
  padding: clamp(3rem, 5vw, 5rem);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(75% 60% at 8% 3%, rgba(184, 90, 67, 0.26), transparent 62%),
    radial-gradient(65% 60% at 96% 20%, rgba(87, 156, 145, 0.28), transparent 64%),
    radial-gradient(65% 70% at 56% 104%, rgba(114, 107, 145, 0.22), transparent 68%),
    linear-gradient(145deg, #183336 0%, #101d27 52%, #10131e 100%);
  border: 1px solid rgba(232, 225, 211, 0.16);
  border-radius: 2.2rem;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 50px 120px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}

.home .work::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(232, 225, 211, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 225, 211, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 84%, transparent);
}

.home .work .section-index {
  color: #b9b8ae;
  border-color: rgba(232, 225, 211, 0.22);
}

.home .work-heading {
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(5.5rem, 8vw, 8rem);
  align-items: end;
}

.home .work-heading h2 {
  color: #f1ebdd;
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.home .work-disciplines {
  display: grid;
  max-width: 24rem;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0.6rem;
  color: #b9b8ae;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home .work-disciplines li {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(232, 225, 211, 0.22);
}

.home .project-grid {
  --column-gap: clamp(0.9rem, 1.6vw, 1.5rem);
  display: flex;
  width: 100%;
  padding: 0.75rem 0 2rem;
  flex-wrap: wrap;
  column-gap: var(--column-gap);
  row-gap: clamp(5rem, 8vw, 7rem);
  align-items: flex-start;
  justify-content: flex-start;
}

.home .project-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0;
  color: inherit;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 22%;
  box-shadow: none;
  isolation: auto;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 280ms ease;
}

.home .project-card--small {
  flex: 0 0 14%;
  aspect-ratio: 1;
}

.home .project-card--large {
  flex: 0 0 23%;
  aspect-ratio: 1;
}

.home .project-card--hero {
  flex: 0 0 40%;
  aspect-ratio: 1;
}

.home .project-card::before,
.home .project-card::after {
  display: none;
  content: none;
}

.home .project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 22%;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.2),
    0 22px 46px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.24);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 280ms ease;
}

.home .project-card[href]:hover {
  z-index: 2;
  box-shadow: none;
  transform: translateY(-7px) scale(1.018);
}

.home .project-card[href]:hover img {
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.16),
    0 30px 58px rgba(0, 0, 0, 0.46),
    0 8px 16px rgba(0, 0, 0, 0.24);
}

.home .project-card[href]:focus-visible {
  outline: none;
}

.home .project-card[href]:focus-visible img {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

.home .project-bindery {
  top: 0;
}

.home .project-evenawl {
  top: 3.5rem;
}

.home .project-caliber {
  top: 0;
}

.home .project-city {
  top: 0;
}

.home .project-prosody {
  top: 4rem;
}

.home .project-tiller {
  top: 3rem;
}

.home .project-traffic {
  top: 0;
}

.home .project-pace {
  top: 4.5rem;
}

.home .project-doubles {
  top: 0;
}

.home .project-temari {
  top: 3.5rem;
}

.home .project-facetpilot {
  top: 0;
}

.home .notices-callout {
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
  margin-top: clamp(8rem, 13vw, 13rem);
}

.home .notice-panel,
.home .notice-orb {
  min-height: 500px;
  border-radius: 1.5rem;
}

.home .notice-panel {
  position: relative;
  color: #f1ebdd;
  overflow: hidden;
  background:
    radial-gradient(70% 58% at 92% 7%, rgba(87, 156, 145, 0.24), transparent 68%),
    radial-gradient(60% 62% at 4% 105%, rgba(184, 90, 67, 0.18), transparent 64%),
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      rgba(241, 235, 221, 0.045) 27px 28px
    ),
    linear-gradient(145deg, #202827 0%, #121b1e 52%, #0d1118 100%);
  border: 1px solid rgba(241, 235, 221, 0.15);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.07),
    0 32px 80px rgba(0, 0, 0, 0.44);
  isolation: isolate;
}

.home .notice-panel::before {
  position: absolute;
  right: -15rem;
  bottom: -17rem;
  z-index: 0;
  width: min(70%, 34rem);
  aspect-ratio: 1;
  content: "";
  opacity: 0.78;
  background: repeating-radial-gradient(
    circle,
    rgba(211, 169, 78, 0.1) 0 1px,
    transparent 1px 16px
  );
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 74%);
  mask-image: radial-gradient(circle, #000, transparent 74%);
}

.home .notice-panel > * {
  position: relative;
  z-index: 1;
}

.home .notice-panel-top {
  color: #b9b8ae;
}

.home .notice-panel h2,
.home .closing h2 {
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  line-height: 0.9;
}

.home .notice-panel h2 {
  margin-top: clamp(4rem, 8vw, 7rem);
  color: #f1ebdd;
}

.home .notice-types {
  display: flex;
  margin: 2rem 0;
  padding: 0;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #b9b8ae;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home .notice-types li {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(241, 235, 221, 0.16);
  border-radius: 999px;
}

.home .notice-panel .pill-link {
  color: #10120f;
  background: #d3a94e;
  border: 1px solid rgba(241, 235, 221, 0.18);
}

.home .notice-panel .pill-link:hover {
  color: #10120f;
  background: #f1ebdd;
}

.home .closing {
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
}

@media (max-width: 980px) {
  .home .hero {
    min-height: auto;
  }

  .home .hero h1 {
    font-size: clamp(4.2rem, 12vw, 7rem);
  }

  .home .hero-canvas {
    width: 100%;
    height: min(58vh, 520px);
  }

  .home .work-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home .studio-facts {
    width: min(100%, 30rem);
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .home .site-header {
    padding: 1rem 1.2rem;
  }

  .home .hero {
    gap: 1.5rem;
    padding: 1.75rem 1.2rem 4rem;
  }

  .home .hero h1 {
    margin: 2rem 0;
    font-size: clamp(3.6rem, 15vw, 4.6rem);
    line-height: 0.84;
  }

  .home .hero-canvas {
    height: 430px;
    border-radius: 1.5rem;
  }

  .home .studio-statement > h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .home .studio-facts {
    width: 100%;
    margin-left: 0;
  }

  .home .principles {
    gap: 0.75rem;
  }

  .home .principle {
    min-height: 250px;
  }

  .home .work {
    width: calc(100% - 0.8rem);
    padding: 2.1rem 0.85rem 3rem;
    border-radius: 1.35rem;
  }

  .home .work::before {
    background-size: 48px 48px;
  }

  .home .work-heading {
    padding: 3rem 0 4rem;
  }

  .home .work-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .home .project-grid {
    --column-gap: 10px;
    padding: 0.25rem 0 1rem;
    row-gap: 3.5rem;
  }

  .home .project-card--small {
    flex-basis: calc((100% - 20px) / 3);
  }

  .home .project-card--large {
    flex-basis: calc((100% - 10px) / 2);
  }

  .home .project-card--hero {
    flex-basis: calc(66.6667% - 3.3333px);
  }

  .home .project-evenawl,
  .home .project-prosody,
  .home .project-doubles,
  .home .project-facetpilot {
    top: 2rem;
  }

  .home .project-tiller {
    top: 1.5rem;
  }

  .home .project-pace {
    top: 0;
  }

  .home .project-temari {
    top: 0;
  }

  .home .notices-callout,
  .home .closing {
    width: min(100% - 2rem, 1280px);
  }

  .home .notice-panel,
  .home .notice-orb {
    min-height: 450px;
  }

  .home .notice-panel h2,
  .home .closing h2 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .project-card,
  .home .project-card img {
    transition: none;
  }
}
