:root {
  --paper: #e5e5e5;
  --surface: #e4e4e4;
  --ink: #222;
  --muted: #707070;
  --accent: #a70000;
  --lift: -5px -5px 10px rgba(255, 255, 255, .72), 5px 5px 10px rgba(0, 0, 0, .23);
  --button-lift: -3.462px -3.462px 6.923px rgba(255, 255, 255, .7), 3.462px 3.462px 6.923px rgba(0, 0, 0, .25);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-size: 16px;
  letter-spacing: -.02em
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: inherit
}

button {
  color: inherit
}

.home {
  position: relative;
  isolation: isolate;
  min-height: 768px;
  height: 70svh;
  max-height: 1100px;
  overflow: hidden;
  background: #e4e4e4
}

.site-header {
  position: relative;
  z-index: 5;
  height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 40px 60px 0 0
}

.brand {
  position: absolute;
  left: 5vw;
  top: 48px;
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 500;
  color: #707070
}

.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 0
}

.nav-button {
  height: 40px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 13.846px;
  box-shadow: var(--button-lift);
  font-size: 16.15px;
  color: var(--muted);
  transition: transform .18s, box-shadow .18s, background .18s
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: -2px -2px 8px #fff, 4px 4px 10px #aaa
}

.nav-button.active {
  background: #777;
  color: #e4e4e4
}

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

.hero-art {
  position: absolute;
  margin-top: 20px;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none
}

.portrait-wrap {
  position: absolute;
  width: 770px;
  height: 770px;
  left: calc(50% - 422px);
  top: 90px;
  z-index: 2;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* .portrait-wrap::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.38) 48%,
        rgba(255, 255, 255, 0.68) 68%,
        rgba(255, 255, 255, 0.88) 84%,
        #fff 100%
    );

    pointer-events: none;
} */

.hero-copy {
  position: absolute;
  z-index: 4;
  left: calc(50% + 48px);
  top: 146px;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.hero-copy h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: inherit;
}

.hero-copy p {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
  font-weight: 400;
  color: inherit;
}

.hero-contact {
  position: absolute;
  right: 7vw;
  top: 82px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: var(--button-lift);
  color: #707070;
  z-index: 4
}

.mobile-bottom-nav {
  display: none
}

.page-shell {
  min-height: 100vh;
  overflow: hidden
}

.page-shell>.site-header {
  height: 132px
}

.content-page {
  width: min(792px, calc(100% - 40px));
  margin: 20px auto 100px
}

.page-title {
  font-size: 48px;
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.02em;
  text-align: center;
  margin: 35px 0 70px;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .13), -2px -2px 4px rgba(255, 255, 255, .35)
}

.project-group {
  margin: 0 auto 80px
}

.project-group h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 38px;
  text-align: center;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 282px));
  gap: 24px;
  justify-content: center
}

.project-card {
  padding: 12px;
  min-height: 344px;
  border: 0;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--lift);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: -7px -7px 14px rgba(255, 255, 255, .8), 7px 8px 14px rgba(0, 0, 0, .24)
}

.card-art {
  display: block;
  width: 100%;
  height: 174px;
  border-radius: 13px;
  overflow: hidden;
  background: #dedede
}

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

.missing-art {
  display: block;
  width: 100%;
  height: 100%;
  background: #e2e2e2
}

.card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05
}

.card-kind,
.card-date {
  font-size: 14px;
  line-height: 1.1;
  color: #707070
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.coming-grid article {
  min-height: 115px;
  border-radius: 18px;
  box-shadow: var(--lift);
  padding: 20px;
  text-align: center
}

.coming-grid h3 {
  font-size: 20px;
  margin: 4px 0 12px;
  font-weight: 500
}

.coming-grid p {
  font-size: 14px;
  color: #707070;
  margin: 0
}

/* .pager {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 65px auto 0
} */


.send-button {
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--button-lift);
  padding: 12px 24px;
  color: var(--muted)
}

.site-footer {
  width: min(792px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #707070
}

.project-dialog {
  margin: auto;
  inset: 0;
  position: fixed;
  width: min(1040px, calc(100vw - 32px));
  height: min(568px, calc(100vh - 32px));
  border: 0;
  border-radius: 28px;
  padding: 44px 44px 44px 48px;
  background: #e6e6e6;
  box-shadow: 18px 24px 50px rgba(0, 0, 0, 0.28), -12px -12px 30px rgba(255, 255, 255, 0.95), inset 1px 1px 1.5px rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  box-sizing: border-box;
  overflow: hidden;
}

.project-dialog::backdrop {
  background: rgba(30, 30, 30, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f0f0f0 0%, #dbdbdb 100%);
  box-shadow: 2.5px 3px 6px rgba(0, 0, 0, 0.16), -2px -2px 6px rgba(255, 255, 255, 0.95), inset 1px 1px 1px rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #707379;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  z-index: 10;
}

.dialog-close:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.18), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

.dialog-inner {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 36px;
  align-items: center;
  height: 100%;
}

.dialog-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dialog-details h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.dialog-dates {
  font-size: 15px;
  color: #707379;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.dialog-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: #333333;
}

.role-badge svg {
  display: block;
  flex-shrink: 0;
}

.dialog-description {
  font-size: 14.5px;
  line-height: 1.48;
  color: #2b2b2b;
  margin: 0 0 24px;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-line;
}

.dialog-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 18px;
}

.dialog-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 42px;
  padding: 0 5px 0 18px;
  border-radius: 13.85px;
  background: #e4e4e4;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.95),
    3px 4px 10px rgba(0, 0, 0, 0.12);
  color: #606064;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
  user-select: none;
}

.dialog-link-btn span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.dialog-link-btn:hover {
  color: #202226;
  box-shadow: 
    -3px -3px 10px rgba(255, 255, 255, 1),
    4px 5px 12px rgba(0, 0, 0, 0.15);
}

.dialog-link-btn:active {
  transform: scale(0.98);
}

.dialog-link-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  background: #dedede;
}

.dialog-link-btn img,
.dialog-link-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
  display: block;
  pointer-events: none;
}

.dialog-media-wrap {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: auto;
  max-height: 480px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 6px 10px 22px rgba(0, 0, 0, 0.18), -4px -4px 12px rgba(255, 255, 255, 0.85);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
}

.dialog-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 22px;
}

.dialog-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  z-index: 5;
}

.dialog-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.dialog-carousel-btn.prev {
  left: 12px;
}

.dialog-carousel-btn.next {
  right: 12px;
}

.dialog-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}

