:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-20: 5rem;

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-card: 24px;
  --sns-icon-size: 44px;
  --sns-icon-padding: 6px;
  --sns-icon-radius: 12px;
  --sns-icon-image-radius: 8px;

  --border-thin: 1px solid var(--color-border);
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.04);

  --font-body: "LINE Seed JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --copy-font-size: 15px;

  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-card: #ffffff;
  --color-card-hover: rgba(0, 0, 0, 0.04);
  --color-text: #000000;
  --color-muted: rgba(0, 0, 0, 0.6);
  --color-border: rgba(0, 0, 0, 0.12);
  --color-card-border: rgba(0, 0, 0, 0.12);
  --color-accent: #000000;
  --color-accent-soft: rgba(0, 0, 0, 0.08);
  --color-link: #000000;
  --color-chip: rgba(0, 0, 0, 0.04);

  --container-max: 1440px;
  --shell-padding: clamp(16px, 4vw, 36px);
  --grid-gap: 16px;
  --grid-cols-mobile: 4;
  --grid-cols-tablet: 8;
  --grid-cols-desktop: 12;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.inverting-cursor {
  display: none;
}

a {
  color: var(--color-link);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
li,
a,
dd {
  overflow-wrap: anywhere;
}

.site-shell {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding: var(--shell-padding);
}

.site-header-shell {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding: var(--shell-padding);
  padding-bottom: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 32px;
}

.site-header a {
  text-decoration: none;
  color: inherit;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  color: var(--color-muted);
  font-weight: 400;
  letter-spacing: 0;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease;
  transform-origin: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-fill-color: var(--color-muted);
}

@media (hover: hover) and (pointer: fine) {
  html.has-inverting-cursor,
  html.has-inverting-cursor body,
  html.has-inverting-cursor a,
  html.has-inverting-cursor button,
  html.has-inverting-cursor select,
  html.has-inverting-cursor summary,
  html.has-inverting-cursor [role="button"] {
    cursor: none;
  }

  .inverting-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483647;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 1.5px solid #1d1d1f;
    background: transparent;
    box-shadow: none;
    color: #000000;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-999px, -999px, 0);
    transition:
      opacity 160ms ease,
      width 220ms ease,
      height 220ms ease,
      margin 220ms ease,
      border-radius 220ms ease;
    will-change: transform, opacity;
  }

  .inverting-cursor.is-visible {
    opacity: 1;
  }

  .inverting-cursor.is-interactive {
    width: 64px;
    height: 64px;
    margin: -8px 0 0 -8px;
  }

  .inverting-cursor.is-text-target {
    width: 4px;
    height: 24px;
    margin: 12px 0 0 22px;
    border: 1.5px solid #1d1d1f;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
  }

  .inverting-cursor.is-text-link-target {
    margin: 0;
    border-radius: 8px;
    background: transparent;
    transition:
      opacity 160ms ease,
      width 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      height 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      margin 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-radius 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .inverting-cursor.is-close-target {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    transition: opacity 160ms ease;
  }

  .inverting-cursor.is-close-target-expanded {
    border-radius: 20px;
  }

  .inverting-cursor.is-work-card-target {
    border-color: #1d1d1f;
    background: transparent;
    transition:
      opacity 160ms ease,
      width 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      height 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-radius 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .inverting-cursor.is-floating-nav-target {
    transition:
      opacity 160ms ease,
      width 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      height 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-radius 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .inverting-cursor.is-pressed {
    width: 40px;
    height: 40px;
    margin: 4px 0 0 4px;
  }

  .inverting-cursor.is-close-target.is-pressed {
    margin: 0;
  }

}

.site-header__home {
  margin-left: 26px;
}

.site-header__nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
}

.page-detail .site-header-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
}

.side-nav {
  display: none;
}

.side-nav__links {
  display: grid;
  gap: var(--space-3);
}

.side-nav__link {
  color: var(--color-muted);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  text-decoration: none;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease;
  transform-origin: left center;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-fill-color: var(--color-muted);
}

html:not(.is-keyboard-navigation) .side-nav__link:hover,
.side-nav__link:focus-visible {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
}

.site-shell--project {
  padding-top: clamp(12px, 3vw, 28px);
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: none;
}

.site-shell--project .card {
  box-shadow: none;
}

.clothoid-corner {
  overflow: hidden;
  clip-path: polygon(calc(6.945061em * var(--clothoid-scale, 1)) calc(0em * var(--clothoid-scale, 1)),
    calc(100% - calc(6.945061em * var(--clothoid-scale, 1))) calc(0em * var(--clothoid-scale, 1)),
    calc(100% - calc(6.215873em * var(--clothoid-scale, 1))) calc(0.003442em * var(--clothoid-scale, 1)),
    calc(100% - calc(5.487074em * var(--clothoid-scale, 1))) calc(0.025272em * var(--clothoid-scale, 1)),
    calc(100% - calc(4.760333em * var(--clothoid-scale, 1))) calc(0.082315em * var(--clothoid-scale, 1)),
    calc(100% - calc(4.039637em * var(--clothoid-scale, 1))) calc(0.191149em * var(--clothoid-scale, 1)),
    calc(100% - calc(3.333753em * var(--clothoid-scale, 1))) calc(0.372168em * var(--clothoid-scale, 1)),
    calc(100% - calc(2.656185em * var(--clothoid-scale, 1))) calc(0.639069em * var(--clothoid-scale, 1)),
    calc(100% - calc(2.024846em * var(--clothoid-scale, 1))) calc(1.000883em * var(--clothoid-scale, 1)),
    calc(100% - calc(1.463209em * var(--clothoid-scale, 1))) calc(1.463209em * var(--clothoid-scale, 1)),
    calc(100% - calc(1.000883em * var(--clothoid-scale, 1))) calc(2.024846em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.639069em * var(--clothoid-scale, 1))) calc(2.656185em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.372168em * var(--clothoid-scale, 1))) calc(3.333753em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.191149em * var(--clothoid-scale, 1))) calc(4.039637em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.082315em * var(--clothoid-scale, 1))) calc(4.760333em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.025272em * var(--clothoid-scale, 1))) calc(5.487074em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.003442em * var(--clothoid-scale, 1))) calc(6.215873em * var(--clothoid-scale, 1)),
    calc(100% - calc(0.003442em * var(--clothoid-scale, 1))) calc(100% - calc(6.215873em * var(--clothoid-scale, 1))),
    calc(100% - calc(0.025272em * var(--clothoid-scale, 1))) calc(100% - calc(5.487074em * var(--clothoid-scale, 1))),
    calc(100% - calc(0.082315em * var(--clothoid-scale, 1))) calc(100% - calc(4.760333em * var(--clothoid-scale, 1))),
    calc(100% - calc(0.191149em * var(--clothoid-scale, 1))) calc(100% - calc(4.039637em * var(--clothoid-scale, 1))),
    calc(100% - calc(0.372168em * var(--clothoid-scale, 1))) calc(100% - calc(3.333753em * var(--clothoid-scale, 1))),
    calc(100% - calc(0.639069em * var(--clothoid-scale, 1))) calc(100% - calc(2.656185em * var(--clothoid-scale, 1))),
    calc(100% - calc(1.000883em * var(--clothoid-scale, 1))) calc(100% - calc(2.024846em * var(--clothoid-scale, 1))),
    calc(100% - calc(1.463209em * var(--clothoid-scale, 1))) calc(100% - calc(1.463209em * var(--clothoid-scale, 1))),
    calc(100% - calc(2.024846em * var(--clothoid-scale, 1))) calc(100% - calc(1.000883em * var(--clothoid-scale, 1))),
    calc(100% - calc(2.656185em * var(--clothoid-scale, 1))) calc(100% - calc(0.639069em * var(--clothoid-scale, 1))),
    calc(100% - calc(3.333753em * var(--clothoid-scale, 1))) calc(100% - calc(0.372168em * var(--clothoid-scale, 1))),
    calc(100% - calc(4.039637em * var(--clothoid-scale, 1))) calc(100% - calc(0.191149em * var(--clothoid-scale, 1))),
    calc(100% - calc(4.760333em * var(--clothoid-scale, 1))) calc(100% - calc(0.082315em * var(--clothoid-scale, 1))),
    calc(100% - calc(5.487074em * var(--clothoid-scale, 1))) calc(100% - calc(0.025272em * var(--clothoid-scale, 1))),
    calc(100% - calc(6.215873em * var(--clothoid-scale, 1))) calc(100% - calc(0.003442em * var(--clothoid-scale, 1))),
    calc(100% - calc(6.945061em * var(--clothoid-scale, 1))) 100%,
    calc(6.945061em * var(--clothoid-scale, 1)) 100%,
    calc(6.215873em * var(--clothoid-scale, 1)) calc(100% - calc(0.003442em * var(--clothoid-scale, 1))),
    calc(5.487074em * var(--clothoid-scale, 1)) calc(100% - calc(0.025272em * var(--clothoid-scale, 1))),
    calc(4.760333em * var(--clothoid-scale, 1)) calc(100% - calc(0.082315em * var(--clothoid-scale, 1))),
    calc(4.039637em * var(--clothoid-scale, 1)) calc(100% - calc(0.191149em * var(--clothoid-scale, 1))),
    calc(3.333753em * var(--clothoid-scale, 1)) calc(100% - calc(0.372168em * var(--clothoid-scale, 1))),
    calc(2.656185em * var(--clothoid-scale, 1)) calc(100% - calc(0.639069em * var(--clothoid-scale, 1))),
    calc(2.024846em * var(--clothoid-scale, 1)) calc(100% - calc(1.000883em * var(--clothoid-scale, 1))),
    calc(1.463209em * var(--clothoid-scale, 1)) calc(100% - calc(1.463209em * var(--clothoid-scale, 1))),
    calc(1.000883em * var(--clothoid-scale, 1)) calc(100% - calc(2.024846em * var(--clothoid-scale, 1))),
    calc(0.639069em * var(--clothoid-scale, 1)) calc(100% - calc(2.656185em * var(--clothoid-scale, 1))),
    calc(0.372168em * var(--clothoid-scale, 1)) calc(100% - calc(3.333753em * var(--clothoid-scale, 1))),
    calc(0.191149em * var(--clothoid-scale, 1)) calc(100% - calc(4.039637em * var(--clothoid-scale, 1))),
    calc(0.082315em * var(--clothoid-scale, 1)) calc(100% - calc(4.760333em * var(--clothoid-scale, 1))),
    calc(0.025272em * var(--clothoid-scale, 1)) calc(100% - calc(5.487074em * var(--clothoid-scale, 1))),
    calc(0.003442em * var(--clothoid-scale, 1)) calc(100% - calc(6.215873em * var(--clothoid-scale, 1))),
    calc(0.003442em * var(--clothoid-scale, 1)) calc(6.215873em * var(--clothoid-scale, 1)),
    calc(0.025272em * var(--clothoid-scale, 1)) calc(5.487074em * var(--clothoid-scale, 1)),
    calc(0.082315em * var(--clothoid-scale, 1)) calc(4.760333em * var(--clothoid-scale, 1)),
    calc(0.191149em * var(--clothoid-scale, 1)) calc(4.039637em * var(--clothoid-scale, 1)),
    calc(0.372168em * var(--clothoid-scale, 1)) calc(3.333753em * var(--clothoid-scale, 1)),
    calc(0.639069em * var(--clothoid-scale, 1)) calc(2.656185em * var(--clothoid-scale, 1)),
    calc(1.000883em * var(--clothoid-scale, 1)) calc(2.024846em * var(--clothoid-scale, 1)),
    calc(1.463209em * var(--clothoid-scale, 1)) calc(1.463209em * var(--clothoid-scale, 1)),
    calc(2.024846em * var(--clothoid-scale, 1)) calc(1.000883em * var(--clothoid-scale, 1)),
    calc(2.656185em * var(--clothoid-scale, 1)) calc(0.639069em * var(--clothoid-scale, 1)),
    calc(3.333753em * var(--clothoid-scale, 1)) calc(0.372168em * var(--clothoid-scale, 1)),
    calc(4.039637em * var(--clothoid-scale, 1)) calc(0.191149em * var(--clothoid-scale, 1)),
    calc(4.760333em * var(--clothoid-scale, 1)) calc(0.082315em * var(--clothoid-scale, 1)),
    calc(5.487074em * var(--clothoid-scale, 1)) calc(0.025272em * var(--clothoid-scale, 1)),
    calc(6.215873em * var(--clothoid-scale, 1)) calc(0.003442em * var(--clothoid-scale, 1)),
    calc(6.945061em * var(--clothoid-scale, 1)) calc(0em * var(--clothoid-scale, 1)));
}


