@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-Heavy.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-Italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-BoldItalic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Beaufort for LOL";
  src: url("./assets/fonts/BeaufortforLOL-HeavyItalic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 900;
}

:root {
  --site-font: "Beaufort for LOL", "BeaufortforLOL", "Times New Roman", serif;
  --body-font: "Fira Sans", Arial, sans-serif;
  --cyan: #bcfaff;
  --cyan-deep: #7be1df;
  --magenta: #CD234F;
  --magenta-dark: #CD234F;
  --lavender: #BAD6FE;
  --violet: #7664c8;
  --ink: #CD234F;
  --white: #fffaf7;
  --text: #3d2e54;
  --shadow: 0 24px 60px rgba(115, 74, 132, 0.18);
  --page-shell-width: calc(100vw - 10px);
  --section-content-edge: clamp(72px, 8.55vw, 164px);
  --site-header-height: clamp(122px, 8vw, 154px);
  --diamond-size: 14px;
  --diamond-gap: 168.17px;
  --diamond-rail-inset: 42px;
  --diamond-pattern: url("data:image/svg+xml,%3Csvg width='11.17' height='168.17' viewBox='0 0 11.17 168.17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.585 0 11.17 5.585 5.585 11.17 0 5.585Z' fill='%23CD234F'/%3E%3C/svg%3E");
  --motion-ease: cubic-bezier(0.18, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: #bcfaff;
  font-family: var(--site-font);
  overflow-x: hidden;
  overflow-x: clip;
  -ms-overflow-style: none;
}

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

.site-header,
.site-footer {
  color: var(--white);
  background: var(--magenta);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 68px);
  height: var(--site-header-height);
  padding: clamp(20px, 1.55vw, 30px) clamp(34px, 2.65vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(205px, 13.6vw, 260px);
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(34px, 3.7vw, 72px);
  min-width: 0;
  font-family: var(--site-font);
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding: 8px 0;
  font-weight: 500;
  background-image: linear-gradient(#bcfaff, #bcfaff);
  background-repeat: no-repeat;
  background-position: left calc(100% - 2px);
  background-size: 0 2px;
  transition:
    color 180ms var(--motion-ease),
    background-size 220ms var(--motion-ease);
}

.nav-links a::before {
  height: 0;
  overflow: hidden;
  font-weight: 700;
  content: attr(data-label);
  visibility: hidden;
}

.nav-links a::after {
  position: absolute;
  inset: 8px 0 auto;
  font-weight: 700;
  color: #bcfaff;
  content: attr(data-label);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--motion-ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: transparent;
  background-size: 100% 2px;
  text-decoration: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

main {
  position: relative;
  background: var(--magenta);
}

.diamond-rails {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  pointer-events: none;
}

.diamond-rails.is-pinned {
  position: fixed;
  top: var(--site-header-height);
  bottom: 0;
}

.diamond-rails span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--diamond-size);
  background-image: var(--diamond-pattern);
  background-position-y: 22px;
  background-size: var(--diamond-size) var(--diamond-gap);
  background-repeat: repeat-y;
  opacity: 0.9;
}

.diamond-rails.is-pinned span {
  background-position-y: var(--pinned-diamond-phase, 22px);
}

.diamond-rails span:first-child {
  left: var(--diamond-rail-inset);
}

.diamond-rails span:last-child {
  right: var(--diamond-rail-inset);
}

section {
  position: relative;
  padding-inline: clamp(24px, 8vw, 112px);
}

main > section + section {
  margin-top: -1px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
}

.section-grid > * {
  min-width: 0;
}

.hero {
  display: block;
  width: var(--page-shell-width);
  height: auto;
  aspect-ratio: 1366 / 768;
  min-height: 0;
  margin-inline: auto;
  padding-inline: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  background: var(--cyan);
}

.hero-copy {
  z-index: 2;
  align-self: start;
  position: absolute;
  top: clamp(350px, 24.8vw, 475px);
  left: clamp(92px, 9.8vw, 188px);
  width: auto;
  max-width: none;
}

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

p {
  font-family: var(--body-font);
  font-size: 20px;
}

.section-kicker {
  font-family: var(--site-font);
}

h1 {
  width: 704.04px;
  max-width: calc(100vw - 180px);
  min-height: 216px;
  color: #CD234F;
  font-family: var(--site-font);
  font-size: 52px;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 em {
  font-style: italic;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms var(--motion-ease),
    transform 700ms var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-art.reveal {
  transform: none;
}

.about-visual.reveal,
.focus-card.reveal {
  transform: translateY(38px) scale(0.96);
}

.about-visual.reveal.is-visible,
.focus-card.reveal.is-visible {
  transform: none;
}

.text-reveal .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em);
  transition:
    opacity 520ms var(--motion-ease),
    transform 520ms var(--motion-ease);
  transition-delay: calc(var(--text-delay, 0ms) + (var(--word-index, 0) * 18ms));
  will-change: opacity, transform;
}

.text-reveal.is-visible .reveal-word {
  opacity: 1;
  transform: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-art .hero-illustration {
  object-fit: cover;
}

.hero-phone-art {
  display: none;
}

.about {
  grid-template-columns: minmax(0, 1fr) minmax(560px, 0.82fr);
  align-items: center;
  width: var(--page-shell-width);
  min-height: 930px;
  margin-inline: auto;
  padding: clamp(210px, 12.8vw, 246px) var(--section-content-edge) 120px;
  background: var(--cyan);
}

.section-kicker {
  color: var(--magenta);
  font-size: clamp(24px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.about-copy h2 {
  max-width: 760px;
  color: var(--magenta);
  font-family: var(--site-font);
  font-size: clamp(48px, 4vw, 76px);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: break-word;
}

.about-copy {
  padding-top: 0;
}

.about-copy p {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.about-copy p {
  max-width: 780px;
  margin-top: clamp(44px, 3.6vw, 68px);
}

.about-visual {
  display: block;
  align-self: center;
  justify-self: end;
  width: clamp(430px, 38vw, 580px);
}

.about-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.focus {
  width: var(--page-shell-width);
  min-height: clamp(780px, 60.7vw, 932px);
  margin-inline: auto;
  padding-inline: var(--section-content-edge);
  padding-top: clamp(82px, 6.35vw, 98px);
  padding-bottom: clamp(80px, 5.5vw, 84px);
  background: var(--lavender);
}

.section-heading {
  text-align: center;
}

.focus .section-kicker {
  font-family: var(--site-font);
  font-size: clamp(48px, 4vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 72px);
  width: 100%;
  margin: clamp(48px, 3.25vw, 50px) auto 0;
}

.focus-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.photo {
  position: relative;
  width: clamp(260px, 23.2vw, 356px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lavender);
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
  will-change: transform;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 58%;
  transition:
    filter 280ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.focus-card:hover .photo,
.focus-card:focus-within .photo {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 22px 44px rgba(118, 100, 200, 0.2);
}

.focus-card:hover .photo img,
.focus-card:focus-within .photo img {
  filter: saturate(1.08) contrast(1.03);
  transform: translateY(-8px) rotate(1deg) scale(1.08);
}

.focus-card h3 {
  max-width: 390px;
  margin-top: clamp(66px, 5vw, 76px);
  font-family: var(--site-font);
  font-size: clamp(22px, 1.7vw, 26px);
  font-weight: 900;
  line-height: 1.15;
}

.focus-card p {
  max-width: 385px;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.36;
}

.work-scroll {
  height: 205svh;
  scroll-margin-top: var(--site-header-height);
  padding-inline: 0;
  background: var(--magenta);
}

.work {
  position: sticky;
  top: var(--site-header-height);
  z-index: 9;
  display: grid;
  width: var(--page-shell-width);
  height: 120svh;
  min-height: 0;
  align-items: center;
  justify-items: center;
  margin-inline: auto;
  padding: clamp(136px, 11vw, 190px) 0;
  overflow: hidden;
  background: var(--cyan);
}

.work-bubble {
  position: absolute;
  display: grid;
  aspect-ratio: 1;
  align-content: center;
  justify-items: center;
  left: var(--work-left);
  top: var(--work-top);
  width: var(--work-size);
  height: var(--work-size);
  padding: var(--work-padding);
  color: #cfffff;
  text-align: center;
  border-radius: 50%;
  background: var(--bubble-fill);
  opacity: var(--work-opacity);
  visibility: var(--work-visibility, visible);
  pointer-events: var(--work-pointer-events, auto);
  transform: var(--work-transform);
  transition:
    left 360ms cubic-bezier(0.3, 0, 0.2, 1),
    top 360ms cubic-bezier(0.3, 0, 0.2, 1),
    width 360ms cubic-bezier(0.3, 0, 0.2, 1),
    height 360ms cubic-bezier(0.3, 0, 0.2, 1),
    padding 360ms cubic-bezier(0.3, 0, 0.2, 1),
    opacity 120ms ease,
    background-color 180ms ease,
    transform 360ms cubic-bezier(0.3, 0, 0.2, 1);
  will-change: left, top, width, height, opacity, transform;
}

.work-bubble.no-motion {
  transition: none !important;
}

.work-bubble.is-center {
  --work-left: 50%;
  --work-top: 40%;
  --work-size: clamp(450px, 34vw, 650px);
  --work-padding: clamp(58px, 5vw, 100px);
  --work-opacity: 1;
  --work-transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
}

.work-bubble.is-left,
.work-bubble.is-right,
.work-bubble.is-hidden,
.work-bubble.is-hidden-left,
.work-bubble.is-hidden-right {
  --work-size: clamp(430px, 31vw, 610px);
  --work-padding: clamp(64px, 5.5vw, 104px);
  --work-opacity: 0.98;
  z-index: 1;
}

.work-bubble.is-left {
  --work-left: 0;
  --work-top: 58%;
  --work-transform: translate(-50%, -50%) rotate(-16deg);
}

.work-bubble.is-right {
  --work-left: 100%;
  --work-top: 58%;
  --work-transform: translate(-50%, -50%) rotate(16deg);
}

.work-bubble.is-hidden,
.work-bubble.is-hidden-right {
  --work-left: 100%;
  --work-top: 58%;
  --work-pointer-events: none;
  --work-transform: translate(8%, -50%) rotate(16deg);
  z-index: 0;
}

.work-bubble.is-hidden-left {
  --work-left: 0;
  --work-top: 58%;
  --work-pointer-events: none;
  --work-transform: translate(-108%, -50%) rotate(-16deg);
  z-index: 0;
}

.work-bubble-primary {
  --bubble-fill: #CD234F;
}

.work-bubble-shared {
  --bubble-fill: #8977dc;
}

.work-bubble-thought {
  --bubble-fill: #a296d5;
}

.work-bubble-knowledge {
  --bubble-fill: #7768b9;
}

.work-bubble h2,
.work-bubble h3 {
  color: #cfffff;
  font-family: var(--site-font);
  font-size: clamp(38px, 3.15vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  max-width: 430px;
}

.work-bubble p {
  max-width: 450px;
  margin-top: clamp(24px, 2vw, 34px);
  color: #d5ffff;
  font-family: var(--body-font);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.45;
}

.council {
  width: var(--page-shell-width);
  min-height: clamp(760px, 47.85vw, 918px);
  margin-inline: auto;
  padding-inline: var(--section-content-edge);
  padding-top: clamp(150px, 10.05vw, 193px);
  padding-bottom: clamp(110px, 9vw, 172px);
  background: var(--lavender);
}

.council .section-kicker,
.contact .section-kicker {
  font-family: var(--site-font);
  font-size: clamp(48px, 4vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.logo-row {
  --logo-gap: clamp(32px, 2.5vw, 48px);
  overflow: hidden;
  width: 100%;
  margin: clamp(146px, 8.95vw, 172px) auto 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  width: max-content;
  gap: var(--logo-gap);
  animation: logo-scroll 24s linear infinite;
  will-change: transform;
}

.logo-set {
  display: flex;
  flex: 0 0 auto;
  gap: var(--logo-gap);
  align-items: center;
}

.logo-set span {
  display: grid;
  position: relative;
  flex: 0 0 auto;
  width: clamp(174px, 13.14vw, 252px);
  aspect-ratio: 1;
  place-items: center;
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
}

.logo-set img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--logo-gap) / 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-art.reveal,
  .about-visual.reveal,
  .focus-card.reveal,
  .text-reveal .reveal-word {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .photo,
  .photo img {
    transition: none;
    animation: none;
  }

  .logo-track {
    animation: none;
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(420px, 1fr);
  gap: clamp(60px, 5vw, 96px);
  width: var(--page-shell-width);
  min-height: clamp(325px, 30.45vw, 585px);
  margin-inline: auto;
  align-items: center;
  padding: clamp(118px, 12.9vw, 248px) var(--section-content-edge)
    clamp(92px, 8.8vw, 170px);
  background: var(--cyan);
}

.contact.section-grid {
  grid-template-columns: minmax(300px, 560px) minmax(420px, 1fr);
}

.contact a {
  justify-self: end;
  max-width: 100%;
  font-family: var(--site-font);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 700;
  line-height: 64px;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 280px;
  padding: 88px clamp(34px, 2.4vw, 46px) 70px;
  color: var(--white);
  background: var(--magenta);
}

.footer-left,
.footer-right {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.footer-logo {
  width: clamp(220px, 16.3vw, 250px);
}

.site-footer p {
  color: var(--white);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
}

.site-footer p .reveal-word {
  opacity: 1;
  transform: none;
}

.site-footer strong {
  font-weight: 600;
}

.footer-right {
  justify-items: end;
  text-align: right;
  margin-top: 12px;
}

.koan-link {
  display: grid;
  width: 100%;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.koan-wordmark {
  display: block;
  width: 194px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 760px) {
  :root {
    --page-shell-width: calc(100vw - 32px);
  }

  .section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  }

  .about-visual {
    align-self: center;
  }
}

@media (min-width: 1041px) {
  .about {
    min-height: clamp(700px, 42vw, 800px);
    padding-top: clamp(96px, 6.8vw, 130px);
    padding-bottom: clamp(92px, 6.2vw, 118px);
  }

  .about-copy h2 {
    width: 514px;
    max-width: 100%;
    min-height: 64px;
    font-size: 60px;
    line-height: 64px;
    white-space: nowrap;
  }

  .about-copy p {
    width: 568.59px;
    max-width: 100%;
    margin-top: 34px;
    font-size: 24px;
    line-height: 33px;
  }

  .about-visual {
    width: min(100%, 661.82px);
    margin-right: 0;
  }
}

@media (max-width: 1040px) {
  .about {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-visual {
    justify-self: center;
    margin-top: 72px;
  }

  .council {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 126px;
  }

  .logo-row {
    margin-top: 104px;
  }
}

@media (max-width: 900px) {
  .contact,
  .contact.section-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact a {
    justify-self: start;
  }
}

@media (min-width: 760px) and (max-width: 1040px) {
  :root {
    --section-content-edge: clamp(48px, 7vw, 76px);
    --site-header-height: clamp(96px, 11vw, 116px);
    --diamond-rail-inset: 30px;
  }

  .site-header {
    gap: clamp(18px, 2.6vw, 28px);
    padding: 18px clamp(28px, 4vw, 42px);
  }

  .brand-logo {
    width: clamp(172px, 22vw, 210px);
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: clamp(16px, 2.2vw, 26px);
    font-size: clamp(14px, 1.7vw, 17px);
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    aspect-ratio: auto;
    height: clamp(660px, 81vw, 820px);
  }

  .hero-copy {
    top: clamp(300px, 32vw, 360px);
    left: clamp(78px, 10vw, 112px);
    max-width: min(470px, calc(100vw - 170px));
  }

  .hero h1 {
    width: auto;
    max-width: min(470px, calc(100vw - 170px));
    min-height: 0;
    font-size: clamp(34px, 4.2vw, 44px);
    line-height: 1.06;
  }

  .hero-art img {
    left: 50%;
    width: clamp(980px, 138vw, 1280px);
    max-width: none;
    transform: translateX(-50%);
  }

  .about {
    padding-top: clamp(86px, 10vw, 112px);
    padding-bottom: clamp(88px, 10vw, 112px);
  }

  .about-copy h2,
  .focus .section-kicker,
  .council .section-kicker,
  .contact .section-kicker {
    font-size: clamp(48px, 6vw, 62px);
  }

  .about-copy p {
    max-width: 680px;
    margin-top: 34px;
    font-size: 19px;
  }

  .about-visual {
    width: min(100%, 560px);
    margin-top: 52px;
  }

  .focus {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 92px;
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 760px;
    margin-top: 58px;
  }

  .focus-card {
    grid-template-columns: clamp(200px, 28vw, 250px) minmax(0, 1fr);
    column-gap: clamp(34px, 5vw, 54px);
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .photo {
    grid-row: 1 / span 2;
    width: clamp(200px, 28vw, 250px);
  }

  .focus-card h3 {
    max-width: 430px;
    margin-top: 0;
    font-size: clamp(24px, 3vw, 28px);
  }

  .focus-card p {
    max-width: 440px;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.4;
  }

  .work-scroll {
    height: 185svh;
  }

  .work {
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
    padding: 100px 0;
  }

  .work-bubble.is-center {
    --work-top: 47%;
    --work-size: clamp(390px, 52vw, 520px);
    --work-padding: clamp(54px, 7vw, 78px);
  }

  .work-bubble.is-left,
  .work-bubble.is-right,
  .work-bubble.is-hidden,
  .work-bubble.is-hidden-left,
  .work-bubble.is-hidden-right {
    --work-size: clamp(360px, 48vw, 480px);
    --work-padding: clamp(48px, 6vw, 70px);
  }

  .work-bubble h2,
  .work-bubble h3 {
    max-width: 340px;
    font-size: clamp(34px, 4.2vw, 44px);
  }

  .work-bubble p {
    max-width: 350px;
    font-size: clamp(15px, 2vw, 18px);
  }

  .council {
    padding-top: 104px;
    padding-bottom: 110px;
  }

  .logo-row {
    --logo-gap: 26px;
    margin-top: 78px;
  }

  .logo-set span {
    width: clamp(150px, 19vw, 190px);
  }

  .contact {
    min-height: 300px;
    padding-top: 82px;
    padding-bottom: 80px;
  }

  .contact a {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.3;
  }

  .site-footer {
    min-height: 240px;
    padding: 64px clamp(34px, 4vw, 46px) 56px;
  }

  .site-footer > div,
  .site-footer > div.reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (min-width: 760px) and (max-width: 1040px) and (orientation: landscape) {
  .hero {
    height: clamp(660px, 72vw, 740px);
  }

  .hero-copy {
    top: clamp(300px, 32vw, 340px);
    max-width: min(560px, calc(100vw - 190px));
  }

  .hero h1 {
    max-width: min(560px, calc(100vw - 190px));
  }
}

@media (max-width: 759px) {
  :root {
    --site-header-height: clamp(104px, 26.44vw, 147px);
    --diamond-size: 6px;
    --diamond-gap: 61px;
    --diamond-rail-inset: 11.5px;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  body.is-menu-open .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
  }

  .site-header {
    height: var(--site-header-height);
    min-height: 0;
    align-items: flex-start;
    gap: 10px;
    padding: clamp(21px, 5.4vw, 30px) clamp(28px, 5.4vw, 30px) 0;
  }

  .brand-logo {
    width: clamp(158px, 35.6vw, 198px);
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    --menu-bar-width: clamp(27px, 6.8vw, 38px);
    --menu-bar-height: clamp(4px, 0.9vw, 5px);
    --menu-open-shift: clamp(8.5px, 2.15vw, 12px);
    position: absolute;
    top: 50%;
    right: clamp(25px, 6.5vw, 36px);
    z-index: 32;
    display: inline-flex;
    flex-direction: column;
    width: var(--menu-bar-width);
    height: clamp(21px, 5.2vw, 29px);
    padding: 0;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .menu-toggle span {
    display: block;
    width: var(--menu-bar-width);
    height: var(--menu-bar-height);
    border-radius: 999px;
    background: var(--white);
    transition:
      opacity 180ms var(--motion-ease),
      transform 220ms var(--motion-ease);
  }

  .site-header.is-menu-open .menu-toggle span:first-child {
    transform: translateY(var(--menu-open-shift)) rotate(45deg);
  }

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

  .site-header.is-menu-open .menu-toggle span:last-child {
    transform: translateY(calc(-1 * var(--menu-open-shift))) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: var(--site-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: clamp(58px, 15.4vw, 120px) clamp(32px, 8vw, 68px)
      clamp(26px, 6vw, 42px);
    color: var(--white);
    background: var(--magenta);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms var(--motion-ease),
      transform 220ms var(--motion-ease);
  }

  .site-header.is-menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu a {
    display: block;
    width: 175px;
    height: 64px;
    padding: 0;
    color: var(--white);
    font-family: var(--site-font);
    font-size: 32px;
    font-weight: 500;
    line-height: 64px;
    overflow: visible;
    white-space: nowrap;
  }

  .mobile-menu a + a {
    margin-top: -8px;
  }

  .mobile-menu-copy {
    margin-top: auto;
    color: rgba(255, 250, 247, 0.72);
    font-size: clamp(15px, 3.8vw, 22px);
    line-height: 1.25;
  }

  section {
    padding-inline: clamp(24px, 7vw, 30px);
  }

  .about {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    min-height: 0;
    padding: clamp(46px, 12vw, 72px) clamp(34px, 8.8vw, 68px)
      clamp(56px, 14vw, 88px);
    scroll-margin-top: var(--site-header-height);
    text-align: center;
  }

  .about.section-grid {
    gap: 0;
  }

  .focus,
  .council,
  .contact {
    padding-inline: clamp(24px, 7vw, 30px);
  }

  .about-copy h2 {
    width: min(100%, 292.58px);
    min-height: 64px;
    max-width: 292.58px;
    margin-inline: auto;
    font-size: 30px;
    font-weight: 700;
    line-height: 64px;
    white-space: nowrap;
  }

  .about-copy p {
    width: min(100%, 307.19px);
    max-width: 307.19px;
    margin: clamp(14px, 4vw, 24px) auto 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-visual {
    justify-self: center;
    width: min(100%, calc(100vw - 68px), 320px);
    margin-top: 38px;
  }

  .focus {
    min-height: 180svh;
    padding-top: clamp(54px, 14vw, 84px);
    padding-bottom: clamp(110px, 28vw, 180px);
  }

  .focus .section-kicker {
    width: min(100%, 292.58px);
    min-height: 64px;
    margin-inline: auto;
    font-size: 28px;
    font-weight: 700;
    line-height: 64px;
    white-space: nowrap;
  }

  .focus .section-heading {
    position: sticky;
    top: calc(var(--site-header-height) - 2vw);
    z-index: 13;
    margin-inline: 0;
    padding: 0;
    background: var(--lavender);
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: clamp(82px, 24vw, 132px);
    width: 100%;
    margin-top: clamp(18px, 5vw, 34px);
  }

  .focus-card {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .photo {
    width: min(calc(100vw - 104px), 286px);
    background: transparent;
  }

  .photo img {
    object-fit: contain;
  }

  .focus-card h3 {
    max-width: 307.19px;
    margin-top: clamp(42px, 11vw, 66px);
    color: var(--magenta);
    font-family: var(--site-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.18;
  }

  .focus-card p {
    max-width: 307.19px;
    margin-top: clamp(22px, 6vw, 36px);
    color: var(--magenta);
    font-size: 14px;
    line-height: 22px;
  }

  .council {
    padding-top: 74px;
    padding-bottom: 76px;
  }

  .council .section-kicker,
  .contact .section-kicker {
    font-family: var(--site-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 64px;
  }

  .logo-row {
    --logo-gap: 18px;
    margin-top: 44px;
  }

  .logo-set span {
    width: 132px;
  }

  .hero {
    --phone-hero-height: calc(100svh - var(--site-header-height));
    aspect-ratio: auto;
    height: var(--phone-hero-height);
    min-height: 0;
    overflow: hidden;
  }

  .hero-copy {
    position: absolute;
    top: 43%;
    left: clamp(30px, 8vw, 40px);
    right: clamp(30px, 8vw, 40px);
    width: auto;
    max-width: min(310px, calc(100vw - 68px));
    padding: 0;
  }

  .hero h1 {
    width: auto;
    max-width: min(310px, calc(100vw - 68px));
    min-height: 0;
    font-size: 25px;
    line-height: 33px;
    letter-spacing: 0;
  }

  .hero-art img {
    width: 100%;
  }

  .hero-art .hero-illustration {
    display: none;
  }

  .hero-phone-art {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 375 / 809;
    transform: translateX(-50%);
  }

  .hero-phone-art img {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
  }

  .hero-phone-art .hero-phone-upper {
    top: clamp(-116px, -12svh, -88px);
    bottom: auto;
  }

  .hero-phone-art .hero-phone-lower {
    top: auto;
    bottom: clamp(-24px, -3svh, -12px);
  }

  @media (max-height: 700px) {
    .hero {
      height: var(--phone-hero-height);
    }

    .hero-copy {
      top: 36%;
    }

    .hero-phone-art .hero-phone-upper {
      top: clamp(-198px, -30svh, -176px);
    }

    .hero-phone-art .hero-phone-lower {
      left: 58%;
      width: 92%;
      bottom: -72px;
      transform: translateX(-50%);
    }
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .focus-card h3 {
    max-width: min(100%, 300px);
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.16;
    text-wrap: balance;
    overflow-wrap: break-word;
  }

  .focus-card p {
    max-width: min(100%, 300px);
    margin-top: 16px;
    font-size: 17px;
    line-height: 26px;
    overflow-wrap: break-word;
  }

  .work-scroll {
    height: auto;
  }

  .work {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    gap: 24px;
    padding: 124px clamp(10px, 3vw, 24px);
  }

  .work-bubble {
    --work-mobile-size: min(calc(100vw - 58px), 410px);
    position: relative;
    inset: auto;
    width: var(--work-mobile-size);
    max-width: 100%;
    height: var(--work-mobile-size);
    padding: clamp(38px, 11vw, 56px);
    transform: none;
  }

  .work-bubble.is-center,
  .work-bubble.is-left,
  .work-bubble.is-right,
  .work-bubble.is-hidden,
  .work-bubble.is-hidden-left,
  .work-bubble.is-hidden-right {
    left: auto;
    top: auto;
    width: var(--work-mobile-size);
    max-width: 100%;
    height: var(--work-mobile-size);
    padding: clamp(38px, 11vw, 56px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .work-bubble.is-center,
  .work-bubble.is-left,
  .work-bubble.is-right,
  .work-bubble.is-hidden,
  .work-bubble.is-hidden-left,
  .work-bubble.is-hidden-right {
    background: var(--bubble-fill);
  }

  .work-bubble h2,
  .work-bubble h3 {
    max-width: 280px;
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .work-bubble p {
    max-width: 280px;
    margin-top: 18px;
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.42;
  }

  .logo-row {
    width: 100%;
    margin-top: 44px;
  }

  .contact {
    gap: 22px;
    min-height: 250px;
    padding: 68px clamp(24px, 7vw, 30px) 66px;
  }

  .contact a {
    font-size: 14px;
    line-height: 1.4;
  }

  .site-footer {
    z-index: 50;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    height: clamp(132px, 34.8vw, 172px);
    min-height: 0;
    padding: clamp(22px, 5.6vw, 34px) clamp(24px, 6.2vw, 54px)
      clamp(22px, 5.5vw, 32px);
  }

  .site-footer > div,
  .site-footer > div.reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-footer .footer-logo {
    width: clamp(112px, 28vw, 142px);
  }

  .footer-left {
    order: 1;
    max-width: 46%;
    justify-items: start;
    text-align: left;
  }

  .footer-right {
    order: 2;
    max-width: 44%;
    justify-items: end;
    text-align: right;
  }

  .koan-wordmark {
    width: clamp(92px, 25vw, 120px);
  }

  .site-footer p {
    max-width: 154px;
    font-size: 9px;
    line-height: 1.28;
  }

}

@media (max-width: 440px) {
  .site-footer {
    padding-inline: 18px;
  }

  .site-header {
    padding-inline: clamp(21px, 5.4vw, 30px);
  }

  .site-header .brand-logo {
    width: clamp(158px, 35.6vw, 198px);
  }

  .nav-links {
    display: none;
  }

  .about,
  .focus,
  .council,
  .contact {
    padding-inline: 24px;
  }

  .about {
    padding-inline: clamp(34px, 8.8vw, 68px);
  }

  .about-visual {
    width: min(100%, calc(100vw - 68px), 320px);
  }

}

@media (max-width: 360px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 25px;
  }

}