.dialog-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dialog-carousel-dot.is-active {
  background: #ffffff;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.dialog-carousel-btn[hidden],
.dialog-carousel-dots[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .project-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 36px);
    padding: 24px 20px 24px;
    border-radius: 22px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dialog-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    z-index: 20;
  }

  .dialog-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    margin-top: 24px;
  }

  .dialog-media-wrap {
    order: -1;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    margin: 0 auto;
    border-radius: 16px;
    background: transparent;
    box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.16), -3px -3px 8px rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dialog-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    display: block;
  }

  .dialog-details h2 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .dialog-dates {
    font-size: 13.5px;
    margin-bottom: 12px;
  }

  .dialog-roles {
    gap: 10px 14px;
    margin-bottom: 14px;
  }

  .role-badge {
    font-size: 13.5px;
    gap: 6px;
  }

  .role-badge svg {
    width: 16px;
    height: 16px;
  }

  .dialog-description {
    font-size: 13.5px;
    line-height: 1.45;
    max-height: none;
    margin-bottom: 20px;
    overflow: visible;
    white-space: pre-line;
  }

  .dialog-links {
    gap: 10px 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  .dialog-link-btn {
    font-size: 14px;
    height: 40px;
    padding: 0 5px 0 16px;
    border-radius: 13.85px;
    gap: 12px;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .dialog-link-btn img,
  .dialog-link-icon img {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .project-dialog {
    width: calc(100vw - 20px);
    padding: 20px 16px 20px;
  }

  .dialog-media-wrap {
    height: auto;
    max-height: 240px;
    border-radius: 14px;
    background: transparent;
  }

  .dialog-image {
    height: auto;
    max-height: 240px;
    border-radius: 14px;
  }

  .dialog-details h2 {
    font-size: 21px;
  }

  .dialog-links {
    gap: 8px 10px;
  }

  .dialog-link-btn {
    font-size: 13.5px;
    height: 38px;
    padding: 0 5px 0 14px;
    gap: 10px;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .dialog-link-btn img,
  .dialog-link-icon img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }
}

.cooperation-intro {
  width: 100%;
  text-align: center;
  margin: 0 auto 34px
}

.segmented {
  width: max-content;
  margin: 0 auto 26px;
  padding: 5px;
  display: flex;
  gap: 5px;
  border-radius: 16px;
  box-shadow: inset 2px 2px 4px #c8c8c8, inset -2px -2px 4px #fff
}

.segmented button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 10px 24px;
  color: #707070;
  cursor: pointer
}

.segmented button.selected {
  background: #777;
  color: #fff;
  box-shadow: var(--button-lift)
}

.cooperation-intro h2,
.contact-section h2 {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 10px
}

.cooperation-intro p {
  color: #707070;
  margin: 0
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 40px auto 100px
}

.service-card {
  border-radius: 20px;
  box-shadow: var(--lift);
}

.service-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  cursor: pointer;
}

.service-card summary::-webkit-details-marker {
  display: none
}

.service-plus {
  font-size: 26px;
  color: #707070;
  transition: transform .2s
}

.service-card[open] .service-plus {
  transform: rotate(45deg)
}

.service-card p {
  font-size: 15px;
  color: #707070;
  line-height: 1.4;
  margin: 0 0 20px
}

.contact-section {
  width: 100%;
  padding: 38px 46px;
  border-radius: 24px;
  box-shadow: var(--lift);
  text-align: center;
  scroll-margin-top: 24px
}

.contact-section>p {
  color: #707070;
  margin: 0 0 28px
}

.contact-form {
  text-align: left;
  display: grid;
  gap: 18px
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #555
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  padding: 12px 14px;
  background: var(--surface);
  box-shadow: inset 2px 2px 4px #c8c8c8, inset -2px -2px 4px #fff;
  outline: none
}

.contact-form textarea {
  resize: none;
  overflow-y: hidden;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border: none;
  box-shadow: inset 2.5px 2.5px 5px #b0b0b0, inset -2.5px -2.5px 5px #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.send-button {
  justify-self: center;
  min-width: 180px;
  cursor: pointer
}

.send-button span {
  margin-left: 15px
}

.form-status {
  min-height: 1.3em;
  margin: 0;
  text-align: center;
  color: #707070;
  font-size: 14px;
  transition: color 0.2s ease;
}

.form-status.is-error {
  color: #c93b3b;
}

.form-status.is-success {
  color: #2e7d32;
}

.form-status.is-loading {
  color: #666;
}

.media-list {
  width: min(588px, 100%);
  margin: 0 auto
}

.media-row {
  display: grid;
  grid-template-columns: 34px 1fr auto 22px;
  gap: 15px;
  align-items: center;
  min-height: 104px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(112, 112, 112, .2)
}

.media-index {
  font-size: 12px;
  color: #999
}

.media-row h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 8px
}

.media-row p {
  font-size: 14px;
  color: #707070;
  margin: 0
}

.media-row time {
  font-size: 12px;
  color: #707070;
  white-space: nowrap
}

.media-arrow {
  font-size: 16px;
  color: #707070
}