.bento-card.clothoid-corner {
  --clothoid-scale: 0.16;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-muted);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  margin: 0;
}

.lead {
  color: var(--color-muted);
  margin: var(--space-3) 0 0;
}

.lead-list {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  gap: var(--space-2);
  color: var(--color-muted);
}

.lead-list li {
  margin: 0;
}

.section-title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.masthead {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  gap: var(--space-5);
  padding: clamp(20px, 3.6vw, 34px);
  margin-bottom: clamp(18px, 3.6vw, 30px);
  border: none;
  box-shadow: none;
}

.masthead h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.masthead-subname {
  margin: 0;
}

.masthead-profile {
  display: grid;
  gap: var(--space-3);
}

.profile-avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: contain;
}

.bento-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(var(--grid-cols-mobile), minmax(0, 1fr));
  grid-auto-rows: minmax(80px, auto);
}

.sns-links {
  margin-bottom: calc(var(--grid-gap) + 20px);
}

.sns-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sns-card {
  text-decoration: none;
  color: var(--sns-fg, #ffffff);
  background: var(--sns-bg, #1e2a2b);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 18px 16px;
  min-height: 84px;
}

.sns-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.sns-card.clothoid-corner {
  border-radius: 24px;
  clip-path: inset(0 round 24px);
}

.sns-card::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sns-fg, #ffffff);
  opacity: 0.95;
}

.sns-card__icon {
  width: var(--sns-icon-size);
  height: var(--sns-icon-size);
  border-radius: var(--sns-icon-radius);
  background: rgba(255, 255, 255, 0.25);
  padding: var(--sns-icon-padding);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  align-self: flex-start;
}

.sns-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--sns-icon-image-radius);
  clip-path: inset(0 round var(--sns-icon-image-radius));
  display: block;
}

.sns-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sns-card__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sns-card__account {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
}

.project-sections {
  display: grid;
  gap: calc(var(--grid-gap) + 20px);
}

.home-speaking {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--lh);
}

.home-speaking__heading {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.home-speaking__list {
  grid-column: 1 / -1;
}

.page-home .home-speaking .bento-card__title {
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-home .home-speaking .bento-card__date {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  line-height: var(--lh);
}

.home-speaking__media {
  width: 100%;
}

.home-speaking__media picture,
.home-speaking__media img {
  display: block;
  width: 100%;
}

.home-speaking__media picture.media-skeleton {
  height: auto;
  aspect-ratio: auto;
}

.home-speaking__media img {
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}

.page-home .home-speaking .home-speaking__media,
.page-home .home-speaking .home-speaking__media picture.media-skeleton {
  border-radius: 0;
}

.page-home .home-speaking .home-speaking__media img {
  aspect-ratio: auto;
  object-fit: initial;
}

.home-speaking__empty {
  grid-column: 4 / 10;
  margin: 0;
  color: var(--muted-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.home-speaking__title {
  min-width: 0;
}

.home-speaking__category {
  color: var(--muted-ink);
  text-align: right;
  white-space: nowrap;
}

.project-section {
  display: grid;
  gap: var(--space-3);
}

.project-section__title {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.bento-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
  min-width: 0;
  grid-column: span var(--col-mobile, 4);
  grid-row: span var(--row-mobile, 1);
}

.site-shell:not(.site-shell--project) .bento-card,
.site-shell:not(.site-shell--project) .sns-card {
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 280ms ease,
    border-color 280ms ease;
  will-change: transform;
  transform-origin: center;
}

.site-shell:not(.site-shell--project) .bento-card:active,
.site-shell:not(.site-shell--project) .sns-card:active,
.site-shell:not(.site-shell--project) .bento-card.is-pressed,
.site-shell:not(.site-shell--project) .sns-card.is-pressed {
  transform: translate3d(0, 0, 0) scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  html:not(.is-keyboard-navigation) .site-shell:not(.site-shell--project) .sns-card:hover::before,
  .site-shell:not(.site-shell--project) .sns-card:focus-visible::before {
    opacity: 1;
  }
}

.bento-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0;
  padding: 20px 20px 20px;
  min-width: 0;
}

.bento-card__media picture,
.project-main-media picture,
.description-block--image picture,
.screen-media picture,
.sns-card__icon picture {
  display: block;
  width: 100%;
}

.bento-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 16px;
}

.bento-card__body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  align-content: start;
  min-width: 0;
}

.bento-card__title {
  font-size: clamp(1.02rem, 2.1vw, 1.15rem);
}

.bento-card__date {
  margin: calc(var(--space-2) * -0.3) 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.bento-card__subtitle {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: calc(2 * 1.35em);
  color: #4a4a4a;
}

.bento-card__summary {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 820ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-reveal-preparing {
  transition: none;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.page-home .home-segmented-control.scroll-reveal {
  opacity: 1;
  transform: translateX(-50%);
  filter: none;
  transition: none;
  will-change: auto;
}

.page-home .home-segmented-control.scroll-reveal::before,
.page-home .home-segmented-control.scroll-reveal .home-segmented-control__inner {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.page-home .home-segmented-control.scroll-reveal.is-reveal-preparing::before,
.page-home
  .home-segmented-control.scroll-reveal.is-reveal-preparing
  .home-segmented-control__inner {
  transition: none;
}

.page-home .home-segmented-control.scroll-reveal.is-visible::before,
.page-home
  .home-segmented-control.scroll-reveal.is-visible
  .home-segmented-control__inner {
  opacity: 1;
  transform: none;
}

.page-home .site-shell:not(.site-shell--project) .bento-card.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(1);
  filter: blur(8px);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 820ms ease,
    background-color 280ms ease,
    border-color 280ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.page-home .site-shell:not(.site-shell--project) .bento-card.scroll-reveal.is-reveal-preparing {
  transition: none;
}

.page-home .site-shell:not(.site-shell--project) .bento-card.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--color-chip);
  border: var(--border-thin);
  color: var(--color-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.bento-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-1);
}

.bento-featured {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inline-link {
  text-decoration: none;
  font-weight: 700;
}

.topbar {
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(14px, 3vw, 26px);
}

.project-layout {
  display: grid;
  gap: var(--space-6);
}

.project-layout--detail {
  gap: var(--space-20);
}

.project-main {
  padding: 0;
  overflow: hidden;
  width: min(100%, 750px);
  margin-inline: auto;
}

.project-main-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-main-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 16 / 10;
}

.detail-module {
  padding: 0;
  display: grid;
  gap: var(--space-8);
  border: none;
  border-radius: 0;
  background: transparent;
  width: min(100%, 750px);
  margin-inline: auto;
}

.detail-module__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
}

.project-detail-nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
  min-width: 0;
  min-height: calc(var(--bl) * 5);
}

.project-detail-nav__link {
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: var(--lh);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease;
  transform-origin: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-fill-color: var(--muted-ink);
}

.project-detail-nav__count {
  color: var(--muted-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
  white-space: nowrap;
  -webkit-text-fill-color: var(--muted-ink);
}

.project-detail-nav__link--disabled {
  opacity: 0.28;
  pointer-events: none;
}

.site-header__link:active,
.site-header__link.is-pressed,
.side-nav__link:active,
.side-nav__link.is-pressed,
.project-detail-nav__link:not(.project-detail-nav__link--disabled):active,
.project-detail-nav__link.is-pressed {
  transform: scale(0.94);
}

.page-detail .side-nav .project-detail-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  justify-content: start;
  min-height: auto;
  margin-top: var(--lh);
}

.page-detail .side-nav .project-detail-nav__link,
.page-detail .side-nav .project-detail-nav__count {
  min-height: calc(var(--lh) * 2);
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: var(--lh);
}

.detail-module__list {
  margin: 0;
  display: grid;
  gap: var(--space-4);
  font-size: 0.875rem;
}

.detail-module__row {
  display: grid;
  gap: var(--space-2);
}

.detail-module__row--meta {
  grid-template-columns: 1fr;
  gap: var(--space-1);
  align-items: start;
}

.detail-module__meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  min-width: 0;
  color: var(--color-text);
}

.detail-module__row dt {
  margin: 0;
  color: var(--color-text);
  letter-spacing: 0;
}

.detail-module__row dt::after {
  content: ":";
}

.detail-module__row dd {
  margin: 0;
  min-width: 0;
  color: var(--color-text);
}

.description-section {
  display: grid;
  gap: var(--space-3);
  width: min(100%, 750px);
  margin-inline: auto;
}

.description-flow {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

.description-item {
  display: grid;
  gap: clamp(18px, 2.8vw, 28px);
}

.description-item__copy {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.description-item__content {
  display: grid;
  gap: clamp(18px, 2.8vw, 28px);
}

.description-item__media-group {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.description-item__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--aspect, 16 / 10);
}

.description-item__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: var(--fit, contain);
  aspect-ratio: var(--aspect, 16 / 10);
}

.description-block {
  overflow: hidden;
}

.description-block--image {
  padding: 0;
}

.description-block--video {
  padding: 0;
}

.description-block--video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--aspect, 16 / 9);
  object-fit: var(--fit, contain);
}

.description-block--link {
  padding: 0;
}

.description-block--embed {
  padding: 0;
}

.docswell-link {
  margin-top: var(--space-2);
  font-size: 13px;
  line-height: var(--lh);
}

.docswell-link a {
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.description-block--youtube {
  position: relative;
  aspect-ratio: 16 / 9;
}

.description-block--youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.description-block--instagram {
  display: flex;
  justify-content: center;
}

.instagram-embed-frame {
  position: relative;
  width: min(100%, 540px) !important;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  margin: 0 auto !important;
}

.description-block--instagram .instagram-media,
.instagram-embed-frame iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
}