@media(max-width:1050px) {
  .brand {
    left: 24px
  }

  .site-header {
    padding: 40px 40px 0 0;
  }

  .desktop-nav {
    gap: 16px;
    margin-left: 0;
  }

  .nav-button {
    width: 165px;
    height: 40px;
    font-size: 14.5px;
  }

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

@media(max-width:700px) {
  body {
    font-size: 16px
  }

  .home {
    height: 70svh;
    min-height: 760px;
    max-height: none
  }

  .site-header {
    height: 90px;
    padding-top: 0;
    justify-content: flex-end;
    align-items: flex-start
  }

  .home .brand,
  .page-shell .brand {
    left: 20px;
    top: 25px
  }

  .desktop-nav {
    display: none
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 22px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 13px;
    background: #e4e4e4;
    box-shadow: var(--button-lift);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 8
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: #707070;
    transition: transform .2s
  }

  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(3px) rotate(45deg)
  }

  .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-3px) rotate(-45deg)
  }

  .mobile-nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    position: absolute;
    z-index: 7;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 10px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--lift);
    flex-direction: column;
    gap: 4px;
    transition: .2s
  }

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

  .mobile-nav a {
    padding: 12px;
    border-radius: 10px;
    color: #707070
  }

  .mobile-nav a:hover {
    background: #ddd
  }

  .hero-art {
    inset: 0;
    overflow: hidden
  }

  .portrait-wrap {
    width: 540px;
    height: 540px;
    left: calc(50% - 170px);
    top: 136px;
    transform: translateX(-50%);
    z-index: 2
  }

  .portrait {
    position: static;
    width: 100%;
    height: 100%;
    left: auto;
    top: auto
  }

  .hero-copy {
    left: 175px;
    top: 184px;
    width: calc(100% - 185px);
    max-width: 195px;
    z-index: 4
  }

  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.05;
    margin-bottom: 12px;
    color: inherit;
  }

  .hero-copy p {
    font-size: 14.5px;
    line-height: 1.2;
    color: inherit;
  }

  .hero-contact {
    right: 20px;
    top: 84px
  }


  .page-shell>.site-header {
    height: 82px;
    padding: 0
  }

  .content-page {
    width: calc(100% - 40px);
    margin: 15px auto 70px
  }

  .page-title {
    font-size: 34px;
    margin: 25px 0 46px
  }

  .project-group {
    margin-bottom: 60px
  }

  .project-group h2 {
    font-size: 30px;
    margin-bottom: 26px
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px
  }

  .project-card {
    min-height: 250px;
    padding: 8px;
    gap: 9px;
    border-radius: 16px
  }

  .card-art {
    height: auto;
    aspect-ratio: 1.5;
    border-radius: 10px
  }

  .card-title {
    font-size: 15px
  }

  .card-kind,
  .card-date {
    font-size: 12px
  }

  .coming-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
  }

  .coming-grid article {
    padding: 12px 7px;
    min-height: 95px;
    border-radius: 14px
  }

  .coming-grid h3 {
    font-size: 14px
  }

  .coming-grid p {
    font-size: 11px
  }

  .site-footer {
    width: calc(100% - 40px);
    padding: 18px 0 100px;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 10px
  }

  .site-footer span {
    width: 100%;
    text-align: center;
  }


  .project-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 32px);
    padding: 50px 20px 24px;
    border-radius: 20px;
    overflow-y: auto;
  }

  .dialog-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
  }

  .dialog-media-wrap {
    height: auto;
    aspect-ratio: auto;
    order: -1;
  }

  .dialog-details h2 {
    font-size: 26px;
  }

  .dialog-description {
    font-size: 14px;
    max-height: none;
  }

  .cooperation-intro {
    margin-bottom: 26px
  }

  .segmented {
    margin-bottom: 22px
  }

  .segmented button {
    padding: 10px 18px;
    font-size: 14px
  }

  .cooperation-intro h2,
  .contact-section h2 {
    font-size: 24px
  }

  .cooperation-intro p {
    font-size: 14px;
    line-height: 1.3
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 30px auto 68px
  }

  .service-card {
    min-height: 70px;
    padding: 0 18px
  }

  .service-card summary {
    min-height: 70px;
    font-size: 16px
  }

  .service-card p {
    font-size: 14px
  }

  .contact-section {
    padding: 26px 18px;
    border-radius: 20px
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .contact-form {
    gap: 16px
  }

  .media-list {
    width: 100%
  }

  .media-row {
    grid-template-columns: 24px 1fr 18px;
    gap: 10px;
    min-height: 88px;
    padding: 14px 0
  }

  .media-row h2 {
    font-size: 16px
  }

  .media-row p {
    font-size: 12px
  }

  .media-row time {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px
  }

  .media-arrow {
    grid-column: 3;
    grid-row: 1
  }

  /* .pager {
    margin: 45px auto 0
  }

  .pager a {
    padding: 10px 14px;
    font-size: 13px
  } */

}

@media(min-width:701px) and (max-width:850px) {
  .page-shell>.site-header {
    height: 110px;
    padding: 25px 24px 0 0;
    justify-content: flex-end;
  }

  .site-header .brand {
    display: none
  }

  .desktop-nav {
    gap: 10px;
  }

  .nav-button {
    height: 38px;
    width: 148px;
    min-width: 0;
    padding: 0;
    font-size: 13.5px;
  }

  .nav-icon,
  .nav-contact img {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
  }

  .portrait-wrap {
    width: 678px;
    height: 678px;
    left: calc(50% - 371px);
    top: 90px;
    transform: none;
  }

  .hero-copy {
    left: calc(50% + 42px);
    top: 139px;
  }

  .hero-copy h1 {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
  }

  .hero-copy p {
    font-size: 18.5px;
    line-height: 1.25;
    margin: 0;
    font-weight: 400;
  }


  .content-page {
    width: min(720px, calc(100% - 44px))
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 282px));
    gap: 18px
  }

  .dialog-inner {
    gap: 22px
  }

  .dialog-image {
    height: auto;
    max-height: 400px;
  }

}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }

}

/* Exact controls exported with the mobile home frame */
.nav-contact {
  background-color: #777777;
  color: rgba(255, 255, 255, 0.792);
  position: relative;
  padding-right: 22px
}

.nav-contact img {
  position: absolute;
  right: 4px;
  top: 5px;
  width: 30px;
  height: 30px
}

.hero-contact {
  display: none
}







.nav-button {
  position: relative;
  padding-right: 44px !important
}

.nav-button img,
.nav-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none
}

@media(max-width:700px) {
  .nav-icon {
    display: none
  }
}

@media(max-width:700px) {
  .home .menu-toggle {
    display: none
  }

  .home .hero-copy h1 {
    margin-bottom: 8px
  }

}

/* Layout refinements from the supplied desktop and mobile Figma frames */
.mobile-contact {
  display: none
}

.projects-page {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 64px
}

.projects-page .project-group {
  margin: 0 auto 72px
}

.projects-page .project-group>h1,
.projects-page .project-group>h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  margin: 80px 0 48px 0;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  justify-content: stretch
}

.project-card {
  min-height: 225px;
  padding: 10px;
  border-radius: 18px;
  gap: 8px;
  text-align: left;
  align-items: stretch
}

.card-art {
  height: auto;
  aspect-ratio: 1.5;
  border-radius: 10px;
  flex: none
}

.card-title {
  font-size: 20px;
  line-height: 1.02
}

.card-kind,
.card-date {
  font-size: 14px;
  line-height: 1.05
}

.card-date {
  margin-top: auto;
  color: #999
}

.coming-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.coming-grid article {
  min-height: 58px;
  text-align: left;
  padding: 8px 14px;
  border-radius: 16px
}

.coming-grid article:last-child {
  grid-column: 1/-1;
  width: 50%;
  justify-self: center
}

.coming-grid h3 {
  font-size: 20px;
  margin: 0 0 5px
}

.coming-grid p {
  font-size: 14px
}

.archive-group .project-grid.is-collapsed {
  max-height: 172px;
  overflow: hidden;
  position: relative
}

.archive-group .project-grid.is-collapsed:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 82px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none
}

.list-toggle {
  display: block;
  margin: 32px auto 0;
  min-width: 166px;
  padding: 12px 26px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--button-lift);
  color: #777;
  cursor: pointer
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px
}

.experience-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: var(--lift);
  min-height: 55px
}

.experience-grid strong {
  font-size: 20px;
  font-weight: 500
}

.experience-grid time {
  font-size: 12px;
  color: #999;
  align-self: center
}

.experience-grid span {
  grid-column: 1/-1;
  font-size: 14px;
  color: #707070
}

.cooperation-page {
  width: min(700px, calc(100% - 40px));
  margin: 36px auto 80px;
}

.cooperation-page .service-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 100px;
}

.audience-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px 2px;
  color: #707070;
  font-size: 16px;
  font-weight: 400;
}

.audience-switch button {
  position: relative;
  width: 58px;
  height: 28px;
  border: none;
  outline: none;
  border-radius: 9999px;
  background: #cacace;
  box-shadow: inset 1.5px 2px 4px rgba(0, 0, 0, 0.22), inset -1.5px -1.5px 3px rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  flex: none;
}

.audience-switch button:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

.audience-switch button.is-person {
  background: #8e8e93;
  box-shadow: inset 2px 2.5px 5px rgba(0, 0, 0, 0.38), inset -1.5px -1.5px 3px rgba(255, 255, 255, 0.3);
}

.audience-switch button span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #dedede 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), -1px -1px 2px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, transform 0.1s ease;
}

.audience-switch button:active span {
  transform: scale(0.96);
}

.audience-switch button.is-person span {
  left: 32px;
}

.audience-switch button span svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #666;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.service-card {
  padding: 0 24px 0 16px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.85), 4px 4px 10px rgba(0, 0, 0, 0.11);
  min-height: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card summary {
  min-height: 72px;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.service-card summary:focus,
.service-card summary:focus-visible {
  outline: none;
  border: none;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #dfdfe2;
  box-shadow: inset 1.5px 1.5px 3px rgba(0, 0, 0, 0.12), inset -1.5px -1.5px 3px rgba(255, 255, 255, 0.75);
  color: #68686c;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke-width: 1.9;
}

.service-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.service-copy strong {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #222222;
  letter-spacing: -0.01em;
}

.service-copy small {
  font-size: 13.5px;
  line-height: 1.35;
  color: #78787c;
  font-weight: 400;
}

.service-plus {
  flex: none;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  color: #727276;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.service-card[open] {
  padding-bottom: 24px;
}

.service-card[open] summary {
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 4px;
}

.service-card[open] .service-icon {
  margin-top: 2px;
}

.service-card[open] .service-plus {
  margin-top: 4px;
  transform: rotate(45deg);
}

.service-card[open] .service-details {
  margin: 16px 0 0 64px;
  position: relative;
  min-height: auto;
  padding-bottom: 0;
}

.service-section-title {
  font-size: 15px;
  font-weight: 500;
  color: #55555a;
  margin: 0 0 12px;
}

.service-list {
  counter-reset: service-counter;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  counter-increment: service-counter;
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: #2b2b30;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  word-break: break-word;
}

.service-list li span {
  flex: 1;
  min-width: 0;
}

.service-list li::before {
  content: counter(service-counter, decimal-leading-zero);
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  color: #f0f0f4;
  text-shadow: 
    -1.5px -1.5px 2px rgba(255, 255, 255, 1),
    1.5px 2px 3px rgba(0, 0, 0, 0.2);
  flex: none;
  width: 26px;
  letter-spacing: -0.02em;
}

.service-formats,
.service-representation {
  margin: 16px 0 0;
  color: #2b2b30;
  font-size: 14.5px;
  line-height: 1.42;
  word-break: break-word;
  font-weight: 400;
}

.service-action-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 44px;
  padding: 0 8px 0 20px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #F0F0F3 0%, #D8D8DC 100%);
  box-shadow: 
    -2.5px -2.5px 6px rgba(255, 255, 255, 0.95),
    2.5px 3.5px 7px rgba(0, 0, 0, 0.12),
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.9),
    inset -1px -1px 2px rgba(0, 0, 0, 0.04);
  color: #555860;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
  user-select: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.service-action-btn:hover {
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 1),
    3.5px 4.5px 10px rgba(0, 0, 0, 0.15),
    inset 1px 1px 1.5px rgba(255, 255, 255, 0.95);
}

.service-action-btn:hover .service-action-icon {
  color: #1a1a1a;
}

.service-action-btn:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.16), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

.service-action-label {
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: inherit !important;
}

.service-action-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FDFDFD 0%, #D8D8DC 100%);
  box-shadow: 
    1.5px 2px 4px rgba(0, 0, 0, 0.13),
    -1.5px -1.5px 3px rgba(255, 255, 255, 0.95),
    inset 1px 1px 1px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #656870;
  flex-shrink: 0;
  transition: color 0.12s ease;
}

.service-action-icon svg {
  width: 13.5px;
  height: 13.5px;
  stroke-width: 2.3;
  display: block;
}

.contact-section {
  padding: 34px 36px 38px;
  border-radius: 38px;
  text-align: left
}

.contact-section h2 {
  text-align: center;
  font-size: 32px;
  margin: 0 0 28px;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text
}

.contact-form {
  gap: 16px
}

.contact-form label {
  gap: 6px;
  font-size: 20px;
  color: #777;
  font-weight: 500
}

.contact-form input,
.contact-form textarea {
  min-height: 48px;
  border-radius: 17px;
  padding: 12px 18px;
  font-size: 18px;
  color: #555;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 48px;
  resize: none;
  overflow-y: hidden;
  box-sizing: border-box;
  line-height: 1.35;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.contact-form textarea::-webkit-scrollbar {
  display: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b1b1b1
}

.contact-form .required-field {
  color: #c00
}

.contact-form small {
  display: none;
  font-size: 12px;
  font-weight: 400;
  color: #cc3333
}

.contact-form :invalid:not(:placeholder-shown)+small {
  display: block
}

.send-button {
  width: 250px;
  height: 50px;
  padding: 10px 24px;
  border-radius: 18px;
  background: #818181;
  color: #eee;
  font-size: 18px
}

.cooperation-page .site-footer {
  display: none
}

.publicity-page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 70px
}

.publicity-page .page-title {
  font-size: 48px;
  margin: 24px 0 58px
}