.media-skeleton,
.media-embed-skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(244, 244, 241, 0.08);
}

picture.media-skeleton {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--aspect, 16 / 9);
}

picture.media-skeleton.is-loaded {
  height: auto;
  aspect-ratio: auto;
}

.media-skeleton::before,
.media-embed-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    100deg,
    rgba(244, 244, 241, 0.04) 20%,
    rgba(244, 244, 241, 0.16) 42%,
    rgba(244, 244, 241, 0.04) 64%
  );
  background-size: 220% 100%;
  animation: media-skeleton-shimmer 1.4s linear infinite;
  opacity: 1;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.media-skeleton img,
.media-embed-skeleton iframe,
.media-embed-skeleton .instagram-media {
  opacity: 0;
  transition: opacity 240ms ease;
}

.media-skeleton.is-loaded,
.media-embed-skeleton.is-loaded {
  background: transparent;
}

.media-skeleton.is-loaded::before,
.media-embed-skeleton.is-loaded::before {
  opacity: 0;
  animation: none;
}

.media-skeleton.is-loaded img,
.media-embed-skeleton.is-loaded iframe,
.media-embed-skeleton.is-loaded .instagram-media {
  opacity: 1;
}

@keyframes media-skeleton-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-skeleton::before,
  .media-embed-skeleton::before {
    animation: none;
  }
}

.description-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  min-height: calc(var(--lh) * 3);
  padding: calc(var(--bl) * 2) 0;
  color: var(--color-text);
  text-decoration: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.description-link-card:active {
  transform: scale(0.985);
}

.description-link-card__content {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}

.description-link-card__label {
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.description-link-card__note {
  color: var(--color-muted);
  font-size: 13px;
  line-height: var(--lh);
}

.description-link-card__arrow {
  font-size: 15px;
  line-height: var(--lh);
}

.description-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--aspect, 16 / 10);
}

.description-image img {
  width: 100%;
  height: auto;
  object-fit: var(--fit, contain);
  aspect-ratio: var(--aspect, 16 / 10);
}

.description-block--text {
  padding-block: clamp(10px, 1.8vw, 22px);
  display: grid;
  gap: var(--space-5);
  border: none;
  border-radius: 0;
  background: transparent;
}

.description-block__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.description-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.description-subtitle > span {
  display: inline-block;
}

.description-block__title > span {
  display: inline-block;
}

.description-body-group {
  display: grid;
  gap: var(--space-1);
}

.description-list {
  margin: 0;
  padding-left: 1.1em;
  list-style: disc;
}

.description-list__item {
  padding-left: 0.15em;
}

.description-list__item::marker {
  color: currentColor;
}

.description-body {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  white-space: pre-line;
}

.description-body a {
  color: currentColor;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.description-image__caption {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero {
  display: grid;
  gap: var(--space-5);
  padding: clamp(16px, 3vw, 28px);
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
}

.cta-row {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.58rem 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  background: var(--color-accent);
}

.button--ghost {
  color: var(--color-accent);
  background: transparent;
  border-color: color-mix(in oklab, var(--color-accent), transparent 40%);
}

.hero-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
  border: var(--border-thin);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 16 / 10;
}

.facts-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact-card {
  padding: var(--space-4);
}

.fact-card dt {
  color: var(--color-muted);
  font-size: 0.83rem;
  margin-bottom: var(--space-2);
}

.fact-card dd {
  margin: 0;
  font-weight: 700;
}

.screens-layout {
  display: grid;
  gap: var(--space-4);
}

.screen {
  overflow: hidden;
}

.screen-media {
  aspect-ratio: var(--aspect, 16 / 10);
  border-bottom: var(--border-thin);
  overflow: hidden;
}

.screen-media img,
.screen-media video {
  width: 100%;
  height: auto;
  object-fit: var(--fit, contain);
  aspect-ratio: var(--aspect, 16 / 10);
  background: color-mix(in oklab, var(--color-chip), #fff 20%);
}

.screen-caption {
  padding: var(--space-3) var(--space-4);
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screens-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-list {
  padding: var(--space-5);
}

.stack-list ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: var(--space-2);
}

.stack-list li {
  color: var(--color-text);
}

.note-grid,
.links-grid {
  display: grid;
  gap: var(--space-4);
}

.note-card,
.link-card {
  padding: var(--space-4);
}

.note-card p,
.link-card p {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
}

.profile-layout {
  width: min(100%, 750px);
  margin-inline: auto;
  display: grid;
  gap: var(--space-20);
}

.profile-section {
  display: grid;
  gap: var(--space-6);
}

.profile-section__body {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.profile-page-title {
  margin: 0;
  font-size: clamp(1.2rem, 3.0vw, 1.75rem);
  line-height: 1.2;
}

.profile-page-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.profile-description {
  display: grid;
  gap: var(--space-3);
}

.profile-description__body {
  margin: 0;
  line-height: 1.8;
}

.profile-inline-text {
  margin: 0;
  line-height: 1.8;
  color: var(--color-muted);
}

.profile-section__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.2;
}

.career-list {
  display: grid;
  gap: var(--space-3);
}

.profile-link-list {
  display: grid;
  gap: var(--space-3);
}

.career-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.profile-link-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.career-item__period,
.career-item__title,
.profile-link-item__label,
.profile-link-item__note {
  margin: 0;
}

.career-item__period {
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.career-item__title {
  line-height: 1.6;
}

.profile-link-item__label {
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.profile-link-item__body {
  display: grid;
  gap: var(--space-1);
}

.profile-link-item__note {
  color: var(--color-muted);
  line-height: 1.6;
}

.profile-empty {
  margin: 0;
  color: var(--color-muted);
}

.profile-sns-links {
  margin-bottom: 0;
}

.site-footer {
  margin-top: var(--space-8);
  color: var(--color-muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .site-shell:not(.site-shell--project) .bento-card,
  .site-shell:not(.site-shell--project) .sns-card {
    transition-duration: 120ms;
    animation: none;
  }

  .scroll-reveal {
    transform: translate3d(0, 8px, 0);
    filter: none;
    transition:
      opacity 1000ms ease,
      transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (min-width: 720px) {
  .description-flow {
    gap: clamp(40px, 4vw, 64px);
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .note-grid,
  .links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(var(--grid-cols-tablet), minmax(0, 1fr));
  }

  .bento-card {
    grid-column: span var(--col-tablet, var(--col, 4));
    grid-row: span var(--row-tablet, var(--row, 1));
  }

  .facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  :root {
    --grid-gap: 24px;
  }

  .bento-grid {
    grid-template-columns: repeat(var(--grid-cols-desktop), minmax(0, 1fr));
  }

  .bento-card {
    grid-column: span var(--col, 3);
    grid-row: span var(--row, 1);
  }

  .screens-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }
}

@media (min-width: 769px) {
  .site-header-shell {
    display: none;
  }

  .site-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
  }

  .site-shell .side-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
    min-height: calc(100dvh - var(--shell-padding) - var(--shell-padding));
    padding: 0 clamp(20px, 3.6vw, 34px);
    position: sticky;
    top: var(--shell-padding);
    align-self: start;
  }

  .site-shell > main {
    min-width: 0;
  }

  .site-shell:not(.site-shell--project) .sns-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-shell:not(.site-shell--project) .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-shell:not(.site-shell--project) .bento-card {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-shell > .site-footer {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .site-shell {
    max-width: 448px;
  }

  .masthead {
    padding: 0;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .site-shell:not(.site-shell--project) .sns-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-shell:not(.site-shell--project) .bento-grid {
    grid-template-columns: 1fr;
  }

  .site-shell:not(.site-shell--project) .bento-card {
    grid-column: span 1;
    grid-row: span 1;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    align-items: start;
  }

  .profile-link-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .site-header__home {
    margin-left: 0;
  }

  .site-header__nav {
    width: auto;
    margin-left: auto;
    gap: 16px;
    justify-content: flex-end;
  }

  .masthead,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .button {
    width: fit-content;
  }
}

/* Muller-Brockmann home grid */
.page-home {
  --cols: 12;
  --gutter: 24px;
  --margin: clamp(24px, 5vw, 72px);
  --bl: 8px;
  --lh: 24px;
  --bottom-module-height: calc(var(--bl) * 7 + 2px);
  --maxw: 1024px;
  --accent: #000000;
  --ink: #1d1d1f;
  --paper: #ffffff;
  --muted-ink: #74747a;
  --rule: rgba(0, 0, 0, 0.12);
  --guide: rgba(0, 0, 0, 0.08);
  --guide-strong: rgba(0, 0, 0, 0.18);

  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 100% var(--bl),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: var(--lh);
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home .side-nav__link,
.page-home .sns-card__name,
.page-home .bento-card__title {
  letter-spacing: 0;
}

.page-home .site-header-shell {
  width: min(100%, var(--maxw));
  padding: calc(var(--bl) * 3) var(--margin) 0;
}

.page-home .site-header {
  min-height: calc(var(--bl) * 5);
  border-bottom: 1px solid var(--rule);
}

.page-home .site-header__home {
  margin-left: 0;
}

.page-home .site-header__link {
  min-height: calc(var(--bl) * 5);
  padding: 0;
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--muted-ink);
}

.page-home .site-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--maxw));
  max-width: none;
  margin-inline: auto;
  padding: var(--margin) var(--margin) calc(var(--margin) / 2);
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 2);
  align-items: start;
}

.page-home .grid-guides {
  position: absolute;
  inset: var(--margin);
  z-index: 10;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  opacity: 0;
  transition: opacity 180ms ease;
}

.page-home .grid-guides::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(228, 0, 43, 0.28) 0,
      rgba(228, 0, 43, 0.28) 1px,
      transparent 1px,
      transparent var(--bl)
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(228, 0, 43, 0.52) 0,
      rgba(228, 0, 43, 0.52) 1px,
      transparent 1px,
      transparent var(--lh)
    );
}

.page-home .grid-guides__col {
  min-height: 100%;
  border-left: 1px solid var(--guide-strong);
  border-right: 1px solid var(--guide);
  background: rgba(228, 0, 43, 0.045);
  color: var(--accent);
  font-size: 10px;
  line-height: var(--lh);
  padding-top: 2px;
}

.page-home .grid-guides__margin {
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: var(--accent);
}

.page-home .grid-guides__margin--left {
  left: 0;
}

.page-home .grid-guides__margin--right {
  right: 0;
}

.page-home.grid-on .grid-guides {
  opacity: 1;
}

.grid-toggle {
  display: none;
  position: fixed;
  right: calc(var(--bl, 8px) * 3);
  bottom: calc(var(--bl, 8px) * 3);
  z-index: 30;
  appearance: none;
  min-width: calc(var(--bl, 8px) * 8);
  height: calc(var(--bl, 8px) * 5);
  border: 1px solid var(--ink, #111);
  border-radius: 0;
  background: var(--paper, #fff);
  color: var(--ink, #111);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home.grid-on .grid-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.page-home .side-nav {
  grid-column: 1 / 4;
  display: block;
  min-height: calc(100dvh - (var(--margin) * 2));
  padding: 0;
  position: sticky;
  top: var(--margin);
  align-self: start;
  border-top: 1px solid var(--ink);
}

.page-home .side-nav__links {
  gap: 0;
}

.page-home .side-nav__link {
  min-height: calc(var(--lh) * 2);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: var(--lh);
  text-transform: uppercase;
  -webkit-text-fill-color: var(--ink);
}

.page-home .site-shell > main {
  grid-column: 4 / 13;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 3);
}

.page-home .swiss-band,
.page-home .sns-links,
.page-home .about-teaser,
.page-home .project-sections,
.page-home .home-speaking {
  grid-column: 1 / -1;
}

.page-home .swiss-band {
  display: grid;
  grid-template-columns: subgrid;
  column-gap: var(--gutter);
  align-items: start;
}

@supports not (grid-template-columns: subgrid) {
  .page-home .swiss-band {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

.page-home .swiss-masthead {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.page-home .swiss-masthead-copy {
  padding-bottom: calc(var(--lh) * 3);
}

.page-home .swiss-masthead__identity {
  grid-column: 1 / 8;
  padding-top: calc(var(--lh) * 1);
}

.page-home .eyebrow {
  margin: 0 0 var(--lh);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: var(--lh);
  letter-spacing: 0.08em;
}

.page-home .masthead-title {
  max-width: 8ch;
  font-size: clamp(72px, 10vw, 152px);
  font-weight: 800;
  line-height: calc(var(--lh) * 5);
  text-transform: uppercase;
}

.page-home .masthead-subname {
  margin: var(--lh) 0 0;
  color: var(--muted-ink);
  font-size: 12px;
  line-height: var(--lh);
}

.page-home .swiss-masthead__copy {
  grid-column: 1 / 6;
  padding-top: 0;
}

.page-home .swiss-lead {
  margin: 0;
  font-size: 15px;
  line-height: var(--lh);
}

.page-home .swiss-lead-list {
  margin: var(--lh) 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-ink);
  font-size: 12px;
  line-height: var(--lh);
}

.page-home .swiss-lead-list li {
  min-height: var(--lh);
}

.page-home .swiss-profile {
  grid-column: 9 / 10;
  margin: calc(var(--lh) * 5) 0 0;
  border-top: 1px solid var(--ink);
}

.page-home .swiss-profile img {
  width: 100%;
  height: calc(var(--lh) * 6);
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(1) contrast(1.08);
}

.page-home .sns-links {
  margin: 0;
  padding-bottom: calc(var(--lh) * 2);
  border-bottom: 1px solid var(--rule);
}

.page-home .sns-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--lh);
}

.page-home .sns-card {
  grid-column: span 3;
  min-height: calc(var(--lh) * 5);
  padding: calc(var(--lh) - 1px) 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--ink);
  gap: var(--lh);
}

.page-home .sns-card.clothoid-corner {
  border-radius: 0;
  clip-path: none;
}

.page-home .sns-card::before,
.page-home .sns-card::after {
  display: none;
}

.page-home .sns-card__icon {
  width: calc(var(--lh) * 2);
  height: calc(var(--lh) * 2);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  filter: grayscale(1);
}

.page-home .sns-card__icon img {
  border-radius: 0;
  clip-path: none;
}

.page-home .sns-card__meta {
  gap: 0;
}

.page-home .sns-card__name,
.page-home .sns-card__account {
  color: var(--ink);
  line-height: var(--lh);
}

.page-home .sns-card__name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-home .sns-card__account {
  font-size: 12px;
  opacity: 1;
}

.page-home .about-teaser {
  position: relative;
  min-height: calc(var(--lh) * 18);
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}

.page-home .about-teaser::before,
.page-home .about-teaser::after {
  display: none;
}

.page-home .about-teaser__inner {
  --about-copy-font-size: var(--copy-font-size);
  --career-copy-font-size: var(--copy-font-size);

  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--bl) * 2);
  min-height: inherit;
  padding: calc(var(--lh) * 3) 0;
}

.page-home .about-teaser__title {
  grid-column: 1 / 7;
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: calc(var(--lh) * 2);
  display: grid;
  row-gap: var(--bl);
}

.page-home .about-teaser__name {
  display: block;
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: calc(var(--lh) * 2);
}

.page-home .about-teaser__name-prefix,
.page-home .about-teaser__name-value {
  display: block;
  font-weight: 700;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}

.page-home .about-teaser__name-value {
  width: fit-content;
}

.page-home .about-teaser__name-removed,
.page-home .about-teaser__name-removed-text,
.page-home .about-teaser__name-removed-characters,
.page-home .about-teaser__name-final,
.page-home .about-teaser__name-morph,
.page-home .about-teaser__name-morph-source,
.page-home .about-teaser__name-morph-replacement,
.page-home .about-teaser__name-remaining {
  display: inline-block;
  vertical-align: top;
}

.page-home .about-teaser__name-removed {
  position: relative;
  width: var(--name-removed-width, auto);
  overflow: visible;
  opacity: 1;
  transition:
    width 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.page-home .about-teaser__name-removed-characters {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scaleX(var(--name-character-scale, 1));
  transform-origin: left center;
  white-space: nowrap;
}

.page-home .about-teaser__name-removed::after {
  position: absolute;
  top: 52%;
  right: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2000ms cubic-bezier(0.45, 0, 0.55, 1);
}

.page-home .about-teaser__name-removed-character {
  display: inline-block;
}

.page-home .about-teaser__name-final {
  display: inline-flex;
  align-items: flex-start;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

.page-home .about-teaser__name-morph {
  display: inline-grid;
  width: var(--name-morph-source-width, 0.6em);
  overflow: visible;
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .about-teaser__name-morph-source,
.page-home .about-teaser__name-morph-replacement {
  grid-area: 1 / 1;
  transform-origin: center bottom;
}

.page-home .about-teaser__name-morph-source {
  opacity: 1;
}

.page-home .about-teaser__name-morph-replacement {
  opacity: 0;
  transform: translateY(-1.25em) scale(0.9);
}

.page-home .about-teaser__name-value.is-striking .about-teaser__name-removed::after {
  transform: scaleX(1);
}

.page-home .about-teaser__name-value.is-erasing .about-teaser__name-removed {
  opacity: 0;
}

.page-home .about-teaser__name-value.is-collapsing .about-teaser__name-removed {
  width: 0;
  overflow: hidden;
}

.page-home .about-teaser__name-value.is-returning .about-teaser__name-removed {
  width: var(--name-removed-width, auto);
  overflow: visible;
}

.page-home .about-teaser__name-value.is-restoring .about-teaser__name-removed::after {
  transition-duration: 200ms;
}

.page-home .about-teaser__name-value.is-revealing .about-teaser__name-removed {
  opacity: 1;
  transition: none;
}

.page-home .about-teaser__name-value.is-revealing .about-teaser__name-removed-text {
  opacity: 0;
}

.page-home .about-teaser__name-value.is-revealing .about-teaser__name-removed-characters {
  opacity: 1;
}

.page-home .about-teaser__name-value.is-revealing .about-teaser__name-removed-character {
  animation: name-character-reveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--name-character-index) * 45ms);
}

.page-home .about-teaser__name-value.is-recalculating .about-teaser__name-removed,
.page-home .about-teaser__name-value.is-recalculating .about-teaser__name-morph {
  transition: none;
}

.page-home .about-teaser__name-value.is-morphing .about-teaser__name-morph {
  width: var(--name-morph-replacement-width, 0.6em);
}

.page-home .about-teaser__name-value.is-morphing .about-teaser__name-morph-source {
  animation: name-letter-replaced 900ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-home .about-teaser__name-value.is-morphing .about-teaser__name-morph-replacement {
  animation: name-letter-drop 900ms linear both;
}

.page-home .about-teaser__name-value.is-reversing .about-teaser__name-morph-source {
  animation: name-letter-return-drop 900ms linear both;
}

.page-home .about-teaser__name-value.is-reversing .about-teaser__name-morph-replacement {
  animation: name-letter-return-replaced 900ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes name-letter-drop {
  0% {
    opacity: 0;
    transform: translateY(-1.25em) scale(0.9);
  }

  18% {
    opacity: 1;
    transform: translateY(-1.05em) scale(0.92);
    animation-timing-function: cubic-bezier(0.4, 0, 0.7, 1);
  }

  68% {
    opacity: 1;
    transform: translateY(0.08em) scaleX(1.04) scaleY(0.92);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  82% {
    opacity: 1;
    transform: translateY(-0.04em) scaleX(0.98) scaleY(1.03);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes name-letter-replaced {
  0%,
  48% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  62% {
    opacity: 0;
    transform: translateY(0.1em) scaleX(1.08) scaleY(0.72);
  }

  100% {
    opacity: 0;
    transform: translateY(0.1em) scaleX(1.08) scaleY(0.72);
  }
}

@keyframes name-letter-return-drop {
  0% {
    opacity: 0;
    transform: translateY(-1.25em) scale(0.9);
  }

  18% {
    opacity: 1;
    transform: translateY(-1.05em) scale(0.92);
    animation-timing-function: cubic-bezier(0.4, 0, 0.7, 1);
  }

  68% {
    opacity: 1;
    transform: translateY(0.08em) scaleX(1.04) scaleY(0.92);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  82% {
    opacity: 1;
    transform: translateY(-0.04em) scaleX(0.98) scaleY(1.03);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes name-letter-return-replaced {
  0%,
  48% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  62% {
    opacity: 0;
    transform: translateY(0.1em) scaleX(1.08) scaleY(0.72);
  }

  100% {
    opacity: 0;
    transform: translateY(0.1em) scaleX(1.08) scaleY(0.72);
  }
}

@keyframes name-character-reveal {
  0% {
    opacity: 0;
    transform: translateX(-0.16em);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-home .about-teaser__role {
  display: block;
  margin-top: calc(var(--bl) * -0.75);
  color: var(--muted-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-home .about-teaser__description,
.page-home .about-teaser__career {
  grid-column: 1 / 7;
}

.page-home .about-teaser__description {
  display: grid;
  gap: calc(var(--bl) * 2);
  margin: var(--lh) 0 0;
}

.page-home .about-teaser__description .profile-description__body,
.page-home .about-teaser .career-item__period,
.page-home .about-teaser .career-item__title {
  color: var(--ink);
  font-weight: 400;
  line-height: var(--lh);
}

.page-home .about-teaser__description .profile-description__body {
  color: var(--muted-ink);
  font-size: var(--about-copy-font-size);
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: pretty;
}

.page-home .about-teaser .career-item__period,
.page-home .about-teaser .career-item__title {
  font-size: var(--career-copy-font-size);
}

.page-home .about-teaser__description .profile-description__body > span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.page-home .about-teaser__description .profile-description__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  -webkit-text-fill-color: currentColor;
}

.page-home .about-teaser__career {
  display: grid;
  gap: calc(var(--lh) * 1.5);
  margin-top: calc(var(--lh) * 1.5);
}

.page-home .about-teaser__career-title,
.page-home .home-selected-work__title,
.page-home .home-speaking__heading {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: var(--lh);
}

.page-home .home-selected-work .bento-card__title {
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-home .home-selected-work .bento-card__body,
.page-home .home-speaking .bento-card__body {
  row-gap: 0;
}

.page-home .home-selected-work {
  grid-column: 1 / -1;
  display: grid;
  gap: calc(var(--lh) * 1.5);
}

.page-home .about-teaser .career-list {
  display: grid;
  gap: var(--lh);
}

.page-home .about-teaser .career-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: calc(var(--bl) * 2);
  align-items: start;
}

.page-home .about-teaser .career-item__period,
.page-home .about-teaser .career-item__title {
  margin: 0;
}

.page-home .about-teaser .career-item__period {
  color: var(--muted-ink);
  text-decoration: none;
}

.page-home .about-teaser .career-item__title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  -webkit-text-fill-color: currentColor;
}

.career-item__note {
  display: block;
  color: var(--muted-ink, var(--color-muted));
  font-size: 13px;
}

@media (min-width: 769px) {
  .page-home .about-teaser__title,
  .page-home .about-teaser__name,
  .page-home .about-teaser__description {
    grid-column: 1 / 5;
  }

  .page-home .about-teaser__title {
    grid-row: 2;
  }

  .page-home .about-teaser__name {
    grid-row: 3;
  }

  .page-home .about-teaser__description {
    grid-row: 4;
  }

  .page-home .about-teaser__career {
    grid-column: 6 / 10;
    grid-row: 1 / 5;
    align-self: start;
    margin-top: 0;
  }
}

.page-home .about-teaser__link {
  grid-column: 1 / 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: calc(var(--lh) * 8);
  min-height: calc(var(--lh) * 3);
  padding: 0 calc(var(--gutter) * 1.5);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: var(--lh);
  text-decoration: none;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 160ms ease,
    border-color 160ms ease;
  transform-origin: center;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.page-home .about-teaser__link:active,
.page-home .about-teaser__link.is-pressed {
  transform: scale(0.94);
}

.home-segmented-control {
  --segment-padding: calc(var(--bl) * 0.5);
  --segment-padding-block: 16px;
  --segment-padding-inline: 16px;
  --segment-content-height: 36px;
  --segment-gap: calc(var(--bl) * 0.5);
  position: fixed;
  top: max(var(--bl), env(safe-area-inset-top));
  left: 50%;
  bottom: auto;
  z-index: 45;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(min(100%, var(--maxw)) - (var(--margin) * 0.5));
  max-width: none;
  height: calc(var(--segment-content-height) + (var(--segment-padding-block) * 2));
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 28px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
  transform: translateX(-50%);
}

.home-segmented-control::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--floating-surface);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  content: "";
  pointer-events: none;
}

.home-segmented-control__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: var(--segment-padding-block) var(--segment-padding-inline) var(--segment-padding-block) calc((var(--margin) / 2) + 2px);
  position: relative;
  z-index: 1;
}

.home-segmented-control__logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: var(--segment-content-height);
  padding: 0 8px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  font-optical-sizing: auto;
  line-height: var(--lh);
  text-rendering: optimizeLegibility;
  text-decoration: none;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}

.home-segmented-control__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: var(--segment-gap);
  align-items: center;
  width: max-content;
  height: var(--segment-content-height);
  padding-right: 0;
}

.home-segmented-control__items::before {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--active-segment-width, 0px);
  height: var(--segment-content-height);
  border-radius: 999px;
  background: var(--ink);
  content: "";
  pointer-events: none;
  transform: translate3d(var(--active-segment-left, 0px), 0, 0);
  transition:
    width 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-segmented-control__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: var(--segment-content-height);
  padding: 0 calc(var(--bl) * 2);
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: var(--lh);
  text-align: center;
  -webkit-text-fill-color: currentColor;
  -webkit-tap-highlight-color: transparent;
}

.home-segmented-control__button.is-active {
  color: var(--paper);
}

@media (max-width: 359px) {
  .home-segmented-control__button {
    padding-inline: calc(var(--bl) * 1.5);
  }
}

.page-home .project-sections {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 3);
}

.page-home .project-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--lh);
  border-top: 1px solid var(--ink);
}

.page-home .project-section__title {
  grid-column: 1 / 3;
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  line-height: var(--lh);
  text-transform: uppercase;
}

.page-home .bento-grid {
  grid-column: 1 / 10;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 4);
}

.page-home .site-shell:not(.site-shell--project) .bento-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.page-home .bento-card {
  grid-column: 1 / 5;
  grid-row: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--lh);
  min-height: calc(var(--lh) * 12);
  padding: 0;
  border: 1px solid rgba(244, 244, 241, 0.2);
  border-radius: 24px;
  background: rgba(244, 244, 241, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  color: var(--ink);
  overflow: hidden;
}

.page-home .site-shell:not(.site-shell--project) .bento-card {
  grid-column: 1 / 5;
  grid-row: auto;
}

.page-home .bento-card:nth-child(even),
.page-home .site-shell:not(.site-shell--project) .bento-card:nth-child(even) {
  grid-column: 6 / 10;
}

.page-home .bento-card.clothoid-corner {
  clip-path: none;
}

.page-home .bento-card__body {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--bl);
  row-gap: 0;
  align-items: start;
  padding: 0;
}

.page-home .bento-card__title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-home .bento-card__date,
.page-home .bento-card__company {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: var(--muted-ink);
  font-size: var(--copy-font-size);
  font-weight: 400;
  line-height: var(--lh);
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
}

.page-home .bento-card__company {
  grid-column: 1;
  grid-row: 2;
  text-align: left;
}

.page-home .bento-card__subtitle {
  min-height: calc(var(--lh) * 2);
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
}

.page-home .bento-card__media {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: calc(var(--lh) * 10);
  margin: 0;
  padding: 0;
  border-top: 0;
  overflow: hidden;
}

.page-home .bento-card__media img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 0;
}