.media-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: start;
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  padding: 12px 16px 12px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--paper, #e5e5e5);
  box-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.07),
    -3px -3px 8px rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
  overflow: hidden;
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.media-card:not([open]):hover {
  transform: translateY(-1px);
  box-shadow: 
    4px 4px 10px rgba(0, 0, 0, 0.09),
    -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.media-card summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  outline: none;
  border: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.media-card summary::-webkit-details-marker {
  display: none;
}

.media-card summary:focus,
.media-card summary:focus-visible {
  outline: none;
}

.media-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.media-title {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #1d2024;
  margin: 0;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.media-title-full {
  display: none;
}

.media-title-short {
  display: inline;
}

.media-date {
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  color: #8c9096;
  white-space: nowrap;
  margin-top: 1px;
  flex-shrink: 0;
  letter-spacing: -0.015em;
}

.media-close-btn {
  display: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FDFDFD 0%, #D8D8DC 100%);
  box-shadow: 
    1.5px 2px 4px rgba(0, 0, 0, 0.12),
    -1.5px -1.5px 3px rgba(255, 255, 255, 0.95);
  border: none;
  color: #656870;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.media-close-btn:hover {
  color: #1a1a1a;
  transform: scale(1.08);
}

.media-close-btn:active {
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.16), inset -1px -1px 3px rgba(255, 255, 255, 0.9);
  transform: scale(0.96);
}

.media-summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-source {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  color: #71767e;
  line-height: 1.2;
  letter-spacing: -0.015em;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.media-source-note {
  font-family: inherit;
  font-size: 8px;
  color: #999;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.media-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: var(--paper, #e5e5e5);
  box-shadow: 
    1.5px 1.5px 4px rgba(0, 0, 0, 0.11),
    -1.5px -1.5px 4px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71767e;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-arrow svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* Open Card State */
.media-card[open] {
  padding-bottom: 20px;
}

.media-card[open] summary {
  min-height: auto;
  gap: 0;
}

.media-card[open] .media-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.2;
}

.media-card[open] .media-title-short {
  display: none;
}

.media-card[open] .media-title-full {
  display: inline;
}

.media-card[open] .media-date {
  display: none;
}

.media-card[open] .media-close-btn {
  display: flex;
}

.media-card[open] .media-summary-footer {
  display: none;
}

.media-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.media-meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.38;
}

.media-meta-label {
  color: #8c9096;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 74px;
}

.media-meta-value {
  color: #2b2b30;
  font-weight: 500;
  word-break: break-word;
}

.media-about {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.media-about-label {
  color: #8c9096;
  font-size: 13px;
  font-weight: 500;
}

.media-about-text {
  color: #2b2b30;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}

.media-action-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.media-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 42px;
  padding: 0 5px 0 18px;
  border-radius: 13.85px;
  background: #e4e4e4;
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.95),
    3px 4px 10px rgba(0, 0, 0, 0.12);
  color: #606064;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
}

.media-action-link:hover {
  color: #202226;
  box-shadow: 
    -3px -3px 10px rgba(255, 255, 255, 1),
    4px 5px 12px rgba(0, 0, 0, 0.15);
}

.media-action-link:active {
  transform: scale(0.98);
}

.media-action-link img,
.media-action-link .service-action-badge {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.media-list.is-collapsed {
  max-height: 382px;
  overflow: hidden;
  position: relative;
}

.media-list.is-collapsed:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(transparent, var(--paper, #e5e5e5));
  pointer-events: none;
}

.media-list.is-expanded {
  max-height: none;
  overflow: visible;
}

.media-list.is-expanded:after {
  display: none;
}

.publicity-links {
  text-align: center;
  margin: 70px auto 0
}

.publicity-links h2 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 auto 12px;
  background: linear-gradient(90deg, #1d2024 0%, #8b9098 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text
}

.publicity-links h2:not(:first-child) {
  margin-top: 60px
}

.publicity-links .soft-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 245px;
  max-width: calc(100% - 32px);
  height: 50px;
  margin: 0 auto;
  padding: 0 7px 0 38px;
  border-radius: 15px;
  background: linear-gradient(145deg, #eeeeee 0%, #dedede 100%);
  box-shadow: -4px -4px 12px rgba(255, 255, 255, 0.95), 5px 7px 14px rgba(0, 0, 0, 0.14), inset 1px 1px 1px rgba(255, 255, 255, 0.8);
  color: #707379;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-sizing: border-box
}

.publicity-links .soft-link span {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #f5f5f5 0%, #dbdbdb 100%);
  box-shadow: 2px 2.5px 5px rgba(0, 0, 0, 0.16), -2px -2px 5px rgba(255, 255, 255, 0.95), inset 1px 1px 1px rgba(255, 255, 255, 0.95);
  color: #707379;
  flex-shrink: 0
}

.publicity-links .soft-link span svg {
  display: block
}

.publicity-links .soft-link:active {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.15), inset -3px -3px 6px rgba(255, 255, 255, 0.85)
}

.soft-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: max-content;
  min-width: 246px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: var(--button-lift);
  color: #777;
  font-size: 18px
}

.soft-link span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, .7), 2px 2px 5px rgba(0, 0, 0, .2);
}

.soft-link span svg {
  display: block;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 56px auto 0;
}

.social-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--paper, #e5e5e5);
  box-shadow: 
    -4px -4px 12px rgba(255, 255, 255, 0.95),
    4px 5px 14px rgba(0, 0, 0, 0.13),
    inset 1px 1px 1px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    -6px -6px 14px rgba(255, 255, 255, 1),
    6px 7px 15px rgba(0, 0, 0, 0.16),
    inset 1px 1px 1px rgba(255, 255, 255, 0.85);
}

.social-btn:active {
  transform: translateY(1px);
  box-shadow: 
    inset 2.5px 2.5px 5px rgba(0, 0, 0, 0.13),
    inset -2.5px -2.5px 5px rgba(255, 255, 255, 0.85);
}

.social-btn:focus-visible {
  outline: 2px solid rgba(112, 112, 112, 0.5);
  outline-offset: 3px;
}

.social-btn .social-icon,
.social-btn .social-icon-img {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.12));
  transition: transform 0.18s ease;
}

.publicity-page+.site-footer {
  justify-content: center;
  padding: 0 0 100px;
  font-size: 16px
}

@media(max-width:700px) {
  .page-shell>.site-header {
    height: 116px;
    justify-content: flex-end
  }

  .desktop-nav,
  .menu-toggle,
  .mobile-nav {
    display: none !important
  }

  .mobile-contact {
    display: flex;
    position: absolute;
    right: 20px;
    top: 68px;
    align-items: center;
    gap: 20px;
    padding: 8px 10px 8px 18px;
    border-radius: 14px;
    box-shadow: var(--button-lift);
    color: #777;
    font-size: 14px
  }

  .mobile-contact span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px rgba(255, 255, 255, .7), 2px 2px 5px rgba(0, 0, 0, .18)
  }

  .projects-page {
    width: calc(100% - 40px);
    margin: 0 auto 50px
  }

  .projects-page .project-group {
    margin-bottom: 54px
  }

  .projects-page .project-group>h1,
  .projects-page .project-group>h2 {
    font-size: 30px;
    margin-bottom: 22px
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px
  }

  .project-card {
    min-height: 164px;
    padding: 7px;
    border-radius: 15px;
    gap: 6px
  }

  .card-title {
    font-size: 15px
  }

  .card-kind,
  .card-date {
    font-size: 10px
  }

  .coming-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .coming-grid article:last-child {
    grid-column: auto;
    width: 100%
  }

  .coming-grid article {
    min-height: 48px;
    padding: 8px 12px
  }

  .coming-grid h3 {
    font-size: 16px
  }

  .coming-grid p {
    font-size: 11px
  }

  .archive-group .project-grid.is-collapsed {
    max-height: 170px
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 11px
  }

  .experience-grid article {
    min-height: 52px;
    padding: 8px 10px
  }

  .experience-grid strong {
    font-size: 16px
  }

  .experience-grid span {
    font-size: 11px
  }

  .experience-grid time {
    font-size: 10px
  }

  .cooperation-page {
    width: calc(100% - 40px);
    margin: 62px auto 50px
  }

  .cooperation-page .service-grid {
    gap: 12px;
    margin-bottom: 72px
  }

  .cooperation-page {
    width: calc(100% - 32px);
    margin: 20px auto 60px;
  }

  .cooperation-page .service-grid {
    gap: 11px;
    margin-bottom: 60px;
  }

  .audience-switch {
    font-size: 14px;
    gap: 12px;
    margin: 0 0 16px 2px;
  }

  .audience-switch button {
    width: 50px;
    height: 26px;
  }

  .audience-switch button span {
    width: 22px;
    height: 22px;
    top: 2px;
    left: 2px;
  }

  .audience-switch button.is-person span {
    left: 26px;
  }

  .audience-switch button span svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
  }

  .service-card {
    padding: 0 16px 0 12px;
    border-radius: 17px;
  }

  .service-card summary {
    min-height: 58px;
    padding: 10px 0;
    gap: 12px;
  }

  .service-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .service-icon svg {
    width: 19px;
    height: 19px;
  }

  .service-copy strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .service-copy small {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .service-plus {
    font-size: 22px;
    width: 20px;
    height: 20px;
    margin-left: 4px;
  }

  .service-card[open] {
    padding-bottom: 18px;
  }

  .service-card[open] summary {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 4px;
  }

  .service-card[open] .service-icon {
    margin-top: 2px;
  }

  .service-card[open] .service-plus {
    margin-top: 3px;
  }

  .service-card[open] .service-details {
    margin: 10px 0 0 50px;
  }

  .service-section-title {
    font-size: 13px;
    margin: 0 0 8px;
  }

  .service-list {
    gap: 6px;
    margin: 0 0 12px;
  }

  .service-list li {
    font-size: 13px;
    line-height: 1.35;
    gap: 10px;
  }

  .service-list li::before {
    font-size: 15px;
    width: 20px;
    text-shadow: 
      -1px -1px 1.5px rgba(255, 255, 255, 1),
      1px 1.5px 2px rgba(0, 0, 0, 0.2);
  }

  .service-formats,
  .service-representation {
    font-size: 12.5px;
    line-height: 1.38;
    margin-top: 10px;
  }

  .service-action-wrap {
    margin-top: 14px;
  }

  .service-action-btn {
    height: 38px;
    padding: 0 6px 0 16px;
    font-size: 13.5px;
    gap: 11px;
  }

  .service-action-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .service-action-icon svg {
    width: 13px;
    height: 13px;
  }

  .contact-section {
    padding: 22px 16px 24px;
    border-radius: 22px
  }

  .contact-section h2 {
    font-size: 23px;
    margin-bottom: 20px
  }

  .contact-form {
    gap: 12px
  }

  .contact-form label {
    font-size: 14px;
    gap: 5px
  }

  .contact-form input {
    min-height: 42px;
    height: 42px;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .contact-form textarea {
    min-height: 54px;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 14px;
    resize: none;
    overflow-y: hidden;
    box-sizing: border-box;
    line-height: 1.35;
  }

  .send-button {
    width: 156px;
    height: 40px;
    min-width: 0;
    font-size: 14px;
    padding: 8px
  }

  .publicity-page {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .publicity-page .page-title {
    font-size: 28px;
    margin: 16px 0 28px
  }

  .media-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }

  .media-card {
    flex-shrink: 0;
    width: 100%;
    min-height: 0;
    padding: 7px 10px 7px 12px;
    border-radius: 13px;
    box-shadow: 
      2px 2px 5px rgba(0, 0, 0, 0.07),
      -2px -2px 5px rgba(255, 255, 255, 0.85);
  }

  .media-card summary {
    min-height: 0;
    gap: 3px;
  }

  .media-summary-header {
    gap: 8px;
  }

  .media-title {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .media-date {
    font-size: 9.5px;
    letter-spacing: -0.01em;
    margin-top: 1px;
    color: #8c9096;
  }

  .media-close-btn {
    width: 22px;
    height: 22px;
  }

  .media-close-btn svg {
    width: 9px;
    height: 9px;
  }

  .media-summary-footer {
    gap: 8px;
    margin-top: 1px;
  }

  .media-source {
    font-size: 10px;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: #71767e;
  }

  .media-source-note {
    font-size: 7.5px;
    line-height: 1.1;
    color: #999;
  }

  .media-arrow {
    width: 23px;
    height: 23px;
    min-width: 23px;
    min-height: 23px;
    box-shadow: 
      1.5px 1.5px 3px rgba(0, 0, 0, 0.11),
      -1.5px -1.5px 3px rgba(255, 255, 255, 0.9);
  }

  .media-arrow svg {
    width: 12px;
    height: 12px;
  }

  .media-card[open] {
    padding: 10px 12px 14px 12px;
  }

  .media-card[open] .media-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
  }

  .media-details {
    margin-top: 10px;
    padding-top: 10px;
    gap: 8px;
  }

  .media-meta-row {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .media-meta-label {
    min-width: 62px;
    font-size: 11.5px;
  }

  .media-about-label {
    font-size: 11.5px;
  }

  .media-about-text {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .media-card .service-action-btn {
    height: 36px;
    padding: 0 6px 0 15px;
    font-size: 12.5px;
    margin-top: 4px;
    gap: 10px;
  }

  .media-card .service-action-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .media-card .service-action-icon svg {
    width: 12px;
    height: 12px;
  }

  .media-list.is-collapsed {
    max-height: 334px;
    overflow: hidden;
    position: relative;
  }

  .media-list.is-collapsed:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    background: linear-gradient(to bottom,
        rgba(229, 229, 229, 0) 0%,
        rgba(229, 229, 229, 0.25) 28%,
        rgba(229, 229, 229, 0.65) 55%,
        rgba(229, 229, 229, 0.94) 82%,
        #e5e5e5 100%);
    pointer-events: none;
  }

  .media-list.is-expanded {
    max-height: none;
  }

  .media-list.is-expanded:after {
    display: none;
    content: none;
  }

  .list-toggle {
    margin-top: 22px;
    min-width: 156px;
    padding: 10px 20px;
    font-size: 14px
  }

  .publicity-links {
    margin-top: 42px;
  }

  .publicity-links h2 {
    font-size: 26px;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #1d2024 0%, #8b9098 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
  }

  .publicity-links h2:not(:first-child) {
    margin-top: 48px;
  }

  .publicity-links .soft-link {
    width: 245px;
    max-width: calc(100% - 32px);
    height: 50px;
    padding: 0 7px 0 38px;
    border-radius: 15px;
    font-size: 19px;
    box-shadow: -4px -4px 12px rgba(255, 255, 255, 0.95), 5px 7px 14px rgba(0, 0, 0, 0.14), inset 1px 1px 1px rgba(255, 255, 255, 0.8);
  }

  .publicity-links .soft-link span {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .publicity-links .soft-link span svg {
    display: block;
  }

  .soft-link {
    min-width: 164px;
    gap: 12px;
    padding: 8px 10px;
    font-size: 14px
  }

  .soft-link span {
    width: 28px;
    height: 28px
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 44px auto 0;
  }

  .social-btn {
    width: 68px;
    height: 68px;
    box-shadow: 
      -3px -3px 8px rgba(255, 255, 255, 0.95),
      3px 4px 10px rgba(0, 0, 0, 0.13),
      inset 1px 1px 1px rgba(255, 255, 255, 0.7);
  }

  .social-btn:active {
    transform: translateY(1px);
    box-shadow: 
      inset 2px 2px 4px rgba(0, 0, 0, 0.13),
      inset -2px -2px 4px rgba(255, 255, 255, 0.85);
  }

  .social-btn .social-icon,
  .social-btn .social-icon-img {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: block;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(1px 1.5px 2px rgba(0, 0, 0, 0.12));
  }

  .publicity-page+.site-footer {
    width: 100%;
    margin: 38px auto 0;
    padding: 0 16px 110px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }

  .publicity-page+.site-footer span {
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: nowrap;
  }
}

@media(min-width:701px) and (max-width:1050px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .projects-page {
    width: calc(100% - 60px)
  }

  .publicity-page {
    width: calc(100% - 60px)
  }
}

@media(min-width:701px) {
  .projects-page>.project-group:first-child {
    margin-top: 0
  }

  .page-shell:has(.projects-page)>.site-header {
    height: 110px
  }

  .projects-page {
    padding-top: 2px
  }
}

@media(max-width:700px) {
  .mobile-contact {
    top: 82px
  }

  .page-shell:has(.projects-page)>.site-header {
    height: 124px
  }

  .projects-page {
    padding-top: 6px
  }
}

@media(max-width:700px) {

  .home .menu-toggle,
  .home .mobile-nav {
    display: none !important
  }

}

@media(min-width:701px) {
  .projects-page {
    padding-top: 2px
  }
}

.contact-form small {
  display: block
}

/* Interface refinements from the supplied TOMAS references */
.page-shell {
  overflow-x: clip;
  overflow-y: visible;
}

.content-page[id],
.contact-section[id] {
  scroll-margin-top: 24px;
}

.launched-group {
  margin: 0 auto 80px;
}

.launched-group h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 60px 0 32px;
  text-align: center;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.launched-group #projects-launched {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 20px;
  max-width: 720px;
  margin-inline: auto;
  padding: 0;
}

.launched-group .project-card {
  width: 218px;
  flex: 0 0 218px;
  min-height: 246px;
  padding: 9px 10px 14px 10px;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: -4px -4px 9px rgba(255, 255, 255, 0.75), 4px 4px 9px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.launched-group .project-card:hover {
  transform: translateY(-2px);
  box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.85), 5px 6px 12px rgba(0, 0, 0, 0.22);
}

.launched-group .card-art {
  display: block;
  width: 100%;
  height: 128px;
  border-radius: 12px;
  overflow: hidden;
  background: #dedede;
  margin: 0 0 10px 0;
  flex: none;
}

.launched-group .card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.launched-group .card-title {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.15;
  color: #222;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.launched-group .card-kind {
  display: block;
  font-size: 12.5px;
  line-height: 1.25;
  color: #707070;
  margin: 0;
}

.launched-group .card-date {
  display: block;
  font-size: 11.5px;
  line-height: 1;
  color: #999;
  margin-top: auto;
  padding-top: 10px;
}

@media (max-width: 740px) {
  .launched-group h2 {
    font-size: 28px;
    margin: 40px 0 22px;
  }

  .launched-group #projects-launched {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .launched-group .project-card {
    width: auto;
    flex: initial;
    min-height: 164px;
    padding: 7px;
    border-radius: 15px;
    box-shadow: -3px -3px 7px rgba(255, 255, 255, 0.75), 3px 3px 7px rgba(0, 0, 0, 0.16);
  }

  .launched-group .card-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .launched-group .card-title {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 2px;
  }

  .launched-group .card-kind,
  .launched-group .card-date {
    font-size: 10px;
    line-height: 1.2;
  }

  .launched-group .card-date {
    margin-top: auto;
    padding-top: 6px;
  }
}


.content-page.projects-page {
  width: min(980px, calc(100% - 40px));
}

.projects-page .project-group:not(.archive-group) {
  max-width: 792px;
  margin-left: auto;
  margin-right: auto;
}

.archive-group {
  margin: 0 auto 80px;
}

.archive-group h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 60px 0 32px;
  text-align: center;
  background: linear-gradient(100deg, #222, #888);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.archive-group #projects-archive {
  display: block;
  max-width: 940px;
  margin-inline: auto;
  padding: 0;
}

.archive-group .archive-upper {
  display: grid;
  grid-template-columns: repeat(4, 218px);
  gap: 18px 20px;
  justify-content: center;
  max-width: 932px;
  margin: 0 auto;
}

.archive-group .archive-lower {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 20px;
  max-width: 720px;
  margin: 18px auto 0;
}

.archive-group .project-card {
  width: 218px;
  flex: 0 0 218px;
  min-height: 220px;
  padding: 9px 10px 14px 10px;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: -4px -4px 9px rgba(255, 255, 255, 0.75), 4px 4px 9px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-group .project-card:hover {
  transform: translateY(-2px);
  box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.85), 5px 6px 12px rgba(0, 0, 0, 0.22);
}

.archive-group .card-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #dedede;
  margin: 0 0 10px 0;
  flex: none;
}

.archive-group .card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.archive-group .card-title {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.15;
  color: #222;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.archive-group .card-kind {
  display: none;
}

.archive-group .card-date {
  display: block;
  font-size: 11.5px;
  line-height: 1;
  color: #999;
  margin-top: auto;
  padding-top: 10px;
}

.archive-group #projects-archive.is-collapsed {
  max-height: 172px;
  overflow: hidden;
  position: relative;
}