.page-home .button {
  min-width: calc(var(--lh) * 6);
  min-height: calc(var(--lh) * 2);
  padding: 0 calc(var(--gutter) - 1px);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  line-height: var(--lh);
  text-transform: uppercase;
}

.page-home .site-footer {
  grid-column: 4 / 13;
  margin: 0;
  padding-top: calc(var(--lh) * 2);
  border-top: 1px solid var(--rule);
  color: var(--muted-ink);
  font-size: 12px;
  line-height: var(--lh);
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .page-home .site-shell:not(.site-shell--project) .bento-card:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: calc(var(--bl) * 0.5);
  }

  html:not(.is-keyboard-navigation) .page-home .site-shell:not(.site-shell--project) .sns-card:hover,
  .page-home .site-shell:not(.site-shell--project) .sns-card:focus-visible {
    background-color: rgba(244, 244, 241, 0.12);
    border-color: rgba(244, 244, 241, 0.38);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    color: var(--accent);
  }
}

@media (min-width: 769px) {
  .page-home .site-header-shell {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-home {
    --cols: 4;
    --gutter: 16px;
    --margin: clamp(16px, 5vw, 32px);
  }

  .page-home .site-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: calc(var(--lh) * 2);
    padding-bottom: calc(var(--bottom-module-height) + (var(--bl) * 4) + env(safe-area-inset-bottom, 0px));
  }

  .page-home .grid-guides {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .grid-guides__col:nth-of-type(n+7) {
    display: none;
  }

  .page-home .side-nav {
    display: none;
  }

  .page-home .site-shell:not(.site-shell--project) .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .site-shell:not(.site-shell--project) .bento-card {
    grid-column: 1 / -1;
  }

  .page-home .bento-card:nth-child(even),
  .page-home .site-shell:not(.site-shell--project) .bento-card:nth-child(even) {
    grid-column: 1 / -1;
  }

  .page-home .site-shell > main,
  .page-home .site-footer {
    grid-column: 1 / -1;
  }

  .page-home .site-shell > main,
  .page-home .swiss-band,
  .page-home .sns-grid,
  .page-home .about-teaser__inner,
  .page-home .project-sections,
  .page-home .project-section,
  .page-home .bento-grid,
  .page-home .bento-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .swiss-masthead__identity,
  .page-home .swiss-masthead__copy,
  .page-home .swiss-profile,
  .page-home .sns-card,
  .page-home .about-teaser,
  .page-home .about-teaser__title,
  .page-home .about-teaser__copy,
  .page-home .about-teaser__link,
  .page-home .project-section__title,
  .page-home .bento-grid,
  .page-home .bento-card,
  .page-home .bento-card__body,
  .page-home .bento-card__media {
    grid-column: 1 / -1;
  }

  .page-home .swiss-masthead__copy,
  .page-home .swiss-profile {
    padding-top: 0;
    margin-top: calc(var(--lh) * 2);
  }

  .page-home .masthead-title {
    max-width: 100%;
    font-size: clamp(44px, 14vw, 56px);
    line-height: calc(var(--lh) * 3);
  }

  .page-home .bento-card__media {
    grid-row: 2;
  }

  .page-home .about-teaser {
    min-height: calc(var(--lh) * 18);
  }

  .page-home .about-teaser__inner {
    row-gap: calc(var(--bl) * 2);
    padding-block: 0;
  }

  .page-home .about-teaser__title,
  .page-home .about-teaser__name,
  .page-home .about-teaser__description,
  .page-home .about-teaser__career {
    grid-column: 1 / -1;
  }

  .page-home .about-teaser__title,
  .page-home .about-teaser__name {
    font-size: 28px;
    line-height: calc(var(--lh) * 2);
  }

  .page-home .about-teaser__career-title {
    font-size: 20px;
    line-height: var(--lh);
  }

  .page-home .about-teaser .career-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .page-home .about-teaser__link {
    min-width: calc(var(--lh) * 7);
    min-height: calc(var(--bl) * 7);
    padding: 0 calc(var(--gutter) * 1.25);
    font-size: 16px;
  }

}

/* Swiss grid system across Home, Work, About, and detail pages. */
.swiss-page {
  --cols: 12;
  --gutter: 24px;
  --margin: clamp(24px, 5vw, 72px);
  --bl: 8px;
  --lh: 24px;
  --floating-surface: rgba(255, 255, 255, 0.7);
  --shell-block-spacing: calc(var(--bl) * 4);
  --bottom-module-height: calc(var(--bl) * 7 + 2px);
  --maxw: 1024px;
  --accent: #000000;
  --ink: #1d1d1f;
  --paper: #ffffff;
  --muted-ink: #74747a;
  --rule: rgba(0, 0, 0, 0.12);
  --guide: rgba(0, 0, 0, 0.08);
  --guide-strong: rgba(0, 0, 0, 0.18);

  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: var(--lh);
}

.swiss-page.page-home {
  background: var(--paper);
}

.swiss-page h1,
.swiss-page h2,
.swiss-page h3,
.swiss-page p,
.swiss-page li,
.swiss-page a,
.swiss-page dd,
.swiss-page dt {
  line-height: var(--lh);
}

.swiss-page h1,
.swiss-page h2,
.swiss-page h3 {
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.swiss-page .site-header-shell {
  width: min(100%, var(--maxw));
  padding: calc(var(--bl) * 3) var(--margin) 0;
  border: 0;
}

.swiss-page .site-header {
  min-height: calc(var(--bl) * 5);
  border: 0;
}

.swiss-page .site-header__home {
  margin-left: 0;
}

.swiss-page .site-header__link {
  min-height: calc(var(--bl) * 5);
  padding: 0;
  color: var(--muted-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--muted-ink);
}

.swiss-page .site-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--maxw));
  max-width: none;
  margin-inline: auto;
  padding: var(--shell-block-spacing) var(--margin);
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 3);
  align-items: start;
}