.archive-group #projects-archive.is-collapsed:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 82px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}

.archive-group #projects-archive.is-expanded {
  max-height: none;
  overflow: visible;
}

@media (max-width: 980px) and (min-width: 741px) {
  .archive-group .archive-upper {
    grid-template-columns: repeat(3, 218px);
    max-width: 720px;
  }

  .archive-group .archive-lower {
    max-width: 720px;
  }
}

@media (max-width: 740px) {
  .archive-group h2 {
    font-size: 28px;
    margin: 40px 0 22px;
  }

  .archive-group #projects-archive {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .archive-group .archive-upper,
  .archive-group .archive-lower {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .archive-group .archive-lower {
    margin-top: 12px;
  }

  .archive-group .project-card {
    width: auto;
    flex: initial;
    min-height: 154px;
    padding: 7px;
    border-radius: 15px;
    box-shadow: -3px -3px 7px rgba(255, 255, 255, 0.75), 3px 3px 7px rgba(0, 0, 0, 0.16);
  }

  .archive-group .card-art {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .archive-group .card-title {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 2px;
  }

  .archive-group .card-date {
    font-size: 10px;
    line-height: 1.2;
    margin-top: auto;
    padding-top: 6px;
  }
}


.contact-form .required-field {
  color: #777;
}

.contact-form .required-field.is-invalid {
  color: #c00;
}

.contact-form small[hidden] {
  display: none;
}

.contact-form .is-invalid input,
.contact-form .is-invalid textarea {
  border-color: rgba(180, 0, 0, .48);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  box-shadow: inset 2px 2px 5px rgba(160, 0, 0, .16), inset -2px -2px 5px rgba(255, 255, 255, .7);
}

.form-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.send-button:disabled {
  opacity: .7;
  cursor: progress;
}


.social-links>span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--lift);
  color: #d0d0d0;
  transition: transform .18s, box-shadow .18s;
}