.swiss-page .grid-guides {
  position: absolute;
  inset: var(--margin);
  z-index: 10;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  opacity: 0;
  transition: opacity 180ms ease;
}

.swiss-page .grid-guides::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(228, 0, 43, 0.28) 0,
      rgba(228, 0, 43, 0.28) 1px,
      transparent 1px,
      transparent var(--bl)
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(228, 0, 43, 0.52) 0,
      rgba(228, 0, 43, 0.52) 1px,
      transparent 1px,
      transparent var(--lh)
    );
}

.swiss-page .grid-guides__col {
  min-height: 100%;
  border-left: 1px solid var(--guide-strong);
  border-right: 1px solid var(--guide);
  background: rgba(228, 0, 43, 0.045);
  color: var(--accent);
  font-size: 10px;
  line-height: var(--lh);
  padding-top: 2px;
}

.swiss-page .grid-guides__margin {
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: var(--accent);
}

.swiss-page .grid-guides__margin--left {
  left: 0;
}

.swiss-page .grid-guides__margin--right {
  right: 0;
}

.swiss-page.grid-on .grid-guides {
  opacity: 1;
}

.swiss-page .grid-toggle {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.swiss-page.grid-on .grid-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.swiss-page .side-nav {
  grid-column: 1 / 4;
  display: block;
  min-height: calc(100dvh - (var(--margin) * 2));
  padding: 0;
  position: sticky;
  top: var(--margin);
  align-self: start;
  border: 0;
}

.swiss-page .side-nav__links {
  gap: 0;
}

.swiss-page .side-nav__link {
  min-height: calc(var(--lh) * 2);
  display: flex;
  align-items: center;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: var(--lh);
  text-transform: uppercase;
  -webkit-text-fill-color: var(--ink);
}

.swiss-page .site-shell > main {
  grid-column: 1 / 13;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 4);
}

.swiss-page .site-footer {
  grid-column: 4 / 13;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted-ink);
  font-size: 12px;
  line-height: var(--lh);
  text-align: left;
}

.swiss-page .card,
.swiss-page .site-shell--project .card,
.swiss-page .sns-card,
.swiss-page .bento-card,
.swiss-page .button,
.swiss-page .fact-card,
.swiss-page .screen,
.swiss-page .note-card,
.swiss-page .link-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.swiss-page .clothoid-corner,
.swiss-page .sns-card.clothoid-corner,
.swiss-page .bento-card.clothoid-corner {
  clip-path: none;
  border-radius: 0;
}

.swiss-page .bento-card__media,
.swiss-page .bento-card__media img,
.swiss-page .project-main-media,
.swiss-page .project-main-media img,
.swiss-page .description-item__media,
.swiss-page .description-item__media img,
.swiss-page .description-image,
.swiss-page .description-image img,
.swiss-page .hero-media,
.swiss-page .hero-media img,
.swiss-page .screen-media,
.swiss-page .screen-media img,
.swiss-page .profile-avatar,
.swiss-page .sns-card__icon,
.swiss-page .sns-card__icon img {
  border: 0;
  border-radius: 0;
  clip-path: none;
  box-shadow: none;
}

.swiss-page .eyebrow {
  margin: 0 0 var(--lh);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: var(--lh);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .swiss-masthead,
.page-home .sns-links,
.page-home .project-section,
.page-home .site-header,
.page-home .side-nav,
.page-home .side-nav__link,
.page-home .bento-card,
.page-home .bento-card__media,
.page-home .site-footer,
.page-home .swiss-profile,
.page-home .sns-card {
  border: 0;
}

.page-home .bento-card__media {
  border: 0;
}

.page-home .swiss-profile img {
  filter: grayscale(1) contrast(1.05);
}

@media (min-width: 769px) {
  .page-home .bento-card__media {
    position: relative;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .page-home .bento-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
  }
}

.page-profile .profile-layout,
.page-detail .project-layout--detail {
  grid-column: 4 / 13;
  width: auto;
  max-width: none;
  margin: 0;
}

.page-profile .profile-section,
.page-detail .detail-module,
.page-detail .project-main,
.page-detail .description-section {
  grid-column: 1 / -1;
  width: auto;
  max-width: none;
  margin: 0;
}

.page-profile .profile-section:first-child,
.page-detail .detail-module {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: 0;
}

.page-profile .profile-section:first-child .profile-section__body,
.page-detail .detail-module__title {
  grid-column: 1 / 4;
}

.page-profile .profile-page-title,
.page-detail .detail-module__title {
  font-size: clamp(72px, 10vw, 152px);
  font-weight: 800;
  line-height: calc(var(--lh) * 5);
  text-transform: uppercase;
}

.page-profile .profile-layout,
.page-detail .description-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 4);
}

.page-profile .profile-section {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--lh);
  gap: var(--lh) var(--gutter);
}

.page-profile .profile-section__title {
  grid-column: 1 / 10;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: calc(var(--lh) * 2);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.page-profile .profile-section:first-child .profile-section__body {
  grid-column: 1 / 7;
  display: grid;
  row-gap: calc(var(--lh) * 1.5);
}

.page-profile .profile-section__body,
.page-profile .career-list,
.page-profile .profile-link-list,
.page-profile .profile-inline-text,
.page-profile .profile-sns-links {
  grid-column: 1 / 10;
}

.page-profile .profile-page-copy,
.page-profile .profile-description__body,
.page-profile .profile-inline-text,
.page-profile .career-item__title,
.page-profile .profile-link-item__note {
  color: var(--ink);
  font-size: 15px;
  line-height: var(--lh);
}

.page-profile .profile-description__body {
  color: var(--muted-ink);
}

.page-profile .profile-avatar {
  width: calc(var(--lh) * 8);
  height: calc(var(--lh) * 8);
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  margin-bottom: calc(var(--lh) * 0.5);
}

.page-profile .profile-description {
  margin-top: calc(var(--lh) * 0.5);
}

.page-profile .career-item,
.page-profile .profile-link-item {
  display: grid;
  column-gap: 0;
  align-items: start;
}

.page-profile .career-item {
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: calc(var(--bl) * 2);
}

.page-profile .career-item__period,
.page-profile .profile-link-item__label {
  grid-column: 1;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-profile .career-item__title,
.page-profile .profile-link-item__body {
  grid-column: 2;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-profile .profile-sns-links .sns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 calc(var(--bl) / 2);
}

.page-profile .profile-sns-link {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
  text-decoration: underline;
  text-underline-offset: calc(var(--bl) / 2);
}

.page-profile .profile-sns-separator {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: var(--lh);
}

html:not(.is-keyboard-navigation) .page-profile .profile-sns-link:hover,
.page-profile .profile-sns-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: calc(var(--bl) / 2);
}

.page-detail .detail-module {
  row-gap: var(--lh);
}

.page-detail .detail-module__title {
  grid-column: 1 / 10;
  grid-row: 1;
  margin: 0;
  font-size: clamp(48px, 7vw, 112px);
  line-height: calc(var(--lh) * 4);
}

.page-detail .detail-module__list {
  grid-column: 1 / 6;
  grid-row: 2;
  margin: 0;
  font-size: var(--copy-font-size);
  font-weight: 400;
  line-height: var(--lh);
}

.page-detail .detail-module__row,
.page-detail .detail-module__meta-item {
  gap: 0;
}

.page-detail .detail-module__meta-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
}

.page-detail .detail-module__row dt,
.page-detail .detail-module__row dd {
  color: var(--ink);
  font-size: var(--copy-font-size);
  font-weight: 400;
  line-height: var(--lh);
}

.page-detail .detail-module__row dt::after {
  content: "";
}

.page-detail .project-main {
  overflow: hidden;
}

.page-detail .project-main-media img {
  height: auto;
  object-fit: contain;
}

.page-detail .description-section {
  display: grid;
  padding-bottom: calc(var(--lh) * 2);
}

.page-detail .description-flow {
  grid-column: 1 / -1;
}

.page-detail .description-item {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) / 4);
}

.page-detail .description-item--starts-text {
  row-gap: var(--lh);
}

.page-detail .description-item__copy {
  grid-column: 1 / 4;
}

.page-detail .description-subtitle {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: calc(var(--bl) * 4);
  text-transform: none;
}

.page-detail .description-item__content {
  grid-column: 1 / 10;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: calc(var(--lh) * 2);
}

.page-detail .description-item--untitled .description-item__content {
  grid-column: 1 / -1;
}

.page-detail .description-block--text {
  grid-column: 1 / 10;
  padding: 0;
  gap: calc(var(--lh) * 1.5);
}

.page-detail .description-block--image,
.page-detail .description-block--video {
  grid-column: 1 / 10;
}

.page-detail .description-block--link {
  grid-column: 1 / 10;
}

.page-detail .description-block--embed {
  grid-column: 1 / 10;
}

.page-detail .docswell-link a {
  color: var(--muted-ink);
  -webkit-text-fill-color: var(--muted-ink);
}

.page-detail .description-link-card {
  color: var(--ink);
  border-color: var(--rule);
  -webkit-text-fill-color: var(--ink);
}

.page-detail .description-link-card__label,
.page-detail .description-link-card__arrow {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

.page-detail .description-link-card__note {
  color: var(--muted-ink);
  -webkit-text-fill-color: var(--muted-ink);
}

.page-detail .description-block__title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh);
}

.page-detail .description-body-group {
  gap: calc(var(--bl) * 2);
}

.page-detail .description-body {
  color: var(--muted-ink);
  -webkit-text-fill-color: var(--muted-ink);
  font-size: var(--copy-font-size);
  line-height: var(--lh);
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: auto;
}

.page-detail .description-body a {
  color: var(--muted-ink);
  -webkit-text-fill-color: var(--muted-ink);
}

.page-detail .description-body__span {
  display: inline-block;
  white-space: nowrap;
}

.page-detail .description-body__span--flexible {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.page-detail .description-item__media img {
  height: auto;
  object-fit: var(--fit, contain);
}

@media (min-width: 769px) {
  .page-detail .description-flow {
    row-gap: calc(var(--lh) * 5);
  }

  .page-detail .description-item {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: var(--lh);
    align-items: start;
  }

  .page-detail .description-item--starts-text {
    row-gap: var(--lh);
  }

  .page-detail .description-item__copy {
    grid-column: 1 / 7;
    grid-row: 1;
    padding-top: 0;
  }

  .page-detail .description-subtitle {
    max-width: calc(var(--lh) * 18);
  }

  .page-detail .description-item__content {
    grid-column: 1 / 10;
    grid-row: 2;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: calc(var(--lh) * 1.5);
  }

  .page-detail .description-block--text {
    gap: var(--lh);
  }

  .page-detail .description-block--image,
  .page-detail .description-block--video {
    grid-column: 1 / 10;
  }

  .page-detail .description-body-group {
    max-width: none;
  }
}

.page-home .bento-card__body {
  min-width: 0;
}

.page-home .bento-card__media {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.page-home .site-shell:not(.site-shell--project) .bento-card:active,
.page-home .site-shell:not(.site-shell--project) .bento-card.is-pressed {
  transform: none;
}

@media (max-width: 768px) {
  .page-home .bento-card {
    min-height: auto;
    row-gap: calc(var(--bl) * 2);
  }

  .page-home .bento-card__body,
  .page-home .bento-card__media {
    grid-column: 1 / -1;
  }

  .page-home .bento-card__body {
    row-gap: calc(var(--bl) / 2);
    padding-top: 0;
  }

  .page-home .bento-card__title {
    grid-column: 1;
    grid-row: 1;
    font-size: 15px;
    font-weight: 400;
    line-height: calc(var(--bl) * 3);
  }

  .page-home .bento-card__date {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .page-home .bento-card__subtitle {
    margin: 0;
  }

  .page-home .bento-card__subtitle {
    min-height: 0;
  }

  .page-home .bento-card__media {
    grid-row: 2;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .swiss-page {
    --cols: 4;
    --gutter: 16px;
    --margin: clamp(20px, 5vw, 32px);
    --fixed-nav-height: calc((var(--bl) * 8) + env(safe-area-inset-top));
  }

  .swiss-page .site-header-shell {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 40;
    width: min(100%, var(--maxw));
    padding: calc((var(--bl) * 3) + env(safe-area-inset-top)) var(--margin) 0;
    background: var(--paper);
    transform: translateX(-50%);
  }

  .swiss-page .site-header {
    align-items: flex-start;
  }

  .page-detail .site-header {
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: auto;
    margin-inline: 0;
  }

  .swiss-page .site-header__nav {
    gap: calc(var(--bl) * 1.5);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .page-detail .site-header__nav {
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .page-detail .site-header-shell .project-detail-nav {
    align-items: center;
    flex: 0 0 auto;
    gap: calc(var(--bl) * 1.25);
    justify-content: center;
    min-height: calc(var(--bl) * 3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .page-detail .site-header-shell .project-detail-nav__link,
  .page-detail .site-header-shell .project-detail-nav__count {
    font-size: 12px;
    line-height: calc(var(--bl) * 3);
  }

  .swiss-page .site-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: var(--fixed-nav-height);
    row-gap: calc(var(--lh) * 3);
  }

  .swiss-page .grid-guides {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .swiss-page .grid-guides__col:nth-of-type(n+7) {
    display: none;
  }

  .swiss-page .side-nav {
    display: none;
  }

  .swiss-page .site-shell > main,
  .swiss-page .site-footer,
  .page-profile .profile-layout,
  .page-detail .project-layout--detail {
    grid-column: 1 / -1;
  }

  .swiss-page .site-shell > main,
  .page-home .home-speaking,
  .page-profile .profile-layout,
  .page-profile .profile-section,
  .page-profile .career-item,
  .page-profile .profile-link-item,
  .page-profile .profile-sns-links .sns-grid,
  .page-detail .detail-module,
  .page-detail .description-flow,
  .page-detail .description-item,
  .page-detail .description-item__content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-profile .profile-section__title,
  .page-home .home-speaking__heading,
  .page-home .home-speaking__list,
  .page-home .home-speaking__empty,
  .page-profile .profile-section__body,
  .page-profile .career-list,
  .page-profile .profile-link-list,
  .page-profile .profile-inline-text,
  .page-profile .profile-sns-links,
  .page-profile .career-item__period,
  .page-profile .career-item__title,
  .page-profile .profile-link-item__label,
  .page-profile .profile-link-item__body,
  .page-profile .profile-sns-links .sns-card,
  .page-detail .detail-module__title,
  .page-detail .detail-module__list,
  .page-detail .project-main,
  .page-detail .description-section,
  .page-detail .description-item__copy,
  .page-detail .description-item__content,
  .page-detail .description-block--text,
  .page-detail .description-block--link,
  .page-detail .description-block--embed,
  .page-detail .description-block--image,
  .page-detail .description-block--video {
    grid-column: 1 / -1;
  }

  .page-profile .profile-page-title {
    font-size: clamp(48px, 14vw, 56px);
    line-height: calc(var(--lh) * 3);
  }

  .page-profile .profile-page-title {
    font-size: clamp(84px, 25.5vw, 104px);
    line-height: calc(var(--lh) * 5);
  }

  .page-detail .detail-module__title {
    font-size: clamp(38px, 12vw, 58px);
    line-height: calc(var(--lh) * 3);
  }

  .page-detail .detail-module__list {
    margin: 0;
  }

  .page-detail .project-main-media img,
  .page-detail .description-item__media img {
    height: auto;
  }

  .page-detail .description-body-group {
    width: 100%;
    max-width: none;
  }

  .page-profile .career-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .page-profile .career-item__period {
    grid-column: 1;
  }

  .page-profile .career-item__title {
    grid-column: 2;
  }
}

/* Preserve source asset proportions for every portfolio image. */
.swiss-page .bento-card__media,
.swiss-page .project-main-media,
.swiss-page .description-item__media,
.swiss-page .description-image,
.swiss-page .hero-media,
.swiss-page .screen-media {
  aspect-ratio: var(--aspect, 16 / 9);
  overflow: visible;
}

.swiss-page .bento-card__media img,
.swiss-page .project-main-media img,
.swiss-page .description-item__media img,
.swiss-page .description-image img,
.swiss-page .hero-media img,
.swiss-page .screen-media img,
.swiss-page .screen-media video {
  position: static;
  inset: auto;
  width: 100%;
  height: auto !important;
  aspect-ratio: var(--aspect, 16 / 9);
  object-fit: contain;
}

.page-detail .project-main-media,
.page-detail .description-item__media,
.page-detail .description-image {
  aspect-ratio: auto;
}

.page-detail .project-main-media img,
.page-detail .description-item__media img,
.page-detail .description-image img {
  aspect-ratio: auto;
}

/* Speaking cards follow each OGP image's natural height. */
.page-home .home-speaking .bento-card__media {
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
}

@media (min-width: 769px) {
  .page-home .home-speaking .bento-card {
    min-height: auto;
    row-gap: calc(var(--bl) * 2);
  }

  .page-home .home-speaking .home-speaking__media {
    align-self: start;
  }

  .page-home .home-speaking .home-speaking__media img {
    position: static;
    inset: auto;
    height: auto;
  }
}

/* Unified Swiss top navigation: same content box and baseline as the page grid. */
.swiss-page {
  --fixed-nav-height: calc((var(--bl) * 8) + env(safe-area-inset-top));
}

.swiss-page .site-header-shell,
.page-detail .site-header-shell {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, var(--maxw));
  margin: 0;
  padding: calc((var(--bl) * 3) + env(safe-area-inset-top)) var(--margin) 0;
  background: var(--paper);
  transform: translateX(-50%);
}

.swiss-page .site-header,
.page-detail .site-header {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  justify-content: stretch;
  min-height: calc(var(--bl) * 5);
  width: auto;
  margin: 0;
  border: 0;
}

.swiss-page .site-header__home,
.page-home .site-header__home {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  margin-left: 0;
}

.swiss-page .site-header__nav {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  width: auto;
  margin-left: 0;
  min-width: 0;
  pointer-events: none;
}

.swiss-page .site-header__home,
.swiss-page .site-header__nav a,
.swiss-page .site-header__nav button,
.swiss-page .site-header__nav select,
.swiss-page .site-header__nav label {
  pointer-events: auto;
}

.page-detail .project-floating-nav {
  position: fixed;
  left: 50%;
  bottom: max(calc(var(--bl) * 2), env(safe-area-inset-bottom));
  z-index: 45;
  box-sizing: border-box;
  width: min(calc(100% - (var(--margin) * 2)), calc(var(--bl) * 34));
  height: calc(var(--bl) * 8 + 2px);
  margin: 0;
  padding: var(--bl) calc(var(--bl) * 2);
  background: rgba(8, 8, 8, 0.64);
  border: 1px solid rgba(244, 244, 241, 0.24);
  border-radius: 28px;
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
}

.page-detail .project-layout--detail {
  padding-bottom: calc(var(--bottom-module-height) + (var(--bl) * 4) + env(safe-area-inset-bottom, 0px));
}

.page-detail .project-floating-nav .project-detail-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: calc(var(--bl) * 2);
  align-items: center;
  height: 100%;
  margin: 0;
  position: static;
  transform: none;
}

.page-detail .project-floating-nav .project-detail-nav__link,
.page-detail .project-floating-nav .project-detail-nav__count {
  display: flex;
  align-items: center;
  min-height: calc(var(--bl) * 3);
  font-size: 12px;
  font-weight: 400;
  line-height: var(--lh);
}

.page-detail .project-floating-nav .project-detail-nav__link {
  display: grid;
  place-items: center;
  width: calc(var(--bl) * 5);
  height: var(--segment-content-height);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  -webkit-text-fill-color: currentColor;
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    width 220ms ease,
    height 220ms ease,
    color 160ms ease,
    background-color 160ms ease;
  transform-origin: center;
}

.page-detail .project-floating-nav .project-detail-nav__icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-detail .project-floating-nav .project-detail-nav__link:first-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.page-detail .project-floating-nav .project-detail-nav__count {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  text-align: center;
}

.page-detail .project-floating-nav .project-detail-nav__link:last-child {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.swiss-page .side-nav,
.page-home .side-nav,
.page-detail .side-nav {
  display: none !important;
}

.swiss-page .site-shell {
  margin-top: var(--fixed-nav-height);
}

@media (max-width: 768px) {
  .swiss-page .site-header__home,
  .page-home .site-header__home {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .swiss-page .site-header__nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-detail .project-floating-nav {
    width: min(calc(100% - (var(--margin) * 2)), calc(var(--bl) * 30));
    height: var(--bottom-module-height);
    margin: 0;
    padding: calc(var(--bl) * 0.5) calc(var(--bl) * 1.5);
  }
}

/* Unified Swiss page-title system */
.page-home .masthead-title {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--ink);
  font-size: clamp(72px, 6vw, 152px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: calc(var(--lh) * 5);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
}

.page-profile .profile-page-title,
.page-profile .profile-section__title,
.page-detail .detail-module__title {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--ink);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: calc(var(--lh) * 2);
  text-transform: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.page-detail .detail-module__title {
  grid-column: 1 / 7;
}

@media (min-width: 769px) {
  .page-detail .detail-module {
    align-items: start;
    row-gap: calc(var(--lh) * 2);
  }

  .page-detail .detail-module__title {
    grid-column: 1 / 7;
    grid-row: 1;
  }

  .page-detail .detail-module__list {
    grid-column: 7 / 10;
    grid-row: 1;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .page-home .masthead-title {
    font-size: clamp(84px, 25.5vw, 104px);
    line-height: calc(var(--lh) * 5);
  }

  .page-profile .profile-page-title,
  .page-detail .detail-module__title {
    font-size: 34px;
    line-height: calc(var(--lh) * 2);
  }

  .page-detail .detail-module__title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .page-detail .detail-module__list {
    grid-row: 2;
  }

  .page-profile .profile-section:first-child .profile-section__body {
    grid-column: 1 / -1;
  }
}

/* Home: one continuous column at every viewport width. */
@media (min-width: 768.01px) {
  .page-home {
    height: auto;
    overflow: visible;
  }

  .page-home .site-shell {
    height: auto;
    overflow: visible;
  }

  .page-home .site-shell > main {
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .page-home .about-teaser {
    grid-column: 1 / -1;
    position: static;
    top: auto;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .page-home .about-teaser__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: start;
    container-type: inline-size;
    min-height: 0;
    height: auto;
    padding-block: 0;
  }

  .page-home .about-teaser__name {
    max-width: 100%;
    font-size: min(34px, 11cqi);
    line-height: 1.4;
  }

  .page-home .about-teaser__title,
  .page-home .about-teaser__name,
  .page-home .about-teaser__description,
  .page-home .about-teaser__career {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .page-home .about-teaser__career {
    margin-top: calc(var(--lh) * 1.5);
  }

  .page-home .about-teaser .career-list {
    width: 100%;
    justify-items: start;
  }

  .page-home .about-teaser .career-item {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    align-items: start;
    text-align: left;
  }

  .page-home .about-teaser .career-item__period,
  .page-home .about-teaser .career-item__title,
  .page-home .about-teaser .career-item__note {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .page-home .home-work-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: calc(var(--lh) * 3);
    align-content: start;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .page-home .project-sections,
  .page-home .project-section,
  .page-home .bento-grid,
  .page-home .site-shell:not(.site-shell--project) .bento-grid,
  .page-home .home-speaking {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-home .project-sections,
  .page-home .home-speaking {
    grid-column: 1 / -1;
  }

  .page-home .bento-card,
  .page-home .site-shell:not(.site-shell--project) .bento-card,
  .page-home .bento-card:nth-child(even),
  .page-home .site-shell:not(.site-shell--project) .bento-card:nth-child(even) {
    grid-column: 1 / -1;
  }

  .page-home .home-speaking__heading,
  .page-home .home-speaking__list,
  .page-home .home-speaking__empty {
    grid-column: 1 / -1;
  }
}

@media (min-width: 840px) {
  .page-home .home-work-column {
    --portfolio-card-gutter: calc(var(--bl) * 6);
  }

  .page-home .home-work-column,
  .page-home .home-selected-work,
  .page-home .project-sections,
  .page-home .project-section,
  .page-home .bento-grid,
  .page-home .site-shell:not(.site-shell--project) .bento-grid,
  .page-home .home-speaking {
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    column-gap: var(--portfolio-card-gutter);
  }

  .page-home .home-selected-work,
  .page-home .home-selected-work__title,
  .page-home .project-sections,
  .page-home .project-section,
  .page-home .bento-grid,
  .page-home .home-speaking,
  .page-home .home-speaking__heading,
  .page-home .home-speaking__list,
  .page-home .home-speaking__empty {
    grid-column: 1 / -1;
  }

  .page-home .bento-card,
  .page-home .site-shell:not(.site-shell--project) .bento-card {
    grid-column: 1 / 7;
  }

  .page-home .bento-card:nth-child(even),
  .page-home .site-shell:not(.site-shell--project) .bento-card:nth-child(even) {
    grid-column: 7 / 13;
  }

  @supports (grid-template-columns: subgrid) {
    .page-home .home-selected-work,
    .page-home .project-sections,
    .page-home .project-section,
    .page-home .bento-grid,
    .page-home .site-shell:not(.site-shell--project) .bento-grid,
    .page-home .home-speaking {
      grid-template-columns: subgrid;
    }
  }
}

@media (max-width: 768px) {
  .page-home .home-work-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: calc(var(--lh) * 3);
  }

  .page-home .home-work-column > * {
    grid-column: 1 / -1;
  }

  .page-home .home-speaking .bento-card__title {
    font-size: 15px;
    line-height: var(--lh);
  }
}

/* Headerless navigation system. */
.swiss-page {
  --fixed-nav-height: 0px;
}

.swiss-page .site-header-shell,
.swiss-page .side-nav {
  display: none !important;
}

.swiss-page .site-shell {
  margin-top: 0;
}

.page-detail .site-shell {
  padding-top: calc((var(--bl) * 15) + env(safe-area-inset-top, 0px));
  padding-bottom: calc((var(--bl) * 15) + env(safe-area-inset-bottom, 0px));
}

.page-detail .site-shell.site-shell--project.swiss-wrap {
  padding-bottom: calc((var(--bl) * 4) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 769px) {
  .page-detail .detail-module__title {
    grid-column: 1 / 6;
  }

  .page-detail .detail-module__list,
  .page-detail .detail-module__list.scroll-reveal.is-visible {
    grid-column: 6 / 10;
  }
}

@media (min-width: 769px) {
  .page-home .about-teaser .career-item {
    display: flex;
    flex-direction: row;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: calc(var(--bl) * 2);
    row-gap: 0;
    align-items: start;
  }

  .page-home .about-teaser .career-item__period {
    flex: 0 0 112px;
  }

  .page-home .about-teaser .career-item__title {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .page-home .about-teaser .career-item {
    display: flex;
    flex-direction: column;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }

  .page-home .about-teaser .career-item__period,
  .page-home .about-teaser .career-item__title {
    flex: none;
  }

  .page-home .about-teaser .career-item__period,
  .page-home .about-teaser .career-item__title,
  .page-home .about-teaser .career-item__note {
    grid-column: 1;
  }
}

.page-detail .project-floating-nav .project-detail-nav__link:not(.project-detail-nav__link--disabled):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Keep the fixed home navigation clear of page content at every width. */
.page-home.swiss-page .site-shell {
  padding-top: calc((var(--bl) * 15) + env(safe-area-inset-top, 0px));
}

@media (max-width: 768px) {
  .page-detail.swiss-page .project-layout--detail {
    padding-bottom: calc(var(--bottom-module-height) + (var(--bl) * 4) + env(safe-area-inset-bottom, 0px));
  }
}

/* R60 at 1600 x 900, scaled with each rendered media box. */
.swiss-page.page-home img,
.swiss-page.page-home video,
.swiss-page.page-home picture.media-skeleton,
.swiss-page.page-detail img,
.swiss-page.page-detail video,
.swiss-page.page-detail picture.media-skeleton,
.swiss-page.page-profile img,
.swiss-page.page-profile video,
.swiss-page.page-profile picture.media-skeleton {
  border-radius: 3.75% / 6.6666667%;
}

/* OpenAI-inspired typography. Geometry and spacing remain unchanged. */
.swiss-page,
.swiss-page h1,
.swiss-page h2,
.swiss-page h3,
.swiss-page p,
.swiss-page li,
.swiss-page a,
.swiss-page dt,
.swiss-page dd,
.swiss-page button,
.swiss-page select {
  letter-spacing: 0;
}

.swiss-page {
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.page-home .masthead-title,
.page-home .about-teaser__career-title,
.page-home .home-selected-work__title,
.page-home .home-speaking__heading,
.page-home .project-section__title,
.page-detail .detail-module__title,
.page-detail .description-subtitle,
.page-detail .description-block__title {
  font-weight: 700;
}

.page-home .home-segmented-control__button,
.page-detail .project-floating-nav .project-detail-nav__link,
.swiss-page .eyebrow {
  font-weight: 500;
}

/* Keep detail navigation in the same floating shell as the home control. */
.page-detail .project-floating-nav {
  top: max(var(--bl), env(safe-area-inset-top));
  right: auto;
  bottom: auto;
  left: 50%;
  width: calc(min(100%, var(--maxw)) - (var(--margin) * 0.5));
  max-width: none;
  height: calc(var(--segment-content-height) + (var(--segment-padding-block) * 2));
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transform: translateX(-50%);
}

.page-detail .project-floating-nav .project-detail-nav {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  width: max-content;
  height: var(--segment-content-height);
  margin: 0;
  padding-right: 0;
  column-gap: calc(var(--bl) * 2);
  align-self: center;
}

.page-detail .project-floating-nav .project-detail-nav__link {
  width: 36px;
  height: var(--segment-content-height);
  border-radius: 50%;
}

.page-detail .detail-module__row dt,
.page-detail .detail-module__row dd {
  color: var(--muted-ink);
  -webkit-text-fill-color: var(--muted-ink);
}

.page-detail .project-layout--detail {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .page-detail .project-floating-nav {
    width: calc(min(100%, var(--maxw)) - (var(--margin) * 0.5));
    height: calc(var(--segment-content-height) + (var(--segment-padding-block) * 2));
    padding: 0;
  }
}

/* Draw the border on the rounded frontend media frame. */
.swiss-page picture.media-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.swiss-page img {
  border: 0;
}

.swiss-page picture.media-skeleton > img {
  border-radius: 0;
}

.page-home .home-speaking .home-speaking__media picture.media-skeleton {
  border-radius: 3.75% / 6.6666667%;
}

/* Keep Index media frames consistently rounded across images and videos. */
.swiss-page.page-home .bento-card__media,
.swiss-page.page-home .bento-card__media picture,
.swiss-page.page-home .home-speaking__media,
.swiss-page.page-home .home-speaking__media picture {
  border-radius: 29px !important;
  overflow: hidden;
}

.swiss-page.page-home .bento-card__media img,
.swiss-page.page-home .home-speaking__media img {
  border-radius: 28px !important;
  overflow: hidden;
}

.swiss-page.page-home .bento-card {
  border-radius: 29px !important;
  overflow: visible;
}

.swiss-page.page-home .bento-card__body {
  padding: 0;
}

/* Work detail media stays flush; index and speaking cards keep their radius. */
.swiss-page.page-detail img,
.swiss-page.page-detail video,
.swiss-page.page-detail picture.media-skeleton,
.swiss-page.page-detail .media-embed-skeleton,
.swiss-page.page-detail .media-embed-skeleton iframe,
.swiss-page.page-detail .instagram-media {
  border: 0 !important;
}

.swiss-page.page-detail picture.media-skeleton,
.swiss-page.page-detail video,
.swiss-page.page-detail .media-embed-skeleton,
.swiss-page.page-detail .instagram-media {
  border-radius: 28px !important;
  overflow: hidden;
}

.swiss-page.page-detail .description-block--instagram,
.swiss-page.page-detail .description-block--instagram .instagram-embed-frame,
.swiss-page.page-detail .description-block--instagram .instagram-media,
.swiss-page.page-detail .description-block--instagram iframe {
  border-radius: 0 !important;
}

.swiss-page.page-detail .project-main-media,
.swiss-page.page-detail .description-item__media,
.swiss-page.page-detail .description-image,
.swiss-page.page-detail .description-block--video,
.swiss-page.page-detail .description-block--youtube,
.swiss-page.page-detail .hero-media,
.swiss-page.page-detail .screen-media,
.swiss-page.page-detail .project-main-media img,
.swiss-page.page-detail .description-item__media img,
.swiss-page.page-detail .description-image img,
.swiss-page.page-detail .description-block--video video,
.swiss-page.page-detail .description-block--youtube iframe,
.swiss-page.page-detail .hero-media img,
.swiss-page.page-detail .screen-media img,
.swiss-page.page-detail .screen-media video {
  border-radius: 28px !important;
  overflow: hidden;
}

.swiss-page.page-detail picture.media-skeleton::after {
  display: none;
}