.social-links>span img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.social-links>span:hover {
  transform: translateY(-2px);
}

.mobile-bottom-nav {
  display: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #777;
  outline-offset: 3px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  outline-offset: 0;
  box-shadow: inset 2.5px 2.5px 5px #b0b0b0, inset -2.5px -2.5px 5px #fff;
}

.nav-button:active,
.list-toggle:active .send-button:active,
.menu-toggle:active,
.social-links>span:active,
.soft-link:active {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, .17), inset -3px -3px 6px rgba(255, 255, 255, .78);
  transition-duration: .08s;
}

.send-button:active {
  background-color: #777;
}

@media (min-width: 701px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Single supplied smoke layer in the hero - anchored directly to the portrait */
.smoke-new {
  position: absolute;
  left: 50%;
  bottom: -7.2%;
  width: max(108%, 110vw);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

@media(max-width:700px) {
  .one-page {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav,
  .page-shell .mobile-bottom-nav,
  .home-page .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 296px;
    height: 50px;
    padding: 0 12px;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    pointer-events: auto;
  }

  .mobile-bottom-nav-bg {
    position: absolute;
    left: 0;
    top: -10px;
    width: 100%;
    height: calc(100% + 20px);
    pointer-events: none;
    z-index: 0;
    overflow: visible;
  }

  /* Moving Convex Soft UI Capsule Slider */
  .mobile-nav-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 104px;
    height: 40px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #F0F0F0 0%, #DBDBDB 100%);
    box-shadow: 
      0 3.5px 7px rgba(0, 0, 0, 0.16),
      0 -1.5px 3.5px rgba(255, 255, 255, 0.95),
      inset 0 1px 1.5px rgba(255, 255, 255, 0.95),
      inset 0 -1px 2px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1),
                width 0.28s cubic-bezier(0.25, 1, 0.5, 1),
                height 0.28s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.2s ease;
    will-change: transform, width, height;
  }

  .mobile-bottom-nav a,
  .home-page .mobile-bottom-nav a {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 9999px;
    color: #707379;
    transition: color 0.22s ease;
    box-sizing: border-box;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  /* Wing links follow the gentle curvature */
  .mobile-bottom-nav a:first-of-type,
  .mobile-bottom-nav a:last-of-type {
    width: 76px;
    height: 38px;
    margin-top: 5px;
  }

  /* Center link sits at the peak */
  .mobile-bottom-nav a[href="#cooperation"] {
    width: 104px;
    height: 40px;
    margin-top: 0;
  }

  .mobile-bottom-nav img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
  }

  .mobile-bottom-nav span {
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.01em;
    color: inherit;
    transition: color 0.22s ease, font-weight 0.22s ease;
  }

  /* Active state highlight */
  .mobile-bottom-nav a[aria-current="location"] {
    color: #1a1a1a;
  }

  .mobile-bottom-nav a[aria-current="location"] span {
    color: #1a1a1a;
    font-weight: 500;
  }

  .mobile-bottom-nav a[aria-current="location"] img {
    opacity: 1;
    filter: drop-shadow(0 1px 0.5px rgba(255, 255, 255, 0.9)) brightness(0.65);
  }

  .mobile-bottom-nav a:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
  }



  .social-links>span {
    width: 68px;
    height: 68px;
  }

  .social-links>span img {
    width: 55px;
    height: 55px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form .form-status {
    overflow-wrap: anywhere;
  }
}


@media(max-width:700px) {
  .coming-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .coming-grid article:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .portrait-wrap {
    width: 520px;
    height: 520px;
    left: calc(50% - 65px);
    top: 155px;
    transform: translateX(-50%);
  }

  .hero-copy {
    left: calc(50% + 12px);
    top: 195px;
    width: calc(100% - 210px);
    max-width: 195px;
    z-index: 4;
    color: #fff;
    mix-blend-mode: difference;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 0.95;
    font-weight: 500;
    margin: 0 0 10px;
    color: inherit;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
    color: inherit;
  }

  .home .hero-contact {
    display: flex !important;
    position: absolute;
    right: 20px;
    top: 85px;
    width: 156px;
    height: 48px;
    padding: 0 7px 0 20px;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    background: #e4e4e4;
    box-shadow: var(--lift);
    font-size: 16px;
    color: #707070;
    text-decoration: none;
    white-space: nowrap;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }

  .home .hero-contact:active {
    transform: scale(0.97);
  }

  .home .hero-contact img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    pointer-events: none;
  }

}

@media (max-width: 360px) {
  body {
    min-width: 0;
  }

  .home .hero-contact {
    right: 12px;
    width: 144px;
    height: 44px;
    padding: 0 6px 0 16px;
    font-size: 14.5px;
  }

  .home .hero-contact img {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
  }

  .portrait-wrap {
    width: 480px;
    height: 480px;
    left: calc(50% - 65px);
    top: 150px;
    transform: translateX(-50%);
  }

  .hero-copy {
    left: 175px;
    top: 185px;
    width: calc(100% - 180px);
    max-width: 180px;
  }

  .hero-copy h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .hero-copy p {
    font-size: 13.5px;
    line-height: 1.2;
  }

  .content-page,
  .cooperation-page,
  .publicity-page {
    width: calc(100% - 28px);
  }

  .mobile-bottom-nav,
  .home-page .mobile-bottom-nav {
    width: min(296px, calc(100vw - 16px));
    height: 50px;
    padding: 0 10px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
  }

  .mobile-bottom-nav a:first-of-type,
  .mobile-bottom-nav a:last-of-type {
    width: 72px;
    height: 38px;
    margin-top: 5px;
  }

  .mobile-bottom-nav a[href="#cooperation"] {
    width: 98px;
    height: 40px;
    margin-top: 0;
  }

  .mobile-bottom-nav a {
    font-size: 9px;
  }

  .mobile-bottom-nav img {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-slider {
    transition: none !important;
  }
}